/* =========================================================================
   Dringende hulp — enkel wat styles.css nog niet heeft:
   drie keuzekaarten (112, wachtpost, overdag) met het nummer telkens rechts,
   en kleine aanpassingen voor de rode band.
   ========================================================================= */

/* Kop: uitleg rechts onderaan, naast de titel */
.wd-head { margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3.75rem); }
.wd-head .page-hero__lead { max-width: 30rem; margin-top: 0; }
.wd-head__link { margin-top: .75rem; }

/* ---------- Drie keuzes, van dringend naar minder dringend ---------- */
.decide { display: grid; gap: clamp(16px, 1.6vw, 24px); list-style: none; }
.decide > li { display: flex; }

/* Volgorde (ook op een gsm): titel en uitleg, meteen daarna het nummer en de belknop, dan de uren. */
.decide__card {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "main" "call" "extra";
  gap: 1.75rem;
  align-items: start;
  scroll-margin-top: 24px;
}
.decide__main { grid-area: main; display: grid; gap: 1rem; }
.decide__main > p { max-width: 36rem; }
.decide__head { display: flex; align-items: center; gap: 18px; }
.decide__head .card__icon { flex: none; margin: 0; } /* nooit samengedrukt naast een lange titel */
.decide__head > h2 { min-width: 0; }
@media (max-width: 479.98px) {
  .decide__head { gap: 14px; }
  .decide__head .card__icon { width: 48px; height: 48px; border-radius: 16px; }
  .decide__head > h2 { hyphens: auto; }
}
/* Weinig ruimte (heel smal scherm of grotere tekst op een gsm): pictogram boven de titel */
@media (max-width: 374.98px) {
  .decide__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 519.98px) {
  html[data-textsize] .decide__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.decide__card--night .card__icon { background: var(--red-50); color: var(--red-text); }
/* Regionaam niet afbreken na "Bilzen-" (op smalle schermen mag het wel) */
@media (min-width: 480px) { .wd-keep { white-space: nowrap; } }
/* Grotere tekst op een gsm: knopteksten blijven op één regel */
@media (max-width: 479.98px) {
  html[data-textsize] main .btn--lg { padding-inline: 1.1rem; }
}

.decide__call {
  grid-area: call;
  container-type: inline-size;
  display: grid;
  justify-items: start;
  gap: .35rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.card--urgent .decide__call { border-color: var(--red-100); }
.decide__label { font-size: 1.0625rem; font-weight: 500; }
.decide .phone-xl { min-width: 48px; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); }
@supports (font-size: 1cqi) {
  /* Het nummer past altijd op één regel, ook bij de grootste tekstgrootte. */
  .decide .phone-xl { font-size: min(4rem, 16cqi); }
}
.decide__status { margin-top: .15rem; font-size: 1.0625rem; color: var(--ink); }
.decide__call .btn { width: 100%; max-width: 24rem; margin-top: 1rem; }

.decide__extra { grid-area: extra; }
.decide__extra .keyfacts dd { text-wrap: balance; }
.decide__more { margin-top: 1rem; }
/* Lange linktekst: de pijl loopt mee met de laatste regel; ruim aanraakvlak */
.decide__more .link-arrow--inline { padding-block: .6em; }

@media (min-width: 1024px) {
  .decide__card {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "main call" "extra call";
    grid-template-rows: auto 1fr;
    gap: 2rem clamp(40px, 5vw, 88px);
  }
  .decide__card--short { grid-template-areas: "main call"; grid-template-rows: auto; align-items: center; }
  .decide__card--short .decide__call { align-content: center; }
  .decide__call {
    align-self: stretch;
    align-content: start;
    padding: .25rem 0 .25rem clamp(32px, 4vw, 64px);
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* ---------- Rode band: waarvoor belt u de wachtpost? ---------- */
.wd-rules { margin-top: 2rem; }
.wd-rules dd + dd { margin-top: .6rem; }
.wd-rules dd:has(> .link-arrow) { margin-top: .25rem; }
.wd-rules .link-arrow { text-decoration-color: rgb(255 255 255 / .55); }
.wd-rules .link-arrow:hover { text-decoration-color: #fff; }
.wd-call { container-type: inline-size; }
.wd-tip { max-width: 26rem; font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem); }
@supports (font-size: 1cqi) {
  /* Groot nummer: altijd op één regel binnen de kolom */
  .wd-call .urgent__phone { font-size: min(clamp(3rem, 1.8rem + 4.4vw, 6rem), 18cqi); }
}

/* Apotheek: nummer past altijd in de kaart */
.wd-phone-card { container-type: inline-size; }
.card .wd-note { color: var(--ink); }
.wd-note strong { font-weight: 600; color: var(--red-text); }
@supports (font-size: 1cqi) {
  .wd-phone-card .phone-xl { font-size: min(clamp(2.5rem, 1.5rem + 3.6vw, 4.75rem), 17cqi); }
}

/* Crèmekleurige sectie net onder de rode band: zelfde witte rand als opzij */
@media (min-width: 768px) {
  .urgent + .section--tint { margin-top: clamp(12px, 1.4vw, 24px); }
}
