/* Kerkdienst Live — kleuren afgeleid van de GGW-website */
.kdl-live {
  margin: 0 0 1.5em;
  color: #1B3149;
}
.kdl-live [hidden] { display: none !important; }
.kdl-live *, .kdl-live *::before, .kdl-live *::after { box-sizing: border-box; }

.kdl-live .kdl-status { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; padding: 8px 14px; background: #1B3149; color: #fff; }
.kdl-live .kdl-bol { width: 9px; height: 9px; border-radius: 50%; background: #8a97a8; }
.kdl-live .kdl-status.kdl-is-live { background: #c0392b; }
.kdl-live .kdl-status.kdl-is-live .kdl-bol { background: #fff; animation: kdl-puls 1.6s ease-in-out infinite; }
@keyframes kdl-puls { 50% { opacity: .35; } }

.kdl-live .kdl-speler { position: relative; background-color: #1B3149; aspect-ratio: 16 / 9; overflow: hidden; }
.kdl-live .kdl-video { width: 100%; height: 100%; max-width: none; display: block; background: #000; margin: 0; }

/* Geen uitzending: ingestelde foto met blauwe waas, zoals de header van de site.
   Kleur en afbeelding staan in losse regels met een vaste kleurwaarde: als een
   optimizer of thema de afbeeldingsregel breekt, blijft het vlak blauw en de tekst leesbaar. */
.kdl-live .kdl-speler.kdl-rust,
.kdl-live .kdl-speler.kdl-modus-audio,
.kdl-live .kdl-start {
  background-color: #1B3149 !important;
  background-image: linear-gradient(rgba(27, 49, 73, .78), rgba(27, 49, 73, .78)), var(--kdl-bg, none);
  background-position: center, center 65%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
.kdl-live .kdl-rust .kdl-leeg { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

/* Video: grote startknop over het videovak tot de bezoeker op play drukt */
.kdl-live .kdl-start {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  font: inherit; color: #fff; cursor: pointer; text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.kdl-live .kdl-start-knop {
  width: 88px; height: 88px; border-radius: 50%; background: #fff; color: #1B3149;
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); transition: transform .15s ease, background-color .15s ease;
}
.kdl-live .kdl-start-knop svg { width: 40px; height: 40px; margin-left: 5px; }
.kdl-live .kdl-start:focus-visible .kdl-start-knop { transform: scale(1.06); box-shadow: 0 8px 28px rgba(0, 0, 0, .45); }
.kdl-live .kdl-start-tekst { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.3; }

/* Audio: eigen speler met geluidsgolf, op de foto met blauwe waas */
.kdl-live .kdl-speler.kdl-modus-audio { aspect-ratio: auto; padding: 28px 40px 32px; color: #fff; }
.kdl-live .kdl-golf { display: block; width: 100%; height: 130px; margin: 0 0 18px; }
.kdl-live .kdl-audiobalk { display: flex; align-items: center; gap: 18px; }
.kdl-live .kdl-play {
  width: 64px; height: 64px; flex: none; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: #1B3149; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .3); transition: transform .15s ease, background-color .15s ease;
}
.kdl-live .kdl-play svg { width: 28px; height: 28px; }
.kdl-live .kdl-play:focus-visible { transform: scale(1.06); box-shadow: 0 6px 22px rgba(0, 0, 0, .45); }
.kdl-live .kdl-audiotekst { flex: 1; min-width: 0; }
.kdl-live .kdl-audiotitel { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 1.3rem; line-height: 1.25; margin: 0; color: #fff; white-space: nowrap; }
.kdl-live .kdl-sinds { display: flex; align-items: center; gap: 8px; font-size: .9rem; opacity: .9; color: #fff; margin-top: 2px; }
.kdl-live .kdl-sinds::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c0392b; flex: none; }
.kdl-live .kdl-speelt .kdl-sinds::before { animation: kdl-puls 1.6s ease-in-out infinite; }
.kdl-live .kdl-volume { display: flex; align-items: center; gap: 6px; color: #fff; margin: 0; }
.kdl-live .kdl-mute, .kdl-live .kdl-cast-audio {
  width: 40px; height: 40px; flex: none; margin: 0; padding: 0; border: 0; border-radius: 50%; box-shadow: none;
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer;
}
.kdl-live .kdl-mute:focus-visible, .kdl-live .kdl-cast-audio:focus-visible { background: rgba(255, 255, 255, .15); }
.kdl-live .kdl-mute svg, .kdl-live .kdl-cast-audio svg { width: 24px; height: 24px; }
.kdl-live .kdl-volume input { width: 100px; margin: 0; cursor: pointer; }
.kdl-live .kdl-audio { display: none !important; }

.kdl-live .kdl-leeg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; color: #fff; }
.kdl-live .kdl-leeg strong { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: #fff; }
.kdl-live .kdl-leeg span { opacity: .85; margin-top: 6px; }

.kdl-live .kdl-schakel { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.kdl-live .kdl-knop {
  font-family: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  padding: 12px 22px; margin: 0; cursor: pointer; border: 2px solid #1B3149; border-radius: 0; box-shadow: none; text-shadow: none;
  background: #fff; color: #1B3149; display: inline-flex; align-items: center; gap: 10px;
}
.kdl-live .kdl-knop svg { width: 18px; height: 18px; flex: none; }
.kdl-live .kdl-knop[aria-pressed="true"] { background: #1B3149; color: #fff; }
.kdl-live .kdl-knop:not(:disabled):focus-visible { background: #EBCFA5; border-color: #EBCFA5; color: #1B3149; }
.kdl-live .kdl-knop:disabled { opacity: .35; cursor: not-allowed; }

@media (max-width: 560px) {
  .kdl-live .kdl-speler.kdl-modus-audio { padding: 20px 20px 24px; }
  .kdl-live .kdl-golf { height: 96px; }
  .kdl-live .kdl-audiobalk { flex-wrap: wrap; }
  .kdl-live .kdl-volume { width: 100%; }
  .kdl-live .kdl-volume input { flex: 1; width: auto; }
  .kdl-live .kdl-audiotitel { white-space: normal; }
  .kdl-live .kdl-start-knop { width: 68px; height: 68px; }
  .kdl-live .kdl-start-knop svg { width: 32px; height: 32px; }
}

/* Hover alleen op apparaten met een muis: op een touchscreen blijft hover na een tik "plakken". */
@media (hover: hover) {
  .kdl-live .kdl-start:hover .kdl-start-knop { transform: scale(1.06); box-shadow: 0 8px 28px rgba(0, 0, 0, .45); }
  .kdl-live .kdl-play:hover { transform: scale(1.06); box-shadow: 0 6px 22px rgba(0, 0, 0, .45); }
  .kdl-live .kdl-mute:hover, .kdl-live .kdl-cast-audio:hover { background: rgba(255, 255, 255, .15); }
  .kdl-live .kdl-knop:not(:disabled):hover { background: #EBCFA5; border-color: #EBCFA5; color: #1B3149; }
}

/* Video: knoppen rechtsboven in beeld (casten, mini-player), zoals bij andere players */
.kdl-live .kdl-videoknoppen { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 3; transition: opacity .3s ease; }
.kdl-live .kdl-rustig .kdl-videoknoppen { opacity: 0; pointer-events: none; }
.kdl-live .kdl-rond {
  width: 42px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 50%; box-shadow: none;
  background: rgba(0, 7, 26, .55); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.kdl-live .kdl-rond svg { width: 22px; height: 22px; }
.kdl-live .kdl-rond:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) { .kdl-live .kdl-rond:hover { background: rgba(0, 7, 26, .85); } }

/* Volumeschuif volledig zelf opgemaakt, zodat het thema er niet tussen komt:
   wit gevuld deel en bolletje op een half doorzichtige witte balk (zoals de play-knop). */
.kdl-live .kdl-volume input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 24px; padding: 0; border: 0; border-radius: 0;
  background: transparent !important; box-shadow: none; outline: none;
}
.kdl-live .kdl-volume input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border: 0; border-radius: 2px;
  background: linear-gradient(to right, #fff var(--kdl-vol, 100%), rgba(255, 255, 255, .35) var(--kdl-vol, 100%));
}
.kdl-live .kdl-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin-top: -6px;
  border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.kdl-live .kdl-volume input[type="range"]::-moz-range-track { height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.kdl-live .kdl-volume input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: #fff; }
.kdl-live .kdl-volume input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.kdl-live .kdl-volume input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid #fff; outline-offset: 2px; }
.kdl-live .kdl-volume input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid #fff; outline-offset: 2px; }
