/* ==========================================================================
   wsc-sessions — de afleveringenlijst, het archief en de detailpagina.
   Alles via de tokens uit wsc-core, zodat een thema de module meekleurt.
   ========================================================================== */

.wsc-theme .wsc-sessions__host {
  font-size: 17px;
  color: var(--wsc-ink-2);
  margin: -6px 0 18px;
}

.wsc-theme .wsc-sessions__wanneer {
  font-size: 15px;
  color: var(--wsc-ink-2);
  margin: 0 0 22px;
}

/* ---------- De laatste aflevering, groot ------------------------------- */
.wsc-sessions__laatste {
  border: 1px solid var(--wsc-line-2);
  padding: clamp(18px, 3vw, 26px);
  margin-bottom: 30px;
}
.wsc-theme .wsc-sessions__laatste-label {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wsc-ink-3);
  margin: 0 0 6px;
}
.wsc-theme .wsc-sessions__laatste-titel {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.wsc-theme .wsc-sessions__laatste-titel a { text-decoration: none; color: inherit; }
.wsc-theme .wsc-sessions__laatste-titel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wsc-theme .wsc-sessions__laatste-kort { margin: 0; color: var(--wsc-ink-2); max-width: 62ch; }

.wsc-theme .wsc-sessions__kop {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* ---------- Afleveringsrij --------------------------------------------- */
.wsc-eprij {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--wsc-line);
  transition: background .15s ease;
}
.wsc-eprij:hover { background: var(--wsc-accent-bg); }
.wsc-eprij--gepland { opacity: .72; }

.wsc-eprij__label {
  flex: none;
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--wsc-accent-bg);
  border: 1px solid var(--wsc-line);
  white-space: nowrap;
}
.wsc-eprij__tekst { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wsc-theme .wsc-eprij__titel {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: inherit;
  text-wrap: pretty;
}
.wsc-theme a.wsc-eprij__titel:hover { text-decoration: underline; text-underline-offset: 4px; }
.wsc-theme .wsc-eprij__onder { font-size: 13px; color: var(--wsc-ink-3); }
.wsc-eprij__datum {
  flex: none;
  font-size: 13px;
  color: var(--wsc-ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wsc-eprij__gepland {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wsc-theme .wsc-sessions__volgende {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--wsc-accent);
  background: var(--wsc-accent-bg);
  font-size: 15px;
}
.wsc-sessions__meer { margin-top: 24px; }

.wsc-sessions__leeg {
  text-align: center;
  padding: clamp(24px, 5vw, 44px) 18px;
  border: 1px solid var(--wsc-line-2);
}
.wsc-theme .wsc-sessions__leeg-kop {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 8px;
}

/* ---------- Archief: zoeken en filteren --------------------------------- */
.wsc-sessions__filter {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin: 26px 0 18px;
}
.wsc-sessions__veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wsc-sessions__veld label {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wsc-ink-3);
}
.wsc-sessions__veld input,
.wsc-sessions__veld select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: inherit;
  background: transparent;
  border: 1px solid var(--wsc-line-2);
  border-radius: var(--wsc-radius);
}
.wsc-sessions__veld--knop .wsc-btn { padding: 13px 22px; font-size: 15px; }
.wsc-theme .wsc-sessions__telling { font-size: 14px; color: var(--wsc-ink-3); margin: 0 0 14px; }

@media (max-width: 780px) {
.wsc-sessions__filter { grid-template-columns: 1fr 1fr; }
.wsc-sessions__veld--breed { grid-column: 1 / -1; }
.wsc-sessions__veld--knop { grid-column: 1 / -1; }
}

/* ---------- Detailpagina ------------------------------------------------ */
.wsc-theme .wsc-ep__terug { margin: 0 0 22px; font-size: 14px; }
.wsc-ep__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.wsc-theme .wsc-ep__gepland {
  border-left: 3px solid var(--wsc-accent);
  background: var(--wsc-accent-bg);
  padding: 14px 18px;
  margin: 0 0 22px;
  max-width: 62ch;
}
.wsc-theme .wsc-ep__gepland strong {
  display: block;
  font-family: var(--wsc-font-head);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wsc-theme .wsc-ep__p { max-width: 62ch; margin: 0 0 14px; }
.wsc-theme .wsc-ep__kop {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 30px 0 12px;
}

/* De headliner: het nummer waar de aflevering om draait. */
.wsc-ep__headliner {
  border-left: 3px solid var(--wsc-accent);
  padding: 14px 18px;
  background: var(--wsc-accent-bg);
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}
.wsc-theme .wsc-ep__headliner-label {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wsc-ink-3);
  width: 100%;
}
.wsc-ep__headliner-track { font-family: var(--wsc-font-head); font-weight: 700; font-size: 19px; }
.wsc-theme .wsc-ep__headliner-link { font-size: 14px; white-space: nowrap; }

.wsc-ep__speler { margin: 0 0 26px; }

/* Gast-dj: foto naast een korte tekst. */
.wsc-ep__gast {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--wsc-line-2);
  padding: 18px;
  margin: 28px 0;
}
.wsc-ep__gast-foto { flex: none; width: 120px; height: 120px; object-fit: cover; display: block; }
.wsc-theme .wsc-ep__gast-label {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wsc-ink-3);
  margin: 0 0 4px;
}
.wsc-theme .wsc-ep__gast-naam { font-family: var(--wsc-font-head); font-weight: 700; font-size: 22px; margin: 0 0 8px; }
.wsc-theme .wsc-ep__gast-tekst { margin: 0 0 10px; max-width: 56ch; }
.wsc-theme .wsc-ep__gast-links { margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }

.wsc-ep__playlist { margin: 0; padding-left: 22px; display: grid; gap: 9px; }
.wsc-theme .wsc-ep__playlist li { font-size: 16px; }

/* Video in 16:9, zonder dat de pagina springt terwijl hij laadt. */
.wsc-ep__video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.wsc-ep__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.wsc-ep__galerij {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
/* height:auto is hier geen overbodige regel. De WebP-laag van seo_signaal
   zet width en height als attribuut op elke <img>. Zo'n hoogte-attribuut
   telt als presentational hint en wint van aspect-ratio, waardoor het
   beeld zijn volle bronhoogte aanneemt: een foto van 1600x1200 werd in een
   kolom van 177 px een strook van 1200 px hoog. */
.wsc-ep__galerij img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }

/* De foto's in de galerij zitten in een knop, zodat klikken ze vergroot en de
   toetsenbordgebruiker er ook bij kan. Een knop brengt zijn eigen rand,
   achtergrond en padding mee; die halen we hier weg. */
.wsc-ep__foto {
  display: block; width: 100%; padding: 0; border: 0;
  background: none; cursor: zoom-in; line-height: 0;
}
.wsc-ep__foto:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }


.wsc-ep__volgende {
  margin: 32px 0 0;
  padding: 18px;
  border: 1px dashed var(--wsc-line-2);
}
.wsc-theme .wsc-ep__volgende p { margin: 0 0 4px; }
.wsc-theme .wsc-ep__volgende-label {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wsc-ink-3);
}
.wsc-theme .wsc-ep__volgende-datum { font-family: var(--wsc-font-head); font-weight: 700; font-size: 18px; }

.wsc-ep__buren {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--wsc-line);
  font-size: 14px;
}

/* Staande telefoonfoto's worden anders torenhoog naast de tekst; 4:5 houdt de
   zijkolom in verhouding zonder dat het beeld vervormt. */
.wsc-ep__header { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; margin-bottom: 18px; }
.wsc-ep__feiten {
  margin: 0;
  display: grid;
  gap: 14px;
  border: 1px solid var(--wsc-line-2);
  padding: 18px;
}
.wsc-ep__feiten dt {
  font-family: var(--wsc-font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wsc-ink-3);
  margin-bottom: 4px;
}
.wsc-theme .wsc-ep__feiten dd { margin: 0; font-size: 16px; }

@media (max-width: 820px) {
.wsc-ep__grid { grid-template-columns: 1fr; }
  /* Het beeld en de feiten horen op mobiel boven de tekst, niet eronder. */
.wsc-ep__zij { order: -1; }
}
