/* ==========================================================================
   Scagon De Luxe — look & feel voorstel
   Bovenop Bootstrap 5.3. Mobile-first. Alle kleuren via CSS-variabelen,
   zodat WordPress (theme.json / ACF) ze per blok kan wisselen.
   ========================================================================== */

/* ---------- Lettertypen (lokaal, geen Google-request) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-soft-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-soft-italic.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

/* ---------- Ontwerp-tokens ---------- */
:root {
  /* Logokleuren */
  --sdl-red: #b81520;
  --sdl-red-dark: #8f0f18;
  --sdl-gold: #f0ab10;
  --sdl-gold-text: #8a5a00;     /* goud dat wél leesbaar is als tekst */

  /* Zachte basis */
  --sdl-cream: #fbf7f1;
  --sdl-paper: #ffffff;
  --sdl-ink: #2a2023;
  --sdl-muted: #6e6264;
  --sdl-line: #eadfd6;

  /* Zachte tinten (achtergrondvarianten) */
  --sdl-blush: #f8e4de;
  --sdl-butter: #fcefcf;
  --sdl-mist: #e2ebef;
  --sdl-sage: #e5ece1;
  --sdl-night: #2b2026;

  /* Categoriekleuren (uitbreidbaar) */
  --cat-film: #2f6378;
  --cat-film-soft: var(--sdl-mist);
  --cat-theater: var(--sdl-red);
  --cat-theater-soft: var(--sdl-blush);
  --cat-jeugd: var(--sdl-gold-text);
  --cat-jeugd-soft: var(--sdl-butter);

  /* Typografie */
  --sdl-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --sdl-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Vorm */
  --sdl-radius: 1rem;
  --sdl-radius-lg: 1.5rem;
  --sdl-shadow: 0 1px 2px rgba(42, 32, 35, .05), 0 8px 24px -8px rgba(42, 32, 35, .14);
  --sdl-header-h: 64px;

  /* Bootstrap koppelen aan de tokens */
  --bs-body-font-family: var(--sdl-font-body);
  --bs-body-color: var(--sdl-ink);
  --bs-body-bg: var(--sdl-cream);
  --bs-secondary-color: var(--sdl-muted);
  --bs-border-color: var(--sdl-line);
  --bs-primary: var(--sdl-red);
  --bs-primary-rgb: 184, 21, 32;
  --bs-link-color: var(--sdl-red);
  --bs-link-color-rgb: 184, 21, 32;
  --bs-link-hover-color: var(--sdl-red-dark);
  --bs-link-hover-color-rgb: 143, 15, 24;
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: var(--sdl-radius);
  --bs-focus-ring-color: rgba(184, 21, 32, .35);

  /* Per sectie te overschrijven */
  --sec-bg: transparent;
  --sec-fg: var(--sdl-ink);
  --sec-muted: var(--sdl-muted);
  --sec-card: var(--sdl-paper);
}

@media (min-width: 992px) { :root { --sdl-header-h: 76px; } }

/* ---------- Basis ---------- */
html { scroll-padding-top: calc(var(--sdl-header-h) + 1rem); }
body {
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .display-font {
  font-family: var(--sdl-font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.12;
}
h1, .h1 { font-size: clamp(2.1rem, 6vw + .5rem, 3.75rem); }
h2, .h2 { font-size: clamp(1.6rem, 3vw + .6rem, 2.5rem); }
h3, .h3 { font-size: 1.3rem; }
.lead { font-size: 1.15rem; color: var(--sec-muted); }
.text-muted, .text-body-secondary { color: var(--sec-muted) !important; }
::selection { background: var(--sdl-gold); color: var(--sdl-ink); }

a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--sdl-gold); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--sdl-ink); color: #fff; padding: .6rem 1rem; border-radius: .5rem;
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sdl-red);
}
.sdl-bg-night .eyebrow, .sdl-bg-red .eyebrow { color: var(--sdl-gold); }

/* ---------- Achtergrondvarianten (kiesbaar per blok in WordPress) ---------- */
.sdl-section { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--sec-bg); color: var(--sec-fg); }
.sdl-section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.sdl-bg-cream  { --sec-bg: var(--sdl-cream);  }
.sdl-bg-paper  { --sec-bg: var(--sdl-paper);  }
.sdl-bg-blush  { --sec-bg: var(--sdl-blush);  --sec-card: #fffaf8; }
.sdl-bg-butter { --sec-bg: var(--sdl-butter); --sec-card: #fffcf3; }
.sdl-bg-mist   { --sec-bg: var(--sdl-mist);   --sec-card: #f8fbfc; }
.sdl-bg-sage   { --sec-bg: var(--sdl-sage);   --sec-card: #fafcf8; }
.sdl-bg-night  { --sec-bg: var(--sdl-night);  --sec-fg: #f6efe9; --sec-muted: #c9bcb8; --sec-card: #382b31; }
.sdl-bg-red    { --sec-bg: var(--sdl-red);    --sec-fg: #fff;    --sec-muted: #f6d3d0; --sec-card: #a3121c; }
[class*="sdl-bg-"] { background-color: var(--sec-bg); color: var(--sec-fg); }

/* Logo wisselt automatisch mee met de achtergrond */
.logo-on-dark { display: none; }
.sdl-bg-night .logo-on-light, .sdl-bg-red .logo-on-light { display: none; }
.sdl-bg-night .logo-on-dark, .sdl-bg-red .logo-on-dark { display: inline-block; }

/* ---------- Knoppen ---------- */
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: .65rem;
  --bs-btn-border-radius: 999px;
  letter-spacing: .01em;
}
.btn-sm { --bs-btn-padding-x: .9rem; --bs-btn-padding-y: .4rem; }
.btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1.1rem; }
.btn-primary {
  --bs-btn-bg: var(--sdl-red); --bs-btn-border-color: var(--sdl-red);
  --bs-btn-hover-bg: var(--sdl-red-dark); --bs-btn-hover-border-color: var(--sdl-red-dark);
  --bs-btn-active-bg: var(--sdl-red-dark); --bs-btn-active-border-color: var(--sdl-red-dark);
  --bs-btn-disabled-bg: #c9b8b6; --bs-btn-disabled-border-color: #c9b8b6;
}
.btn-gold {
  --bs-btn-color: var(--sdl-ink); --bs-btn-bg: var(--sdl-gold); --bs-btn-border-color: var(--sdl-gold);
  --bs-btn-hover-color: var(--sdl-ink); --bs-btn-hover-bg: #ffbd2e; --bs-btn-hover-border-color: #ffbd2e;
  --bs-btn-active-bg: #e09c00; --bs-btn-active-border-color: #e09c00; --bs-btn-active-color: var(--sdl-ink);
}
.btn-outline-ink {
  --bs-btn-color: var(--sec-fg); --bs-btn-border-color: currentColor;
  --bs-btn-hover-color: var(--sec-bg, #fff); --bs-btn-hover-bg: var(--sec-fg); --bs-btn-hover-border-color: var(--sec-fg);
  --bs-btn-active-bg: var(--sec-fg); --bs-btn-active-color: var(--sdl-cream);
}
.btn-soft {
  --bs-btn-color: var(--sdl-ink); --bs-btn-bg: rgba(42,32,35,.06); --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: rgba(42,32,35,.12); --bs-btn-hover-border-color: transparent; --bs-btn-hover-color: var(--sdl-ink);
}
.btn-ticket { white-space: nowrap; }
.btn-ticket .bi { margin-right: .35rem; }

/* ---------- Header ---------- */
.sdl-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(251, 247, 241, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.sdl-header.is-scrolled { border-bottom-color: var(--sdl-line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.sdl-header .container-xl { height: var(--sdl-header-h); display: flex; align-items: center; gap: .75rem; }
.sdl-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.sdl-brand img { height: 46px; width: auto; }
@media (min-width: 992px) { .sdl-brand img { height: 56px; } }

.sdl-nav { display: none; }
@media (min-width: 992px) {
  .sdl-nav { display: flex; gap: .15rem; margin-left: 1.5rem; }
  .sdl-nav a {
    color: var(--sdl-ink); text-decoration: none; font-weight: 600; font-size: .98rem;
    padding: .5rem .8rem; border-radius: 999px; transition: background .15s;
  }
  .sdl-nav a:hover { background: rgba(42,32,35,.06); }
  .sdl-nav a[aria-current="page"] { background: var(--sdl-blush); color: var(--sdl-red-dark); }
}
.sdl-header-actions { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.sdl-header-actions .btn { --bs-btn-padding-y: .5rem; }
.sdl-icon-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 0; display: inline-grid; place-items: center;
  background: rgba(42,32,35,.06); color: var(--sdl-ink); font-size: 1.25rem; text-decoration: none;
}
.sdl-icon-btn:hover { background: rgba(42,32,35,.12); color: var(--sdl-ink); }

/* Offcanvas-menu mobiel */
.sdl-offcanvas { --bs-offcanvas-bg: var(--sdl-cream); --bs-offcanvas-width: min(92vw, 420px); }
.sdl-offcanvas .offcanvas-body { display: flex; flex-direction: column; gap: 1.5rem; }
.sdl-mobile-nav { list-style: none; padding: 0; margin: 0; }
.sdl-mobile-nav a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sdl-font-display); font-variation-settings: "SOFT" 100;
  font-size: 1.6rem; font-weight: 600; color: var(--sdl-ink); text-decoration: none;
  padding: .55rem 0; border-bottom: 1px solid var(--sdl-line);
}
.sdl-mobile-nav a .bi { font-size: 1.1rem; color: var(--sdl-muted); }
.sdl-mobile-sub { columns: 2; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.sdl-mobile-sub a { display: block; padding: .3rem 0; color: var(--sdl-ink); text-decoration: none; }

/* ---------- Hero (home) ---------- */
.sdl-hero { padding-block: 1.5rem 3rem; overflow: hidden; }
@media (min-width: 992px) { .sdl-hero { padding-block: 3.5rem 4.5rem; } }
.sdl-hero h1 { font-size: clamp(2.6rem, 8vw + .5rem, 5rem); line-height: 1.02; }
.sdl-hero h1 em { font-style: italic; color: var(--sdl-red); font-weight: 500; }
.sdl-hero .lead { max-width: 34rem; }

/* Boogvorm: knipoog naar het doek in het logo */
.sdl-arch {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 999px 999px var(--sdl-radius-lg) var(--sdl-radius-lg);
  background: var(--sdl-night);
}
.sdl-arch video, .sdl-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sdl-hero-media { position: relative; max-width: 420px; margin-inline: auto; }
.sdl-hero-media .sdl-arch { aspect-ratio: 9 / 13; }
.sdl-hero-media .sdl-blob {
  position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(2px);
}
.sdl-blob--gold { width: 46%; aspect-ratio: 1; background: var(--sdl-butter); right: -12%; top: 8%; }
.sdl-blob--blush { width: 60%; aspect-ratio: 1; background: var(--sdl-blush); left: -18%; bottom: -6%; }
.sdl-video-toggle {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.88); color: var(--sdl-ink); display: grid; place-items: center; font-size: 1.2rem;
}
.sdl-hero-sticker {
  position: absolute; left: -.5rem; bottom: 12%; z-index: 2;
  background: var(--sdl-paper); border-radius: var(--sdl-radius); box-shadow: var(--sdl-shadow);
  padding: .75rem 1rem; display: flex; gap: .75rem; align-items: center; max-width: 80%;
  text-decoration: none; color: var(--sdl-ink);
}
.sdl-hero-sticker:hover { color: var(--sdl-ink); transform: translateY(-2px); }
.sdl-hero-sticker { transition: transform .2s; }
.sdl-hero-sticker .date-badge { flex-shrink: 0; }
@media (min-width: 992px) { .sdl-hero-sticker { left: -2.5rem; } }

/* ---------- Datumbadge ---------- */
.date-badge {
  width: 3.25rem; text-align: center; border-radius: .75rem; overflow: hidden;
  background: var(--sdl-paper); border: 1px solid var(--sdl-line); line-height: 1;
}
.date-badge .dow { display: block; background: var(--sdl-red); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .25rem 0; }
.date-badge .day { display: block; font-family: var(--sdl-font-display); font-weight: 600; font-size: 1.35rem; padding: .3rem 0 .1rem; }
.date-badge .mon { display: block; font-size: .7rem; color: var(--sdl-muted); padding-bottom: .3rem; text-transform: lowercase; }

/* ---------- Dagkiezer (horizontaal scrollen) ---------- */
.day-strip {
  display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .25rem .1rem .75rem; margin: 0; list-style: none; scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.day-strip > * { scroll-snap-align: start; flex: 0 0 auto; }
.day-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 4.1rem; padding: .55rem .5rem; border-radius: 1rem; line-height: 1.1;
  background: var(--sec-card); border: 1px solid var(--sdl-line); color: var(--sdl-ink);
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.day-chip:hover { border-color: var(--sdl-ink); color: var(--sdl-ink); }
.day-chip .dow { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--sdl-muted); }
.day-chip .day { font-family: var(--sdl-font-display); font-size: 1.45rem; font-weight: 600; }
.day-chip .cnt { font-size: .7rem; color: var(--sdl-muted); }
.day-chip[aria-pressed="true"], .day-chip.is-active { background: var(--sdl-ink); border-color: var(--sdl-ink); color: #fff; }
.day-chip[aria-pressed="true"] .dow, .day-chip[aria-pressed="true"] .cnt { color: #d9cfcb; }
.day-chip.is-empty { background: transparent; }
.day-chip.is-empty .dow, .day-chip.is-empty .day, .day-chip.is-empty .cnt { color: #756a67; }
.day-chip--month { background: transparent; border-style: dashed; }

/* ---------- Categorie-labels en filters ---------- */
.cat-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 999px; line-height: 1;
  background: var(--sdl-paper); color: var(--sdl-ink);
}
.cat-badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.cat-film    { color: var(--cat-film); }
.cat-theater { color: var(--cat-theater); }
.cat-jeugd   { color: var(--cat-jeugd); }
.cat-badge.is-solid.cat-film    { background: var(--cat-film-soft); }
.cat-badge.is-solid.cat-theater { background: var(--cat-theater-soft); }
.cat-badge.is-solid.cat-jeugd   { background: var(--cat-jeugd-soft); }

.filter-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--sdl-line);
  background: var(--sdl-paper); color: var(--sdl-ink); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all .15s; min-height: 44px; white-space: nowrap;
}
.filter-chip .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--chip-c, var(--sdl-ink)); }
.filter-chip .bi-check-lg { display: none; }
.filter-chip:hover { border-color: var(--chip-c, var(--sdl-ink)); }
.filter-chip[aria-pressed="true"] { background: var(--chip-c, var(--sdl-ink)); border-color: var(--chip-c, var(--sdl-ink)); color: #fff; }
.filter-chip[aria-pressed="true"] .dot { display: none; }
.filter-chip[aria-pressed="true"] .bi-check-lg { display: inline; }
.filter-chip[data-cat="film"]    { --chip-c: var(--cat-film); }
.filter-chip[data-cat="theater"] { --chip-c: var(--cat-theater); }
.filter-chip[data-cat="jeugd"]   { --chip-c: #b07600; }

/* ---------- Programmakaarten ---------- */
.event-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--sec-card); border-radius: var(--sdl-radius-lg); overflow: hidden;
  box-shadow: var(--sdl-shadow); color: var(--sdl-ink); transition: transform .25s, box-shadow .25s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(42,32,35,.06), 0 18px 40px -14px rgba(42,32,35,.28); }
.event-card .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sdl-night); }
.event-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-card:hover .media img { transform: scale(1.04); }
.event-card .media .cat-row { position: absolute; left: .75rem; top: .75rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.event-card .media .status-pill { position: absolute; right: .75rem; top: .75rem; }
.event-card .body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.event-card h3 { font-size: 1.3rem; margin: 0; }
.event-card h3 a { color: inherit; text-decoration: none; }
.event-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* hele kaart klikbaar */
.event-card .meta { font-size: .92rem; color: var(--sdl-muted); }
.event-card .foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.event-card .foot .btn { position: relative; z-index: 2; }
.event-card--wide .media { aspect-ratio: 16 / 10; }

/* Horizontale carrousel op mobiel, grid op desktop */
.snap-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .75rem 1.25rem; margin-inline: -.75rem;
  scroll-padding-inline: .75rem; scrollbar-width: none;
}
.snap-row::-webkit-scrollbar { display: none; }
.snap-row > * { scroll-snap-align: start; }
@media (min-width: 576px) { .snap-row { grid-auto-columns: 46%; } }
@media (min-width: 992px) {
  .snap-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: .5rem 0 0; }
  .snap-row--3 { grid-template-columns: repeat(3, 1fr); }
}
.snap-nav { display: none; }
@media (min-width: 576px) and (max-width: 991.98px) { .snap-nav { display: flex; gap: .4rem; } }

/* Status (uit Active Tickets) */
.status-pill {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700;
  padding: .3rem .6rem; border-radius: 999px; line-height: 1; white-space: nowrap;
}
.status-soldout   { background: var(--sdl-ink); color: #fff; }
.status-few       { background: var(--sdl-gold); color: var(--sdl-ink); }
.status-cancelled { background: #fff; color: var(--sdl-red); border: 1.5px solid var(--sdl-red); }
.status-moved     { background: #fff; color: var(--cat-film); border: 1.5px solid var(--cat-film); }

/* ---------- Agenda ---------- */
.agenda-toolbar {
  position: sticky; top: var(--sdl-header-h); z-index: 1020;
  background: rgba(251, 247, 241, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sdl-line); padding-block: .75rem .25rem;
}
.agenda-toolbar .d-flex > .day-strip { min-width: 0; }
.agenda-toolbar .chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.agenda-toolbar .chips::-webkit-scrollbar { display: none; }
.agenda-toolbar .day-chip { min-width: 3.6rem; padding: .35rem .4rem; }
.agenda-toolbar .day-chip .day { font-size: 1.2rem; }

.agenda-day { padding-top: 1.75rem; }
.agenda-day-head {
  display: flex; align-items: baseline; gap: .75rem; padding-bottom: .6rem; margin-bottom: .75rem;
  border-bottom: 2px solid var(--sdl-ink);
}
.agenda-day-head h2 { font-size: 1.5rem; margin: 0; }
.agenda-day-head .small { color: var(--sdl-muted); }

.agenda-row {
  position: relative; display: grid; gap: .25rem .9rem; align-items: center;
  grid-template-columns: 84px 1fr; grid-template-areas: "img info" "img act";
  padding: .8rem; margin-bottom: .6rem; border-radius: var(--sdl-radius);
  background: var(--sdl-paper); box-shadow: 0 1px 2px rgba(42,32,35,.05);
  transition: box-shadow .2s, transform .2s;
}
.agenda-row:hover { box-shadow: var(--sdl-shadow); }
.agenda-row .thumb { grid-area: img; aspect-ratio: 3/4; border-radius: .7rem; overflow: hidden; background: var(--sdl-night); align-self: start; }
.agenda-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.agenda-row .info { grid-area: info; min-width: 0; }
.agenda-row .time { font-family: var(--sdl-font-display); font-weight: 600; font-size: 1.05rem; }
.agenda-row h3 { font-size: 1.15rem; margin: .1rem 0 .2rem; }
.agenda-row h3 a { color: inherit; text-decoration: none; }
.agenda-row h3 a::after { content: ""; position: absolute; inset: 0; }
.agenda-row .meta { font-size: .85rem; color: var(--sdl-muted); }
.agenda-row .act { grid-area: act; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; position: relative; z-index: 2; }
.agenda-row.is-cancelled h3, .agenda-row.is-cancelled .time { text-decoration: line-through; color: var(--sdl-muted); }
@media (min-width: 768px) {
  .agenda-row { grid-template-columns: 76px 96px 1fr auto; grid-template-areas: "time img info act"; padding: .9rem 1.1rem; }
  .agenda-row .time-col { display: block !important; grid-area: time; font-family: var(--sdl-font-display); font-size: 1.5rem; font-weight: 600; }
  .agenda-row .info .time { display: none; }
  .agenda-row .thumb { aspect-ratio: 4/5; }
  .agenda-row .act { justify-content: flex-end; }
  .agenda-row h3 { font-size: 1.35rem; }
}
.agenda-empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--sdl-line); border-radius: var(--sdl-radius-lg); margin-top: 2rem; }

/* Rasterweergave agenda */
.agenda-grid .agenda-day-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 768px) { .agenda-grid .agenda-day-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .agenda-grid .agenda-day-list { grid-template-columns: repeat(4, 1fr); } }
.agenda-grid .agenda-row { grid-template-columns: 1fr; grid-template-areas: "img" "info" "act"; margin: 0; align-items: start; }
.agenda-grid .agenda-row .thumb { aspect-ratio: 4/5; }
.agenda-grid .agenda-row .time-col { display: none !important; }
.agenda-grid .agenda-row .info .time { display: block; }
.agenda-grid .agenda-row .act { justify-content: flex-start; }

/* ---------- Detailpagina ---------- */
.detail-hero { position: relative; overflow: hidden; padding-block: 1.25rem 2.5rem; }
.detail-hero-bg {
  position: absolute; inset: -40px; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(40px) saturate(1.2); opacity: .35; transform: scale(1.1);
}
.detail-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 30%, var(--sec-bg) 100%); }
.detail-hero > .container-xl { position: relative; z-index: 1; }
.detail-poster { border-radius: var(--sdl-radius-lg); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); aspect-ratio: 4/5; background: var(--sdl-night); }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0; }
.facts li { display: inline-flex; gap: .4rem; align-items: center; background: rgba(255,255,255,.75); border-radius: 999px; padding: .35rem .8rem; font-size: .92rem; font-weight: 500; }
.facts .bi { color: var(--sdl-red); }

.showtimes { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.showtime {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
  background: var(--sdl-paper); border-radius: var(--sdl-radius); padding: .75rem .9rem; border: 1px solid var(--sdl-line);
}
.showtime .when strong { font-family: var(--sdl-font-display); font-size: 1.15rem; font-weight: 600; display: block; line-height: 1.2; }
.showtime .when span { font-size: .88rem; color: var(--sdl-muted); }
.showtime.is-cancelled .when strong { text-decoration: line-through; color: var(--sdl-muted); }

.credits dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sdl-muted); }
.credits dd { margin-bottom: .9rem; }

/* Trailer: pas laden na klik (privacy) */
.trailer {
  position: relative; aspect-ratio: 16/9; border-radius: var(--sdl-radius-lg); overflow: hidden;
  background-color: var(--sdl-night); background-position: center; background-size: cover; color: #fff;
}
.trailer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,32,38,.2), rgba(43,32,38,.85)); }
.trailer-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .75rem; padding: 1.25rem; }
.trailer-play {
  width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--sdl-gold); color: var(--sdl-ink);
  font-size: 2rem; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s;
}
.trailer-play:hover { transform: scale(1.07); }
.trailer-consent small { max-width: 30rem; color: #e5dcd8; font-size: .82rem; }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Vaste ticketbalk onderin op mobiel */
.ticket-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
  background: var(--sdl-paper); border-top: 1px solid var(--sdl-line); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4);
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .75rem;
  transform: translateY(110%); transition: transform .3s ease;
}
.ticket-bar.is-visible { transform: none; }
.ticket-bar .txt { line-height: 1.2; font-size: .9rem; min-width: 0; }
.ticket-bar .txt strong { display: block; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-bar .btn { margin-left: auto; }
@media (min-width: 992px) { .ticket-bar { display: none; } }
body.has-ticket-bar { padding-bottom: 84px; }
@media (min-width: 992px) { body.has-ticket-bar { padding-bottom: 0; } }

/* ---------- Twee werelden: film & theater ---------- */
.world {
  border-radius: var(--sdl-radius-lg); padding: 1.5rem; height: 100%;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) { .world { padding: 2rem; } }
.world-film { background: var(--sdl-mist); }
.world-theater { background: var(--sdl-blush); }
.world h2 { margin: 0; }
.world .world-img { border-radius: 999px 999px var(--sdl-radius) var(--sdl-radius); overflow: hidden; aspect-ratio: 16/11; }
.world .world-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { border-top: 1px solid rgba(42,32,35,.1); }
.mini-list a { display: flex; gap: .9rem; align-items: center; padding: .7rem 0; color: var(--sdl-ink); text-decoration: none; }
.mini-list a:hover .t { text-decoration: underline; }
.mini-list .t { font-weight: 700; display: block; line-height: 1.25; }
.mini-list .s { font-size: .88rem; color: var(--sdl-muted); }
.mini-list .bi-chevron-right { margin-left: auto; color: var(--sdl-muted); }

/* ---------- Nieuwsbrief ---------- */
.newsletter-card {
  border-radius: var(--sdl-radius-lg); padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--sdl-red); color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.newsletter-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; z-index: -1;
  background: var(--sdl-red-dark); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 45%, 0 100%); opacity: .55;
}
.newsletter-card .form-control { border: 0; min-height: 52px; border-radius: 999px; padding-inline: 1.25rem; }
.newsletter-card .form-check-input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; border-color: #fff; background-color: transparent; }
.newsletter-card .form-check-input:checked { background-color: var(--sdl-gold); border-color: var(--sdl-gold); }
.newsletter-card a { color: #fff; }
.list-option {
  display: flex; gap: .75rem; padding: .9rem 1rem; border-radius: var(--sdl-radius); cursor: pointer;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25); height: 100%;
}
.list-option:has(input:checked) { background: rgba(255,255,255,.18); border-color: var(--sdl-gold); }
.list-option strong { display: block; }
.list-option span { font-size: .88rem; color: #f6d3d0; }

/* ---------- Nieuws ---------- */
.news-card { display: flex; flex-direction: column; gap: .6rem; color: var(--sdl-ink); text-decoration: none; height: 100%; }
.news-card .img { aspect-ratio: 3/2; border-radius: var(--sdl-radius); overflow: hidden; background: var(--sdl-sage); }
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .img img { transform: scale(1.04); }
.news-card h3 { font-size: 1.2rem; margin: 0; }
.news-card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.news-card .date { font-size: .85rem; color: var(--sdl-muted); }

/* ---------- Tegels ---------- */
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px;
  border-radius: var(--sdl-radius-lg); overflow: hidden; padding: 1.5rem; color: #fff; text-decoration: none; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,32,38,0) 30%, rgba(43,32,38,.85)); }
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.05); }
.tile h3 { font-size: 1.6rem; margin: 0 0 .25rem; }
.tile p { margin: 0; color: #eee3df; }

.info-card {
  display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.4rem;
  border-radius: var(--sdl-radius-lg); background: var(--sec-card); color: var(--sdl-ink); text-decoration: none;
  border: 1px solid var(--sdl-line); transition: border-color .2s, transform .2s;
}
.info-card:hover { border-color: var(--sdl-ink); color: var(--sdl-ink); transform: translateY(-2px); }
.info-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--sdl-blush); color: var(--sdl-red); margin-bottom: .4rem; }
.info-card h3, .info-card .h3-like { font-size: 1.2rem; margin: 0; }
.info-card p { margin: 0; color: var(--sdl-muted); font-size: .95rem; }

/* ---------- Pagina-kop ---------- */
.page-head { padding-block: 2rem 1.5rem; }
@media (min-width: 992px) { .page-head { padding-block: 3.5rem 2rem; } }
.breadcrumb { --bs-breadcrumb-divider-color: var(--sdl-muted); --bs-breadcrumb-item-active-color: var(--sdl-muted); font-size: .9rem; }
.breadcrumb a { color: var(--sdl-ink); }

/* ---------- Vriend-pakketten ---------- */
.tier { border-radius: var(--sdl-radius-lg); padding: 2rem; background: var(--sdl-paper); border: 1px solid var(--sdl-line); height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.tier--plus { background: var(--sdl-night); color: #f6efe9; border-color: var(--sdl-night); }
.tier .price { font-family: var(--sdl-font-display); font-size: 3rem; font-weight: 600; line-height: 1; }
.tier .price small { font-family: var(--sdl-font-body); font-size: 1rem; font-weight: 500; opacity: .75; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.tier li { display: flex; gap: .6rem; }
.tier li .bi { color: var(--sdl-red); flex-shrink: 0; margin-top: .15rem; }
.tier--plus li .bi { color: var(--sdl-gold); }
.tier .btn { margin-top: auto; }

/* ---------- Formulieren ---------- */
.form-control, .form-select { min-height: 48px; border-radius: .75rem; border-color: #ddd0c6; background-color: #fff; }
textarea.form-control { min-height: 120px; }
.form-control:focus, .form-select:focus { border-color: var(--sdl-red); box-shadow: 0 0 0 .25rem rgba(184,21,32,.15); }
.form-label { font-weight: 600; margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--sdl-red); border-color: var(--sdl-red); }
.form-panel { background: var(--sdl-paper); border-radius: var(--sdl-radius-lg); padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--sdl-line); }
.form-panel fieldset + fieldset { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--sdl-line); }
.form-panel legend { font-family: var(--sdl-font-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.25rem; margin-bottom: 1rem; }
.btn-check + .btn-choice {
  --bs-btn-color: var(--sdl-ink); --bs-btn-border-color: #ddd0c6; --bs-btn-bg: #fff;
  --bs-btn-hover-border-color: var(--sdl-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--sdl-ink);
  --bs-btn-active-bg: var(--sdl-ink); --bs-btn-active-color: #fff; --bs-btn-active-border-color: var(--sdl-ink);
  --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5rem;
}
.btn-check:checked + .btn-choice { background: var(--sdl-ink); color: #fff; border-color: var(--sdl-ink); }

.nav-segment { display: flex; gap: .4rem; overflow-x: auto; padding: .3rem; background: rgba(42,32,35,.06); border-radius: 999px; scrollbar-width: none; }
.nav-segment .nav-link { border-radius: 999px; color: var(--sdl-ink); font-weight: 600; white-space: nowrap; padding: .55rem 1.1rem; }
.nav-segment .nav-link.active { background: var(--sdl-paper); color: var(--sdl-red-dark); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* ---------- FAQ ---------- */
.accordion { --bs-accordion-bg: var(--sdl-paper); --bs-accordion-border-color: var(--sdl-line); --bs-accordion-border-radius: var(--sdl-radius); --bs-accordion-inner-border-radius: var(--sdl-radius); --bs-accordion-active-bg: var(--sdl-blush); --bs-accordion-active-color: var(--sdl-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(184,21,32,.15); --bs-accordion-btn-padding-y: 1.1rem; }
.accordion-item { margin-bottom: .6rem; border-radius: var(--sdl-radius) !important; overflow: hidden; border: 1px solid var(--sdl-line) !important; }
.accordion-button { font-weight: 600; font-size: 1.05rem; }
.faq-search { position: relative; }
.faq-search .bi { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--sdl-muted); }
.faq-search input { padding-left: 2.8rem; border-radius: 999px; min-height: 54px; }

/* ---------- Kaart ---------- */
.map-frame { border-radius: var(--sdl-radius-lg); overflow: hidden; border: 1px solid var(--sdl-line); aspect-ratio: 4/3; background: var(--sdl-sage); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 992px) { .map-frame { aspect-ratio: auto; height: 100%; min-height: 420px; } }

/* ---------- Footer ---------- */
.sdl-footer { padding-block: 3.5rem 2rem; }
.sdl-footer a { color: #f6efe9; text-decoration: none; }
.sdl-footer a:hover { color: var(--sdl-gold); text-decoration: underline; }
.sdl-footer h2 { font-size: .8rem; font-family: var(--sdl-font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sdl-gold); margin-bottom: 1rem; }
.sdl-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.sdl-footer .footer-logo { height: 90px; width: auto; }
.sdl-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: var(--sec-muted); }
.social a { width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.1rem; }

/* ---------- Stijlgids ---------- */
.swatch { border-radius: var(--sdl-radius); overflow: hidden; border: 1px solid var(--sdl-line); background: #fff; }
.swatch .chip { height: 88px; }
.swatch .lbl { padding: .6rem .8rem; font-size: .85rem; line-height: 1.3; }
.swatch code { color: var(--sdl-muted); }
.variant-demo { border-radius: var(--sdl-radius-lg); padding: 1.5rem; border: 1px solid var(--sdl-line); }
.variant-demo img { height: 64px; }

/* ---------- Diversen ---------- */
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; color: var(--sdl-red); }
.sdl-bg-night .link-arrow { color: var(--sdl-gold); }
.link-arrow:hover { gap: .6rem; }
.link-arrow { transition: gap .2s; }
.prose { max-width: 42rem; }
.prose p, .prose ul { margin-bottom: 1.1rem; }
.demo-note {
  font-size: .82rem; background: var(--sdl-butter); color: #5c4200; border-radius: .6rem; padding: .5rem .75rem;
  display: inline-flex; gap: .4rem; align-items: flex-start;
}
.rounded-arch { border-radius: 999px 999px var(--sdl-radius-lg) var(--sdl-radius-lg) !important; }
.object-cover { object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Correcties ---------- */
.day-chip, .filter-chip, .event-card .media, .agenda-row .thumb { position: relative; }
.showtime .when { min-width: 0; }
.showtime .status-pill { white-space: normal; }
@media (max-width: 399.98px) {
  .showtime { grid-template-columns: auto 1fr; }
  .showtime > .btn, .showtime > span.btn { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .sdl-hero-media .sdl-arch { aspect-ratio: auto; height: min(56vh, 480px); }
  .sdl-hero-media { max-width: 360px; }
}
.sdl-hero-media { isolation: isolate; }
.mini-list a > .bi:last-child { margin-left: auto; color: var(--sdl-muted); flex-shrink: 0; }


/* ==========================================================================
   Programma per titel (v3, naar voorbeeld van Cinebergen)
   Beeld links tegen de rand · titel, regie | genre | duur, intro · rechts de
   speeltijden: dagkop boven een zachte tijdknop, bladeren met pijltjes.
   ========================================================================== */
.prog-list { display: grid; gap: 1.25rem; }
.prog-item {
  display: grid; overflow: hidden; color: var(--sdl-ink);
  background: var(--sec-card); border-radius: var(--sdl-radius-lg); box-shadow: var(--sdl-shadow);
  grid-template-columns: 38% minmax(0, 1fr);
  grid-template-areas: "img head" "body body";
}
.prog-img { grid-area: img; display: block; position: relative; min-height: 100%; background: var(--sdl-night); }
.prog-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prog-item:hover .prog-img img { transform: scale(1.03); }
.prog-head { grid-area: head; min-width: 0; padding: 1rem 1rem .75rem; }
.prog-head h3 { font-size: clamp(1.25rem, 1.6vw + .8rem, 1.75rem); margin: 0 0 .4rem; }
.prog-head h3 a { color: inherit; text-decoration: none; }
.prog-head h3 a:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.prog-meta { font-style: italic; color: var(--sdl-muted); font-size: .92rem; margin: 0 0 .6rem; }
.prog-meta .sep { display: inline-block; width: 1px; height: .95em; background: currentColor; opacity: .45; margin: 0 .5rem; vertical-align: -.1em; }
.prog-intro { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; display: none; }
.prog-body { grid-area: body; min-width: 0; padding: .25rem .75rem 1rem; border-top: 1px solid var(--sdl-line); }
@media (min-width: 576px) { .prog-intro { display: -webkit-box; } .prog-item { grid-template-columns: 200px minmax(0, 1fr); } }
@media (min-width: 992px) {
  .prog-item { grid-template-columns: 220px minmax(0, 1fr) 300px; grid-template-areas: "img head body"; min-height: 230px; }
  .prog-head { padding: 2rem 1.5rem 2rem 2.75rem; align-self: center; }
  .prog-intro { -webkit-line-clamp: 4; line-height: 1.65; }
  .prog-body { border-top: 0; padding: 1.5rem 1.25rem; align-self: center; }
}
@media (min-width: 1200px) { .prog-item { grid-template-columns: 240px minmax(0, 1fr) 330px; } }

/* Speeltijden */
.slots { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; align-items: end; gap: .25rem; }
.slots.is-static .slots-nav { visibility: hidden; }
.slots-nav {
  width: 32px; height: 44px; border: 0; background: none; color: var(--sdl-muted); font-size: 1.5rem;
  display: grid; place-items: center; border-radius: .5rem; padding: 0;
}
.slots-nav:hover:not(:disabled) { color: var(--sdl-ink); background: rgba(42,32,35,.05); }
.slots-nav:disabled { opacity: .25; cursor: default; }
.slots-track {
  list-style: none; margin: 0; padding: .5rem .1rem; display: flex; gap: .5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slots-track::-webkit-scrollbar { display: none; }
.slot { flex: 0 0 calc((100% - 1rem) / 3); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .45rem; }
@media (min-width: 992px) { .slot { flex-basis: calc((100% - .5rem) / 2); } }
.slot-day { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

.pill {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 46px; padding: .35rem .5rem; border-radius: 999px; line-height: 1.1;
  background: var(--sdl-butter); color: var(--sdl-ink); text-decoration: none;
  font-weight: 500; font-size: 1rem; font-variant-numeric: tabular-nums; transition: background .15s, color .15s;
}
a.pill:hover, a.pill:focus-visible { background: var(--sdl-red); color: #fff; }
.pill-note { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.pill.is-few { box-shadow: inset 0 0 0 1.5px var(--sdl-gold); }
.pill.is-off { background: transparent; color: var(--sdl-muted); box-shadow: inset 0 0 0 1px var(--sdl-line); cursor: not-allowed; }
.pill.is-off s { text-decoration-thickness: 1px; }

/* Detailpagina: alle tijden in een raster */
.slots-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem .6rem; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }

/* Agenda per dag: tijdknop rechts */
.agenda-row .act .pill { width: auto; min-width: 5.5rem; }

/* Home: periodekeuze */
.home-prog-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
@media (max-width: 575.98px) { .detail-poster { max-width: 260px; } }
.event-card .foot .next { font-size: .92rem; }
@media (min-width: 992px) { .detail-sticky { position: sticky; top: calc(var(--sdl-header-h) + 1rem); } }
/* Vierkante beelden: werkt voor zowel staande foto's als liggende stills uit Active Tickets */
.event-card .media, .detail-poster { aspect-ratio: 1 / 1; }
.agenda-row .thumb { aspect-ratio: 1 / 1; }

/* Header: tekstlink naast Mijn account */
.sdl-header-actions .btn, .sdl-header-link { white-space: nowrap; }
.sdl-header-link { color: var(--sdl-ink); font-weight: 600; text-decoration: none; padding: .5rem .4rem; }
.sdl-header-link:hover { text-decoration: underline; }

/* Active Tickets in een iframe (Mijn account, Registreren, Winkelwagen) */
.ticket-frame-wrap { background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 1px 0 rgba(42,32,35,.06), 0 12px 32px -18px rgba(42,32,35,.35); }
.ticket-frame { display: block; width: 100%; height: 80vh; min-height: 640px; border: 0; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .sdl-nav { margin-left: .5rem; gap: 0; }
  .sdl-nav a { padding: .45rem .5rem; font-size: .92rem; }
}
/* Tussen 992 en 1200 px: containerpadding gelijk aan de g-lg-5 goot, zodat rijen niet buiten beeld vallen */
@media (min-width: 992px) and (max-width: 1199.98px) { .container-xl { --bs-gutter-x: 3rem; } }

/* Drieluik: Mijn account | Registreren | Winkelwagen */
.acct-group { display: inline-flex; align-items: stretch; height: 2.5rem; border: 1px solid rgba(42,32,35,.22); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.6); }
.acct-group a { display: inline-flex; align-items: center; gap: .4rem; padding: 0 .7rem; color: var(--sdl-ink); text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; transition: background .15s; }
.acct-group a + a { border-left: 1px solid rgba(42,32,35,.16); }
.acct-group a:hover, .acct-group a:focus-visible { background: rgba(42,32,35,.07); }
.acct-group i { font-size: 1.05rem; line-height: 1; }
.acct-label { display: none; }
@media (min-width: 1200px) { .acct-label { display: inline; } .acct-sr { display: none; } }
@media (max-width: 399.98px) {
  .sdl-header-actions { gap: .3rem; }
  .sdl-header-actions .btn { --bs-btn-padding-x: .75rem; }
  .acct-group a { padding: 0 .5rem; }
}
@media (max-width: 359.98px) { .sdl-header-actions .btn .bi { display: none; } }

/* Ticketpagina */
.ticket-summary { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: 1.25rem; padding: .75rem; box-shadow: 0 1px 0 rgba(42,32,35,.06); }
.ticket-summary img { width: 96px; height: 72px; object-fit: cover; border-radius: .9rem; flex-shrink: 0; }
.ticket-summary .eyebrow { display: flex; gap: .3rem; flex-wrap: wrap; }
@media (min-width: 768px) { .ticket-summary img { width: 160px; height: 120px; } .ticket-summary { padding: 1rem; } }

/* Toegankelijkheid: duidelijke links in de footer, ruimere aanvinkvakjes, leesbare labels */
.sdl-footer .legal a { text-decoration: underline; text-underline-offset: .15em; }
.form-check-input { width: 1.25rem; height: 1.25rem; }
.form-check { padding-left: 2.1rem; }
.form-check .form-check-input { width: 1.5rem; height: 1.5rem; margin-top: 0; margin-left: -2.1rem; }
.day-chip .dow, .cat-badge { font-size: .78rem; }

/* Active Tickets-modal */
.at-modal .modal-content { border: 0; border-radius: 1.25rem; overflow: hidden; background: #fbf7f1; }
.at-modal .modal-header { gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid rgba(42,32,35,.1); }
.at-modal .modal-title { font-family: var(--sdl-font-body); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.at-modal-los { font-size: .85rem; font-weight: 600; color: var(--sdl-ink); white-space: nowrap; padding: .5rem 0; }
.at-modal .btn-close { width: 2.5rem; height: 2.5rem; padding: 0; background-size: .9rem; border-radius: 999px; background-color: rgba(42,32,35,.06); flex-shrink: 0; }
.at-frame { display: block; width: 100%; height: min(80vh, 900px); border: 0; background: #fff; }
@media (max-width: 767.98px) {
  .at-modal .modal-content { border-radius: 0; }
  .at-modal .modal-body { display: flex; }
  .at-frame { height: auto; flex: 1; }
}
@media (max-width: 359.98px) { .sdl-brand img { width: 56px; height: auto; } .sdl-header-actions { gap: .25rem; } }
/* Focusring: donker op lichte vlakken, goud op donkere en rode vlakken (minimaal 3:1 contrast) */
:focus-visible { outline-color: var(--sdl-ink); }
.sdl-footer :focus-visible, .newsletter-card :focus-visible, .sdl-bg-night :focus-visible, .btn-primary:focus-visible, .tile:focus-visible { outline-color: var(--sdl-gold); }
