/* hft-nazorg 1.0.0: alleen geladen op de nazorgpagina. Basis overgenomen van hft-kaak, kleuren expliciet zodat licht en donker gelijk zijn. */
html:has(body.hft-nazorg) { overflow-x: clip; }
body.hft-nazorg {
  --nz-wit: #ffffff; --nz-inkt: #1f2a24; --nz-zacht: #4f5d56; --nz-lijn: #e2e7e3; --nz-vlak: #f1f5f1;
  --nz-groen: #243329; --nz-akkoord: #b4552d; --nz-akkoord-vlak: #faeee7; --nz-groen-vlak: #eaf1ec;
  --nz-waarschuw: #9d3b22; --nz-waarschuw-vlak: #fbeae4;
  --nz-kopfont: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--nz-wit) !important; color: var(--nz-inkt);
}
body.hft-nazorg main, body.hft-nazorg #content, body.hft-nazorg .article-shell, body.hft-nazorg .hft-content-flow {
  background: var(--nz-wit) !important;
}
body.hft-nazorg .article-shell { max-width: none; padding: 0; }
body.hft-nazorg main { padding: 0 !important; }
body.hft-nazorg main > * { max-width: none; }

.nz-band { position: relative; width: auto; max-width: none; margin-left: 0; margin-right: 0; padding: clamp(40px, 7vw, 76px) max(24px, calc(50vw - 560px)); box-sizing: border-box; }
body.hft-nazorg main .nz-band { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: max(24px, calc(50vw - 560px)) !important; padding-right: max(24px, calc(50vw - 560px)) !important; }
.nz-band--vlak { background: var(--nz-vlak); }
.nz-band--donker { background: var(--nz-groen); color: #f2f6f3; }
.nz-band p { max-width: 64ch; }
.nz-binnen-sm { max-width: 780px; }
.nz-band h1, .nz-band h2, .nz-band h3, .nz-faq summary { font-family: var(--nz-kopfont); }
.nz-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.16; color: inherit; margin: 0 0 14px; max-width: 30ch; }
.nz-band h3 { font-size: 1.06rem; margin: 0 0 8px; }
.nz-band a { color: #9c4823; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nz-band--donker a { color: #f7c9ae; }
.nz-eyebrow { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.01em; color: #e0a683; margin: 0 0 12px; }
.nz-band figure { margin: 0; }
.nz-band figure img, .nz-band img { width: 100%; height: auto; display: block; border-radius: 14px; }
.nz-band figure figcaption { margin-top: 10px; font-size: 0.85rem; line-height: 1.5; color: var(--nz-zacht); }
.nz-band details { margin: 10px 0 0; }
.nz-band details summary { cursor: pointer; font-weight: 700; font-size: 0.92rem; color: #9c4823; }
.nz-band details > p { margin: 8px 0 0; font-size: 0.9rem; line-height: 1.55; color: var(--nz-zacht); }

/* Hero */
.nz-hero { background: var(--nz-groen); color: #f2f6f3; padding-top: clamp(28px, 4vw, 48px); }
.nz-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.nz-hero__grid > * { min-width: 0; }
.nz-hero__kruimel { font-size: 0.85rem; color: #c4d2c8; margin: 0 0 18px; }
.nz-hero__kruimel a { color: #c4d2c8; }
.nz-hero h1 { font-size: clamp(2.05rem, 4.4vw, 3.2rem); line-height: 1.1; font-weight: 800; margin: 0 0 18px; letter-spacing: -0.01em; color: #fff; }
.nz-hero__lead { font-size: 1.13rem; line-height: 1.62; color: #dde7e0; max-width: 56ch; }
.nz-hero__knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.nz-hero__knop { display: inline-block; font-weight: 700; padding: 13px 22px; border-radius: 9px; background: #fff; color: var(--nz-groen); text-decoration: none; }
.nz-hero__knop--lijn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.nz-hero__bron { margin-top: 14px; font-size: 0.9rem; color: #c4d2c8; }
.nz-hero__bron a { color: #e0a683; }
.nz-hero__beeld figcaption { color: #c4d2c8; }
/* Eigen deel nazorgpagina */
.nz-band p { max-width: 66ch; }
.nz-band .nz-hero__knop { color: var(--nz-groen); }
.nz-band .nz-hero__knop--lijn { color: #fff; }
.nz-band .nz-hero__beeld figcaption { color: #c4d2c8; }
.nz-kop-tekst { max-width: 680px; }

/* Planner: geen kaart, formulier links, plan rechts */
.nz-planner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(22px, 3vw, 34px); }
.nz-planner > * { min-width: 0; }
.nz-veld { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.nz-label { display: block; font-weight: 700; margin: 0 0 7px; padding: 0; font-size: 0.98rem; }
.nz-hint { display: block; font-weight: 400; font-size: 0.86rem; line-height: 1.45; color: var(--nz-zacht); margin-top: 2px; }
.nz-veld input[type="date"], .nz-veld input[type="number"] { font: inherit; font-size: 1.04rem; width: 100%; max-width: 240px; min-height: 46px; padding: 9px 11px; border: 1px solid #aeb9b1; border-radius: 8px; background: #fff; color: var(--nz-inkt); box-sizing: border-box; }
.nz-veld input:focus-visible, .nz-keuze input:focus-visible + span, .nz-knop:focus-visible { outline: 3px solid var(--nz-akkoord); outline-offset: 2px; }
.nz-veld input[aria-invalid="true"] { border-color: #b3261e; }
.nz-keuzes { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #d3dbd5; }
.nz-keuze { display: block; position: relative; border-bottom: 1px solid #d3dbd5; cursor: pointer; }
.nz-keuze input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nz-keuze span { display: block; padding: 11px 10px 11px 30px; position: relative; font-size: 0.98rem; }
.nz-keuze span::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #8a978e; box-sizing: border-box; background: #fff; }
.nz-keuze input:checked + span { font-weight: 700; }
.nz-keuze input:checked + span::before { border: 4px solid var(--nz-akkoord); }
html body.hft-nazorg .nz-knop { font: inherit; font-weight: 700; padding: 12px 20px; min-height: 46px; border-radius: 8px; border: 0; background: var(--nz-akkoord) !important; color: #fff !important; cursor: pointer; }
html body.hft-nazorg .nz-knop--stil { background: transparent !important; color: var(--nz-groen) !important; border: 1px solid #aeb9b1; }
.nz-melding { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--nz-waarschuw-vlak); color: var(--nz-waarschuw); font-size: 0.94rem; }
#nz-plan { scroll-margin-top: 96px; }
.nz-plan__kop { font-family: var(--nz-kopfont); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25; font-weight: 800; margin: 0 0 6px; max-width: 36ch; }
.nz-plan__sub { margin: 0 0 16px; font-size: 0.96rem; color: var(--nz-zacht); }
.nz-lijn { list-style: none; margin: 0; padding: 0; position: relative; }
.nz-lijn::before { content: ""; position: absolute; left: 4.2em; top: 8px; bottom: 8px; width: 2px; background: #d3dbd5; }
.nz-lijn li { position: relative; display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 0 1.6em; padding: 0 0 15px; margin: 0; }
.nz-lijn li:last-child { padding-bottom: 0; }
.nz-lijn li::after { content: ""; position: absolute; left: calc(4.2em - 4px); top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--nz-groen); }
.nz-lijn li.is-eigen::after { background: var(--nz-akkoord); width: 14px; height: 14px; left: calc(4.2em - 6px); top: 5px; }
.nz-lijn li.is-vandaag .nz-dag { color: var(--nz-akkoord); }
.nz-dag { font-weight: 800; font-size: 0.92rem; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: nowrap; }
.nz-lijn strong { display: block; font-family: var(--nz-kopfont); font-size: 1rem; line-height: 1.35; }
.nz-datum { display: block; font-size: 0.84rem; font-weight: 700; color: #8c4420; }
.nz-lijn p { margin: 2px 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--nz-zacht); }
.nz-vragen { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #d3dbd5; }
.nz-vragen h3 { margin: 0 0 8px; font-size: 1.04rem; }
.nz-vragen ol { margin: 0; padding-left: 20px; font-size: 0.95rem; line-height: 1.55; }
.nz-vragen li { margin-bottom: 4px; }
.nz-acties { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .nz-plan.is-vers { animation: nz-in 0.22s ease-out; }
  @keyframes nz-in { from { opacity: 0.35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}

.nz-zij { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 72px); }
.nz-zij > * { min-width: 0; }
.nz-zij p:last-child { margin-bottom: 0; }

.nz-rechts { margin: 24px 0 0 auto; }

/* Dagenstaaf */
.nz-staaf { margin: clamp(22px, 3vw, 34px) 0 0; max-width: 860px; }
.nz-staaf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.nz-staaf li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 14px; align-items: center; margin: 0; padding: 0; font-size: 0.95rem; }
.nz-baan { position: relative; display: block; height: 16px; border-radius: 4px; background: var(--nz-vlak); }
.nz-baan i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--nz-groen); border-radius: 4px 0 0 4px; }
.nz-baan b { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, var(--nz-akkoord) 0 4px, #e3b49c 4px 8px); }
.nz-naam { font-weight: 700; }
.nz-waarde { font-variant-numeric: tabular-nums; font-size: 0.9rem; color: var(--nz-zacht); }
.nz-as { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 14px; margin-top: 8px; font-size: 0.82rem; color: var(--nz-zacht); }
.nz-as span { position: relative; display: block; height: 1.3em; font-variant-numeric: tabular-nums; grid-column: 2; }
.nz-as em { position: absolute; top: 0; font-style: normal; }
.nz-as em:nth-child(1) { left: 0; }
.nz-as em:nth-child(2) { left: 50%; transform: translateX(-50%); }
.nz-as em:nth-child(3) { right: 0; }
.nz-band .nz-staaf figcaption { margin-top: 14px; font-size: 0.88rem; line-height: 1.5; color: var(--nz-zacht); max-width: 70ch; }

/* Kraag: twee kolommen met haarlijn */
.nz-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(20px, 3vw, 32px); }
.nz-duo > div { min-width: 0; }
.nz-duo > div + div { border-left: 1px solid var(--nz-lijn); padding-left: clamp(24px, 4vw, 56px); }
.nz-duo h3 { font-size: 1.1rem; margin: 0 0 10px; }
.nz-duo ul { margin: 0; padding-left: 18px; font-size: 0.96rem; line-height: 1.55; }
.nz-duo li { margin-bottom: 7px; }

/* Hechtingentabel */
.nz-tabel, .nz-tabel tr, .nz-tabel th, .nz-tabel td { background: transparent !important; }
.nz-tabel { width: 100%; max-width: 900px; border-collapse: collapse; margin-top: 20px; font-size: 0.96rem; line-height: 1.5; }
.nz-tabel th { text-align: left; font-size: 0.86rem; color: var(--nz-zacht); padding: 8px 18px 8px 0; border-bottom: 2px solid var(--nz-groen); }
.nz-tabel td { padding: 12px 18px 12px 0; border-bottom: 1px solid var(--nz-lijn); vertical-align: top; }
.nz-tabel td:first-child { font-weight: 700; }

/* Alarm */
.nz-alarm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 5vw, 64px); margin: clamp(18px, 3vw, 28px) 0 0; padding: 0; list-style: none; }
.nz-alarm li { margin: 0; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); line-height: 1.5; min-width: 0; }
.nz-alarm strong { display: block; color: #fff; }
.nz-alarm span { display: block; font-size: 0.86rem; color: #c4d2c8; }

/* Tekstblokken */
.nz-twee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.nz-twee > * { min-width: 0; }
.nz-twee h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.nz-faq { max-width: 780px; }
.nz-faq details { border-bottom: 1px solid var(--nz-lijn); margin: 0; }
.nz-faq details:first-of-type { border-top: 1px solid var(--nz-lijn); }
.nz-band .nz-faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: inherit; font-size: 1rem; }
.nz-faq summary::-webkit-details-marker { display: none; }
.nz-faq summary::after { content: "+"; color: var(--nz-akkoord); }
.nz-faq details[open] summary::after { content: "−"; }
.nz-band .nz-faq details > p { margin: 0 0 16px; font-size: 1rem; line-height: 1.6; color: var(--nz-inkt); }
.nz-bronnen { columns: 2; column-gap: 40px; margin: 14px 0 0; padding-left: 18px; font-size: 0.88rem; line-height: 1.55; color: var(--nz-zacht); }
.nz-bronnen li { margin-bottom: 7px; break-inside: avoid; }

@media (max-width: 860px) {
  .nz-hero__grid, .nz-planner, .nz-twee, .nz-zij { grid-template-columns: minmax(0, 1fr); }
  .nz-band { padding-left: 20px; padding-right: 20px; }
  .nz-bronnen { columns: 1; }
}
@media (max-width: 640px) {
  .nz-duo, .nz-alarm { grid-template-columns: minmax(0, 1fr); }
  .nz-duo > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--nz-lijn); margin-top: 22px; padding-top: 22px; }
  .nz-staaf li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .nz-baan { grid-column: 1 / -1; grid-row: 2; }
  .nz-as { grid-template-columns: minmax(0, 1fr); }
  .nz-as span { grid-column: 1; }
  .nz-tabel thead { position: absolute; left: -9999px; }
  .nz-tabel tr, .nz-tabel td { display: block; }
  .nz-tabel tr { padding: 10px 0; border-bottom: 1px solid var(--nz-lijn); }
  .nz-tabel td { padding: 2px 0; border: 0; }
}
@media print {
  body.hft-nazorg * { visibility: hidden; }
  #nz-plan, #nz-plan * { visibility: visible; }
  #nz-plan { position: absolute; left: 0; top: 0; width: 100%; }
  .nz-acties { display: none; }
}
