/*
Theme Name: THEMA – Weromrop on demand
Theme URI: https://weromrop.nl/
Author: Mieso Media
Description: Donkere streamingcatalogus voor Omrop Fryslân on demand, met Omrop-blauw, BBW-weergave en een afgeschermd frontendbeheer.
Version: 0.4.40
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: weromrop
*/

/*
 * Open Sans is een vrij te gebruiken humanistisch lettertype met dezelfde
 * open, rustige uitstraling als Frutiger. De webfonts staan lokaal in het
 * thema, zodat de vormgeving niet afhankelijk is van Google Fonts.
 */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("assets/fonts/open-sans/open-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("assets/fonts/open-sans/open-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-display: swap;
  font-weight: 300 800;
  src: url("assets/fonts/open-sans/open-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-display: swap;
  font-weight: 300 800;
  src: url("assets/fonts/open-sans/open-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --wr-blue: #009fe3;
  --wr-blue-bright: #29b8f2;
  --wr-blue-dark: #0076aa;
  --wr-navy: #070f18;
  --wr-navy-soft: #0d1925;
  --wr-surface: #132331;
  --wr-white: #fff;
  --wr-ink: #f7fbfd;
  --wr-muted: #a9b8c3;
  --wr-bg: var(--wr-navy);
  --wr-line: rgba(255, 255, 255, .13);
  --wr-space: clamp(18px, 4vw, 62px);
  --wr-radius: 6px;
  --wr-shadow: 0 18px 50px rgba(0, 0, 0, .42);
  --wr-font: "Open Sans", Frutiger, "Frutiger Linotype", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--wr-bg); }
body {
  margin: 0;
  color: var(--wr-ink);
  background: var(--wr-bg);
  font-family: var(--wr-font);
  font-size: 17px;
  line-height: 1.5;
}
body.wr-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/*
 * De volledige site krijgt een maximale breedte in plaats van
 * schermvullend te zijn op ultrabrede monitoren. Geen overflow-regel hier:
 * die zou de sticky header breken, want sticky-positionering werkt alleen
 * binnen een voorouder die zelf geen eigen scrollcontext aanmaakt.
 */
.wr-page { max-width: 1800px; margin-inline: auto; background: var(--wr-navy); }

.wr-shell { width: min(1600px, 100%); margin-inline: auto; }
.wr-pad { padding-inline: var(--wr-space); }
.wr-main { min-height: 72vh; }

/* Header */
.wr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--wr-white);
  background: rgba(7, 15, 24, .96);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.home .wr-header {
  position: fixed;
  right: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(4, 9, 14, .94), rgba(4, 9, 14, .45) 65%, transparent);
}
.wr-header.is-scrolled,
.home .wr-header.is-scrolled {
  background: rgba(7, 15, 24, .97);
  border-bottom-color: var(--wr-line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}
.admin-bar .wr-header { top: 32px; }
.wr-nav {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 24px;
}
.wr-manage-button-top { flex: none; order: -1; gap: 7px; }
.wr-manage-button-top > span:first-child { font-size: 15px; line-height: 1; }
.wr-manage-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 4px;
  background: rgba(7, 15, 24, .56);
  color: var(--wr-white);
  font-size: 12px;
  font-weight: 750;
  transition: background .2s ease, border-color .2s ease;
}
.wr-manage-button:hover,
.wr-manage-button:focus-visible { background: var(--wr-blue); border-color: var(--wr-blue); }
.wr-brand { display: flex; flex: none; align-items: center; gap: 10px; }
.wr-brand-mark {
  display: grid;
  overflow: hidden;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--wr-blue);
  color: var(--wr-white);
}
.wr-brand-mark img,
.wr-brand-mark svg { width: 100%; height: 100%; object-fit: contain; }
/* Het officiële Omrop Fryslân-logo in de sitekop heeft zijn eigen vormgeving. */
.wr-header .wr-brand-mark {
  border-radius: 0;
  background: transparent;
}
/*
 * Boven de hero blijft het ronde merkteken weg.
 *
 * Clips zonder eigen thumbnail krijgen van BBW een placeholder die zélf het
 * Omrop-logo is: een blauw vlak met het beeldmerk in het midden. Staat zo'n
 * beeld in de hero, dan zie je twee Omrop-logo's tegelijk — één in de kop en
 * één groot in het beeld — plus de tekst "Omrop Fryslân · on demand" die de
 * hero er zelf al boven zet. Het merkteken vervaagt daarom mee met de
 * achtergrond van de kop: weg zolang die doorzichtig over het beeld ligt,
 * terug zodra je scrolt. De naam blijft wel staan, dus de site blijft
 * herkenbaar. Opacity in plaats van display, zodat de kop niet verspringt.
 */
.home .wr-header:not(.is-scrolled) .wr-brand-mark {
  opacity: 0;
  transform: scale(.9);
}
.wr-brand-mark { transition: opacity .25s ease, transform .25s ease; }
.wr-brand-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--wr-white); }
.wr-brand-copy { display: flex; flex-direction: column; line-height: 1; }
.wr-brand-title { color: var(--wr-white); font-size: 20px; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.wr-brand-sub { margin-top: 5px; color: var(--wr-blue-bright); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.wr-menu { display: flex; align-items: center; gap: 22px; }
.wr-menu ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.wr-menu a { position: relative; padding-block: 22px; color: rgba(255, 255, 255, .82); font-size: 14px; font-weight: 650; }
.wr-menu a:hover,
.wr-menu .current-menu-item > a { color: var(--wr-white); }
.wr-menu a:hover::after,
.wr-menu .current-menu-item > a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--wr-blue);
  content: "";
}
.wr-nav-tools { display: flex; margin-left: auto; align-items: center; gap: 9px; }
.wr-lang { display: flex; overflow: hidden; border: 1px solid rgba(255, 255, 255, .28); border-radius: 4px; }
.wr-lang a { padding: 5px 8px; color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 750; }
.wr-lang a[aria-current="true"] { background: var(--wr-blue); color: var(--wr-white); }
.wr-icon-button {
  display: grid;
  width: 37px;
  height: 37px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(7, 15, 24, .35);
  color: var(--wr-white);
  cursor: pointer;
}
.wr-icon-button:hover,
.wr-icon-button:focus-visible { border-color: var(--wr-blue); background: var(--wr-blue); }
.wr-menu-toggle { display: none; }
.wr-search-popover {
  position: absolute;
  top: calc(100% + 1px);
  right: var(--wr-space);
  width: min(440px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid var(--wr-line);
  border-radius: var(--wr-radius);
  background: rgba(13, 25, 37, .98);
  box-shadow: var(--wr-shadow);
}
.wr-search-popover[hidden] { display: none; }
.wr-search-form { display: flex; gap: 8px; }
.wr-search-form input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--wr-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
  color: #14202a;
}

/* Homepage hero */
.wr-hero {
  position: relative;
  min-height: clamp(610px, 76vh, 820px);
  overflow: hidden;
  background: #050b11;
  color: var(--wr-white);
}
.wr-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.wr-hero-slide.is-active { position: relative; opacity: 1; pointer-events: auto; }
.wr-hero-media,
.wr-hero-media::after { position: absolute; inset: 0; }
.wr-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.wr-hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 9, 14, .97) 0%, rgba(4, 9, 14, .76) 33%, rgba(4, 9, 14, .16) 68%, rgba(4, 9, 14, .05) 100%),
    linear-gradient(0deg, var(--wr-bg) 0%, rgba(7, 15, 24, .62) 12%, transparent 46%),
    linear-gradient(180deg, rgba(4, 9, 14, .28), transparent 28%);
}
.wr-hero-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 76% 27%, rgba(0, 159, 227, .8), transparent 16%),
    radial-gradient(circle at 70% 46%, #164d6b 0, #102b3c 28%, #071019 70%);
}
.wr-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: clamp(610px, 76vh, 820px);
  align-items: flex-end;
  padding: 120px var(--wr-space) clamp(124px, 15vh, 170px);
}
.wr-hero-copy { width: min(670px, 72vw); text-shadow: 0 2px 14px rgba(0, 0, 0, .28); }
.wr-hero-label { display: block; margin-bottom: 12px; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.wr-hero-label strong { color: var(--wr-blue-bright); font-weight: 850; }
.wr-hero h1 { margin: 0 0 13px; font-size: clamp(48px, 7.5vw, 92px); line-height: .92; letter-spacing: -.052em; }
.wr-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; margin: 0 0 12px; color: rgba(255, 255, 255, .86); font-size: 14px; font-weight: 650; }
.wr-match { color: var(--wr-blue-bright); }
.wr-hero p { max-width: 55ch; margin: 0 0 23px; color: rgba(255, 255, 255, .87); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.42; }
.wr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wr-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 4px;
  background: transparent;
  color: var(--wr-white);
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.wr-button-primary { border-color: var(--wr-blue); background: var(--wr-blue); color: var(--wr-white); }
.wr-button-light { border-color: var(--wr-white); background: var(--wr-white); color: #0a151d; }
.wr-button-ghost-light { border-color: rgba(255, 255, 255, .22); background: rgba(24, 40, 51, .72); color: var(--wr-white); backdrop-filter: blur(6px); }
.wr-button-small { min-height: 36px; padding: 7px 13px; font-size: 13px; }
.wr-button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, .24); }
.wr-button-primary:hover { background: var(--wr-blue-dark); }
.wr-button-light:hover { background: rgba(255, 255, 255, .82); }
.wr-button-ghost-light:hover { background: rgba(41, 184, 242, .3); border-color: var(--wr-blue-bright); }
.wr-info-icon { display: grid; width: 20px; height: 20px; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 13px; font-weight: 700; }

/* Homepage catalogue */
.wr-home-catalog { position: relative; z-index: 5; margin-top: clamp(-60px, -4vw, -30px); padding-bottom: clamp(44px, 7vw, 88px); }
.wr-section { padding: clamp(30px, 4.5vw, 62px) var(--wr-space); }
.wr-catalog-row {
  width: 100%;
  padding-top: 34px;
  padding-bottom: 9px;
  /*
   * De homepage heeft negentien rijen met samen ruim tweehonderdvijftig
   * kaarten. Met content-visibility slaat de browser de opmaak en het
   * tekenen van een rij over zolang die buiten beeld is, en pakt hij hem op
   * zodra er naartoe gescrold wordt. De opgegeven hoogte houdt de scrollbalk
   * ondertussen op de juiste maat.
   */
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}
.wr-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 11px; }
.wr-section h2 { margin: 0; color: var(--wr-white); font-size: clamp(20px, 2.1vw, 28px); line-height: 1.1; letter-spacing: -.018em; }
.wr-section-link { color: var(--wr-blue-bright); font-size: 14px; font-weight: 700; }
.wr-carousel { position: relative; margin-inline: calc(var(--wr-space) * -1); }
.wr-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(228px, 20vw, 330px);
  gap: clamp(8px, .8vw, 14px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px var(--wr-space) 30px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.wr-row::-webkit-scrollbar { display: none; }
.wr-row > * { scroll-snap-align: start; }
.wr-carousel-button {
  position: absolute;
  top: 6px;
  bottom: 30px;
  z-index: 12;
  width: clamp(36px, 4vw, 58px);
  padding: 0;
  border: 0;
  background: rgba(4, 10, 16, .78);
  color: var(--wr-white);
  font-size: 28px;
  opacity: 0;
  cursor: pointer;
  transition: opacity .18s ease, background .18s ease;
}
.wr-carousel:hover .wr-carousel-button,
.wr-carousel-button:focus-visible { opacity: 1; }
.wr-carousel-button:hover { background: rgba(0, 159, 227, .62); }
.wr-carousel-prev { left: 0; border-radius: 0 5px 5px 0; }
.wr-carousel-next { right: 0; border-radius: 5px 0 0 5px; }
.wr-card { position: relative; min-width: 0; border-radius: var(--wr-radius); counter-increment: wr-rank; transition: transform .22s ease, filter .22s ease; }
.wr-card > a { display: block; }
.wr-card-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--wr-radius); background: #173143; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.wr-card-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(3, 8, 12, .72), transparent 48%); opacity: .18; transition: opacity .2s ease; }
.wr-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }
.wr-card:hover { z-index: 8; transform: scale(1.055); }
.wr-card:hover .wr-card-image { box-shadow: var(--wr-shadow); }
.wr-card:hover .wr-card-image::after { opacity: .58; }
.wr-card:hover .wr-card-image img { transform: scale(1.025); }
.wr-card-placeholder { position: relative; width: 100%; height: 100%; background: radial-gradient(circle at 72% 22%, rgba(40,184,242,.28), transparent 24%), linear-gradient(135deg, #1d607e, #102c3d 54%, #09141e); }
.wr-card-placeholder::before { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border: 8px solid rgba(255,255,255,.9); border-radius: 50%; content: ""; transform: translate(-50%, -50%); box-shadow: 0 0 0 12px rgba(0,159,227,.3); }
.wr-card-placeholder::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--wr-blue-bright); content: ""; transform: translate(-50%, -50%); }
.wr-card-play {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--wr-white);
  border-radius: 50%;
  background: rgba(4, 10, 16, .74);
  color: var(--wr-white);
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.wr-card:hover .wr-card-play { opacity: 1; transform: translateY(0); }
.wr-card-play:hover { background: var(--wr-blue); }
.wr-card-copy { padding: 9px 2px 0; }
.wr-card-kicker { margin: 0 0 2px; color: var(--wr-blue-bright); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
/*
 * Twee regels in plaats van één afgekapte. Nu de uitzenddatum uit de titel is
 * gehaald past een programmanaam meestal op één regel, maar "Ooh wat in
 * klapper!" of "Cambuur Sjoernaal" liepen daar tegenaan. De vaste hoogte
 * houdt de kaarten in een rij op gelijke hoogte, ook als de ene naam één
 * regel nodig heeft en de andere twee.
 */
.wr-card-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.44em;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--wr-white);
  font-size: 16px;
  line-height: 1.22;
}
.wr-card-meta { margin: 3px 0 0; color: var(--wr-muted); font-size: 12px; }
.wr-card-date { color: var(--wr-muted); }
.wr-card-sep { opacity: .6; }
.wr-catalog-ranked .wr-row { grid-auto-columns: clamp(270px, 24vw, 390px); counter-reset: wr-rank; }
.wr-catalog-ranked .wr-card { padding-left: clamp(56px, 6vw, 90px); }
.wr-catalog-ranked .wr-card::before {
  position: absolute;
  bottom: 27px;
  left: 0;
  z-index: -1;
  content: counter(wr-rank);
  color: #071019;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(92px, 10vw, 150px);
  font-weight: 900;
  line-height: .72;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .72);
  text-shadow: 0 5px 18px rgba(0, 0, 0, .45);
}

/* Internal pages */
.wr-kicker { display: block; margin-bottom: 10px; color: var(--wr-blue-bright); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wr-page-head { padding: clamp(54px, 8vw, 104px) var(--wr-space) 38px; border-bottom: 1px solid var(--wr-line); }
.wr-page-head h1 { max-width: 900px; margin: 0 0 13px; color: var(--wr-white); font-size: clamp(40px, 6vw, 70px); line-height: 1; letter-spacing: -.04em; }
.wr-page-head p { max-width: 68ch; margin: 0; color: var(--wr-muted); font-size: 18px; }
.wr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 16px; }
.wr-pagination { margin-top: 42px; }
.wr-pagination .page-numbers { display: inline-grid; min-width: 38px; min-height: 38px; margin-right: 4px; place-items: center; border: 1px solid var(--wr-line); border-radius: 4px; }
.wr-pagination .current { border-color: var(--wr-blue); background: var(--wr-blue); color: var(--wr-white); }
/* Program title page (Netflix-style) */
.wr-title-page { padding-bottom: 40px; }
.wr-title-hero { position: relative; display: flex; min-height: min(88vh, 860px); align-items: flex-end; overflow: hidden; }
.wr-title-backdrop { position: absolute; inset: 0; z-index: 0; background: #0b1a26; }
.wr-title-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.wr-title-backdrop-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #1d607e, #102c3d 54%, #09141e); }
.wr-title-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 15, 24, .78) 0%, rgba(7, 15, 24, .18) 32%, rgba(7, 15, 24, .82) 78%, var(--wr-navy) 100%),
    linear-gradient(90deg, rgba(7, 15, 24, .94) 0%, rgba(7, 15, 24, .72) 38%, rgba(7, 15, 24, .12) 78%);
}
.wr-title-hero-inner { position: relative; z-index: 1; width: min(1600px, 100%); padding-block: 120px 64px; }
.wr-title-copy { width: min(680px, 100%); text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.wr-title-crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; color: rgba(255, 255, 255, .68); font-size: 13px; font-weight: 650; transition: color .18s ease; }
.wr-title-crumb:hover, .wr-title-crumb:focus-visible { color: var(--wr-blue-bright); }
.wr-title-kicker { display: block; margin-bottom: 10px; color: var(--wr-blue-bright); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.wr-title-name { margin: 0 0 16px; color: var(--wr-white); font-size: clamp(42px, 6.4vw, 84px); line-height: .95; letter-spacing: -.048em; }
.wr-title-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 20px; padding: 0; list-style: none; color: rgba(255, 255, 255, .84); font-size: 14px; font-weight: 650; }
.wr-title-facts li { display: flex; align-items: center; gap: 16px; }
.wr-title-facts li + li::before { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .45); content: ""; }
.wr-title-rating, .wr-title-badge { display: inline-block; padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wr-title-badge { border-color: transparent; background: var(--wr-blue); color: var(--wr-white); }
.wr-title-synopsis { max-width: 58ch; margin: 0 0 28px; color: rgba(255, 255, 255, .9); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45; }
.wr-title-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wr-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px; border: 0; border-radius: 4px; font-size: 16px; font-weight: 800; transition: background .18s ease, transform .18s ease, color .18s ease; }
.wr-btn:hover, .wr-btn:focus-visible { transform: translateY(-1px); }
.wr-btn-icon { font-size: 14px; line-height: 1; }
.wr-btn-play { background: var(--wr-white); color: #0a1620; }
.wr-btn-play:hover, .wr-btn-play:focus-visible { background: var(--wr-blue-bright); color: var(--wr-white); }
.wr-btn-ghost { background: rgba(255, 255, 255, .18); color: var(--wr-white); backdrop-filter: blur(6px); }
.wr-btn-ghost:hover, .wr-btn-ghost:focus-visible { background: rgba(255, 255, 255, .3); }
.wr-collection-toggle { cursor: pointer; }
.wr-collection-toggle[aria-pressed="true"] { background: var(--wr-blue); color: var(--wr-white); }
.wr-collection-toggle[aria-pressed="true"]:hover,
.wr-collection-toggle[aria-pressed="true"]:focus-visible { background: var(--wr-blue-dark); }

/* Episode list */
.wr-section-count { display: inline-grid; min-width: 28px; height: 28px; place-items: center; padding-inline: 8px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--wr-muted); font-size: 13px; font-weight: 750; }
.wr-episode-browser {
  display: grid;
  grid-template-columns: minmax(130px, .18fr) minmax(180px, .24fr) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 42px);
  align-items: start;
}
.wr-browser-column { min-width: 0; }
.wr-browser-years,
.wr-browser-months {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .24) transparent;
}
.wr-browser-years { padding-right: clamp(12px, 1.7vw, 24px); border-right: 1px solid var(--wr-line); }
.wr-browser-months { padding-right: clamp(12px, 1.7vw, 24px); border-right: 1px solid var(--wr-line); }
.wr-browser-heading { margin: 0 0 14px; color: var(--wr-muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wr-period-list { display: flex; flex-direction: column; gap: 5px; }
.wr-period-list[hidden],
.wr-episode-panel[hidden] { display: none; }
.wr-period-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--wr-radius);
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.wr-period-button:hover,
.wr-period-button:focus-visible { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--wr-white); outline: none; }
.wr-period-button.is-active { border-color: rgba(41, 184, 242, .42); background: linear-gradient(90deg, rgba(0, 159, 227, .32), rgba(0, 159, 227, .13)); color: var(--wr-white); }
.wr-period-count { display: inline-grid; min-width: 25px; height: 22px; place-items: center; padding-inline: 6px; border-radius: 11px; background: rgba(255, 255, 255, .09); color: var(--wr-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.wr-period-button.is-active .wr-period-count { background: var(--wr-blue); color: var(--wr-white); }
.wr-browser-results { min-width: 0; }
.wr-undated-episodes { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--wr-line); }
.wr-undated-episodes > h3 { margin: 0 0 12px; color: var(--wr-muted); font-size: 16px; }
.wr-episodes { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.wr-episode-item { border-bottom: 1px solid var(--wr-line); }
.wr-episode-item:last-child { border-bottom: 0; }
.wr-episode-row { display: grid; grid-template-columns: 52px minmax(180px, 260px) minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px 14px; border-radius: var(--wr-radius); transition: background .18s ease; }
.wr-episode-row:hover, .wr-episode-row:focus-visible { background: rgba(255, 255, 255, .055); }
.wr-episode-number { color: #647681; font-size: 26px; font-weight: 750; text-align: center; }
.wr-episode-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--wr-radius); background: #102c3d; }
.wr-episode-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, filter .2s ease; }
.wr-episode-thumb-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1d607e, #102c3d 54%, #09141e); }
.wr-episode-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--wr-white);
  font-size: 22px;
  background: rgba(6, 13, 20, .45);
  opacity: 0;
  transition: opacity .2s ease;
}
.wr-episode-row:hover .wr-episode-play, .wr-episode-row:focus-visible .wr-episode-play { opacity: 1; }
.wr-episode-row:hover .wr-episode-thumb img { transform: scale(1.05); }
.wr-episode-body { min-width: 0; }
.wr-episode-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.wr-episode-body h3 { margin: 0 0 4px; color: var(--wr-white); font-size: 19px; line-height: 1.25; }
.wr-episode-duration { flex: none; color: var(--wr-muted); font-size: 13px; font-weight: 700; }
.wr-episode-date { display: block; margin-bottom: 6px; color: var(--wr-blue-bright); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wr-episode-body p { margin: 0; color: var(--wr-muted); font-size: 14px; line-height: 1.45; }
.wr-duration { color: var(--wr-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.wr-player-wrap { background: #020508; }
.wr-player { width: min(1600px, 100%); aspect-ratio: 16 / 9; margin-inline: auto; background: #000; }
.wr-player bb-main-player,
.wr-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.wr-player-missing { display: grid; height: 100%; place-items: center; padding: 40px; color: rgba(255, 255, 255, .7); text-align: center; }
.wr-episode-detail { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 60px; }
.wr-episode-detail h1 { margin: 0 0 13px; color: var(--wr-white); font-size: clamp(34px, 5vw, 58px); line-height: 1.03; letter-spacing: -.035em; }
/*
 * De uitzenddatum hoort bij de titel, maar niet op dezelfde toon. Als losse
 * regel eronder, op een derde van de grootte en zonder de strakke
 * letterafstand van een kop.
 */
.wr-title-date {
  display: block;
  margin-top: 10px;
  color: var(--wr-muted);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}
.wr-episode-detail p { color: #d4dfe5; }
.wr-facts { border-top: 1px solid var(--wr-line); }
.wr-fact { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--wr-line); font-size: 14px; }
.wr-fact span:first-child { color: var(--wr-muted); }
.wr-empty { padding: 50px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: var(--wr-radius); color: var(--wr-muted); text-align: center; }

/*
 * Frontend management stays deliberately light and work-oriented.
 *
 * De klasse .wr-beheer wordt door weromrop_body_class() gezet. Hij verving
 * .page-template-page-weromrop-beheer, die nooit aansloeg: WordPress zet zo'n
 * page-template-klasse alleen bij een template dat via een "Template Name"-kop
 * expliciet gekozen is, en page-weromrop-beheer.php wordt geladen op naam. De
 * oude selector blijft erbij staan voor het geval de pagina ooit alsnog als
 * gekozen template wordt ingesteld.
 */
.wr-beheer .wr-main,
.page-template-page-weromrop-beheer .wr-main { background: #edf4f7; color: #18232b; }
/*
 * De beheeropmaak van de plugin gaat uit van een lichte achtergrond. Zonder
 * deze regels erven koppen en tabellen de witte tekstkleur van de catalogus en
 * verdwijnen ze in het licht.
 */
.wr-manage-shell h1,
.wr-manage-shell h2,
.wr-manage-shell h3,
.wr-manage-shell h4,
.wr-manage-shell th,
.wr-manage-shell strong { color: #0e1a22; }
.wr-manage-shell p,
.wr-manage-shell td,
.wr-manage-shell li,
.wr-manage-shell label,
.wr-manage-shell .description { color: #24343f; }
.wr-manage-shell a { color: var(--wr-blue-dark); text-decoration: underline; }
.wr-manage-shell a.button,
.wr-manage-shell .button { text-decoration: none; }
.wr-manage-hero { padding: 24px var(--wr-space) 22px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(120deg, #071019, #0d2d40); color: var(--wr-white); }
.wr-manage-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wr-manage-hero h1 { margin: 0 0 5px; font-size: clamp(29px, 3.5vw, 40px); line-height: 1; letter-spacing: -.035em; }
.wr-manage-hero p { max-width: 68ch; margin: 0; color: rgba(255, 255, 255, .68); font-size: 14px; }
.wr-manage-hero .wr-kicker { margin-bottom: 7px; font-size: 10px; }
.wr-manage-user { display: flex; flex: none; align-items: center; gap: 8px; padding: 7px 11px 7px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: rgba(255, 255, 255, .76); font-size: 12px; }
.wr-manage-user::before { display: block; width: 22px; height: 22px; border-radius: 50%; background: #009fe3; content: ""; box-shadow: inset 0 0 0 7px rgba(255,255,255,.92); }
.wr-manage-shell { width: 100%; max-width: 1760px; padding: 0 var(--wr-space) clamp(45px, 6vw, 80px); }
.wr-beheer .wr-footer { padding-block: 25px; }

/* Footer */
.wr-footer { padding: 46px var(--wr-space); border-top: 1px solid var(--wr-line); background: #050b11; color: rgba(255, 255, 255, .65); }
.wr-footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wr-footer p { margin: 0; font-size: 13px; }

@media (max-width: 1100px) {
  .wr-brand-sub { display: none; }
  .wr-menu { gap: 17px; }
  .wr-menu ul { gap: 17px; }
  .wr-row { grid-auto-columns: minmax(230px, 32%); }
  .wr-catalog-ranked .wr-row { grid-auto-columns: minmax(300px, 40%); }
}

@media (max-width: 980px) {
  .admin-bar .wr-header { top: 46px; }
  .wr-menu-toggle { display: grid; }
  .wr-menu {
    position: fixed;
    inset: 66px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--wr-space) 28px;
    border-bottom: 1px solid var(--wr-line);
    background: rgba(7, 15, 24, .99);
    box-shadow: var(--wr-shadow);
  }
  .admin-bar .wr-menu { top: 112px; }
  .wr-menu.is-open { display: flex; }
  .wr-menu ul { align-items: stretch; flex-direction: column; gap: 0; }
  .wr-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--wr-line); }
  .wr-menu a::after { display: none; }
  .wr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wr-title-hero { min-height: 72vh; }
  .wr-episode-browser { grid-template-columns: 118px 155px minmax(0, 1fr); gap: 18px; }
  .wr-episode-browser .wr-episode-row { grid-template-columns: 38px 165px minmax(0, 1fr); gap: 14px; padding-inline: 0; }
  .wr-episode-detail { gap: 35px; }
  .wr-carousel-button { display: none; }
}

@media (max-width: 700px) {
  .wr-nav { min-height: 60px; gap: 11px; }
  .wr-brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .wr-brand-title { font-size: 18px; }
  .wr-brand-sub,
  .wr-nav-tools .wr-lang { display: none; }
  .wr-manage-button-top { min-width: 36px; min-height: 36px; justify-content: center; padding: 5px 7px; }
  .wr-manage-button-top > span:last-child { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .wr-menu { top: 60px; }
  .admin-bar .wr-menu { top: 106px; }
  /*
   * De hero was 660 pixels hoog. Op een telefoon van 812 pixels is dat 81%
   * van het scherm voor één titel, en zag je van de catalogus eronder niets.
   * Nu ruwweg tweederde daarvan, zodat de eerste rij kaarten er net onder
   * uitkomt en meteen duidelijk is dat er meer is.
   */
  .wr-hero { min-height: clamp(420px, 58vh, 545px); }
  .wr-hero-media img { object-position: 62% center; }
  .wr-hero-media::after {
    background:
      linear-gradient(0deg, var(--wr-bg) 0%, rgba(7, 15, 24, .86) 27%, rgba(7, 15, 24, .2) 72%),
      linear-gradient(90deg, rgba(7, 15, 24, .3), transparent);
  }
  .wr-hero-content { min-height: clamp(420px, 58vh, 545px); padding: 88px var(--wr-space) 92px; }
  .wr-hero-copy { width: 100%; }
  .wr-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .wr-hero p { max-width: 100%; font-size: 15px; }
  .wr-home-catalog { margin-top: -34px; }
  /*
   * Een kaart die 72% breed is laat de volgende er net niet naast passen; de
   * rij oogt dan als een enkele afbeelding en niemand veegt. Met 62% steekt de
   * volgende kaart zichtbaar het scherm in — precies waarom NPO en Netflix
   * daar rond de 2,2 kaart aanhouden.
   */
  .wr-row { grid-auto-columns: 62%; }
  .wr-catalog-ranked .wr-row { grid-auto-columns: 78%; }
  .wr-catalog-ranked .wr-card { padding-left: 58px; }
  .wr-card:hover { transform: none; }
  .wr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 11px; }
  .wr-title-hero { min-height: auto; }
  .wr-title-hero-inner { padding-block: 200px 44px; }
  .wr-title-backdrop img { object-position: 60% center; }
  .wr-title-backdrop::after {
    background: linear-gradient(180deg, rgba(7, 15, 24, .7) 0%, rgba(7, 15, 24, .3) 26%, rgba(7, 15, 24, .9) 72%, var(--wr-navy) 100%);
  }
  .wr-title-name { font-size: clamp(36px, 11vw, 56px); }
  .wr-title-synopsis { font-size: 16px; }
  .wr-btn { flex: 1 1 auto; justify-content: center; padding-inline: 18px; }
  .wr-episode-browser { display: block; }
  .wr-browser-years,
  .wr-browser-months { position: static; max-height: none; overflow: visible; padding: 0 0 16px; border-right: 0; }
  .wr-browser-months { margin-top: 4px; border-top: 1px solid var(--wr-line); padding-top: 16px; }
  .wr-period-list { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 3px; scrollbar-width: thin; scroll-snap-type: x proximity; }
  .wr-period-button { width: auto; min-width: 104px; flex: 0 0 auto; scroll-snap-align: start; }
  .wr-month-list .wr-period-button { min-width: 138px; }
  .wr-browser-results { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--wr-line); }
  .wr-episode-row { grid-template-columns: 30px 118px 1fr; gap: 12px; padding-inline: 0; }
  .wr-episode-head { display: block; }
  .wr-episode-body p,
  .wr-duration { display: none; }
  .wr-episode-detail { display: block; }
  .wr-facts { margin-top: 34px; }
  .wr-footer-grid { display: block; }
  .wr-footer p { margin-top: 25px; }
  .wr-manage-hero-inner { display: block; }
  .wr-manage-user { display: inline-flex; margin-top: 14px; }
}

@media (max-width: 430px) {
  .wr-nav { gap: 8px; }
  .wr-brand-title { display: none; }
  /*
   * Twee kolommen in plaats van één. Bij één kolom werd een zoekresultaat van
   * dertig treffers een pagina van bijna tien schermen.
   */
  .wr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .wr-row { grid-auto-columns: 66%; }
  .wr-catalog-ranked .wr-row { grid-auto-columns: 82%; }
  .wr-section h2 { font-size: 20px; }
  .wr-card-title { font-size: 15px; }
  /* Grotere raakvlakken voor de hero-stippen. */
  .wr-hero-dots { gap: 12px; }
  .wr-hero-dot { min-height: 22px; }
}

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

/* Ynhâld / content description block */
.wr-ynhald-section { padding-top: 8px; }
.wr-ynhald {
  position: relative;
  max-width: 92ch;
  padding: 26px 30px 26px 34px;
  border-radius: var(--wr-radius);
  background: var(--wr-navy-soft);
}
.wr-ynhald::before {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--wr-blue);
  content: "";
}
.wr-ynhald-head {
  margin: 0 0 10px;
  color: var(--wr-blue-bright);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.wr-ynhald-body { color: #d4dfe5; font-size: 17px; line-height: 1.62; }
.wr-ynhald-body p { margin: 0 0 1em; }
.wr-ynhald-body p:last-child { margin-bottom: 0; }

@media (max-width: 780px) {
  .wr-ynhald { padding: 20px 20px 20px 24px; }
  .wr-ynhald::before { top: 20px; bottom: 20px; }
  .wr-ynhald-body { font-size: 16px; }
}

/* Spelerbediening en bioscoopweergave */
.wr-player { position: relative; }
.wr-player-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity .2s ease;
}
.wr-player:hover .wr-player-controls,
.wr-player:focus-within .wr-player-controls,
.wr-cinema .wr-player-controls { opacity: 1; }
.wr-player-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 4px;
  background: rgba(6, 13, 20, .68);
  color: var(--wr-white);
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease;
}
.wr-player-button:hover,
.wr-player-button:focus-visible { border-color: var(--wr-blue); background: var(--wr-blue); }
.wr-player-close { display: none; }
.wr-cinema .wr-player-close { display: grid; }

body.wr-cinema { overflow: hidden; }
.wr-cinema .wr-player-wrap {
  position: fixed;
  z-index: 999;
  display: grid;
  inset: 0;
  place-items: center;
  background: #000;
}
.wr-cinema .wr-player {
  width: 100vw;
  max-width: none;
  max-height: 100vh;
  height: auto;
  aspect-ratio: 16 / 9;
}
.wr-cinema .wr-header { display: none; }

@media (min-aspect-ratio: 16 / 9) {
  .wr-cinema .wr-player { width: auto; height: 100vh; }
}

/*
 * Staand scherm: een 16:9-beeld midden in een venster van 812 pixels hoog
 * levert een strook van 211 pixels met tweederde zwart eromheen. Het beeld
 * gaat daarom naar boven, waar je het ook op YouTube verwacht, en eronder
 * komt een aanwijzing dat het liggend groter wordt. cinema.js opent de
 * bioscoopweergave op een staand telefoonscherm bovendien niet meer
 * automatisch; de knop blijft gewoon werken.
 */
@media (orientation: portrait) and (max-width: 780px) {
  .wr-cinema .wr-player-wrap { align-content: start; padding-top: 12vh; }
  .wr-cinema .wr-player-wrap::after {
    display: block;
    padding: 22px var(--wr-space) 0;
    color: var(--wr-muted);
    content: attr(data-wr-draaihint);
    font-size: 13px;
    text-align: center;
  }
}

/* Script-embed van de BBW-speler */
.wr-player-embed { width: 100%; height: 100%; }
.wr-player-embed bb-main-player,
.wr-player-embed iframe,
.wr-player-embed > div { display: block; width: 100%; height: 100%; border: 0; }
.wr-unmute {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--wr-white);
  color: #0a1620;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}
.wr-unmute:hover, .wr-unmute:focus-visible { background: var(--wr-blue); color: var(--wr-white); }

/* Voortgangsbalk op kaarten in "Fierder sjen" */
.wr-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, .28);
}
.wr-progress-bar { display: block; height: 100%; background: var(--wr-blue-bright); }
.wr-card-continue .wr-card-meta { color: var(--wr-blue-bright); font-weight: 700; }

/* Live-kanalen: 1/2/4-up raster */
.wr-live-section { padding-block: 8px 4px; }
.wr-live-layout { display: inline-flex; gap: 4px; padding: 3px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.wr-live-layout-btn {
  min-width: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--wr-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.wr-live-layout-btn:hover { color: var(--wr-white); }
.wr-live-layout-btn.is-active { background: var(--wr-blue); color: var(--wr-white); }

.wr-live-grid { display: grid; gap: 14px; grid-template-columns: repeat(1, 1fr); }
.wr-live-grid[data-wr-live-max="2"] { grid-template-columns: repeat(2, 1fr); }
.wr-live-grid[data-wr-live-max="4"] { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .wr-live-grid[data-wr-live-max="4"] { grid-template-columns: repeat(4, 1fr); }
}

.wr-live-tile { display: flex; flex-direction: column; gap: 8px; }
.wr-live-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--wr-radius); background: #000; }
.wr-live-frame iframe,
.wr-live-frame audio { display: block; width: 100%; height: 100%; border: 0; }
.wr-live-label { color: var(--wr-muted); font-size: 13px; font-weight: 650; }

@media (max-width: 640px) {
  .wr-live-grid[data-wr-live-max="2"],
  .wr-live-grid[data-wr-live-max="4"] { grid-template-columns: 1fr; }
}

/* BBW-titel als extra context bij de aflevering */
.wr-episode-bbw-title { margin: -4px 0 14px; color: var(--wr-muted); font-size: 14px; font-style: italic; }

/* Hero-carrousel: puntnavigatie */
.wr-hero-dots {
  position: absolute;
  right: var(--wr-space);
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 9px;
}
.wr-hero-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .32);
  cursor: pointer;
  transition: background .2s ease;
}
.wr-hero-dot:hover, .wr-hero-dot:focus-visible { background: rgba(255, 255, 255, .6); }
.wr-hero-dot.is-active { background: var(--wr-blue-bright); }

@media (max-width: 640px) {
  .wr-hero-dots { right: var(--wr-space); bottom: 18px; }
  .wr-hero-dot { width: 20px; }
}
