/* Showpagina's (podcastcentrale.nl/shows/…). De drie kleuren en de letters komen per show uit een <style>-blok:
   --sh-bg (achtergrond), --sh-ink (tekst), --sh-accent, --sh-op (tekst op het accent), --sh-kop, --sh-tekst.
   Afgeleide tinten met color-mix, zodat elke combinatie van drie kleuren klopt. */
:root {
  --sh-lijn: color-mix(in srgb, var(--sh-ink) 14%, var(--sh-bg));
  --sh-zacht: color-mix(in srgb, var(--sh-ink) 80%, var(--sh-bg));
  --sh-kaart: color-mix(in srgb, var(--sh-ink) 4%, var(--sh-bg));
  --sh-tint: color-mix(in srgb, var(--sh-accent) 10%, var(--sh-bg));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sh-bg); color: var(--sh-ink); font-family: var(--sh-tekst); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--sh-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
h1, h2, h3 { font-family: var(--sh-kop); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sh-accent); outline-offset: 3px; border-radius: 4px; }
.sh-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sh-smal { max-width: 760px; }
.sh-skip { position: absolute; left: -999px; top: 8px; background: var(--sh-bg); color: var(--sh-ink); padding: 8px 12px; z-index: 20; }
.sh-skip:focus { left: 8px; }
.sh-klein { font-size: 14px; color: var(--sh-zacht); }
.sh-label, .sh-pil { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-zacht); margin-bottom: 12px; }
.sh-pil { border: 1.5px solid var(--sh-lijn); border-radius: 999px; padding: 4px 12px; }

/* Kop */
.sh-kop { border-bottom: 1px solid var(--sh-lijn); background: var(--sh-bg); position: sticky; top: 0; z-index: 10; }
.sh-kop .sh-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.sh-merk { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--sh-kop); font-weight: 800; font-size: 18px; min-width: 0; }
.sh-merk span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-merk img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; }
.sh-kop nav { display: flex; gap: 20px; font-size: 15px; flex: none; }
.sh-kop nav a { text-decoration: none; }
.sh-kop nav a:hover { text-decoration: underline; }
.sh-lamp { width: 12px; height: 12px; border-radius: 50%; background: #E5483B; box-shadow: 0 0 0 4px rgba(229,72,59,.22); flex: none; display: inline-block; }
@media (max-width: 640px) { .sh-kop nav a:not(:first-child) { display: none; } }

/* Held */
.sh-held { padding: 56px 0 48px; border-bottom: 1px solid var(--sh-lijn); }
.sh-met-banner { background: linear-gradient(color-mix(in srgb, var(--sh-bg) 82%, transparent), var(--sh-bg) 92%), var(--sh-banner) center / cover no-repeat; }
.sh-held-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center; }
.sh-intro { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 42ch; }
.sh-hoes { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--sh-ink) 45%, transparent); }
@media (max-width: 760px) {
  .sh-held { padding: 32px 0; }
  .sh-held-grid { grid-template-columns: 1fr; gap: 24px; }
  .sh-hoes { order: -1; width: 160px; }
}

/* Knoppen en platforms */
.sh-knop { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--sh-accent); color: var(--sh-op); font: 600 16px var(--sh-tekst); text-decoration: none; cursor: pointer; }
.sh-knop:hover { filter: brightness(1.08); }
.sh-knop svg { width: 18px; height: 18px; }
.sh-groot { min-height: 52px; padding: 0 26px; font-size: 17px; }
.sh-lijn { background: transparent; color: var(--sh-ink); box-shadow: inset 0 0 0 1.5px var(--sh-ink); }
.sh-acties { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.sh-platforms { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sh-platforms a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--sh-lijn); text-decoration: none; font-size: 15px; font-weight: 600; background: var(--sh-bg); }
.sh-platforms a:hover { border-color: var(--sh-ink); }
.sh-platforms svg { width: 22px; height: 22px; color: var(--sh-accent); }

/* Blokken */
.sh-blok { padding: 56px 0; border-bottom: 1px solid var(--sh-lijn); }
.sh-blok:last-of-type { border-bottom: 0; }
.sh-nieuwste { background: var(--sh-kaart); }
.sh-nieuwste-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sh-nieuwste h2 a { text-decoration: none; }
.sh-nieuwste h2 a:hover { text-decoration: underline; }
.sh-meta { color: var(--sh-zacht); font-size: 15px; }
@media (max-width: 760px) { .sh-nieuwste-grid { grid-template-columns: 1fr; gap: 24px; } .sh-blok { padding: 40px 0; } }

/* Video: eerst een plaatje, pas na een klik YouTube */
.sh-video { margin: 0 0 16px; }
.sh-video-knop { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.sh-video-knop img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.sh-video-speel { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--sh-accent); color: var(--sh-op); display: grid; place-items: center; }
.sh-video-speel svg { width: 30px; height: 30px; margin-left: 4px; }
.sh-video-knop:hover .sh-video-speel { transform: scale(1.06); }
.sh-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }
.sh-video .sh-klein { margin: 8px 0 0; }

/* Lijst met afleveringen */
.sh-rijen { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sh-lijn); }
.sh-rij { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "titel knop" "meta knop"; gap: 2px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--sh-lijn); }
.sh-rij-titel { grid-area: titel; font-weight: 600; text-decoration: none; font-size: 18px; }
.sh-rij-titel:hover { text-decoration: underline; }
.sh-rij-meta { grid-area: meta; color: var(--sh-zacht); font-size: 14px; }
.sh-rij .sh-knop { grid-area: knop; min-height: 40px; padding: 0 14px; font-size: 14px; }

/* Over en makers */
.sh-over p { max-width: 65ch; }
.sh-hosts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sh-hosts li { display: flex; gap: 14px; align-items: center; }
.sh-hosts img, .sh-initiaal { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.sh-initiaal { display: grid; place-items: center; background: var(--sh-tint); font: 800 28px var(--sh-kop); }
.sh-hosts b { display: block; }
.sh-hosts span { color: var(--sh-zacht); font-size: 15px; }
.sh-overal { background: var(--sh-kaart); }

/* Aflevering */
.sh-kruimel { font-size: 14px; color: var(--sh-zacht); margin-bottom: 16px; }
.sh-aflevering h1 { font-size: clamp(2rem, 5vw, 3rem); }
.sh-audio audio { width: 100%; margin: 4px 0 8px; }
.sh-tekst { margin-top: 28px; }
.sh-hoofdstukken { padding-left: 0; list-style: none; }
.sh-hoofdstukken li { padding: 6px 0; border-bottom: 1px solid var(--sh-lijn); }
.sh-tijd { font: 600 14px var(--sh-tekst); background: var(--sh-tint); color: var(--sh-ink); border: 0; border-radius: 6px; padding: 3px 8px; margin-right: 8px; cursor: pointer; font-variant-numeric: tabular-nums; }
.sh-transcript { margin: 28px 0; border: 1px solid var(--sh-lijn); border-radius: 12px; padding: 0 18px; }
.sh-transcript summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.sh-transcript > div { max-height: 520px; overflow: auto; font-size: 16px; padding-bottom: 12px; }
.sh-transcript p { margin: 0 0 .6em; }
.sh-buren { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.sh-buren a { display: block; padding: 14px 16px; border: 1px solid var(--sh-lijn); border-radius: 12px; text-decoration: none; font-weight: 600; }
.sh-buren a:hover { border-color: var(--sh-ink); }
.sh-buren span { display: block; font-size: 13px; color: var(--sh-zacht); font-weight: 400; }
.sh-ouder { text-align: right; }

/* Gast-formulier */
.sh-gast { background: var(--sh-tint); }
.sh-form { display: grid; gap: 14px; margin-top: 16px; }
.sh-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.sh-form input, .sh-form textarea { font: 400 16px var(--sh-tekst); color: var(--sh-ink); background: var(--sh-bg); border: 1.5px solid color-mix(in srgb, var(--sh-ink) 45%, var(--sh-bg)); border-radius: 10px; padding: 10px 12px; width: 100%; }
.sh-form button { justify-self: start; }
.sh-form-melding { margin: 0; font-weight: 600; min-height: 1.2em; }
.sh-honing { position: absolute; left: -9999px; }

/* Voet en verwijzing naar Podcastcentrale */
.sh-voet { border-top: 1px solid var(--sh-lijn); padding: 28px 0 96px; font-size: 15px; }
.sh-voet-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.sh-gemaakt { color: var(--sh-zacht); margin: 0; font-size: 14px; }
.sh-prompt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--sh-kaart); border: 1px solid var(--sh-lijn); max-width: 640px; }
.sh-prompt .sh-lamp { margin-top: 6px; }
.sh-prompt p { margin: 0; }

/* Vaste speler onderin */
.sh-speler { position: fixed; left: 0; right: 0; bottom: 0; background: var(--sh-bg); border-top: 1px solid var(--sh-lijn); box-shadow: 0 -8px 24px -16px color-mix(in srgb, var(--sh-ink) 40%, transparent); z-index: 15; padding: 10px 0; }
.sh-speler .sh-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 12px; align-items: center; }
.sh-speler-titel { margin: 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-speler audio { width: 100%; }
.sh-sluit { border: 0; background: transparent; color: var(--sh-ink); font-size: 26px; line-height: 1; width: 44px; height: 44px; cursor: pointer; border-radius: 50%; }
@media (max-width: 640px) { .sh-speler .sh-wrap { grid-template-columns: 1fr auto; } .sh-speler audio { grid-column: 1 / -1; grid-row: 2; } }
.sh-voorbeeld { position: fixed; top: 0; left: 50%; transform: translateX(-50%); background: #16181D; color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 0 0 10px 10px; z-index: 30; }

/* Etalage */
.sh-etalage { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.sh-etalage-kaart a { display: grid; gap: 6px; text-decoration: none; padding: 12px; border-radius: 14px; border: 1px solid var(--sh-lijn); height: 100%; }
.sh-etalage-kaart a:hover { border-color: var(--sh-ink); }
.sh-etalage-kaart img, .sh-etalage-kaart .sh-initiaal { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.sh-etalage-kaart .sh-initiaal { font-size: 56px; }
.sh-etalage-kaart b { font-family: var(--sh-kop); font-size: 19px; line-height: 1.2; }
.sh-etalage-kaart span { color: var(--sh-zacht); font-size: 15px; }
.sh-etalage-kaart small { color: var(--sh-zacht); }
.sh-kop.sh-pc { background: #16181D; color: #fff; border-color: #2A2D35; }

/* Ingesloten speler (iframe op een andere site) */
.sh-ingesloten { background: var(--sh-bg); font-size: 15px; }
.sh-in { display: flex; gap: 14px; padding: 12px; align-items: flex-start; }
.sh-in img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; flex: none; }
.sh-in-tekst { min-width: 0; flex: 1; }
.sh-in-show { margin: 0; font-family: var(--sh-kop); font-weight: 800; }
.sh-in-show a { text-decoration: none; }
.sh-in-titel { margin: 2px 0 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-in audio { width: 100%; height: 40px; }
.sh-in details { margin-top: 6px; font-size: 14px; }
.sh-in ol { margin: 6px 0 0; padding-left: 20px; }
@media (max-width: 420px) { .sh-in img { width: 64px; height: 64px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sh-video-knop:hover .sh-video-speel { transform: none; } }
@media (max-width: 520px) { .sh-buren { grid-template-columns: 1fr; } .sh-ouder { text-align: left; } .sh-buren > span:empty { display: none; } }
