/* vogelgriepalert.nl_www - theme v1.2 (07-11-2026, "meldkamer", sober)
   Calm night blue and warm paper. Madà 07-11: "mag wel wat serieuzer, het is voor veel mensen een ernstige zaak", so
   no cartoon hen and no red pill in the logo, buttons in night blue/white, red only for facts on the page (an
   outbreak dot, the ophokplicht state, a warning) and never as decoration;
   green for "geen ophokplicht"; amber for the radius ring and focus. Clear tables, big status card, no drama.
   Fonts self-hosted: Archivo variable (headings, logo; OFL) and Public Sans (body; OFL). Licences beside the files.
   Bump ?v= in _partials/head-assets.html after every change. */
@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo-latin-variable.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/assets/fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/assets/fonts/public-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #fbfaf6; --white: #ffffff; --ink: #12263a; --ink-2: #34465a; --muted: #5d6b79; --rule: #dfe3e6;
  --night: #12263a; --night-2: #1d3650; --red: #d7263d; --red-dark: #b01c30; --red-soft: #fde7ea;
  --green: #2f6f45; --green-soft: #e3f1e7; --amber: #f2b134; --amber-soft: #fff4dc;
  --r: 16px; --r-sm: 10px; --wrap: 72rem; --g: clamp(1rem, 4vw, 2rem);
  --f-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --s--1: clamp(.86rem, .84rem + .1vw, .92rem); --s0: clamp(1rem, .97rem + .2vw, 1.0625rem);
  --s1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); --s2: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  --s3: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  --shadow: 0 1px 2px rgba(18, 38, 58, .06), 0 8px 24px rgba(18, 38, 58, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  font: 400 var(--s0)/1.62 var(--f-body); }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--ink); text-decoration-color: #8fa3b6; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--night-2); text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--r-sm); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
h1, h2, h3, h4 { font-family: var(--f-head); font-stretch: 100%; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--s3); }
h2 { font-size: var(--s2); margin-top: 1.6em; }
h3 { font-size: var(--s1); margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.muted { color: var(--muted); font-size: var(--s--1); }

/* header */
.site-header { background: var(--night); color: var(--white); position: relative; z-index: 5; }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: .7rem var(--g); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand__logo { height: 44px; width: auto; display: block; }
.menu-toggle { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5); border-radius: 999px; font: 700 1rem var(--f-head); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem 1.3rem; flex-wrap: wrap; }
.site-nav__link { display: inline-block; padding: .55rem .1rem; font: 650 1.02rem var(--f-head); text-decoration: none; color: var(--white); }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { color: var(--white); box-shadow: inset 0 -3px 0 #b9c6d3; }
@media (max-width: 52rem) {
  .brand__logo { height: 36px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); padding: .3rem var(--g) 1rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__link { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .65rem 1.3rem; background: var(--ink); color: var(--white);
  border: 0; border-radius: 999px; font: 700 1.05rem var(--f-head); text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--white); background: var(--night-2); }
.btn--alert { background: var(--ink); }
.btn--alert:hover { background: var(--night-2); }
.linkbtn { background: none; border: 0; padding: .3rem 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: #8fa3b6; text-decoration-thickness: 2px; cursor: pointer; }

/* hero */
.hero { background: linear-gradient(180deg, var(--night) 0, var(--night) 62%, var(--paper) 62%); color: var(--white); padding: clamp(1.5rem, 5vw, 3.5rem) 0 0; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 56rem) { .hero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 2.5rem; } }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lead { font-size: var(--s1); line-height: 1.5; color: #dbe4ee; max-width: 38rem; }
.hero__cta { margin-top: 1rem; }
.status-line { display: inline-block; font: 700 .95rem var(--f-head); letter-spacing: 0; padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1rem; background: var(--white); color: var(--ink); }
.status-line::before { content: ""; display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--dot, var(--muted)); margin-right: .5em; vertical-align: .02em; }
.status-line.is-on { --dot: var(--red); }
.status-line.is-off { --dot: var(--green); }
.status-line.is-partial { --dot: var(--amber); }
.search { display: flex; gap: .5rem; max-width: 30rem; margin: 1.2rem 0 .8rem; }
.search input { flex: 1; min-width: 0; min-height: 52px; padding: .6rem 1rem; border: 2px solid var(--white); border-radius: 999px; font: 600 1.1rem var(--f-body); color: var(--ink); background: var(--white); }
.search button { min-height: 52px; padding: 0 1.4rem; border: 2px solid var(--white); background: var(--night-2); color: var(--white); border-radius: 999px; font: 700 1.05rem var(--f-head); cursor: pointer; }
.search button:hover { background: var(--ink); }
.search__result { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 1rem 1.2rem .3rem; max-width: 36rem; box-shadow: var(--shadow); border-left: 6px solid var(--ink); }
.result__big { font: 800 var(--s2) var(--f-head); margin: 0 0 .2em; }
.result__warn { background: var(--red-soft); border-radius: var(--r-sm); padding: .6rem .8rem; }
.status-card { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 1.3rem 1.4rem .6rem; box-shadow: var(--shadow); border-top: 8px solid var(--muted); margin-bottom: 1.5rem; }
.status-card.is-on { border-top-color: var(--red); }
.status-card.is-off { border-top-color: var(--green); }
.status-card.is-partial { border-top-color: var(--amber); }
.status-card__k { font: 800 .85rem var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2rem; }
.status-card__v { font: 700 var(--s2) var(--f-head); line-height: 1.1; margin: 0 0 .25rem; }
.status-card.is-on .status-card__v { color: var(--red); }
.status-card.is-off .status-card__v { color: var(--green); }
.status-card__since { font-weight: 700; margin: 0 0 .7rem; }
.status-card__note { font-size: var(--s--1); color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: .7rem; }

/* panels, outbreak table */
.panel { background: var(--white); border-radius: var(--r); padding: clamp(1.1rem, 3vw, 1.8rem); box-shadow: var(--shadow); margin: 2rem 0; }
.panel h2:first-child, .panel > :first-child h2 { margin-top: 0; }
.outbreaks__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; }
.outbreaks__head h2 { margin: 0 0 .6rem; }
.outbreaks__count { font: 700 1rem var(--f-head); background: #eef1f4; padding: .3rem .8rem; border-radius: 999px; margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--s--1); }
th { text-align: left; font: 800 .82rem var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .5rem .6rem; border-bottom: 2px solid var(--ink); }
td { padding: .65rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
tbody tr:first-child td { background: #f4f6f8; }
.outbreaks__src { font-size: var(--s--1); color: var(--muted); margin: .8rem 0 0; }

/* alert form */
.alert { border-top: 6px solid var(--ink); }
.alert h2 { margin-top: 0; }
.alert__row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; margin-bottom: .8rem; }
.alert__field { display: flex; flex-direction: column; gap: .25rem; font-weight: 700; }
.alert__field span { font: 800 .82rem var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.alert__field input, .alert__field select { min-height: 50px; padding: .5rem .8rem; border: 2px solid var(--ink); border-radius: var(--r-sm); font: 600 1.05rem var(--f-body); background: var(--white); color: var(--ink); }
.alert__field--mail { flex: 1 1 16rem; }
.alert__check { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .9rem; cursor: pointer; }
.alert__check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--ink); }
.alert__hp { position: absolute; left: -9999px; }
.alert__consent { font-size: var(--s--1); color: var(--ink-2); }
.alert__msg { padding: .6rem .8rem; border-radius: var(--r-sm); }
.alert__msg.is-ok { background: var(--green-soft); }
.alert__msg.is-err { background: var(--red-soft); }
.alert__done { background: var(--green-soft); border-radius: var(--r-sm); padding: 1rem 1.2rem .4rem; }
.alert__done-title { font: 800 var(--s1) var(--f-head); }
.alert__done-small { font-size: var(--s--1); color: var(--ink-2); }

/* body classes for BCM pages */
.grid { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); }
.grid > *, .layout > *, .hero__inner > * { min-width: 0; }
@media (min-width: 46rem) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid > .panel { margin: 0; }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green-soft); border: 2px solid var(--green); }
.check li::after { content: ""; position: absolute; left: .38rem; top: .5em; width: .35rem; height: .6rem; border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.callout { background: var(--amber-soft); border-left: 6px solid var(--amber); border-radius: var(--r-sm); padding: .9rem 1.1rem .2rem; margin: 1.2rem 0; }
.callout--warn { background: var(--red-soft); border-left-color: var(--red); }
.more { font-weight: 700; }
.more::after { content: " \2192"; }
.kicker { font: 800 .85rem var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 2.8rem; margin-bottom: .9rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--white); font: 800 1rem/2rem var(--f-head); text-align: center; }

/* text pages */
.crumbs { font-size: var(--s--1); margin: 1.2rem 0 .4rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head h1 { margin: .3rem 0 1rem; max-width: 22ch; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 60rem) { .layout { grid-template-columns: minmax(0, 44rem) minmax(0, 1fr); gap: 3rem; } }
.prose .lead { font-size: var(--s1); line-height: 1.5; color: var(--ink-2); }
.prose h2 { padding-top: .3rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose table { margin: 1rem 0 1.4rem; background: var(--white); }
.aside-card { background: var(--white); border-radius: var(--r); padding: 1.2rem 1.3rem .4rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.aside-card--alert { border-top: 6px solid var(--ink); }
.aside-card__head { font: 800 1.1rem var(--f-head); }
.aside-links { list-style: none; padding: 0; }
.aside-links li { border-bottom: 1px solid var(--rule); }
.aside-links a { display: block; padding: .55rem 0; text-decoration: none; font-weight: 700; }
.aside-links a[aria-current] { color: var(--ink); font-weight: 700; }
@media (min-width: 60rem) { .layout__aside { position: sticky; top: 1rem; align-self: start; } }

/* footer */
.site-footer { background: var(--night); color: #dbe4ee; margin-top: 3rem; padding: 2.5rem 0 1.5rem; }
.site-footer a { color: var(--white); text-decoration-color: #6f8399; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 56rem) { .site-footer__inner { grid-template-columns: 170px 2fr 1fr 1fr; } }
.site-footer__sticker { background: var(--paper); border-radius: var(--r); padding: .6rem; width: 150px; }
.site-footer__head { font: 700 .85rem var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: #b9c6d3; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer__small { max-width: var(--wrap); margin: 1.5rem auto 0; padding: 1rem var(--g) 0; border-top: 1px solid rgba(255,255,255,.15); font-size: var(--s--1); color: #a9b7c6; }

/* lessons inbraakalert 05-11-2026: sample mail, area line, sortable headers */
.alert__example { margin: .4rem 0 1rem; }
.alert__example summary { cursor: pointer; font-weight: 700; color: var(--ink, #12263a); }
.mailx { background: #fff; color: #12263a; border: 1px solid rgba(18,38,58,.15); border-radius: 10px; padding: 1rem 1.2rem; margin-top: .6rem; max-width: 34rem; box-shadow: 0 6px 18px rgba(18,38,58,.12); }
.mailx p { margin: 0 0 .5rem; }
.mailx__from, .mailx__small { font-size: .85rem; color: #5a6675; }
.mailx__small { margin: 0; }
.mailx__subject { font-weight: 800; font-size: 1.05rem; }
.mailx__cta { display: inline-block; background: #12263a; color: #fff; border-radius: 999px; padding: .35rem 1rem; font-weight: 700; }
.alert__area { font-size: .9rem; color: #5a6675; margin: .2rem 0 .6rem; }
.ob-table th .sort { all: unset; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.ob-table th .sort:focus-visible { outline: 2px solid #f2b134; outline-offset: 2px; }
.ob-table th[aria-sort] .sort::after { content: " \25BE"; }
.ob-table th[aria-sort="ascending"] .sort::after { content: " \25B4"; }

/* figures strip (home) - lessons inbraakalert v2, 07-11-2026 */
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.figs li { min-width: 0; background: var(--white); color: var(--ink); border-radius: var(--r-sm); padding: .8rem 1rem; box-shadow: var(--shadow); }
.figs__v { display: block; font: 800 var(--s2)/1.05 var(--f-head); color: var(--ink); overflow-wrap: anywhere; }
.figs__v--sm { font-size: var(--s1); }
.figs__k { display: block; font-size: var(--s--1); color: var(--muted); margin-top: .2rem; }
@media (max-width: 40rem) { .figs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .figs li:first-child { grid-column: 1 / -1; } }

/* outbreak map (Leaflet 1.9.4 self-hosted, PDOK BRT grijs tiles) - 07-11-2026 */
.obmap__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; }
.obmap__canvas { height: clamp(340px, 60vw, 520px); border-radius: var(--r-sm); background: #e9ecee; border: 1px solid var(--rule); margin: .8rem 0; z-index: 0; }
.is-kaart .obmap__canvas { height: clamp(420px, 75vh, 720px); }
.obmap__canvas:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.obmap__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; padding: 0; list-style: none; font-size: var(--s--1); color: var(--ink-2); }
.obmap__legend li { display: flex; align-items: center; gap: .45rem; }
.obmap__sw { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.obmap__sw--now { background: var(--red); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--red-dark); }
.obmap__sw--old { background: #9aa5af; border: 2px solid var(--white); box-shadow: 0 0 0 1px #6f7a84; }
.obmap__sw--ring { border: 2px dashed var(--amber); background: transparent; }
.obmap__sw--me { background: var(--night-2); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--night); border-radius: 3px; }
.obmap__note { font-size: var(--s--1); color: var(--muted); margin: .6rem 0 0; }
.obmap__nojs { margin: 0; padding: 2rem 1rem; text-align: center; color: var(--muted); }
.obmap .leaflet-popup-content { font: var(--s--1)/1.45 var(--f-body); color: var(--ink); margin: .7rem .9rem; }
.obmap .leaflet-popup-content strong { font-family: var(--f-head); font-size: 1rem; }
.obmap .leaflet-container a.leaflet-popup-close-button { width: 28px; height: 28px; font-size: 22px; }
.obmap .leaflet-control-attribution { font-size: 11px; }
.coverage { font-size: var(--s--1); color: var(--ink-2); background: var(--amber-soft); border-radius: var(--r-sm); padding: .6rem .9rem; margin: .8rem 0 0; }
.is-kaart .obmap__big { display: none; }
.hero--kaart { background: var(--night); padding-bottom: 1.5rem; }
.hero--kaart .lead { max-width: 44rem; }
