/* Gidsen en andere leespagina's in het nieuwe ontwerp. Alleen regels onder .page-article (de <main> van
   een leespagina), zodat de voorpagina en de prijspagina er niets van merken. Tokens: site.css.

   De opbouw van een leespagina:
     main.page-article > .article > .art-head.night  (kruimelpad, h1, inleiding, naamregel)
                                  > .sheet > .layout > [nav.toc, door article.js] + .prose
   Zonder script, of bij prefers-reduced-motion, staat alles stil en is alles zichtbaar. */

.page-article {
  --art-gutter: 1rem;
  --art-offset: 2rem;
  --note-bg: #f6efe0;
  --field-border: #7c8798;
  display: block;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 48rem) { .page-article { --art-gutter: 2rem; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-article { --note-bg: #111b2e; --field-border: #6f7d93; }
}
:root[data-theme='dark'] .page-article { --note-bg: #111b2e; --field-border: #6f7d93; }
.page-article .night { --note-bg: #111b2e; --field-border: #6f7d93; color: var(--ink); }
/* De oude namen uit site.css wijzen hier naar het nieuwe palet, zodat regels die nog niet over zijn
   (grafiek, video, schermafbeelding, knoppen) meekleuren. In een nachtvlak opnieuw, met de nachtwaarden. */
.page-article, .page-article .night {
  --bg: var(--paper); --surface: var(--surface-2); --text: var(--ink); --muted: var(--ink-muted);
  --border: var(--line); --accent: var(--link); --accent-soft: var(--paper-2); --input-border: var(--field-border);
}

.page-article *, .page-article *::before, .page-article *::after { box-sizing: border-box; }
.page-article p { margin: 0; text-wrap: pretty; }
.page-article h1, .page-article h2, .page-article h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; color: var(--ink); }
.page-article a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.page-article a:hover { text-decoration-thickness: 2px; }
.page-article :focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: .25rem; }
.page-article .art-wrap { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: var(--art-gutter); }
.page-article .article { max-width: none; }
.page-article.legal { max-width: none; }

/* Leesvoortgang (article.js zet het element erin) */
.art-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 40; pointer-events: none; }
.art-progress i { position: absolute; inset: 0; background: linear-gradient(90deg, #c8b48a, #d6b97b); transform-origin: left center; transform: scaleX(0); }

/* ---------- Kop van het artikel: een nachtband direct onder de header ---------- */
/* De gloed zit lager dan de bovenrand, zodat de band naadloos aansluit op een donkere header. */
.page-article .art-head {
  position: relative; overflow: hidden;
  background: radial-gradient(85% 90% at 90% 62%, #14233f 0%, transparent 68%), var(--deep);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
/* De kruisende lijn van de voorpagina, hier als stille achtergrond. */
.page-article .art-head::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 97C45 97 67.5 76 100 8' fill='none' stroke='%23d6b97b' stroke-opacity='.34' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.page-article .art-head-inner { position: relative; padding-top: clamp(2rem, 5vw, 4rem); }
.page-article .crumbs { margin: 0; font: 600 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.page-article .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .6rem; }
.page-article .crumbs li + li::before { content: '›'; margin-right: .6rem; color: var(--brass-line); }
.page-article .crumbs a { color: inherit; text-decoration: none; }
.page-article .crumbs a:hover { text-decoration: underline; }
.page-article .art-head h1 { margin-top: 1.5rem; max-width: 19ch; font-size: clamp(2.375rem, 5.2vw, 4.25rem); line-height: 1.05; letter-spacing: -.02em; }
.page-article .art-head h1:first-child { margin-top: .5rem; }
.page-article .art-head .lead { margin-top: 1.75rem; max-width: 40rem; font: 400 clamp(1.1875rem, 1.7vw, 1.375rem)/1.5 var(--serif); color: #d9d5cc; }
.page-article .art-head p.muted { margin-top: 2rem; padding-top: 1.1rem; max-width: 40rem; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.6; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.page-article .art-head p.muted a { color: var(--ink); text-decoration-color: var(--brass-line); }
/* Korte pagina's (juridisch, nieuwsbrief): een kleinere kop. */
.page-article.legal .art-head h1 { max-width: 24ch; font-size: clamp(2.125rem, 4.4vw, 3.5rem); }

/* ---------- Het vel met de tekst ---------- */
.page-article .sheet { position: relative; background: var(--paper); border-radius: 1.75rem 1.75rem 0 0; margin-top: -1.75rem; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); box-shadow: 0 -1px 0 var(--line); }
.page-article .layout { display: grid; gap: 2rem; }
.page-article .prose { min-width: 0; max-width: 44rem; }
.page-article .prose > :first-child { margin-top: 0; }
@media (min-width: 68rem) {
  .page-article .layout { grid-template-columns: 14.5rem minmax(0, 44rem); gap: 4rem; justify-content: space-between; }
  .page-article .prose { grid-column: 2; }
}

/* Inhoudsopgave (article.js bouwt haar uit de h2's) */
.page-article .toc { font-size: .875rem; line-height: 1.4; }
.page-article .toc details { border: 0; padding: 0; }
.page-article .toc summary { cursor: pointer; font: 600 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-block: 1px solid var(--line-strong); }
.page-article .toc summary::-webkit-details-marker { display: none; }
.page-article .toc summary::after { content: '+'; font: 400 1.25rem/1 var(--serif); color: var(--brass); }
.page-article .toc details[open] summary::after { content: '–'; }
.page-article .toc ol { list-style: none; margin: 0; padding: .5rem 0 0; counter-reset: toc; }
.page-article .toc li { counter-increment: toc; margin: 0; }
.page-article .toc a { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); padding: .5rem 0; color: var(--ink-muted); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .2s ease; }
.page-article .toc a::before { content: counter(toc, decimal-leading-zero); font: 400 .875rem/1.4 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--brass); }
.page-article .toc a:hover { color: var(--ink); }
.page-article .toc a[aria-current] { color: var(--ink); font-weight: 600; }
@media (min-width: 68rem) {
  .page-article .toc { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--art-offset) + .5rem); align-self: start; max-height: calc(100vh - var(--art-offset) - 2rem); overflow: auto; scrollbar-width: thin; }
  .page-article .toc summary { cursor: default; pointer-events: none; border-top: 0; padding-top: 0; }
  .page-article .toc summary::after, .page-article .toc details[open] summary::after { content: none; }
  .page-article .toc a { position: relative; }
  .page-article .toc a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease-out); }
  .page-article .toc a[aria-current]::after { transform: scaleX(1); }
}

/* ---------- Lopende tekst ---------- */
.page-article .prose > p, .page-article .prose > ul, .page-article .prose > ol { margin-top: 1.25rem; margin-bottom: 0; }
.page-article .prose h2 { margin-top: clamp(3.5rem, 7vw, 5rem); font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -.015em; scroll-margin-top: var(--art-offset); }
.page-article .prose h2::before { content: ''; display: block; width: 2.5rem; height: 1px; background: var(--brass-line); margin-bottom: 1.4rem; transform-origin: left center; }
.page-article .prose h3 { margin-top: 2.5rem; font-size: 1.4375rem; line-height: 1.25; font-weight: 500; scroll-margin-top: var(--art-offset); }
.page-article .prose h2 + p, .page-article .prose h3 + p { margin-top: 1rem; }
.page-article .prose h2 + h3 { margin-top: 1.5rem; }
.page-article .prose p.muted { color: var(--ink-muted); font-size: .9375rem; line-height: 1.6; }
/* Direct onder een kop: de status van wat volgt (wetsvoorstel, niet vastgesteld), als label. */
.page-article .prose h2 + p.muted, .page-article .prose h3 + p.muted { font: 600 .75rem/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-top: .9rem; }
.page-article .prose b, .page-article .prose strong { font-weight: 600; }
.page-article .prose sup { font-size: .7em; line-height: 0; }
.page-article .prose code { font-size: .9em; overflow-wrap: anywhere; }
.page-article .prose p, .page-article .prose li { overflow-wrap: break-word; }

/* Lijsten: een messing streepje, of een cijfer in de schreefletter */
.page-article .prose > ul:not([class]), .page-article .prose details ul, .page-article .prose li > ul { padding-left: 0; list-style: none; }
.page-article .prose > ul:not([class]) > li, .page-article .prose details ul > li, .page-article .prose li > ul > li { position: relative; padding-left: 1.5rem; margin: .5rem 0 0; }
.page-article .prose > ul:not([class]) > li::before, .page-article .prose details ul > li::before, .page-article .prose li > ul > li::before { content: ''; position: absolute; left: 0; top: .85em; width: .75rem; height: 1px; background: var(--brass); }
.page-article .prose > ol:not([class]), .page-article .prose details ol { list-style: none; padding-left: 0; counter-reset: stap; }
.page-article .prose > ol:not([class]) > li, .page-article .prose details ol > li { counter-increment: stap; position: relative; padding-left: 2.25rem; margin: .75rem 0 0; }
.page-article .prose > ol:not([class]) > li::before, .page-article .prose details ol > li::before { content: counter(stap); position: absolute; left: 0; top: -.05em; width: 1.5rem; font: 400 1.1875rem/1.6 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--brass); }

/* De noot: wetsvoorstel, nog niet vastgesteld */
.page-article .notice { margin-top: 1.5rem; padding: 1.1rem 1.25rem; background: var(--note-bg); border: 1px solid var(--brass-line); border-radius: .5rem; font: italic 400 1.125rem/1.5 var(--serif); color: var(--ink); }

/* In het kort */
.page-article .summary { margin: 2rem 0 0; padding: 1.75rem 1.75rem 1.25rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: .75rem; box-shadow: var(--shadow); }
.page-article .summary > p { margin: 0; font: 600 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); display: flex; align-items: center; gap: .75rem; }
.page-article .summary > p::before { content: ''; width: 2rem; height: 1px; background: var(--brass-line); }
.page-article .summary ul { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: kort; }
.page-article .summary li { counter-increment: kort; position: relative; margin: 0; padding: .85rem 0 .85rem 2.25rem; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.page-article .summary li::before { content: counter(kort, decimal-leading-zero); position: absolute; left: 0; top: .85rem; font: 400 1.0625rem/1.5 var(--serif); font-variant-numeric: lining-nums; color: var(--brass); }

/* ---------- Tabellen ---------- */
.page-article .table-wrap {
  --tw-bg: var(--paper);
  position: relative; margin: 1.5rem 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  /* Breder dan het scherm: een schaduw aan de kant waar nog meer staat. */
  background:
    linear-gradient(to right, var(--tw-bg) 30%, transparent) left / 2.5rem 100% no-repeat local,
    linear-gradient(to left, var(--tw-bg) 30%, transparent) right / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, color-mix(in srgb, var(--ink) 20%, transparent), transparent) left / .9rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--ink) 20%, transparent), transparent) right / .9rem 100% no-repeat scroll;
}
.page-article .table-wrap:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.page-article table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; }
.page-article th, .page-article td { text-align: left; vertical-align: top; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--ink); }
.page-article th.r, .page-article td.r { text-align: right; padding-right: 0; padding-left: 1rem; white-space: nowrap; }
.page-article thead th { font: 600 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); border-bottom: 1px solid var(--line-strong); padding-block: .6rem; vertical-align: bottom; }
.page-article tbody th { font-weight: 600; }
.page-article tbody tr:last-child > * { border-bottom: 1px solid var(--line-strong); }
/* Veel kolommen: de tabel houdt een leesbare breedte en schuift in zijn eigen vak. */
.page-article .table-wrap table:has(tr > :nth-child(5)) { min-width: 40rem; }
.page-article .table-wrap table:has(tr > :nth-child(6)) { min-width: 46rem; }
.page-article .table-wrap table:has(tr > :nth-child(4)) th.r { white-space: normal; }

/* Het rekenvoorbeeld als afschrift: een tabel waarvan de laatste rij het totaal is (allemaal <th>). */
.page-article .table-wrap.ledger { --tw-bg: var(--surface-2); background-color: var(--surface-2); border: 1px solid var(--line); border-radius: .75rem; padding: .5rem 1.5rem .25rem; box-shadow: var(--shadow); }
.page-article .ledger td:first-child { color: var(--ink-muted); }
.page-article .ledger tbody tr:last-child > * { border-bottom: 0; padding-block: 1rem 1.1rem; border-top: 1.5px solid var(--ink); font-weight: 600; color: var(--ink); vertical-align: baseline; }
.page-article .ledger tbody tr:last-child > .r { font: 400 1.5rem/1.1 var(--serif); letter-spacing: -.01em; }
.page-article .ledger tbody tr:nth-last-child(2) > * { border-bottom: 0; }
.page-article .ledger-wide tbody tr:last-child > .r { font-size: 1.1875rem; }
@media (max-width: 40rem) {
  .page-article .table-wrap:not(.ledger) { margin-inline: calc(var(--art-gutter) * -1); padding-inline: var(--art-gutter); }
  .page-article .table-wrap:not(.ledger) table:has(thead th:first-child:empty) { min-width: 31rem; }
  .page-article .table-wrap.ledger { padding: .25rem 1rem 0; }
  .page-article .ledger table:has(tr > :nth-child(4)) { min-width: 30rem; }
  .page-article .ledger td:first-child, .page-article .ledger tbody th:first-child { font-size: .875rem; }
  .page-article .ledger tbody tr:last-child > .r { font-size: 1.25rem; }
  .page-article .ledger-wide tbody tr:last-child > .r { font-size: 1.0625rem; }
  .page-article .art-head::before { display: none; }
}

/* De formule */
.page-article .formula { margin-top: 1.5rem; padding: 1.25rem 1rem; background: none; border: 0; border-block: 1px solid var(--brass-line); border-radius: 0; font: 400 clamp(1.125rem, 2.2vw, 1.375rem)/1.45 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--ink); text-align: center; text-wrap: balance; }

.page-article .cta-inline { margin: 1.5rem 0 0; font-weight: 600; }
.page-article .cta-inline a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass-line); padding-bottom: .15rem; transition: border-color .15s ease; }
.page-article .cta-inline a::after { content: ' →'; color: var(--brass); }
.page-article .cta-inline a:hover { border-bottom-color: var(--ink); }
.page-article .prose > .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* ---------- Tijdlijn: een messing rail ---------- */
.page-article .timeline, .page-article .changelog { list-style: none; margin: 1.75rem 0 0; padding: 0; position: relative; }
.page-article .timeline::before, .page-article .changelog::before { content: ''; position: absolute; left: .3125rem; top: .7rem; bottom: .7rem; width: 1px; background: var(--brass-line); transform-origin: top center; }
.page-article .timeline li, .page-article .changelog li { position: relative; margin: 0; padding: 0 0 1.6rem 2.25rem; font-size: 1rem; line-height: 1.65; color: var(--ink-muted); }
.page-article .timeline li:last-child, .page-article .changelog li:last-child { padding-bottom: 0; }
.page-article .timeline li::before, .page-article .changelog li::before { content: ''; position: absolute; left: 0; top: .5rem; width: .6875rem; height: .6875rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--brass); }
.page-article .timeline li:last-child::before, .page-article .changelog li:first-child::before { background: var(--brass); }
.page-article .timeline li > b:first-child { display: block; font: 500 1.25rem/1.3 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); margin-bottom: .2rem; }
.page-article .changelog li > time:first-child { font: 500 1.125rem/1.3 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); }

/* Begrippen: een lijst waarvan elk punt met een vet begrip begint */
.page-article .terms { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.page-article .terms li { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }
.page-article .terms b { font-weight: 600; color: var(--ink); }

/* Figuren: video, schermafbeelding, grafiek */
.page-article figure { margin: 1.75rem 0 0; }
.page-article figure figcaption { margin-top: .6rem; font-size: .875rem; line-height: 1.55; color: var(--ink-muted); }
.page-article figure.video video, .page-article figure.shot img { border-color: var(--line); border-radius: .75rem; }
.page-article figure.shot img { box-shadow: var(--shadow); }
.page-article figure.video ol.chapters button { font-family: var(--sans); background: var(--surface-2); border-color: var(--line-strong); color: var(--ink); min-height: 2.25rem; }
.page-article figure.video ol.chapters button:hover { border-color: var(--brass); color: var(--ink); }
.page-article figure.video ol.chapters span { color: var(--brass); }
.page-article .chart { padding: 1.25rem 1.25rem 1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: .75rem; box-shadow: var(--shadow); }
.page-article .chart text { font-family: var(--sans); fill: var(--ink-muted); }
.page-article .chart .grid-line { stroke: var(--line); }
.page-article .chart .axis { stroke: var(--line-strong); }

/* ---------- Rustige nachtband ---------- */
.page-article .cta { margin: clamp(3.5rem, 7vw, 5rem) 0 0; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 1rem; border: 1px solid var(--line); background: radial-gradient(120% 100% at 100% 0%, #14233f 0%, transparent 60%), var(--deep); }
.page-article .cta h2 { margin-top: 0; font-size: clamp(1.625rem, 2.8vw, 2.125rem); }
.page-article .cta h2::before { content: none; }
.page-article .cta p { margin-top: 1rem; color: var(--ink-muted); max-width: 34rem; }
.page-article .cta .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.page-article .cta .cta-tier { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.55; max-width: none; }
.page-article .cta .cta-tier a { font-weight: 600; }
/* Knoppen in een leespagina: dezelfde maat als op de voorpagina. In het nachtvlak een lichte rand. */
.page-article .button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.4rem; border-radius: .5rem; border: 1px solid var(--fill); background: var(--fill); color: var(--on-fill); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.page-article .button:hover { background: var(--fill-hover); border-color: var(--fill-hover); }
.page-article .button.secondary { background: transparent; color: var(--ink); border-color: var(--field-border); }
.page-article .button.secondary:hover { border-color: var(--ink); background: transparent; }
.page-article .button[hidden] { display: none; }
.page-article .button:disabled { opacity: .6; cursor: not-allowed; }

/* Aanmelden voor de nieuwsbrief, onder een gids (partials/newsletter-cta.html) */
.page-article .newsletter-cta { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 1.5rem 1.75rem 1.75rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: .75rem; }
.page-article .newsletter-cta-title { margin: 0; font: 500 1.375rem/1.25 var(--serif); color: var(--ink); }
.page-article .newsletter-cta > p:not(.newsletter-cta-title) { margin: .5rem 0 1.1rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-muted); }
.page-article form.inline { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 34rem; }
.page-article form.inline input[type='email'] { flex: 1 1 15rem; min-width: 0; height: 3rem; padding: 0 .9rem; font: 400 1rem/1.2 var(--sans); color: var(--ink); background: var(--surface-2); border: 1px solid var(--field-border); border-radius: .5rem; }
.page-article form.inline input[type='email']::placeholder { color: var(--ink-muted); opacity: 1; }
.page-article form.inline input[type='email']:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-color: var(--link); }
.page-article form.inline .nb-status { flex-basis: 100%; margin: .25rem 0 0; font-size: .9375rem; color: var(--ink-muted); }
.page-article form.inline .nb-status:empty { display: none; }
.page-article .nb-form { margin: 0; }
.page-article .nb-form + p.muted { margin-top: 1rem; }
.page-article .nb-confirm { margin: 0 0 2.5rem; padding: 1.5rem 1.75rem; background: var(--surface-2); border: 1px solid var(--brass-line); border-radius: .75rem; box-shadow: var(--shadow); scroll-margin-top: var(--art-offset); }
.page-article .nb-confirm[hidden] { display: none; }
.page-article .nb-confirm h2 { margin-top: 0; font-size: 1.625rem; }
.page-article .nb-confirm h2::before { content: none; }
.page-article .nb-confirm p { margin-top: .75rem; }
.page-article .nb-confirm .button { margin-top: 1rem; }
.page-article .nb-confirm + .nb-form, .page-article .prose > .nb-form:first-child { margin-top: 0; }

/* Lees ook */
.page-article .related { margin: 0; }
.page-article .related ul { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.page-article .related li { margin: 0; border-bottom: 1px solid var(--line); }
.page-article .related a { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1rem 0; font: 400 1.25rem/1.3 var(--serif); color: var(--ink); text-decoration: none; transition: color .15s ease; }
.page-article .related a::after { content: '→'; font-family: var(--sans); font-size: 1rem; color: var(--brass); transition: transform .3s var(--ease-out); }
.page-article .related a:hover { color: var(--link); }
.page-article .related a:hover::after { transform: translateX(.3rem); }

/* Bronnen, als voetnoten */
.page-article .sources { margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-strong); font-size: .8125rem; line-height: 1.55; color: var(--ink-muted); scroll-margin-top: var(--art-offset); }
.page-article .sources > p:first-child:not(:only-child) { font: 600 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.page-article .sources ul { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: bron; }
.page-article .sources li { counter-increment: bron; position: relative; margin: 0; padding: .3rem 0 .3rem 2rem; }
.page-article .sources li::before { content: counter(bron); position: absolute; left: 0; top: .3rem; font: 400 .8125rem/1.55 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--brass); }
.page-article .sources a { color: var(--ink-muted); text-decoration-color: var(--line-strong); overflow-wrap: anywhere; }
.page-article .sources a:hover { color: var(--ink); text-decoration-color: currentColor; }
.page-article .sources > p:last-child { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font: italic 400 1rem/1.55 var(--serif); color: var(--ink-muted); }
.page-article .sources > p:only-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Vragen (veelgestelde vragen): rijen die openklappen ---------- */
.page-article .prose > details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); }
.page-article .prose > h2 + details { margin-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.page-article .prose > details > summary { list-style: none; cursor: pointer; position: relative; padding: 1.05rem 2.5rem 1.05rem 0; font: 400 1.25rem/1.3 var(--serif); color: var(--ink); }
.page-article .prose > details > summary::-webkit-details-marker { display: none; }
.page-article .prose > details > summary::after { content: '+'; position: absolute; right: 0; top: .95rem; font: 400 1.625rem/1 var(--serif); color: var(--brass); }
.page-article .prose > details[open] > summary::after { content: '–'; }
.page-article .prose > details > summary:hover { color: var(--link); }
.page-article .prose > details > div { padding: 0 2.5rem 1.4rem 0; color: var(--ink-muted); font-size: 1rem; line-height: 1.65; }
.page-article .prose > details > div > * + * { margin-top: .75rem; }

/* ---------- Het overzicht van de gidsen: stille kaarten ---------- */
.page-article .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.page-article a.card { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.5rem 1.5rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: .75rem; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .3s var(--ease-out), transform .3s var(--ease-out); }
.page-article a.card h3 { margin: 0; padding-right: 1.5rem; font: 500 1.3125rem/1.25 var(--serif); color: var(--ink); text-wrap: pretty; }
.page-article a.card p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-muted); }
.page-article a.card::after { content: '→'; position: absolute; right: 1.25rem; top: 1.35rem; font: 400 1rem/1.4 var(--sans); color: var(--brass); transition: transform .3s var(--ease-out); }
.page-article a.card:hover { border-color: var(--brass-line); box-shadow: var(--shadow); }
.page-article a.card:hover h3 { color: var(--link); }
.page-article a.card:hover::after { transform: translateX(.25rem); }

/* ---------- Juridische pagina's: lange tekst, kleinere koppen ---------- */
.page-article.legal .prose h2 { margin-top: clamp(2.75rem, 5vw, 3.5rem); font-size: clamp(1.5rem, 2.4vw, 1.75rem); }
.page-article.legal .prose h2::before { margin-bottom: 1.1rem; }
.page-article.legal .prose h3 { font-size: 1.25rem; }
.page-article code.key { background: var(--paper-2); border-color: var(--line); }

/* ---------- Beweging: ingetogen, lezen gaat voor. article.js zet art-motion op <html>. ---------- */
.art-motion .art-head h1, .art-motion .art-head .lead, .art-motion .art-head p.muted, .art-motion .art-head .crumbs { opacity: 0; transform: translate3d(0, 1rem, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.art-motion .art-head .lead { transition-delay: .12s; }
.art-motion .art-head p.muted { transition-delay: .24s; }
.art-motion.art-ready .art-head h1, .art-motion.art-ready .art-head .lead, .art-motion.art-ready .art-head p.muted, .art-motion.art-ready .art-head .crumbs { opacity: 1; transform: none; }
.art-motion .art-head::before { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease-in-out) .2s; }
.art-motion.art-ready .art-head::before { clip-path: inset(0 0 0 0); }
.art-motion .page-article [data-reveal] { opacity: 0; transform: translate3d(0, 1rem, 0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.art-motion .page-article [data-reveal].in { opacity: 1; transform: none; }
.art-motion .page-article .prose h2::before { transform: scaleX(0); transition: transform 1.1s var(--ease-out) .1s; }
.art-motion .page-article .prose h2.in::before { transform: scaleX(1); }
.art-motion .page-article .timeline::before, .art-motion .page-article .changelog::before { transform: scaleY(0); transition: transform 1.6s var(--ease-in-out); }
.art-motion .page-article .timeline.in::before, .art-motion .page-article .changelog.in::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .page-article *, .page-article *::before, .page-article *::after, .art-progress i { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .art-progress, .page-article .toc { display: none; }
  .page-article .art-head { background: none; color: #000; }
}
