:root {
  --ruimte: 32px;
  --s1: 8px;
  --s2: 16px;
}

html,
body {
  margin: 0;
  width: 100%;
  background: #0c070b;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #0c070b;
  background-image:
    radial-gradient(circle, #f4ecd8 1px, transparent 1.6px),
    radial-gradient(circle, #ffd23f 1px, transparent 1.6px),
    radial-gradient(circle, #f4ecd8 0.8px, transparent 1.3px),
    radial-gradient(circle, #f4ecd8 1.2px, transparent 2px),
    radial-gradient(circle, #ffd23f 0.9px, transparent 1.5px),
    radial-gradient(circle, #f4ecd8 0.7px, transparent 1.2px),
    linear-gradient(to bottom, #0c070b 0, #130d26 35%, #1d1838 70%, #3a2c63 100%);
  background-size: 420px 420px, 610px 610px, 230px 230px, 340px 340px, 170px 170px, 130px 130px, 100% 100%;
  background-position: 0 0, 90px 140px, 40px 70px, 200px 30px, 120px 95px, 75px 20px, 0 0;
  color: #f4ecd8;
  font-family: "Nunito", "Avenir Next", "Century Gothic", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-weight: 400;
  line-height: 1.1;
  text-align: left;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: 3px;
}

main {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

main > section {
  min-width: 0;
}

#spel,
#pietje,
#stoomboot,
#boeken,
#agenda,
#tv,
#brief,
#gedicht,
#verhaaltjes,
#raadsel {
  scroll-margin-top: 12px;
}

/* Nachtlucht */
.lucht {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ster {
  position: absolute;
  width: 22px;
  height: 22px;
}

.ster-1 { top: 760px; left: 6%; }
.ster-2 { top: 1300px; left: 12%; width: 14px; height: 14px; }
.ster-3 { top: 1750px; right: 8%; }
.ster-4 { top: 2200px; left: 5%; width: 16px; height: 16px; }
.ster-5 { top: 2700px; right: 4%; width: 16px; height: 16px; }
.ster-6 { top: 3100px; left: 9%; }
.ster-7 { top: 3600px; right: 11%; width: 14px; height: 14px; }
.ster-8 { top: 1450px; right: 14%; width: 14px; height: 14px; }
.ster-9 { top: 980px; right: 6%; width: 26px; height: 26px; }
.ster-10 { top: 1100px; left: 3%; width: 12px; height: 12px; }
.ster-11 { top: 1950px; left: 14%; width: 18px; height: 18px; }
.ster-12 { top: 2050px; right: 15%; width: 12px; height: 12px; }
.ster-13 { top: 2450px; left: 2%; width: 20px; height: 20px; }
.ster-14 { top: 2950px; right: 9%; width: 12px; height: 12px; }
.ster-15 { top: 3350px; right: 3%; width: 24px; height: 24px; }
.ster-16 { top: 3800px; left: 4%; width: 14px; height: 14px; }

/* Header */

.site-header {
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  z-index: 4;
  font-family: Nunito, sans-serif;
  filter: drop-shadow(0 6px 8px rgba(20, 15, 45, 0.3)) drop-shadow(0 22px 30px rgba(20, 15, 45, 0.35));
}

.site-header a { text-decoration: none; }

/* Bovenste balk */
.kop-top {
  background: #0e0b22;
  color: #d8d3ee;
  font-size: 13px;
  font-weight: 800;
}

.kop-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  min-height: 38px;
  width: min(100% - 32px, 1234px);
  margin: 0 auto;
  padding: 6px 0;
}

.kop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.kop-links a { color: inherit; white-space: nowrap; }
.visueel-verborgen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.kop-links a:hover,
.kop-links a[aria-current] { color: #f2c95a; }

.kop-agenda {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 16px;
  min-width: 0;
}

.kop-agenda-tekst {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kop-agenda-label { color: #f2c95a; }
.kop-agenda-mobiel { display: none; }

.kop-agenda-knop {
  flex: 0 0 auto;
  border: 1px solid rgba(242, 201, 90, 0.53);
  border-radius: 999px;
  padding: 2px 12px;
  color: #f2c95a;
  transition: background 120ms, color 120ms;
}

.kop-agenda-knop:hover,
.kop-agenda-knop[aria-current] {
  background: #f2c95a;
  color: #1d1838;
}

/* Hoofdbalk */
.kop-hoofd {
  background: #171233;
}

.site-header-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100% - 32px, 1234px);
  margin: 0 auto;
  padding: 22px 0;
}

.kop-merk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.site-logo {
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
}

.site-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: 100%;
}

.site-logo-krant img {
  max-height: 66px;
}

.kop-regel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  gap: 8px 14px;
  padding-left: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #e4def7;
}

.kop-laatste {
  display: inline-flex;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  margin: -4px 0;
  padding: 3px 12px;
  border: 1.5px dashed #c9a24a;
  border-radius: 999px;
  color: #f6ead2;
  transition: color 120ms, border-color 120ms;
}

.kop-laatste-label { color: #f2c95a; flex: 0 0 auto; }

.kop-laatste-titel {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kop-laatste:hover {
  color: #f2c95a;
  border-color: #f2c95a;
}

/* Golfrand met gouden lijn onderaan */
.kop-golf {
  display: block;
  width: 100%;
  height: 16px;
  margin-top: -1px;
}

@media (min-width: 1100px) {
  .site-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .kop-merk { flex: 1 1 auto; }
  .kop .site-nav { flex: 0 0 auto; justify-content: flex-end; }
}

@media (max-width: 759px) {
  .kop-top-inner { justify-content: center; text-align: center; }
  .kop-links { display: none; }
  .kop-agenda {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .kop-agenda-tekst {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .kop-agenda-desktop { display: none; }
  .kop-agenda-mobiel { display: inline; }
  .site-header-inner { padding: 18px 0; }
  .kop-merk { align-items: center; }
  .kop-regel { justify-content: center; padding-left: 0; }
  .site-nav a.nav-mijter,
  .site-nav a.nav-bericht {
    display: none;
  }
}

/* Footer-navigatie (de ronde knoppen onderaan) */

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px 12px;
  width: auto;
  max-width: 100%;
}

.site-nav a {
  --face: #f4ecd8;
  --lip: #bfb29c;
  --ink: #150e14;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  transition: transform 80ms;
}

.site-nav a.nav-geel { --face: #ffd23f; --lip: #7d5a26; }
.site-nav a.nav-teal { --face: #1f8a8a; --lip: #12585c; --ink: #f4ecd8; }
.site-nav a.nav-rood { --face: #6e1c22; --lip: #3a1216; --ink: #f4ecd8; }
.site-nav a.nav-mijter { --face: #f4ecd8; --lip: #bfb29c; --ink: #b8322e; }
.site-nav a.nav-pietje { --face: #2b2451; --lip: #6e1c22; --ink: #f4ecd8; }
.site-nav a.nav-krant { --face: #5b2a86; --lip: #2b2451; --ink: #f4ecd8; }
.site-nav a[href$="/tv"] { --face: #5b2a86; --lip: #2b2451; --ink: #f4ecd8; }

.nav-krant .nav-ico {
  overflow: hidden;
  padding: 0;
}

.nav-krant .nav-ico img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 50%;
}

@media (min-width: 760px) and (max-width: 999px) {
  .pagina-boeken .footer-nav a:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.nav-ico {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--face);
  color: var(--ink);
  border: 4px solid #150e14;
  box-shadow: 0 5px 0 0 var(--lip), 0 5px 0 4px #150e14;
  transition: box-shadow 80ms, filter 80ms;
}

.nav-ico svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.nav-ico img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-pietje .nav-ico {
  overflow: hidden;
  padding: 0;
}

.nav-pietje .nav-ico img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-lbl {
  position: relative;
  z-index: 1;
  margin-top: -12px;
  padding: 1px 10px 2px;
  background: #f4ecd8;
  color: #150e14;
  border: 3px solid #150e14;
  border-radius: 999px;
  box-shadow: 0 3px 0 #150e14;
  font: 400 13px/1.2 "Lilita One", "Arial Black", sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: box-shadow 80ms;
}

.site-nav a[href*="stoomboot"] .nav-lbl,
.site-nav a[href*="pietje"] .nav-lbl {
  padding-left: 6px;
  padding-right: 6px;
}

.site-nav a:hover {
  transform: translateY(-2px);
}

.site-nav a:hover .nav-ico {
  filter: brightness(1.07);
}

.site-nav a:active,
.site-nav a[aria-current] {
  transform: translateY(4px);
}

.site-nav a:active .nav-ico,
.site-nav a[aria-current] .nav-ico {
  box-shadow: 0 1px 0 0 var(--lip), 0 1px 0 4px #150e14;
}

.site-nav a:active .nav-lbl,
.site-nav a[aria-current] .nav-lbl {
  box-shadow: 0 0 0 #150e14;
}

.site-nav a[aria-current] .nav-lbl {
  background: #ffd23f;
}

.site-nav a:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: 4px;
  border-radius: 20px;
}

.nav-ico.is-boing {
  animation: nav-boing 520ms cubic-bezier(0.2, 1.5, 0.4, 1);
}

@keyframes nav-boing {
  0% { transform: translateY(5px) scale(0.84) rotate(-12deg); }
  40% { transform: translateY(-12px) scale(1.16) rotate(10deg); }
  70% { transform: translateY(2px) scale(0.96) rotate(-4deg); }
  100% { transform: none; }
}

@media (max-width: 359px) {
  .nav-lbl {
    font-size: 12px;
    letter-spacing: 0;
    padding: 1px 4px 2px;
  }
}

@media (min-width: 380px) {
  .nav-lbl { font-size: 14px; }
}

@media (min-width: 760px) {
  .site-header .nav-lbl { font-size: 13px; }
}

/* Intro */
.hero {
  position: relative;
  flex: 0 0 auto;
  z-index: 3;
  overflow-x: clip;
  overflow-y: visible;
  background: linear-gradient(to bottom, #1d1838 calc(100% - 180px), #0c070b 100%);
  padding: 40px 0 0;
}

.hero-in {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
}

.hero-top {
  margin: 0 0 6px;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: #ffd23f;
  text-shadow: 0 2px 0 #150e14;
}

.hero h1 {
  font-size: clamp(48px, 11vw, 104px);
  line-height: 0.92;
  color: #f4ecd8;
  text-shadow: 0 4px 0 #6e1c22;
  letter-spacing: 0;
}

.hero h1 span {
  color: #ffd23f;
}

.hero-zin {
  max-width: 30ch;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.hero-kaarten {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0 0 24px;
}

.hero-omschrijving {
  margin: 0 0 14px;
}

.hero-onder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  position: relative;
  z-index: 3;
  margin-bottom: calc(clamp(36px, 8vw, 72px) * -0.46);
  padding-bottom: 0;
  pointer-events: none;
}

.hero-onder > * {
  pointer-events: auto;
}

.hero-onder h1 {
  text-shadow: 0 4px 0 #6e1c22, 0 0 14px #0c070b, 0 0 4px #0c070b;
}

.hero-onder .btn-goud {
  transition: opacity 160ms;
}

.hero-alleen-pc {
  display: none;
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffd23f;
}

@media (min-width: 760px) {
  .hero-omschrijving {
    margin-bottom: 8px;
    text-align: center;
  }

  .hero-zin {
    max-width: none;
  }
}

@media (max-width: 759px) {
  .hero-onder .btn-goud {
    display: none;
  }

  .hero-omschrijving {
    margin-bottom: 0;
  }

  .hero-alleen-pc {
    display: block;
  }
}

.play {
  position: relative;
}

.play::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  border: 4px dotted #ffd23f;
  border-radius: 20px;
  pointer-events: none;
}

body.spel-bezig .hero-onder .btn-goud {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-onder h1 {
  margin: 0;
  font-size: clamp(36px, 8vw, 72px);
  overflow-wrap: anywhere;
}

.hero .kaart {
  position: relative;
  z-index: 2;
  width: auto;
  margin: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: center;
}

@media (min-width: 760px) {
  .hero {
    min-height: 360px;
  }

  .hero-kaarten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .hero-onder {
    flex-wrap: nowrap;
  }
}

.kaartje-ico {
  --face: #1f8a8a;
  --lip: #12585c;
  --ink: #f4ecd8;
  width: 56px;
  height: 56px;
}

.kaartje-ico svg {
  width: 30px;
  height: 30px;
}

.kaartje-kop {
  font-size: 24px;
  color: #f4ecd8;
}

@media (max-width: 759px) {
  .kaartje-tekst {
    display: none;
  }
}

.kaartje-tekst {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 700;
}

.hero .kaart .btn-actie {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}

.aftel-kaart {
  grid-template-columns: 56px minmax(0, 1fr);
  overflow: visible;
  padding-top: 34px;
  background: radial-gradient(circle at 85% 20%, #3a2f6b 0, transparent 60%), #2b2451;
}

.aftel-kaart > :not(svg) {
  position: relative;
  z-index: 1;
}

.aftel-slinger {
  position: absolute;
  top: -10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  width: calc(100% - 20px);
  height: auto;
  pointer-events: none;
}

@media (max-width: 759px) {
  .aftel-slinger {
    top: -24px;
  }
}

.aftel-confetti {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aftel-pakjes {
  position: absolute;
  right: -16px;
  bottom: -22px;
  z-index: 2;
  width: 96px;
  height: auto;
  pointer-events: none;
}

.aftel-ico {
  --face: #1f8a8a;
  --lip: #12585c;
  --ink: #f4ecd8;
  width: 56px;
  height: 56px;
}

.aftel-ico svg {
  width: 30px;
  height: 30px;
}

.aftel-kop {
  font-size: 24px;
  color: #f4ecd8;
}

.aftel-tijd {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font: 400 clamp(26px, 5vw, 40px)/1.1 "Lilita One", "Arial Black", sans-serif;
  color: #ffd23f;
  text-shadow: 0 3px 0 #150e14;
}

.aftel-tekst {
  white-space: pre-line;
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 700;
}

.hero-teken {
  position: absolute;
  top: 16px;
  z-index: 0;
  display: block;
  height: 130px;
  width: auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}

.hero-teken-l { right: calc(50% + 36px); }
.hero-teken-r { left: calc(50% + 24px); }

.hero-filter {
  position: absolute;
  width: 0;
  height: 0;
}

.hero-film {
  visibility: hidden;
  background: transparent;
  filter: url("#hero-zwart");
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}

.hero-sint.is-film .hero-film,
.hero-piet.is-film .hero-film {
  visibility: visible;
}

.hero-sint.is-film > img,
.hero-piet.is-film > img {
  visibility: hidden;
}

.hero-film::-webkit-media-controls,
.hero-film::-webkit-media-controls-start-playback-button,
.hero-film::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Mobiel: geen filmpjes. Mobiele browsers passen het SVG-filter dat de zwarte
   achtergrond wegfiltert niet toe op video, waardoor een donker vierkant achter
   Sint en de Pieten verschijnt. De stilstaande plaatjes blijven staan. */
@media (max-width: 759px) {
  .hero-film { display: none; }
  .hero-sint.is-film > img,
  .hero-piet.is-film > img { visibility: visible; }
}

.hero { padding-top: 156px; }

@media (min-width: 720px) {
  .hero { padding-top: 216px; }
  .hero-teken { height: 190px; }
}

@media (min-width: 1100px) {
  .hero { --teken-h: clamp(264px, 24vw, 420px); padding-top: calc(24px + (var(--teken-h) - 270px) / 2); }
  .hero-kaarten { max-width: 700px; margin-left: auto; margin-right: auto; }
  .aftel-tijd { font-size: 32px; }
  .hero-teken { top: 24px; height: var(--teken-h); }
  .hero-teken-l { right: calc(50% + 350px - 28px); }
  .hero-teken-r { left: calc(50% + 350px - 68px); }
}

@media (max-width: 599px) {
  .hero-zin { font-size: 18px; }
}

#activiteiten {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  padding: 0;
  background: transparent;
}

@media (min-width: 700px) {
  #activiteiten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #tv { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  #activiteiten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; }
  #tv { grid-column: 1 / 3; grid-row: 1; }
  .stapel-verhaal { grid-column: 1; grid-row: 2; align-self: start; }
  .stapel-sint { grid-column: 3; grid-row: 1 / 3; align-self: start; }
}

/* Kaarten */
.kaart {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #2b2451;
  color: #f4ecd8;
  border: 3px solid #150e14;
  border-radius: 16px;
  box-shadow: 6px 6px 0 #6e1c22;
  padding: 16px;
}

@media (min-width: 600px) {
  .kaart { padding: 24px; }
}

section.kaart {
  padding: 0;
}

.kaart:target {
  box-shadow: 6px 6px 0 #ffd23f;
}

.kaart-kop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #6e1c22;
  border-radius: 13px 13px 0 0;
}

.kaart-kop .section-title {
  margin: 0;
  color: #f4ecd8;
  font-size: 26px;
}

.kaart-tab {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4ecd8;
  color: #6e1c22;
}

.kaart-tab[class*="tab-"] {
  box-sizing: border-box;
  background: var(--face);
  color: var(--ink);
  border: 3px solid #150e14;
  box-shadow: 0 3px 0 0 var(--lip), 0 3px 0 3px #150e14;
}

.tab-geel { --face: #ffd23f; --lip: #7d5a26; --ink: #150e14; }
.tab-teal { --face: #1f8a8a; --lip: #12585c; --ink: #f4ecd8; }
.tab-rood { --face: #6e1c22; --lip: #3a1216; --ink: #f4ecd8; }
.tab-creme { --face: #f4ecd8; --lip: #bfb29c; --ink: #150e14; }

.kaart-body {
  flex: 1;
  padding: 16px 18px 20px;
}

#tv .kaart-body {
  padding-top: 44px;
}

.section-title {
  margin-bottom: var(--s1);
  font-size: 28px;
  color: #f4ecd8;
}

.mini-lead {
  margin: 0 0 var(--s2);
  font-size: 18px;
  font-weight: 700;
}

.mini-msg:empty {
  margin: 0;
  min-height: 0;
}

.mini-msg {
  margin: 20px 0 0;
  min-height: 1.4em;
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 599px) {
  .section-title {
    font-size: 24px;
  }
}

/* Knoppen: de radioknop is het voorbeeld. Goud alleen voor Speel nu, crème voor de actie, donker voor een keuze. */
.btn-goud,
.btn-actie,
.footer-top,
.radio-btn {
  --face: #f4ecd8;
  --lip: #bfb29c;
  --press: 4px;
  box-sizing: border-box;
  min-height: 48px;
  background: var(--face);
  color: #150e14;
  border: 3px solid #150e14;
  box-shadow: 0 var(--press) 0 0 var(--lip), 0 var(--press) 0 3px #150e14;
  font-family: "Lilita One", "Arial Black", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: transform 80ms, box-shadow 80ms, filter 80ms;
}

.btn-goud:hover:not(:disabled):not([aria-pressed="true"]),
.btn-actie:hover:not(:disabled):not([aria-pressed="true"]),
.footer-top:hover,
.radio-btn:hover:not(:disabled):not([aria-pressed="true"]) {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.btn-goud:active:not(:disabled),
.btn-actie:active:not(:disabled),
.footer-top:active,
.radio-btn:active:not(:disabled),
.btn-goud[aria-pressed="true"],
.btn-actie[aria-pressed="true"],
.radio-btn[aria-pressed="true"] {
  transform: translateY(var(--press));
  box-shadow: 0 0 0 0 var(--lip), 0 0 0 3px #150e14;
}

.btn-goud:disabled,
.btn-actie:disabled,
.radio-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: 0 2px 0 0 var(--lip), 0 2px 0 3px #150e14;
}

.btn-goud {
  --face: #ffd23f;
  --lip: #7d5a26;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 36px;
  border-radius: 999px;
  font-size: 24px;
  letter-spacing: 0.03em;
}

.btn-actie {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.btn-actie[hidden],
.btn-link[hidden] {
  display: none;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: var(--s1);
  padding: 0;
  background: none;
  color: #f4ecd8;
  border: 0;
  font-family: "Nunito", "Avenir Next", "Century Gothic", sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.btn-link:hover {
  color: #ffd23f;
}

.pick-btn,
.poem-chip span {
  position: relative;
  box-sizing: border-box;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  background: #1d1838;
  color: #f4ecd8;
  border: 3px solid #f4ecd8;
  border-radius: 12px;
  box-shadow: 0 4px 0 0 #b5acd0, 0 4px 0 3px #150e14;
  font: 800 18px/1.2 "Nunito", sans-serif;
  cursor: pointer;
  transition: transform 80ms, box-shadow 80ms, background 80ms;
}

.pick-btn:hover:not([aria-pressed="true"]),
.poem-chip input:hover:not(:checked) + span {
  background: #2b2451;
}

.pick-btn[aria-pressed="true"],
.poem-chip input:checked + span {
  background: #f4ecd8;
  color: #150e14;
  transform: translateY(4px);
  box-shadow: 0 0 0 0 #b5acd0, 0 0 0 3px #150e14;
}

.pick-btn[aria-pressed="true"]::before,
.poem-chip input:checked + span::before {
  content: "\2713\00a0";
}

.pick-btn:focus-visible,
.poem-chip input:focus-visible + span {
  outline: 3px solid #ffd23f;
  outline-offset: 3px;
}

@media (max-width: 599px) {
  .btn-goud {
    width: 100%;
    max-width: 280px;
    min-height: 56px;
  }

  .btn-actie {
    width: 100%;
  }
}

.play {
  box-sizing: border-box;
  padding: 22px;
  background: #b8322e;
  border: 4px solid #150e14;
  border-radius: 28px;
  box-shadow: 0 8px 0 #6e1c22, 0 8px 0 4px #150e14;
}

@media (max-width: 599px) {
  .play { padding: 14px; border-radius: 20px; }
  .play::before { inset: 4px; border-width: 3px; border-radius: 14px; }
}

#game {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  outline: 4px solid #150e14;
  border-radius: 12px;
  background: #0c070b;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  scroll-margin-top: 12px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

canvas {
  image-rendering: auto;
}
/* Gedicht */
.poem-form {
  display: grid;
  gap: 24px;
  max-width: none;
  font-size: 18px;
  font-weight: 800;
}

.poem-field label,
.poem-chips legend {
  display: block;
  padding: 0;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
}

.poem-field input,
.poem-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 6px 14px;
  background: #f4ecd8;
  color: #150e14;
  border: 3px solid #150e14;
  border-radius: 12px;
  box-shadow: inset 0 -3px 0 #bfb29c;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
}

.poem-field textarea {
  display: block;
  min-height: 77px;
  padding: 12px 18px;
  resize: vertical;
  line-height: 1.4;
  box-shadow: 0 4px 0 0 #bfb29c, 0 4px 0 3px #150e14, inset 0 -3px 0 #bfb29c;
}

.poem-field input::placeholder,
.poem-field textarea::placeholder {
  color: #8a7f68;
  font-weight: 700;
  opacity: 1;
}

.poem-field input:focus-visible,
.poem-field textarea:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: 2px;
}

.poem-chips {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 6px;
}

.poem-chips legend {
  float: left;
  width: 100%;
}

.poem-chip {
  position: relative;
}

.poem-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.poem-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.poem-hint {
  margin: 12px 0 0;
  color: #6e1c22;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 759px) {
  .poem-field textarea {
    min-height: 63px;
  }
}

.poem-chips-pakje {
  gap: 12px;
}

.poem-chips-pakje .poem-chip span {
  min-width: 72px;
  padding: 10px 18px;
}

.poem-chips-wie {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.poem-chips-wie .poem-chip span {
  width: 100%;
  padding: 0 8px;
}

.poem-chips-wie legend {
  grid-column: 1 / -1;
}

.poem-form .btn-actie {
  justify-self: start;
  margin-top: 4px;
}

.poem-card-wrap {
  max-width: none;
  margin: 24px 0 0;
}

.poem-card {
  position: relative;
  box-sizing: border-box;
  background: #f4ecd8;
  color: #150e14;
  border: 3px solid #150e14;
  border-radius: 12px;
  padding: 28px 16px 16px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  animation: poem-in 200ms ease-out;
}

.poem-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 14px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #0c070b;
  border: 3px solid #150e14;
}

.poem-card::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 14px;
  width: 22px;
  height: 18px;
  box-sizing: border-box;
  border: 3px solid #6e1c22;
  border-bottom: none;
  border-radius: 22px 22px 0 0;
}

.poem-card p {
  margin: 0;
}

.poem-stanza {
  display: block;
}

.poem-stanza + .poem-stanza {
  margin-top: 10px;
}

.poem-stanza-aanhef {
  margin-bottom: 4px;
}

.poem-stanza-sign {
  margin-top: 14px;
  font-size: 17px;
}

.poem-card-wacht {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.poem-wacht {
  margin: 0;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: poem-pulse 1.2s ease-in-out infinite;
}

.poem-wacht-pepernoot {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.poem-wacht-tekst {
  margin: 0;
  color: #6e1c22;
  font: 800 24px/1.35 "Nunito", sans-serif;
}

@keyframes poem-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes poem-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Raadsel */
.riddle-count {
  margin: 0 0 6px;
  font-size: 16px;
  color: #b9b2aa;
}

.riddle-q {
  margin: 0 0 20px;
  padding: 0;
  color: #f4ecd8;
  font-size: 20px;
  font-weight: 800;
}

.riddle-answers {
  display: grid;
  gap: 16px;
}

.riddle-answers .pick-btn {
  text-align: left;
}

.riddle-answers .pick-btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
}

/* Pieten TV */
.tv-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 12px 0 0;
  padding: 0;
}

.tv-list li {
  min-width: 0;
}

.tv-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 6px 14px;
  text-align: left;
}

.tv-pick-title {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.tv-pick-time {
  font-size: 14px;
  font-weight: 600;
}

.tv-pick[aria-pressed="true"]::before {
  display: none;
}

.tv-pick[aria-pressed="true"] .tv-pick-title::before {
  content: "\2713\00a0";
}

@media (min-width: 700px) {
  .tv-side {
    display: flex;
  }
}

@media (max-width: 359px) {
  .tv-pick {
    padding: 6px 10px;
  }

  .tv-pick-title {
    font-size: 16px;
  }
}

@media (max-width: 399px) {
  .tv-idle {
    font-size: 18px;
  }
}

/* Brief */
.letter {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 14px 14px 8px;
  background: #f4ecd8;
  color: #150e14;
  border: 3px solid #150e14;
  border-radius: 12px;
  box-shadow: 5px 5px 0 #6e1c22;
  overflow-wrap: anywhere;
}

.letter-head {
  display: block;
  margin-bottom: 4px;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #150e14;
}

.letter-text {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 96px;
  padding: 0 2px;
  background: transparent repeating-linear-gradient(to bottom, transparent 0 31px, rgba(21, 14, 20, 0.18) 31px 32px);
  background-attachment: local;
  color: #150e14;
  border: 0;
  border-radius: 0;
  resize: vertical;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 32px;
}

.letter-text::placeholder {
  color: #5a4d52;
  opacity: 1;
}

.letter-text:focus-visible {
  outline: 3px solid #b8322e;
  outline-offset: 4px;
}

.letter-body {
  margin: 0;
  white-space: pre-wrap;
  font-size: 20px;
  font-weight: 800;
  line-height: 32px;
}

.letter-sign {
  margin: 8px 0 0;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.letter-body[hidden],
.letter-sign[hidden] {
  display: none;
}

.letter-note {
  margin: 20px 0 0;
  max-width: none;
  font-size: 15px;
  color: #b9b2aa;
}

/* Stoomboot */
.boot-intro {
  margin: 0 0 var(--s2);
  font-size: 18px;
  font-weight: 700;
}

.boot-status {
  margin: 0 0 12px;
  font: 400 22px/1.25 "Lilita One", "Arial Black", sans-serif;
  color: #ffd23f;
}

.boot-fig {
  margin: 0;
}

.boot-kaart {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  border: 3px solid #150e14;
  border-radius: 12px;
  overflow: hidden;
}

.boot-kaart text {
  font-family: "Lilita One", "Arial Black", sans-serif;
}

@media (max-width: 480px) {
  .boot-kaart .l-spa { font-size: 20px; }
  .boot-kaart .l-fra { font-size: 15px; }
  .boot-kaart .l-ned,
  .boot-kaart .l-dui,
  .boot-kaart .l-ita,
  .boot-kaart .l-gra { font-size: 12px; }
  .boot-kaart .l-eng { font-size: 10px; }
}

.rook {
  transform-box: fill-box;
  transform-origin: center;
  animation: rook 3s ease-out infinite;
}

.rook-2 { animation-delay: 1s; }
.rook-3 { animation-delay: 2s; }

@keyframes rook {
  0% { transform: translate(0, 0) scale(0.5); opacity: 0.9; }
  100% { transform: translate(14px, -26px) scale(1.4); opacity: 0; }
}

.sonar-gloed,
.sonar-puls,
.sonar-stil,
.sonar-stip {
  pointer-events: none;
}

.sonar-puls,
.sonar-stil {
  fill: none;
  stroke: #3dce78;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}

.sonar-puls {
  opacity: 0;
  animation: sonar-puls 3s ease-out infinite;
}

.sonar-puls-2 {
  animation-delay: 1s;
}

.sonar-stil {
  opacity: 0;
}

.sonar-stip {
  fill: #1f9d52;
  stroke: #f4ecd8;
  stroke-width: 1.15;
}

@keyframes sonar-puls {
  0% { transform: scale(1); opacity: 0.78; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sonar-stil { opacity: 0.62; }
}

.boot-fig figcaption {
  margin: 10px 0 0;
  font-size: 15px;
  color: #b5acd0;
}






#agenda,
#agenda .kaart-body,
.agenda {
  overflow: visible;
  max-height: none;
}

.stapel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

#agenda .kaart-body {
  padding: 16px 14px 18px;
}

.agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.agenda-dag {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 3px solid #150e14;
  border-radius: 14px;
  background: #1d1838;
  color: #f4ecd8;
}

.agenda-dag.is-straks { border-color: #f4ecd8; }

.agenda-datum {
  align-self: center;
  width: 68px;
  height: 68px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  background: #f4ecd8;
  color: #150e14;
  border: 3px solid #150e14;
  border-radius: 12px;
}

.agenda-datum b {
  font: 400 28px/1 "Lilita One", sans-serif;
}

.agenda-datum span {
  font: 800 12px/1 "Nunito", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.agenda-tag {
  flex: none;
  display: inline-block;
  margin: 0;
  padding: 1px 8px;
  border-radius: 999px;
  border: 2px solid currentColor;
  font: 400 13px/1.2 "Lilita One", sans-serif;
  color: #f4ecd8;
}

.agenda-dag > div:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.agenda-titel {
  flex: 1 1 120px;
  margin: 0;
  font: 400 20px/1.25 "Lilita One", sans-serif;
  color: #f4ecd8;
}

.agenda-dagnaam,
.agenda-meta,
.agenda-bron {
  display: none;
}

.agenda-sub {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.agenda-sub li {
  font: 700 16px/1.35 "Nunito", sans-serif;
  color: #b5acd0;
}

.agenda-sub b {
  color: #f4ecd8;
}

.agenda-subkop {
  margin: 10px 0 0;
  font: 800 16px/1.35 "Nunito", sans-serif;
  color: #f4ecd8;
}

/* Pietenverhaaltjes */
.verhaal-titel {
  margin: 0 0 12px;
  font-size: 24px;
  color: #ffd23f;
}

.verhaal-tekst {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.verhaal-teller {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: #b5acd0;
}

.verhaal-knoppen {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px 12px;
}

.verhaal-knoppen .btn-actie {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding: 0 12px;
  margin-top: 12px;
}

/* Footer */
footer.site-footer {
  --sint-breedte: min(272px, 33.6vw);
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  margin-top: 230px;
  padding: 0 0 calc(16px + env(safe-area-inset-bottom));
  background: #1d1838;
  border-top: 4px solid #e0b458;
  font-size: 15px;
  line-height: 1.3;
  overflow: visible;
}

.footer-inner {
  --cirkel: 168px;
  position: relative;
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
}

.footer-daken {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 4px);
  z-index: 0;
  line-height: 0;
  pointer-events: none;
}

.footer-daken-svg {
  display: block;
  overflow: visible;
  width: 100%;
  height: 225px;
}

.footer-sint,
.footer-chef {
  position: absolute;
  z-index: 0;
  bottom: 100%;
  height: auto;
  pointer-events: none;
}

.footer-sint {
  left: 16px;
  width: var(--sint-breedte);
}

.footer-chef {
  right: 16px;
  width: calc(var(--sint-breedte) * 0.7);
}

.footer-lijn {
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  z-index: 1;
  height: 4px;
  background: #e0b458;
  pointer-events: none;
}

@media (max-width: 1040px) {
  footer.site-footer {
    --sint-breedte: min(176px, 33.6vw);
  }
}

@media (max-width: 720px) {
  footer.site-footer {
    --sint-breedte: 128px;
  }
}

.footer-pakjes {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  width: 100vw;
  margin: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 0;
}

.footer-pakjes-svg {
  display: block;
  width: 100%;
  height: 64px;
}

.footer-onder a {
  color: #f4ecd8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-onder a:hover {
  color: #ffd23f;
}

.footer-scene {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}

.footer-figuren {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.footer-figuren svg.fig {
  position: relative;
  z-index: 1;
  display: block;
  flex: none;
  height: auto;
}

.fig-piet,
.fig-sint {
  width: 96px;
}

.fig-pak {
  width: 80px;
  margin: 0 -16px;
}

.footer-ster,
.footer-vlok {
  position: absolute;
  z-index: 0;
  animation: zweef 4s ease-in-out infinite;
}

.footer-ster { width: 28px; height: 28px; left: 38%; top: -6px; }
.footer-vlok { width: 24px; height: 24px; right: 8%; top: 4px; animation-delay: -2s; }

@keyframes zweef {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(4px); }
}

.footer-tekst {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.site-nav.footer-nav {
  justify-content: center;
  gap: 14px 12px;
  width: 100%;
}

.footer-nav .nav-ico {
  width: 48px;
  height: 48px;
  border-width: 3px;
  box-shadow: 0 4px 0 0 var(--lip), 0 4px 0 3px #150e14;
}

.footer-nav .nav-ico svg {
  width: 24px;
  height: 24px;
}

.footer-nav .nav-ico img {
  width: 34px;
  height: 34px;
}

.footer-nav .nav-pietje .nav-ico img {
  width: 42px;
  height: 42px;
}

.footer-pietje {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: none;
  max-width: 100%;
  margin-bottom: 14px;
}

.footer-pietje-naast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.footer-social-tekst-desktop {
  display: none;
}

.footer-pietje-beeld {
  position: relative;
  z-index: 1;
  display: block;
  flex: none;
  width: var(--cirkel);
  height: auto;
  object-fit: contain;
  transform: translateY(36px);
}

.footer-pietje::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(36px + var(--cirkel) * 542 / 836 + 14px);
  left: calc(var(--cirkel) * 605 / 836);
  width: 100vw;
  border-top: 4px dotted #ffd23f;
  pointer-events: none;
}

.footer-pietje-tekst {
  margin: 0;
  color: #f4ecd8;
  font: 400 20px/1.2 "Lilita One", "Arial Black", sans-serif;
  white-space: nowrap;
}

.footer-pietje-knoppen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-tiktok {
  --press: 2px;
  flex: none;
  width: auto;
  max-width: none;
  min-height: 32px;
  height: 32px;
  margin: 0;
  padding: 0 12px;
  border-width: 2px;
  font-size: 15px;
  box-shadow: 0 2px 0 0 var(--lip), 0 2px 0 2px #150e14;
}

.footer-filmpjes {
  --face: #b8322e;
  --lip: #6e1c22;
  --press: 2px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 12px;
  border: 2px solid #150e14;
  border-radius: 999px;
  background: var(--face);
  color: #f4ecd8;
  box-shadow: 0 2px 0 0 var(--lip), 0 2px 0 2px #150e14;
  font: 400 15px/1 "Lilita One", "Arial Black", sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 80ms, box-shadow 80ms, filter 80ms;
}

.footer-filmpjes:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.footer-filmpjes:active {
  transform: translateY(var(--press));
  box-shadow: 0 0 0 0 var(--lip), 0 0 0 2px #150e14;
}

.footer-filmpjes:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: 3px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

@media (min-width: 760px) {
  .footer-social-tekst.footer-social-tekst-desktop {
    display: block;
    /* Extra ruimte BOVEN de tekst (onder de TikTok/Filmpjes-pillen). */
    margin: 16px 0 0;
    color: #fff;
  }

  .footer-pietje-naast {
    /* 6px tussen “Volg Pietje” en de pillen; tekst heeft eigen margin-top. */
    gap: 6px;
  }

  /* Alleen knoppen op de stippellijn; nav blijft. */
  .footer-social-desktop {
    position: absolute;
    z-index: 3;
    left: calc(var(--cirkel) + 12px);
    right: 0;
    top: calc(36px + var(--cirkel) * 542 / 836 + 14px);
    height: 0;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: visible;
    transform: none;
  }

  .footer-social-desktop .footer-social-knoppen {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    margin: 0;
    gap: 18px;
  }

  .footer-social-desktop .footer-social-knop {
    width: 36px;
    height: 36px;
  }

  .footer-social-desktop .footer-social-ig-ico {
    width: 16px;
    height: 16px;
    border-width: 2.3px;
  }

  .footer-social-desktop .footer-social-ig-ico::before {
    width: 5px;
    height: 5px;
  }

  .footer-social-desktop .footer-social-fb-ico {
    font-size: 24px;
  }
}

.footer-social-tekst {
  margin: 0;
  color: #ffd23f;
  font: 400 14px/1.15 "Lilita One", "Arial Black", sans-serif;
  white-space: nowrap;
}

.footer-social-knoppen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
}

.footer-social-knop {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid #120f26;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25), 2px 3px 0 #120f26;
  text-decoration: none;
  overflow: hidden;
  transition: transform 80ms, filter 80ms;
}

.footer-social-knop:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.footer-social-knop:active {
  transform: translateY(1px);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), 1px 1px 0 #120f26;
}

.footer-social-knop:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: 3px;
}

.footer-social-ig {
  background: #5b2d8e;
}

.footer-social-ig-ico {
  position: relative;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 2.2px solid #f6efe0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-ig-ico::before {
  content: "";
  width: 4px;
  height: 4px;
  border: 2px solid #f6efe0;
  border-radius: 50%;
}

.footer-social-ig-ico::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 2px;
  height: 2px;
  background: #f6efe0;
  border-radius: 50%;
}

.footer-social-fb {
  background: #1e8a86;
}

.footer-social-fb-ico {
  display: block;
  font: 900 21px/1 Nunito, "Arial Black", sans-serif;
  color: #f6efe0;
  transform: translateY(1px);
}

@media (max-width: 399px) {
  .footer-pietje-tekst {
    font-size: 16px;
  }

  .footer-inner {
    --cirkel: 120px;
  }

  .footer-pietje {
    gap: 8px;
  }
}

@media (max-width: 759px) {
  .footer-pietje::after {
    top: calc(36px + var(--cirkel) * 548 / 836);
  }
}

.footer-nav .nav-lbl {
  margin-top: -10px;
  padding: 0 7px 1px;
  border-width: 2px;
  font-size: 12px;
}

@media (max-width: 999px) {
  .footer-nav a:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

@media (min-width: 1000px) {
  .site-nav.footer-nav {
    width: auto;
  }
}

@media (min-width: 600px) {
  .footer-scene {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .fig-piet,
  .fig-sint {
    width: 120px;
  }

  .fig-pak {
    width: 96px;
  }
}

.nieuwsbrief {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.nieuwsbrief-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  margin: 0 auto;
}

.nieuwsbrief-beeld {
  flex: 0 0 auto;
  display: block;
  height: 58px;
  width: auto;
  max-width: 204px;
  object-fit: contain;
}

.nieuwsbrief-veld {
  flex: 0 0 auto;
  width: 168px;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #ffd23f;
  border-radius: 999px;
  background: #2b2451;
  color: #f4ecd8;
  font: 700 14px/1.2 "Nunito", sans-serif;
  box-shadow: none;
}

.nieuwsbrief-veld::placeholder {
  color: #b5acd0;
  font-weight: 600;
}

.nieuwsbrief-veld:focus {
  outline: none;
  border-color: #ffe066;
  box-shadow: none;
}

.nieuwsbrief-veld[aria-invalid="true"] {
  border-color: #e85a54;
}

.nieuwsbrief-knop {
  flex: 0 0 auto;
  height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 2px solid #150e14;
  border-radius: 999px;
  background: #ffd23f;
  color: #150e14;
  font: 800 14px/1 "Nunito", sans-serif;
  cursor: pointer;
  box-shadow: 3px 3px 0 #150e14;
}

.nieuwsbrief-knop:hover {
  background: #ffe066;
}

.nieuwsbrief-knop:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #150e14;
}

.nieuwsbrief-melding {
  margin: 0;
  padding: 10px 14px;
  border: 2px solid #e0b458;
  border-radius: 14px;
  background: #2b2451;
  color: #ffd23f;
  font: 800 15px/1.35 "Nunito", sans-serif;
  text-align: center;
}

.nieuwsbrief-fout {
  margin: 8px 0 0;
  color: #ffb4b0;
  font: 700 13px/1.3 "Nunito", sans-serif;
  text-align: center;
}

.nieuwsbrief-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 759px) {
  .nieuwsbrief-form {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .nieuwsbrief-beeld {
    height: 52px;
    max-width: 175px;
  }

  .nieuwsbrief-veld {
    width: 168px;
    max-width: 48vw;
    height: 38px;
    font-size: 13px;
  }

  .nieuwsbrief-knop {
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .nieuwsbrief-melding {
    font-size: 14px;
  }
}

.footer-onder {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
  padding-top: 4px;
  padding-left: calc(var(--cirkel) + 8px);
  color: #b5acd0;
  font: 700 15px/1.3 "Nunito", sans-serif;
}

.footer-onder-hoofd {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.footer-onder-merkregel {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: none;
}

.footer-onder-copyrij {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.footer-onder-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  text-align: center;
  min-width: 0;
}

.footer-onder-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-onder-meta > .footer-sep,
.footer-onder-links > .footer-sep {
  padding: 0 0.2em;
  white-space: pre;
}

.footer-onder-meta > .footer-sep-voor {
  padding: 0 0.2em;
}

.footer-social-mobiel {
  display: none;
}

@media (max-width: 759px) {
  .footer-social-desktop {
    display: none;
  }

  .footer-social-mobiel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    width: 100%;
  }

  .footer-social-mobiel .footer-social-tekst {
    margin: 0;
  }

  .footer-social-mobiel .footer-social-knoppen {
    gap: 8px;
  }

  .footer-social-mobiel .footer-social-knop {
    width: 36px;
    height: 36px;
  }

  .footer-social-mobiel .footer-social-ig-ico {
    width: 15px;
    height: 15px;
    border-width: 2.3px;
  }

  .footer-social-mobiel .footer-social-fb-ico {
    font-size: 22px;
  }

  .footer-onder {
    margin-top: 8px;
    padding-left: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-onder-hoofd {
    flex-direction: column;
    flex: 0 1 auto;
    width: 100%;
    gap: 10px;
  }

  .footer-onder-meta {
    flex-direction: column;
    gap: 8px;
  }

  .footer-onder-merkregel {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .footer-onder-copyrij {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .footer-copy {
    display: block;
    white-space: nowrap;
    text-align: center;
  }


  .footer-sep-voor {
    display: none;
  }

  .footer-onder-links {
    font-size: 12px;
    line-height: 1.2;
  }

  .footer-onder-links > .footer-sep {
    padding: 0 0.15em;
  }
}

@media (max-width: 759px) {
  footer.site-footer {
    margin-top: 324px;
  }

  .footer-sint {
    left: 50%;
    z-index: 1;
    width: min(176px, 49.6vw);
    bottom: calc(100% + 104px);
    transform: translateX(-50%);
  }

  .footer-scene {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .footer-pietje {
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

  .footer-pietje-beeld {
    transform: none;
  }

  .footer-pietje-naast {
    flex: 0 1 auto;
    min-width: 0;
    margin-top: 0;
    align-items: center;
  }

  .footer-pietje-tekst {
    font-size: 18px;
    text-align: center;
  }

  .footer-pietje::after {
    display: none;
  }

  .footer-inner {
    --cirkel: 136px;
  }

  .footer-tekst {
    gap: 6px;
  }

  .footer-nav {
    padding-bottom: 18px;
    border-bottom: 4px dotted #ffd23f;
  }
}

@media (max-width: 720px) {
  .footer-sint {
    bottom: calc(100% + 128px);
  }
}

@media (max-width: 389px) {
  .footer-inner {
    --cirkel: 112px;
  }

  .footer-pietje-tekst {
    font-size: 16px;
  }
}

.footer-logo {
  flex: none;
  height: 28px;
  width: auto;
}

.footer-uitgeverij-logo {
  flex: none;
  height: 16px;
  width: auto;
}

@media (max-width: 759px) {
  .footer-uitgeverij-logo {
    height: 14px;
  }
}

.footer-top {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: 50%;
}

.footer-top svg {
  width: 14px;
  height: 14px;
}

/* Pietenradio: de rode kast uit het originele ontwerp */
.radio {
  position: relative;
  z-index: 5;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto -7.5em;
  font-size: 13px;
  padding: 3.4em 1.2em 1.4em;
  background: #b8322e;
  border: 0.3em solid #150e14;
  border-radius: 1.8em;
  box-shadow: 0 0.5em 0 #150e14;
  transform: translateY(-50%);
}

.radio::before {
  content: "";
  position: absolute;
  inset: 0.6em;
  border: 0.14em solid #e0b458;
  border-radius: 1.3em;
  pointer-events: none;
}

.radio-lint {
  position: absolute;
  left: 50%;
  top: -2.6em;
  width: min(24em, 92%);
  height: auto;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.pietenradio-slot {
  position: static;
  font: inherit;
}

.bar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1em;
  align-items: stretch;
}

.radio-vol-group {
  display: flex;
  align-items: center;
  gap: 0.45em;
}

@media (max-width: 720px) {
  .bar-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .radio {
    max-width: min(420px, calc(100% - 148px));
  }

}

@media (max-width: 720px) {
  .radio {
    max-width: 100%;
  }

  .footer-pakjes {
    display: none;
  }
}

.radio-screen {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  background: #1d1838;
  border: 0.25em solid #150e14;
  border-radius: 1em;
  box-shadow: inset 0 0.25em 0 #0e0b1e;
  padding: 0.7em 1em 0.9em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15em;
}

.radio-statusline {
  display: flex;
  align-items: center;
  gap: 0.6em;
  min-width: 0;
}

.radio-led {
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: #3a3456;
  border: 0.15em solid #150e14;
  box-sizing: border-box;
  flex: none;
}

.radio-led.is-on {
  background: #5ee07a;
}

.radio-status {
  flex: 1;
  min-width: 0;
  font: 400 0.95em/1.1 "Lilita One", sans-serif;
  letter-spacing: 0.16em;
  color: #e0b458;
  white-space: nowrap;
}

.radio-eq {
  height: 18px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.radio-eq span {
  display: block;
  width: 0.4em;
  height: 3px;
  border-radius: 0.1em;
  background: repeating-linear-gradient(to top, #e0b458 0 3px, transparent 3px 5px);
}

.radio-no {
  font: 400 0.95em/1 "Lilita One", sans-serif;
  letter-spacing: 0.08em;
  color: #e0b458;
}

.radio-title {
  font: 400 1.7em/1.15 "Lilita One", sans-serif;
  color: #f4ecd8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-artist {
  font: 700 1.1em/1.25 "Nunito", sans-serif;
  color: #b5acd0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-times {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.2em;
}

.radio-time {
  display: block;
  font: 800 1em/1 "Nunito", sans-serif;
  color: #b5acd0;
  font-variant-numeric: tabular-nums;
}

.radio-track {
  flex: 1;
  height: 0.9em;
  border-radius: 1em;
  background: #2b2451;
  border: 0.2em solid #150e14;
  box-sizing: border-box;
  overflow: hidden;
}

.radio-track > span {
  display: block;
  height: 100%;
  width: 0;
  background: #e0b458;
}

.radio-panel {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9em 0.6em;
  padding: 0.8em;
  background: #6e1c22;
  border: 0.25em solid #150e14;
  border-radius: 1.2em;
}

.radio-btn {
  --press: 0.3em;
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  flex: none;
  border-width: 0.25em;
  box-shadow: 0 var(--press) 0 0 var(--lip), 0 var(--press) 0 0.25em #150e14;
}

.radio-btn:active:not(:disabled),
.radio-btn[aria-pressed="true"] {
  transform: translateY(0.3em);
  box-shadow: 0 0 0 0 var(--lip), 0 0 0 0.25em #150e14;
}

.radio-btn:disabled {
  box-shadow: 0 0.15em 0 0 var(--lip), 0 0.15em 0 0.25em #150e14;
}

.radio-play {
  width: 4.4em;
  height: 4.4em;
  border-radius: 50%;
  --face: #ffd23f;
  --lip: #7d5a26;
}

.radio-next {
  width: 3.7em;
  height: 3.7em;
  border-radius: 50%;
  --face: #f4ecd8;
  --lip: #bfb29c;
}

.radio-mute {
  width: 3.7em;
  height: 3.7em;
  border-radius: 0.9em;
  --face: #1f8a8a;
  --lip: #12585c;
}

.radio-mute[aria-pressed="true"] {
  --face: #6e1c22;
}

.radio-vol {
  width: 3.7em;
  height: 3.7em;
  border-radius: 0.9em;
  --face: #f4ecd8;
  --lip: #bfb29c;
}

.radio-vol span {
  font-size: 1.9em;
  line-height: 1;
}

.radio-play svg { width: 1.7em; height: auto; }
.radio-next svg { width: 1.5em; height: auto; }
.radio-mute svg { width: 1.7em; height: auto; }

.radio-meter {
  display: flex;
  align-items: flex-end;
  gap: 0.2em;
  height: 1.7em;
}

.radio-meter span {
  display: block;
  width: 0.4em;
  height: 7px;
  border-radius: 0.15em;
  border: 0.12em solid #150e14;
  box-sizing: border-box;
  background: #3a1216;
}

@media (max-width: 720px) {
  .radio-panel {
    font-size: clamp(10.5px, 3.3vw, 12px);
    gap: 0.6em 0.5em;
  }

  .radio-panel .radio-btn {
    font-size: inherit;
  }

  .radio-vol-group {
    gap: 0.5em;
  }

  .radio-meter {
    display: none;
  }
}

.tv-wrap {
  position: relative;
  max-width: none;
  margin: 0 0 24px;
}

.tv-wrap::before,
.tv-wrap::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 14px;
  height: 14px;
  background: #150e14;
  border-radius: 0 0 4px 4px;
}

.tv-wrap::before {
  left: 18%;
}

.tv-wrap::after {
  right: 18%;
}

.tv-set {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  box-sizing: border-box;
  padding: 10px;
  background: #b8322e;
  border: 6px solid #f4ecd8;
  border-radius: 22px;
  box-shadow: 5px 5px 0 #6e1c22;
}

.tv-set::before,
.tv-set::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  width: 4px;
  height: 34px;
  background: #150e14;
  transform-origin: bottom center;
}

.tv-set::before {
  left: 38%;
  transform: rotate(-22deg);
}

.tv-set::after {
  left: 62%;
  transform: rotate(22deg);
}

.tv-screen {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c070b;
  border: 3px solid #150e14;
  border-radius: 14px;
}

.tv-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 24px;
  color: #e0b458;
}

.tv-idle[hidden] {
  display: none;
}

.tv-brand {
  position: absolute;
  left: 10px;
  bottom: 6px;
  font-family: "Nunito", "Avenir Next", "Century Gothic", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #b9b2aa;
}

.tv-side {
  display: none;
  flex: 0 0 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-sizing: border-box;
  background: #6e1c22;
  border: 3px solid #150e14;
  border-radius: 14px;
}

.tv-knob {
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border: 3px solid #150e14;
  border-radius: 50%;
  background: #e0b458;
}

.tv-knob + .tv-knob {
  background: #f4ecd8;
}

.tv-grille {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: #150e14;
  opacity: 0.5;
}

.radio-audio-sink {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

/* Boekenpagina */
.pagina-boeken main {
  margin-top: 28px;
}

.pagina-boeken .site-footer {
  z-index: 2;
}

.boeken .kaart-kop .boeken-titel {
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4ecd8;
  -webkit-text-stroke: 7px #150e14;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #150e14;
}

.boeken-titel span {
  color: #f0d26a;
}

@media (min-width: 600px) {
  .boeken-titel-breuk {
    display: none;
  }
}

.boeken-lijst {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.boek {
  --kleur: #b8322e;
  --lip: #6e1c22;
  --stip: #ffd23f;
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #1d1838;
  border: 3px solid #150e14;
  border-radius: 16px;
}

.boek-geel { --kleur: #ffd23f; --lip: #7d5a26; --stip: #b8322e; }
.boek-teal { --kleur: #1f8a8a; --lip: #12585c; --stip: #f4ecd8; }
.boek-creme { --kleur: #f4ecd8; --lip: #bfb29c; --stip: #1f8a8a; }

.boek-omslag {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: min(100%, 260px);
  justify-self: center;
  padding: 16px;
  background: var(--kleur);
  border: 4px solid #150e14;
  border-radius: 20px;
  box-shadow: 0 6px 0 var(--lip), 0 6px 0 4px #150e14;
  transition: transform 80ms;
}

.boek-omslag::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 3px dotted var(--stip);
  border-radius: 14px;
  pointer-events: none;
}

.boek-omslag:hover {
  transform: translateY(-3px) rotate(-1deg);
}

.boek-omslag img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 3px solid #150e14;
  border-radius: 6px;
}

.boek-titel {
  font-size: 26px;
  line-height: 1.15;
}

.boek-nr {
  color: #ffd23f;
}

.boek-titel a {
  color: #f4ecd8;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: #b8322e;
  text-underline-offset: 5px;
}

.boek-titel a:hover {
  color: #ffd23f;
  text-decoration-color: #ffd23f;
}

.boek-maker {
  margin: 10px 0 0;
  font-weight: 800;
  color: #e0b458;
}

.boek-intro {
  margin: 8px 0 0;
  color: #f4ecd8;
}

.boek-feiten {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #b5acd0;
}

@media (min-width: 600px) {
  .boek {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 22px 26px;
  }

  .boek-omslag {
    width: 100%;
  }

  .boek-titel {
    font-size: 30px;
  }
}

/* Pakjeskrant op de homepage */
.krant-homeblok {
  box-sizing: border-box;
  width: 100%;
  margin: 20px 0;
  color: #f4ecd8;
}

.krant-homeblad {
  position: relative;
  overflow: visible;
  padding: 38px 26px 0;
  background: #2b2451;
  border: 4px solid #160f24;
  border-radius: 22px;
  box-shadow: 8px 8px 0 #6e1c22;
}

.krant-homekop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.krant-homeeditie {
  position: absolute;
  top: 14px;
  right: 26px;
  margin: 0;
  color: #f4ecd8;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.krant-homekop h2 {
  position: absolute;
  top: -42px;
  left: 22px;
  width: min(calc(100% - 44px), 480px);
  margin: 0;
  line-height: 0;
}

.krant-homekop h2 img {
  display: block;
  width: 100%;
  height: auto;
}

.krant-homeknop {
  box-sizing: border-box;
  flex: none;
  padding: 10px 20px;
  color: #150e14;
  background: #ffd23f;
  border: 3px solid #150e14;
  border-radius: 999px;
  box-shadow: 0 4px 0 #150e14;
  font: 400 18px/1.2 "Lilita One", "Arial Black", sans-serif;
  text-decoration: none;
}

.krant-homeknop:hover {
  color: #150e14;
  background: #ffe56a;
}

.krant-homeinhoud {
  display: flex;
  flex-wrap: wrap;
}

.krant-homelead {
  flex: 1.5 1 340px;
  min-width: 0;
  padding: 20px 24px 26px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #f4ecd8;
  text-decoration: none;
}

.krant-homelead:hover,
.krant-homekort > a:not(.krant-homeknop):hover {
  color: #ffd23f;
}

.krant-homelead img {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-bottom: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 3px solid #150e14;
  border-radius: 14px;
}

.krant-homekicker,
.krant-homekort a > span {
  color: #ffd23f;
  font: 400 14px/1.2 "Lilita One", "Arial Black", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.krant-homelead > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.08;
}

.krant-homeintro {
  color: #f4ecd8;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.krant-homekort {
  flex: 1 1 220px;
  min-width: 0;
  padding: 8px 0 0 24px;
  display: flex;
  flex-direction: column;
}

.krant-homekort > a:not(.krant-homeknop) {
  padding: 12px 0;
  border-bottom: 1px solid #f4ecd8;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #f4ecd8;
  text-decoration: none;
}

.krant-homekort > .krant-homeknop {
  align-self: center;
  margin: auto 0;
}

.krant-homekort a > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.15;
}

.krant-homeredactie {
  margin-top: 0;
  padding-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.krant-homeredactie img {
  display: block;
  flex: none;
  width: 140px;
  height: auto;
}

.krant-homeredactie p {
  min-width: 0;
  margin: 0;
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.krant-homeredactie strong {
  font: 400 19px/1.2 "Lilita One", "Arial Black", sans-serif;
}

.krant-homeredactie span {
  color: #f4ecd8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 699px) {
  .krant-homeblok { margin: 12px 0 0; }
  .krant-homeblad { padding: 38px 18px 0; }
  .krant-homekop h2 {
    top: -30px;
    left: 14px;
    width: min(calc(100% - 28px), 480px);
  }
  .krant-homeeditie {
    top: 38px;
    right: 18px;
    font-size: 13px;
  }
  .krant-homeknop {
    width: min(100%, 260px);
    text-align: center;
  }
  .krant-homekort > .krant-homeknop { margin: 16px 0 4px; }
  .krant-homelead { flex-basis: 100%; padding-right: 0; }
  .krant-homekort {
    flex-basis: 100%;
    padding: 8px 0 0;
    border-top: 1px solid #f4ecd8;
    border-left: 0;
  }
}

/* Stoomboot en boeken top 3 naast elkaar */
.boot-boeken {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "boot"
    "krant"
    "boeken";
  gap: 28px;
}

.boot-boeken > #stoomboot { grid-area: boot; }
.boot-boeken > .krant-homeblok { grid-area: krant; margin: 24px 0 0; }
.boot-boeken > #boeken { grid-area: boeken; }

.boeken-top3 .boeken-meer {
  --face: #ffd23f;
  --lip: #7d5a26;
  display: flex;
  width: fit-content;
  margin-inline: auto;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 17px;
}

@media (max-width: 599px) {
  .boeken-top3 .boek-omslag {
    width: min(100%, 170px);
    padding: 12px;
  }
}

@media (min-width: 1000px) {
  .boot-boeken {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "boot boeken"
      "krant krant";
    align-items: start;
  }

  .boeken-top3 .kaart-body {
    padding: 14px 20px 16px;
  }

  .boeken-top3 .boeken-lijst {
    gap: 6px;
    margin: 0;
  }

  .boeken-top3 .boeken-meer {
    position: relative;
    left: 62px;
    margin-top: 12px;
  }

  .boeken-top3 .boeken-titel-breuk {
    display: inline;
  }

  .boeken-top3 .boek {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }

  .boeken-top3 .boek-tekst {
    box-sizing: border-box;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 12px;
    background: #1d1838;
    border: 3px solid #150e14;
    border-radius: 16px;
  }

  .boeken-top3 .boek-omslag {
    padding: 7px;
    border-width: 3px;
    border-radius: 12px;
    box-shadow: 0 4px 0 var(--lip), 0 4px 0 3px #150e14;
  }

  .boeken-top3 .boek-omslag::before {
    inset: 2px;
    border-width: 2px;
    border-radius: 9px;
  }

  .boeken-top3 .boek-omslag img {
    border-width: 2px;
  }

  .boeken-top3 .boek-titel {
    font-size: 20px;
  }

  .boeken-top3 .boek-titel a {
    text-underline-offset: 4px;
  }

  .boeken-top3 .boek-maker {
    margin-top: 4px;
    font-size: 14px;
  }

  .boeken-top3 .boek-intro {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.35;
  }
}

/* Pietje & Tito: links één kaart, rechts twee reels in een eigen blok */
.pietje {
  position: relative;
  box-sizing: border-box;
  padding: 28px 0 20px;
  overflow: visible;
}

.pietje-rij {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  align-items: start;
}

.pietje-kaart {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  box-sizing: border-box;
  min-width: 0;
  background: #2b2451;
  color: #f4ecd8;
  border: 6px solid #6e1c22;
  border-radius: 28px;
  padding: 16px 8px 14px 18px;
  overflow: visible;
}

.pietje-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(72%, 210px);
  height: auto;
  margin: -46px 0 8px -30px;
}

.pietje-tekst h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.pietje-tekst p {
  margin: 0;
  color: #f4ecd8;
  font-size: 17px;
  line-height: 1.45;
}

.pietje-knoppen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.pietje-volg {
  min-height: 48px;
  margin-top: 0;
  padding: 0 22px;
  font-size: 20px;
}

.pietje-filmpjes {
  --face: #b8322e;
  --lip: #6e1c22;
  --press: 3px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 3px solid #150e14;
  border-radius: 999px;
  background: var(--face);
  color: #f4ecd8;
  box-shadow: 0 3px 0 0 var(--lip), 0 3px 0 3px #150e14;
  font: 400 20px/1 "Lilita One", "Arial Black", sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 80ms, box-shadow 80ms, filter 80ms;
}

.pietje-filmpjes:hover {
  filter: brightness(1.06);
}

.pietje-filmpjes:active {
  transform: translateY(var(--press));
  box-shadow: 0 0 0 0 var(--lip), 0 0 0 3px #150e14;
}

.pietje-filmpjes:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: 3px;
}

.reel-blok {
  box-sizing: border-box;
  min-width: 0;
  padding: 6px;
  border: 6px solid #ffd23f;
  border-radius: 26px;
  background: #b8322e;
}

.reel-blok:last-child {
  border-color: #b8322e;
  background: #ffd23f;
}

.reel {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #1a1433;
  border-radius: 16px;
}

.reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a1433;
  pointer-events: none;
}

.reel-poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.reel.is-gestart .reel-poster {
  display: none;
}

.reel-video::-webkit-media-controls,
.reel-video::-webkit-media-controls-start-playback-button,
.reel-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
}

.reel-naar {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.reel-naar:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: -8px;
}

.reel-speel {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.reel-speel:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: -8px;
}

.reel-ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffd23f;
  box-shadow: 0 6px 16px rgba(12, 7, 11, 0.45);
}

.reel-ico svg {
  width: 28px;
  height: 28px;
  fill: #150e14;
}

.ico-play {
  margin-left: 3px;
}

.reel.is-bezig .reel-ico {
  display: none;
}

.reel.is-bezig .reel-speel:focus-visible {
  outline: none;
}

.reel-bijschrift {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 36px 12px 12px;
  background: linear-gradient(to top, rgba(12, 7, 11, 0.78), rgba(12, 7, 11, 0));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
}

.pietje-figuren {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 -16px -18px 6px;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 600px) {
  .pietje-tekst h2 {
    font-size: 28px;
  }

  .pietje-figuren {
    width: 168px;
  }
}

@media (min-width: 900px) {
  .pietje {
    padding: 36px 0 36px;
  }

  .pietje-rij {
    grid-template-columns: minmax(0, 1fr) 220px 220px;
    gap: 0 40px;
    align-items: start;
  }

  .pietje-kaart {
    grid-column: auto;
    align-self: stretch;
    align-items: stretch;
    padding: 18px 6px 16px 24px;
  }

  .reel-blok {
    align-self: start;
  }

  .pietje-tekst {
    align-self: start;
    max-width: 34ch;
  }

  .pietje-logo {
    width: 220px;
    margin: -58px 0 10px -46px;
  }

  .pietje-figuren {
    align-self: end;
    width: 220px;
    margin: 0 -40px -52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}
