:root {
  color-scheme: light;
  --red: #d71920;
  --red-dark: #a70f17;
  --green: #0f4d2c;
  --green-dark: #07351f;
  --ink: #1f2328;
  --muted: #68707a;
  --paper: #ffffff;
  --soft: #f6f8f5;
  --cream: #fff8ec;
  --line: rgba(31, 35, 40, 0.1);
  --shadow: 0 18px 48px rgba(72, 35, 35, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 77, 44, 0.2), transparent 22rem),
    radial-gradient(circle at 92% 7%, rgba(215, 25, 32, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(215, 25, 32, 0.035) 25%, transparent 25%) 0 0 / 42px 42px,
    linear-gradient(315deg, rgba(15, 77, 44, 0.055) 25%, transparent 25%) 0 0 / 42px 42px,
    linear-gradient(180deg, #fff 0%, #f8fbf6 46%, #fff6f7 100%);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }
img, video { display: block; max-width: 100%; }

.snow {
  background-image:
    radial-gradient(circle, rgba(215, 25, 32, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(15, 77, 44, 0.2) 0 1px, transparent 2px);
  background-position: 0 0, 46px 54px;
  background-size: 120px 120px, 92px 92px;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  position: fixed;
  z-index: -1;
  animation: snow 22s linear infinite;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px clamp(14px, 4vw, 34px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar::after {
  background: linear-gradient(90deg, var(--red), var(--green), var(--red));
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  min-height: 50px;
  padding: 0;
  text-decoration: none;
}

.brand img {
  height: 44px;
  object-fit: contain;
  width: min(250px, 50vw);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

nav a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
}

nav a:hover {
  background: rgba(15, 77, 44, 0.12);
  color: var(--green-dark);
}

.menu-toggle {
  align-items: center;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.menu-toggle span {
  background: white;
  border-radius: 999px;
  display: block;
  height: 3px;
  width: 20px;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px clamp(14px, 4vw, 28px) 64px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(22px, 5vw, 54px);
  min-height: calc(100svh - 88px);
  padding: 24px 0 48px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  background: linear-gradient(135deg, var(--red), var(--green));
  border-radius: 999px;
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  top: -24px;
  width: 124px;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  color: var(--red);
  font-size: clamp(3rem, 8vw, 6.2rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 12ch;
  text-transform: uppercase;
}

h1::after {
  background: var(--green);
  border-radius: 999px;
  content: "";
  display: block;
  height: 10px;
  margin-top: 16px;
  width: min(230px, 58vw);
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}

h3 { margin: 0; }

.hero-copy p:not(.eyebrow),
.page-hero p,
.twitch-card p,
.stream-note,
.contact-address {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  font-weight: 750;
  line-height: 1.55;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.4rem;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 1000;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.05rem;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.2);
  color: white;
}

.button.secondary {
  background: var(--green);
  color: #ffffff;
}

.whatsapp-button,
.icon-button {
  gap: 9px;
}

.whatsapp-button img {
  height: 22px;
  object-fit: contain;
  width: 22px;
}

.icon-button span {
  font-size: 1.05rem;
  line-height: 1;
}

.inline-link {
  color: var(--red);
  font-weight: 1000;
  text-underline-offset: 4px;
}

.hero-card,
.radio-card,
.twitch-card,
.post-card,
.event-card,
.contact-grid a,
.admin-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card {
  appearance: none;
  border: 1px solid var(--line);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.hero-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.hero-card::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), transparent 58%);
  content: "";
  inset: 0;
  position: absolute;
}

.video-play-badge {
  align-items: center;
  background: white;
  border-radius: 999px;
  bottom: 18px;
  color: var(--red);
  display: inline-flex;
  font-weight: 1000;
  gap: 10px;
  left: 18px;
  min-height: 48px;
  padding: 0.75rem 1rem;
  position: absolute;
  z-index: 1;
}

.video-play-badge b {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.section { padding: clamp(38px, 7vw, 76px) 0; }
.section-heading { margin-bottom: 18px; }
.section-heading.split {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.player-grid,
.event-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

.radio-card,
.twitch-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 30px);
}

.radio-logo {
  width: min(380px, 100%);
}

.play-button {
  align-items: center;
  background: var(--cream);
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: 8px;
  color: var(--red);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 1000;
  gap: 10px;
  justify-content: center;
  max-width: 280px;
  min-height: 62px;
  padding: 0.8rem 1rem;
}

.play-button img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.cast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cast-button {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 1000;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
}

.cast-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.cast-status {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.post-slider {
  display: grid;
  gap: 14px;
}

.clean-posts {
  align-items: stretch;
}

.post-card,
.contact-grid a {
  padding: 22px;
  text-decoration: none;
}

.contact-whatsapp img {
  float: left;
  height: 34px;
  margin: 0 12px 8px 0;
  object-fit: contain;
  width: 34px;
}

.facebook-embed-card {
  overflow: hidden;
  padding: 0;
}

.facebook-embed-card iframe {
  background: white;
  display: block;
  height: 520px;
  width: 100%;
}

.post-card span,
.event-card p,
.contact-grid span {
  color: var(--red);
  display: block;
  font-weight: 900;
}

.post-card p,
.event-card span,
.event-card div > p:last-child,
.contact-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.post-card a {
  color: var(--red);
  font-weight: 1000;
}

.posts-section {
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.06), rgba(15, 77, 44, 0.08));
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 26px 0;
  padding-left: clamp(16px, 4vw, 26px);
  padding-right: clamp(16px, 4vw, 26px);
}

.event-card {
  overflow: hidden;
}

.event-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.event-card div { padding: 18px; }
.event-card.large { display: grid; }
.event-card.large h2 { font-size: clamp(1.7rem, 5vw, 3rem); }

.page-hero {
  padding: clamp(44px, 10vw, 100px) 0 28px;
}

.page-hero h1 {
  max-width: 14ch;
}

.contact-grid a strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

footer {
  align-items: center;
  background: white;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 34px 18px;
  text-align: center;
}

footer img { max-width: 260px; }
footer img {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
footer p { color: var(--muted); margin: 0; font-weight: 850; }
.powered { color: var(--muted); font-size: 0.92rem; }
.powered a { color: var(--red); text-underline-offset: 4px; }

.video-modal {
  align-items: center;
  background: rgba(31, 35, 40, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(12px, 4vw, 28px);
  position: fixed;
  z-index: 110;
}

.video-modal[hidden] { display: none; }

.video-modal-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  max-height: 92vh;
  max-width: 1040px;
  overflow: hidden;
  padding: clamp(14px, 3vw, 22px);
  position: relative;
  width: min(100%, 1040px);
}

.video-modal-heading {
  padding-right: 54px;
}

.video-modal-heading h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 5vw, 3.8rem);
}

.video-modal iframe {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
  border-radius: 8px;
  display: block;
  margin-top: 16px;
  width: 100%;
}

.video-close {
  align-items: center;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
}

label {
  color: var(--ink);
  display: grid;
  font-weight: 900;
  gap: 7px;
}

input,
textarea {
  background: white;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

textarea { resize: vertical; }

.admin-body {
  background:
    radial-gradient(circle at 20% 0%, rgba(15, 77, 44, 0.14), transparent 24rem),
    linear-gradient(180deg, #fff, #fff6f7);
}

.admin-shell { max-width: 980px; }
.admin-header {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  margin: 18px 0 24px;
}

.admin-header h1 {
  color: var(--red);
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0;
}

.admin-form, .admin-events { display: grid; gap: 18px; }
.admin-card, .event-edit-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.event-edit-card {
  background: var(--soft);
  border: 1px dashed rgba(215, 25, 32, 0.22);
  border-radius: 8px;
}

.field-grid { display: grid; gap: 14px; }
.check-row { align-items: center; display: flex; gap: 10px; }
.check-row input { min-height: auto; width: auto; }
.save-button { justify-self: start; }

.signup-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.vote-shell,
.vote-form {
  display: grid;
  gap: 16px;
}

.vote-shell {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 28px);
}

.vote-choices {
  display: grid;
  gap: 12px;
}

.vote-builder {
  align-items: start;
  display: grid;
  gap: 16px;
}

.song-picker,
.selected-top5 {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.song-option-list {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
}

.song-option-list button,
.selected-top5 li button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.song-option-list button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  min-height: 46px;
  padding: 10px 12px;
  text-align: left;
}

.song-option-list button:hover,
.song-option-list button.is-selected {
  background: #ecfff2;
  border-color: rgba(15, 77, 44, 0.55);
  color: var(--green-dark);
}

.song-option-list button:disabled {
  cursor: default;
  opacity: 0.72;
}

.selected-top5 {
  position: sticky;
  top: 96px;
}

.selected-top5 h2 {
  color: var(--red);
  font-size: clamp(1.55rem, 4vw, 2.6rem);
}

.selected-top5 p {
  color: var(--muted);
  font-weight: 900;
  margin: 0;
}

.selected-top5 ol {
  display: grid;
  gap: 8px;
  margin: 0;
  min-height: 250px;
  padding: 0;
}

.selected-top5 li {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  list-style: none;
  min-height: 46px;
  padding: 10px;
}

.selected-top5 li span {
  font-weight: 1000;
}

.selected-top5 li button {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-weight: 1000;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}

.custom-song-row {
  align-items: end;
  display: grid;
  gap: 12px;
}

select {
  background: white;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

.result-list,
.vote-admin-list {
  display: grid;
  gap: 10px;
}

.result-list article,
.vote-admin-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.result-list article {
  grid-template-columns: auto 1fr;
}

.result-list b {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.result-list span {
  font-weight: 1000;
}

.result-list em,
.vote-admin-card em,
.vote-admin-card span {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.vote-admin-card ol {
  margin: 8px 0 0;
  padding-left: 22px;
}

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

.form-error,
.form-success {
  border-radius: 8px;
  font-weight: 900;
  margin: 0 0 14px;
  padding: 13px 14px;
}

.form-error { background: #fff0f2; color: #9f1021; }
.form-success { background: #ecfff2; color: #0e6b43; }

@keyframes snow {
  to { background-position: 0 420px, 46px 520px; }
}

@media (min-width: 760px) {
  .hero,
  .player-grid {
    grid-template-columns: 1fr 1fr;
  }

  .event-grid,
  .contact-grid,
  .post-slider {
    grid-template-columns: repeat(3, 1fr);
  }

  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vote-builder {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }

  .custom-song-row {
    grid-template-columns: 1fr auto;
  }

  .event-card.large {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar nav {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    padding: 10px;
    width: 100%;
  }

  .topbar nav.is-open {
    display: flex;
  }

  .topbar nav a {
    border-radius: 8px;
    padding: 0.9rem 1rem;
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .button,
  .button.secondary,
  .button.primary {
    width: 100%;
  }

  .brand img {
    width: min(230px, 78vw);
  }

  .post-slider {
    grid-template-columns: 1fr;
  }

  .selected-top5 {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Kerstgiganten radio template, based on the De Westereender Piraten layout. */
.kg-radio {
  --kg-red: #d71920;
  --kg-green: #07351f;
  --kg-green-soft: #0f4d2c;
  --kg-black: #050509;
  --kg-paper: #f5f5f2;
  background: var(--kg-paper);
  color: var(--ink);
  padding-bottom: 98px;
}

.kg-radio .snow { display: none; }
.kg-radio main { max-width: none; padding: 0 0 56px; }
.kg-radio .radio-topbar {
  align-items: center;
  background: var(--kg-black);
  display: grid;
  gap: 18px;
  grid-template-columns: 60px minmax(160px, 1fr) auto 76px;
  min-height: 112px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 40;
}
.kg-radio .radio-topbar::after { display: none; }
.radio-logo { justify-self: center; }
.radio-logo img { max-height: 74px; object-fit: contain; width: min(220px, 34vw); }

.kg-radio .menu-toggle,
.kg-radio .icon-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.kg-radio .menu-toggle span,
.kg-radio .icon-button span {
  background: #fff;
  border-radius: 99px;
  height: 3px;
  width: 32px;
}

.radio-nav {
  align-self: end;
  display: flex;
  gap: 4px;
  grid-column: 1 / -1;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.radio-nav::-webkit-scrollbar { display: none; }
.radio-nav a {
  border-bottom: 5px solid transparent;
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  font-size: .96rem;
  font-weight: 1000;
  min-height: 48px;
  padding: 0 17px;
  text-decoration: none;
  white-space: nowrap;
}
.radio-nav a.active,
.radio-nav a:hover { background: transparent; border-bottom-color: #fff; color: #fff; }

.top-icons { display: flex; gap: 15px; justify-content: end; }
.search-symbol,
.user-symbol { display: inline-block; height: 30px; position: relative; width: 30px; }
.search-symbol::before,
.user-symbol::before {
  border: 4px solid #fff;
  border-radius: 50%;
  content: "";
  inset: 2px;
  position: absolute;
}
.search-symbol::after {
  background: #fff;
  border-radius: 99px;
  bottom: 0;
  content: "";
  height: 4px;
  position: absolute;
  right: 0;
  transform: rotate(45deg);
  width: 14px;
}
.user-symbol::after {
  border: 4px solid #fff;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  bottom: -5px;
  content: "";
  height: 14px;
  left: 1px;
  position: absolute;
  right: 1px;
}

.radio-hero-v2 {
  background:
    linear-gradient(180deg, rgba(215, 25, 32, .02) 0%, rgba(7, 53, 31, .08) 48%, rgba(7, 53, 31, .96) 100%),
    linear-gradient(135deg, var(--kg-red) 0%, #b60018 52%, var(--kg-green) 100%);
  display: grid;
  min-height: 560px;
  overflow: hidden;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  position: relative;
}
.radio-hero-v2::after {
  background: linear-gradient(180deg, transparent, rgba(7, 53, 31, .9) 54%, rgba(7, 53, 31, 1));
  bottom: 0;
  content: "";
  height: 170px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-copy {
  align-content: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 82px minmax(0, 1fr);
  max-width: 620px;
  padding: 56px 0 128px;
  position: relative;
  z-index: 8;
}
.hero-copy::before,
.hero-copy h1::after { display: none; }
.live-pill {
  background: #fff;
  border-radius: 999px;
  color: var(--kg-red);
  font-size: .72rem;
  font-weight: 1000;
  grid-column: 1 / -1;
  justify-self: start;
  padding: 9px 14px;
  text-transform: uppercase;
}
.hero-play,
.round-player {
  align-items: center;
  background: var(--kg-red);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 82px;
  justify-content: center;
  width: 82px;
}
.hero-play { grid-column: 1; grid-row: 2 / span 2; }
.player-symbol {
  border-bottom: 17px solid transparent;
  border-left: 25px solid currentColor;
  border-top: 17px solid transparent;
  display: block;
  height: 0;
  margin-left: 5px;
  width: 0;
}
.is-playing .player-symbol { border: 0; height: 32px; margin-left: 0; position: relative; width: 25px; }
.is-playing .player-symbol::before,
.is-playing .player-symbol::after { background: currentColor; border-radius: 2px; content: ""; height: 32px; position: absolute; top: 0; width: 8px; }
.is-playing .player-symbol::before { left: 0; }
.is-playing .player-symbol::after { right: 0; }

.hero-copy h1 {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: var(--kg-black);
  display: inline-flex;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  grid-column: 2;
  line-height: .95;
  margin: 0;
  max-width: min(760px, 58vw);
  overflow: hidden;
  padding: 9px 22px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: max-content;
}
.hero-copy p {
  color: #fff;
  font-size: 1rem;
  font-weight: 1000;
  grid-column: 2;
  margin: 0;
  text-transform: uppercase;
}
.listen-button {
  background: var(--kg-black);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 1000;
  grid-column: 2;
  min-height: 48px;
  padding: 0 22px;
  text-transform: uppercase;
  width: fit-content;
}
.hero-dj {
  bottom: 0;
  margin: 0;
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2));
  top: 22px;
  width: min(48vw, 620px);
  z-index: 4;
}
.hero-dj img { height: 100%; object-fit: contain; object-position: right bottom; width: 100%; }

.hero-actions-row {
  align-items: end;
  bottom: 22px;
  display: grid;
  gap: clamp(18px, 5vw, 62px);
  grid-template-columns: repeat(4, minmax(0, 116px));
  left: max(22px, calc((100vw - 1180px) / 2));
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  z-index: 10;
}
.hero-actions-row a,
.hero-actions-row button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: .86rem;
  font-weight: 1000;
  gap: 7px;
  justify-items: center;
  text-decoration: none;
}
.hero-actions-row a:hover,
.hero-actions-row button:hover,
.hero-actions-row a:active,
.hero-actions-row button:active { color: #fff0c8; }
.action-icon { fill: none; height: 32px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; width: 32px; }

.article-section,
.message-drawer,
.now-playing-strip,
.program-strip,
.event-preview {
  margin: 36px auto 0;
  width: min(100% - 44px, 1180px);
}
.section-head { align-items: end; display: flex; gap: 16px; justify-content: space-between; }
.section-head h2 { color: var(--kg-black); font-size: clamp(2.2rem, 6vw, 4.6rem); margin: 0 0 18px; }
.article-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.article-card { background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.article-card.feature { grid-column: 1 / -1; }
.article-card img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.article-card div { padding: 20px; }
.article-card h3 { color: var(--kg-black); font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1; margin: 0 0 8px; text-transform: uppercase; }
.article-card p,
.article-card a { color: var(--muted); font-weight: 850; }

.message-drawer,
.now-playing-strip {
  background: var(--kg-black);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px;
}
.section-kicker,
.now-playing-strip span { color: #fff0c8; font-size: .72rem; font-weight: 1000; margin: 0 0 6px; text-transform: uppercase; }
.message-drawer h2,
.now-playing-strip strong { color: #fff; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1; margin: 0; text-transform: uppercase; }
.message-drawer p:not(.section-kicker),
.now-playing-strip time { color: rgba(255, 255, 255, .72); font-weight: 800; }
.now-playing-strip ol { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.now-playing-strip li { background: rgba(255, 255, 255, .08); border-radius: 8px; display: grid; gap: 8px; grid-template-columns: 70px minmax(0, 1fr); min-height: 42px; padding: 9px 12px; }

.program-slider { display: grid; gap: 16px; grid-auto-columns: minmax(260px, 360px); grid-auto-flow: column; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.program-slider::-webkit-scrollbar { display: none; }
.program-card {
  background: linear-gradient(145deg, var(--kg-red), var(--kg-green));
  border-radius: 8px;
  color: #fff;
  min-height: 420px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}
.program-card span,
.program-card p { font-weight: 850; margin: 0; }
.program-card strong { display: block; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.05; margin-top: 12px; text-transform: uppercase; }
.program-card img { bottom: 0; left: 0; max-height: 62%; object-fit: contain; object-position: center bottom; position: absolute; width: 100%; }

.bottom-player {
  align-items: center;
  background: linear-gradient(135deg, var(--kg-red), var(--kg-green));
  border-radius: 8px;
  bottom: 16px;
  box-shadow: 0 18px 50px rgba(5, 5, 9, .24);
  color: #fff;
  display: grid;
  gap: 14px;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  left: 50%;
  max-width: 760px;
  padding: 10px 14px;
  position: fixed;
  transform: translateX(-50%);
  width: min(100% - 28px, 760px);
  z-index: 45;
}
.bottom-player img { background: rgba(255,255,255,.12); border-radius: 8px; height: 58px; object-fit: contain; width: 58px; }
.bottom-player strong,
.bottom-player span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottom-player strong { font-size: 1.25rem; font-weight: 1000; text-transform: uppercase; }
.bottom-player .round-player { background: #fff; color: var(--kg-red); height: 58px; width: 58px; }

@media (max-width: 900px) {
  .kg-radio .radio-topbar { grid-template-columns: 48px 1fr 78px; min-height: 74px; }
  .radio-logo img { max-height: 58px; width: min(170px, 46vw); }
  .top-icons { display: none; }
  .radio-nav { background: var(--kg-black); display: none; grid-column: 1 / -1; justify-content: start; padding-bottom: 8px; }
  .radio-nav.is-open { display: flex; }
  .radio-hero-v2 { min-height: 480px; padding-inline: 18px; }
  .hero-copy { grid-template-columns: 66px minmax(0, 1fr); padding: 50px 0 118px; }
  .hero-play { height: 66px; width: 66px; }
  .hero-copy h1 { font-size: clamp(1.45rem, 6.8vw, 2.5rem); max-width: calc(100vw - 112px); padding-inline: 16px; }
  .hero-dj { opacity: .8; right: -34px; top: 80px; width: min(62vw, 360px); }
  .hero-actions-row { gap: 10px; grid-template-columns: repeat(4, 1fr); left: 12px; right: 12px; }
  .hero-actions-row a,
  .hero-actions-row button { font-size: .74rem; }
  .article-grid,
  .message-drawer,
  .now-playing-strip { grid-template-columns: 1fr; }
  .article-section,
  .message-drawer,
  .now-playing-strip,
  .program-strip,
  .event-preview { width: min(100% - 24px, 1180px); }
}

/* Final fit pass: no app bar, tighter radio layout. */
.kg-radio {
  padding-bottom: 86px;
}

.kg-radio .radio-topbar {
  grid-template-columns: 54px minmax(150px, 1fr) auto 68px;
  min-height: 96px;
}

.radio-logo img {
  max-height: 64px;
  width: min(190px, 30vw);
}

.radio-nav a {
  font-size: .9rem;
  min-height: 42px;
  padding-inline: 14px;
}

.top-icons {
  gap: 12px;
}

.search-symbol,
.user-symbol {
  height: 26px;
  width: 26px;
}

.radio-hero-v2 {
  min-height: clamp(430px, 48vw, 520px);
}

.radio-hero-v2::after {
  height: 148px;
}

.hero-copy {
  gap: 10px;
  grid-template-columns: 74px minmax(0, 1fr);
  max-width: 680px;
  padding: 46px 0 112px;
}

.live-pill {
  padding: 8px 13px;
}

.hero-play {
  height: 74px;
  width: 74px;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 4.1vw, 3.55rem);
  max-width: min(690px, 56vw);
  padding: 8px 20px 10px;
}

.hero-copy p {
  font-size: .92rem;
}

.listen-button {
  min-height: 42px;
  padding-inline: 20px;
}

.hero-dj {
  right: max(18px, calc((100vw - 1180px) / 2));
  top: 34px;
  width: min(42vw, 520px);
}

.hero-actions-row {
  bottom: 18px;
  gap: clamp(16px, 4vw, 52px);
}

.hero-actions-row a,
.hero-actions-row button {
  font-size: .82rem;
}

.action-icon {
  height: 29px;
  width: 29px;
}

.article-section,
.message-drawer,
.now-playing-strip,
.program-strip,
.event-preview {
  margin-top: 30px;
}

.section-head h2 {
  font-size: clamp(1.95rem, 5vw, 3.8rem);
  margin-bottom: 14px;
}

.article-card img {
  aspect-ratio: 16 / 7;
}

.article-card div {
  padding: 18px;
}

.article-card h3 {
  font-size: clamp(1.35rem, 3.1vw, 2.45rem);
}

.message-drawer,
.now-playing-strip {
  align-items: center;
  padding: 16px 18px;
}

.message-drawer h2,
.now-playing-strip strong {
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
}

.program-card {
  min-height: 360px;
}

.program-card strong {
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
}

.program-card img {
  max-height: 56%;
}

.bottom-player {
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  max-width: 680px;
  padding: 8px 12px;
}

.bottom-player img,
.bottom-player .round-player {
  height: 50px;
  width: 50px;
}

.bottom-player strong {
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .kg-radio .radio-topbar {
    grid-template-columns: 44px 1fr 44px;
    min-height: 68px;
    padding-inline: 14px;
  }

  .radio-logo img {
    max-height: 52px;
    width: min(150px, 44vw);
  }

  .kg-radio .menu-toggle,
  .kg-radio .icon-button {
    height: 38px;
    width: 38px;
  }

  .kg-radio .menu-toggle span,
  .kg-radio .icon-button span {
    width: 28px;
  }

  .radio-hero-v2 {
    min-height: 420px;
  }

  .hero-copy {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 36px 0 108px;
  }

  .hero-play {
    height: 58px;
    width: 58px;
  }

  .player-symbol {
    border-bottom-width: 13px;
    border-left-width: 20px;
    border-top-width: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(1.28rem, 6vw, 2.15rem);
    max-width: calc(100vw - 98px);
    padding: 7px 14px 9px;
  }

  .hero-copy p {
    font-size: .78rem;
  }

  .listen-button {
    font-size: .76rem;
    min-height: 38px;
    padding-inline: 14px;
  }

  .hero-dj {
    opacity: .58;
    right: -42px;
    top: 86px;
    width: min(58vw, 300px);
  }

  .hero-actions-row {
    bottom: 16px;
  }

  .action-icon {
    height: 27px;
    width: 27px;
  }
}

@media (max-width: 560px) {
  .radio-nav a {
    font-size: .82rem;
    min-height: 40px;
    padding-inline: 12px;
  }

  .radio-hero-v2 {
    min-height: 398px;
  }

  .hero-copy {
    padding-top: 28px;
  }

  .hero-actions-row a,
  .hero-actions-row button {
    font-size: .68rem;
  }

  .article-card img {
    aspect-ratio: 16 / 9;
  }

  .bottom-player {
    bottom: 10px;
    width: min(100% - 20px, 680px);
  }
}

/* Kerstgiganten playlist/logger pass. */
.kg-radio .radio-topbar {
  grid-template-columns: 54px minmax(150px, 1fr) auto;
}

.hero-play {
  background: var(--kg-green);
}

.listen-button {
  max-width: min(430px, 46vw);
}

.listen-button .listen-track,
.now-playing-strip [data-now-playing-text] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-grid {
  display: grid;
  gap: 16px;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.article-grid::-webkit-scrollbar {
  display: none;
}

.article-card {
  border: 1px solid rgba(7, 53, 31, .08);
  box-shadow: 0 10px 30px rgba(18, 20, 24, .08);
}

.article-card img {
  aspect-ratio: 16 / 9;
}

.article-card div {
  padding: 15px;
}

.article-card h3 {
  font-size: clamp(1.1rem, 2.1vw, 1.7rem);
}

.top50-card {
  background: linear-gradient(135deg, var(--kg-red), #8f0011 52%, var(--kg-green));
  border-color: transparent;
  color: #fff;
}

.top50-card img {
  opacity: .78;
}

.top50-card h3,
.top50-card p {
  color: #fff;
}

.vote-now {
  background: var(--kg-green);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  margin-top: 8px;
  padding: 9px 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.now-playing-strip {
  align-items: start;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1fr);
}

.now-playing-strip [data-playlist-log] {
  max-height: 172px;
  overflow: auto;
  padding-right: 4px;
}

.now-playing-strip [data-playlist-log] li {
  grid-template-columns: 38px minmax(0, 1fr);
}

.bottom-player .round-player {
  background: #fff;
  color: var(--kg-green);
}

@media (max-width: 900px) {
  .kg-radio .radio-topbar {
    grid-template-columns: 44px 1fr 44px;
  }

  .listen-button {
    max-width: calc(100vw - 104px);
  }

  .article-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(245px, 82vw);
  }

  .now-playing-strip {
    grid-template-columns: 1fr;
  }
}
