/* luchtkwaliteitalert.nl - theme v1 (23-11-2026)
   Light and airy: a sky band on top, white cards on a near-white blue page, navy ink, one clear air blue for the
   brand and an orange accent for the alert. The five index bands are the only other colours: goed blue, matig
   yellow, onvoldoende orange, slecht red, zeer slecht purple (bx grey = no recent measurement).
   Lexend (headings, figures) and Figtree (text), self-hosted, OFL. Bump ?v= in _partials/head-assets.html after a change. */
@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --page: #f5f9fd; --card: #ffffff; --ink: #0b2540; --muted: #4d6177; --line: #dbe6f1; --blue: #1d6fb8; --blue-2: #155a99;
  --blue-bg: #e6f1fb; --orange: #f08a24; --orange-2: #d06f0d; --navy: #0b2540;
  --b0: #2c9fd9; --b1: #f2c230; --b2: #f08a24; --b3: #d7322e; --b4: #7b2a8c; --bx: #a3b0bd;
  --radius: 16px;
  --s--1: .9rem; --s-0: 1.0625rem; --s-1: 1.2rem; --s-2: 1.5rem; --s-3: 1.9rem; --s-4: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --head: "Lexend", system-ui, sans-serif; --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 var(--s-0)/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-2); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 1.6em 0 .5em; }
h1 { font-size: var(--s-4); margin-top: .2em; }
h2 { font-size: var(--s-2); }
h3 { font-size: var(--s-1); }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); font-weight: 400; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 999px; padding: .8rem 1.4rem; font: 600 var(--s-0)/1 var(--head); text-decoration: none; cursor: pointer; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); color: #fff; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-2); color: #fff; }
.btn--wide { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: var(--blue-2); text-decoration: underline; font: inherit; cursor: pointer; }

/* header: white bar, menu right, orange pill */
.site-header { background: var(--card); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { max-width: 72rem; margin: 0 auto; padding: .75rem 1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; margin-right: auto; }
.brand__logo { height: 40px; width: auto; display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; flex-wrap: wrap; align-items: center; }
.site-nav__link { color: var(--ink); text-decoration: none; font: 500 var(--s--1)/1 var(--head); padding: .6rem .75rem; border-radius: 999px; display: block; }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { background: var(--blue-bg); color: var(--blue-2); }
.site-nav__pill { display: block; margin-left: .4rem; background: var(--orange); color: #fff; text-decoration: none; font: 600 var(--s--1)/1 var(--head); padding: .6rem 1rem; border-radius: 999px; }
.site-nav__pill:hover { background: var(--orange-2); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: .45rem .9rem; font: 600 var(--s--1) var(--head); align-items: center; gap: .4rem; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.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; }
@media (max-width: 55.99rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__pill { margin: .4rem 0 0; text-align: center; }
}
.indep { margin: 0; background: var(--blue-bg); color: var(--blue-2); font-size: .82rem; }
.indep__inner { display: block; max-width: 72rem; margin: 0 auto; padding: .3rem 1rem; }

/* sky hero: search first */
.sky { background: linear-gradient(180deg, #d4e9fa 0%, #eaf4fc 60%, var(--page) 100%); padding: 2.4rem 0 1.6rem; }
.sky__inner { max-width: 46rem; margin: 0 auto; padding: 0 1rem; text-align: center; }
.sky__kicker { font: 600 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--blue-2); margin: 0 0 .8rem; }
.sky h1 { margin: 0 0 .5rem; }
.sky__lead { font-size: var(--s-1); color: #2a3f55; margin: 0 auto 1.4rem; max-width: 38rem; }
.find { display: flex; gap: .4rem; background: var(--card); border-radius: 999px; padding: .4rem; box-shadow: 0 10px 30px rgba(11, 37, 64, .12); }
.find input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 var(--s-1) var(--body); padding: .5rem 1rem; color: var(--ink); }
.find input:focus { outline: none; }
.find:focus-within { box-shadow: 0 0 0 3px var(--orange), 0 10px 30px rgba(11, 37, 64, .12); }
.sky__fallback { font-size: var(--s--1); color: var(--muted); margin: .8rem 0 0; }

/* result card */
.result { text-align: left; margin-top: 1.2rem; background: var(--card); border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 6px 24px rgba(11, 37, 64, .08); }
.result__where { color: var(--muted); font-size: var(--s--1); margin: 0 0 .8rem; }
.result__card { display: flex; gap: 1.1rem; align-items: flex-start; }
.result__idx { flex: 0 0 auto; width: 6.2rem; height: 6.2rem; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.result__n { font: 700 3rem/1 var(--head); }
.result__of { font: 500 .78rem/1.2 var(--head); opacity: .9; }
.result__band { font: 600 var(--s-2)/1.2 var(--head); margin: .1rem 0 .3rem; }
.result__st { margin: 0 0 .2rem; }
.result__time { color: var(--muted); font-size: var(--s--1); margin: 0 0 .6rem; }
.result__miss { margin: 0; }
.result__more { font-size: var(--s--1); margin: .8rem 0 0; }
.result__cta { margin: 1rem 0 0; }
.tag { display: inline-block; font: 500 .72rem/1 var(--head); background: var(--blue-bg); color: var(--blue-2); border-radius: 999px; padding: .25rem .5rem; vertical-align: middle; }
.comps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .4rem; }
.comps li { background: var(--page); border-radius: 10px; padding: .45rem .6rem; font-size: var(--s--1); }
.comps li span { display: block; color: var(--muted); font-size: .8rem; }
.comps strong { font: 600 var(--s-1) var(--head); }
.strip { display: flex; align-items: flex-end; gap: 2px; height: 3.2rem; margin: 1rem 0 .2rem; border-bottom: 1px solid var(--line); }
.strip__h { flex: 1; border-radius: 3px 3px 0 0; min-height: 3px; }
.strip__h--none { background: var(--line); height: 3px; }
.strip__cap { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; margin: 0; }
@media (max-width: 30rem) { .result__card { flex-direction: column; } .result__idx { width: 100%; height: auto; flex-direction: row; gap: .6rem; padding: .8rem; } }

/* band colours */
.b0 { background: var(--b0); color: #fff; } .b1 { background: var(--b1); color: var(--ink); } .b2 { background: var(--b2); color: #fff; }
.b3 { background: var(--b3); color: #fff; } .b4 { background: var(--b4); color: #fff; } .bx { background: var(--bx); color: #fff; }

/* national panel */
.now { background: var(--card); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.1rem; margin: 1.6rem 0 0; border: 1px solid var(--line); }
.now__kicker { font: 600 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--blue-2); margin: 0 0 .5rem; }
.now__head { margin: 0 0 .6rem; font-size: var(--s-3); }
.now__line { font-size: var(--s-1); margin: 0 0 1rem; }
.bar { display: flex; height: 2.2rem; border-radius: 999px; overflow: hidden; gap: 2px; margin: 0 0 .5rem; }
.bar:empty { display: none; }
.bar__s { display: flex; align-items: center; justify-content: center; font: 600 .85rem/1 var(--head); min-width: 1.6rem; }
.now__counts { color: var(--muted); font-size: var(--s--1); margin: 0 0 1rem; }
.now__sub { font-size: var(--s-0); margin: 0 0 .5rem; }
.toplist { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .35rem; }
.toplist li { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.toplist__b { color: var(--muted); font-size: var(--s--1); }
.idx { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; border-radius: 8px; font: 700 .95rem/1 var(--head); padding: 0 .3rem; }
.now__src { color: var(--muted); font-size: var(--s--1); margin: 0; }

/* index ribbon */
.scale { margin: 1.6rem 0 0; }
.scale__head { margin: 0 0 .7rem; font-size: var(--s-1); }
.ribbon { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; grid-template-columns: 3fr 3fr 2fr 2fr 1.4fr; gap: 3px; }
.ribbon__g { padding: .6rem .7rem; display: flex; flex-direction: column; gap: .2rem; }
.ribbon__g:first-child { border-radius: 12px 0 0 12px; } .ribbon__g:last-child { border-radius: 0 12px 12px 0; }
.ribbon__n { font: 700 var(--s-1)/1 var(--head); letter-spacing: .08em; }
.ribbon__w { font: 500 .82rem/1.1 var(--head); }
@media (max-width: 36rem) { .ribbon { grid-template-columns: 1fr; } .ribbon__g { flex-direction: row; justify-content: space-between; border-radius: 0 !important; } .ribbon__g:first-child { border-radius: 12px 12px 0 0 !important; } .ribbon__g:last-child { border-radius: 0 0 12px 12px !important; } }
.scale__note { color: var(--muted); font-size: var(--s--1); max-width: 52rem; }

/* alert band: full width, navy */
.alert { background: var(--navy); color: #dbe8f5; margin: 2rem 0 0; padding: 2.2rem 0; }
.alert__inner { max-width: 72rem; margin: 0 auto; padding: 0 1rem; display: grid; gap: 1.6rem; }
@media (min-width: 52rem) { .alert__inner { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.alert h2 { color: #fff; margin: 0 0 .7rem; font-size: var(--s-3); }
.alert a { color: #9fd0f5; }
.alert__kicker { font: 600 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin: 0 0 .6rem; }
.alert__example summary { cursor: pointer; color: #fff; font-weight: 600; }
.mailx { background: #fff; color: var(--ink); border-radius: 12px; padding: 1rem 1.1rem; margin-top: .7rem; font-size: var(--s--1); }
.mailx__from { color: var(--muted); font-size: .8rem; margin: 0 0 .3rem; }
.mailx__subject { font: 600 var(--s-0) var(--head); margin: 0 0 .5rem; }
.mailx__cta { display: inline-block; background: var(--orange); color: #fff; border-radius: 999px; padding: .4rem .9rem; font-weight: 600; }
.mailx__small { color: var(--muted); font-size: .78rem; margin: 0; }
.alert__form, .alert__done { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.3rem; }
.alert__field { display: block; margin: 0 0 .8rem; }
.alert__field span { display: block; font: 500 var(--s--1) var(--head); margin: 0 0 .3rem; }
.alert__field input, .alert__field select, .filters input, .filters select { width: 100%; font: 400 var(--s-0) var(--body); padding: .65rem .8rem; border: 1px solid #b9c9d9; border-radius: 10px; background: #fff; color: var(--ink); }
.alert__hp { position: absolute; left: -5000px; width: 1px; height: 1px; }
.alert__area { font-size: var(--s--1); color: var(--muted); margin: 0 0 .8rem; }
.alert__consent { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }
.alert__consent a { color: var(--blue-2); }
.alert__msg { margin: .7rem 0 0; padding: .6rem .8rem; border-radius: 10px; font-size: var(--s--1); }
.alert__msg.is-ok { background: #e3f4e9; } .alert__msg.is-err { background: #fbe3e1; }
.alert__done-title { font: 600 var(--s-2) var(--head); margin: 0 0 .5rem; }
.alert__done-small { font-size: var(--s--1); color: var(--muted); margin: 0; }

/* stations table */
.stations { margin: 2rem 0 0; }
.stations__intro { max-width: 52rem; color: #2a3f55; }
.filters { display: flex; gap: .8rem; flex-wrap: wrap; margin: 0 0 .8rem; }
.filters__f { flex: 1 1 13rem; }
.filters__f span { display: block; font: 500 var(--s--1) var(--head); margin: 0 0 .3rem; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.st-table { width: 100%; border-collapse: collapse; font-size: var(--s--1); }
.st-table th, .st-table td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.st-table thead th { font: 600 .8rem var(--head); color: var(--muted); background: var(--page); position: sticky; top: 0; }
.st-table tbody tr { cursor: pointer; }
.st-table tbody tr:hover { background: var(--blue-bg); }
.st-table tbody th { font-weight: 600; white-space: normal; min-width: 12rem; }
.st-table .idx { min-width: 1.8rem; height: 1.8rem; font-size: .85rem; }
.stations__note { color: var(--muted); font-size: var(--s--1); margin: .6rem 0 0; }

/* body, share, disclosure */
.body { margin: 2rem 0 0; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--s--1); margin: 0 0 1em; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .45rem .6rem; text-align: left; }
.callout { background: var(--blue-bg); border-radius: 12px; padding: .9rem 1.1rem; margin: 0 0 1em; }
.callout--warn { background: #fdecd9; }
.pill { display: inline-block; min-width: 3.2rem; text-align: center; border-radius: 999px; padding: .15rem .6rem; font: 600 var(--s--1)/1.4 var(--head); }
.lead { font-size: var(--s-1); color: #2a3f55; }
.share { margin: 2rem 0 0; }
.disclosure-slot p { color: var(--muted); font-size: var(--s--1); }

/* text pages: menu column left, article right, alert band below */
.crumbs, .breadcrumbs { font-size: var(--s--1); margin: 1rem 0 0; }
.doc { display: grid; gap: 1.5rem; margin: 1rem 0 0; }
@media (min-width: 56rem) { .doc { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; } .doc__nav { position: sticky; top: 1rem; align-self: start; } }
.doc__nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; order: 2; }
@media (min-width: 56rem) { .doc__nav { order: 0; } }
.doc__nav-head { font: 600 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--blue-2); margin: 0 0 .6rem; }
.doc__nav ul { list-style: none; margin: 0; padding: 0; }
.doc__nav a { display: block; padding: .4rem .6rem; border-radius: 8px; text-decoration: none; color: var(--ink); }
.doc__nav a:hover, .doc__nav a[aria-current="page"] { background: var(--blue-bg); color: var(--blue-2); }
.doc__main h1 { margin-top: .3em; }
.cta-band { display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--navy); color: #dbe8f5; border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 2.5rem 0 0; }
.cta-band__head { font: 600 var(--s-1) var(--head); color: #fff; margin: 0 0 .3rem; }
.cta-band p:last-child { margin: 0; }

/* footer: navy */
.site-footer { background: var(--navy); color: #c6d6e6; margin: 3rem 0 0; padding: 2.4rem 0 1.4rem; }
.site-footer__inner { max-width: 72rem; margin: 0 auto; padding: 0 1rem; display: grid; gap: 1.6rem; }
@media (min-width: 48rem) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__logo { height: 34px; width: auto; display: block; margin: 0 0 .8rem; }
.site-footer__head { font: 600 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 .7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .35rem; }
.site-footer a { color: #c6d6e6; }
.site-footer a:hover { color: #fff; }
.site-footer__small { max-width: 72rem; margin: 1.6rem auto 0; padding: 1rem 1rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #93a8bd; }
