/* Hallmark · base van het publieke deel: de regels die de Floor al besliste, uit `theme.mjs scaffold --brand`.
 * Anders dan de scaffold staat alles hier onder .nf-publiek (of achter :has(.nf-publiek) voor html en body),
 * omdat dit bestand op elke pagina laadt en de ingelogde app er niets van mag merken.
 * Bootstrap blijft eronder liggen: alinea's en koppen houden hun marge-onder, zodat de binnenpagina's niet
 * ineenschuiven; componenten met `gap` zetten zelf margin: 0. */
html:has(.nf-publiek), body:has(.nf-publiek) { overflow-x: clip; }
html:has(main.nf-publiek) { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: calc(var(--nav-height) + var(--space-lg)); }
body:has(main.nf-publiek) { background: var(--color-paper); }
main.nf-publiek { background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-brand); }
.nf-publiek ::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); color: var(--color-ink); }
.nf-publiek :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; box-shadow: none; }
.nf-publiek a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.nf-publiek :is(h1, h2, h3) { font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.08; color: var(--color-brand); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.nf-publiek h1 { max-width: 20ch; font-size: var(--text-display); }
.nf-publiek h2 { max-width: 30ch; font-size: var(--text-section); }
.nf-publiek h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.nf-publiek :is(h4, h5, h6) { font-family: var(--font-body); font-weight: 600; color: var(--color-brand); }
.nf-publiek .lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; font-weight: 400; color: var(--color-ink-2); }
.nf-publiek :is(p, li, dd) { text-wrap: pretty; }
main.nf-publiek p:not([class]) { max-width: 65ch; }
.nf-publiek img, .nf-publiek video { max-width: 100%; height: auto; }
.nf-publiek :is(.num, .figure, td, th) { font-variant-numeric: tabular-nums; }
.nf-publiek [data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3)); }
.nf-publiek [data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nf-publiek [data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (prefers-reduced-motion: reduce) { .nf-publiek *:not(.keep-motion), .nf-publiek *:not(.keep-motion)::before, .nf-publiek *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
