/* Deliberately plain: the newspaper design is parked. System fonts only (no external requests). */
:root {
  --ink: #16181d;
  --muted: #5e6470;
  --line: #e3e5e9;
  --paper: #ffffff;
  --wash: #f5f6f8;
  --accent: #b3122e;
  --ok: #1d7a46;
  --warn: #a35a00;
  --radius: 6px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e9eaee; --muted: #a2a8b3; --line: #2d3139; --paper: #14161a; --wash: #1b1e23; --accent: #ff5c74; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 420px; }
main.wrap { padding-top: 24px; padding-bottom: 64px; }

.masthead { border-bottom: 3px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 2; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { font: 700 24px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav form { margin: 0; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.pagetitle { font: 700 28px/1.2 var(--serif); margin: 0; }
h1 { font-family: var(--serif); }
h2 { font: 700 20px/1.3 var(--serif); margin: 32px 0 12px; }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 48px 0; text-align: center; }

.day__label { font: 700 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent);
  border-bottom: 1px solid var(--line); padding: 28px 0 8px; margin: 0; }
.stream { list-style: none; margin: 16px 0 0; padding: 0; }
.story { border-bottom: 1px solid var(--line); }
.story { display: grid; grid-template-columns: 1fr 168px; gap: 20px; padding: 18px 0 18px 14px; }
.story__title a { text-decoration: none; }
.story__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.story__media { order: 2; }
.story__media img { display: block; width: 168px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--wash); }
.story__meta { margin: 0 0 4px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; }
.story { border-left: 3px solid var(--title-color, var(--accent)); }
.story__meta { align-items: center; }
.story__logo, .source__logo { width: 16px; height: 16px; border-radius: 3px; object-fit: contain; flex: none; }
.source { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; }
.source:hover .source__name { text-decoration: underline; text-underline-offset: 2px; }
.brandline { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.updated { font-size: 12px; color: var(--muted); }
.titlehead { display: flex; gap: 16px; align-items: center; border-left: 4px solid var(--title-color, var(--accent)); padding-left: 16px; margin-bottom: 8px; }
.titlehead__logo { width: 40px; height: 40px; border-radius: 6px; object-fit: contain; }
.titlehead .muted a { color: var(--muted); font-size: 14px; }

/* ── Nieuwsblad ─────────────────────────────────────────────────────────── */
main.wrap--paper { max-width: 1200px; }
.toolbar--paper { justify-content: flex-end; }
.paperhead { text-align: center; border-bottom: 1px solid var(--ink); padding: 8px 0 12px; margin-bottom: 3px; }
.paperhead__date { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.paperhead__name { font: 900 clamp(36px, 7vw, 68px)/1 var(--serif); letter-spacing: -0.02em; margin: 6px 0; }
.paperhead__tag { margin: 0; font: italic 15px/1.4 var(--serif); color: var(--muted); }
.paper a, .np-front a, .np-section a { text-decoration: none; }
.np-front a:hover, .np-section a:hover { text-decoration: underline; text-underline-offset: 3px; }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px;
  padding-top: 6px; border-top: 3px solid var(--title-color, var(--ink)); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.section-label__count { color: var(--muted); font-weight: 400; }
.np-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.np-kicker .source { font-weight: 700; }
.np-kicker .source__logo { width: 14px; height: 14px; }
.np-time { color: var(--muted); }

/* Front section: three columns of about equal height. */
.np-front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); gap: 0 24px;
  border-top: 3px double var(--ink); padding-top: 18px; }
.np-left, .np-right { display: flex; flex-direction: column; }
.np-left { border-right: 1px solid var(--line); padding-right: 24px; }
.np-right { border-left: 1px solid var(--line); padding-left: 24px; }
.np-text { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); border-top: 3px solid var(--title-color, var(--ink)); padding-top: 8px; }
.np-text:last-child { border-bottom: 0; margin-bottom: 0; }
.np-text__title { font: 700 17px/1.25 var(--serif); margin: 0 0 6px; }
.np-text__lead { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-lead { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.np-lead__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin-bottom: 10px; }
.np-lead__title { font: 700 clamp(26px, 2.8vw, 38px)/1.12 var(--serif); margin: 0 0 10px; letter-spacing: -0.01em; }
.np-lead__lead { font: 18px/1.5 var(--serif); margin: 0; }
.np-center__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; padding-top: 16px; }
.np-center__pair .np-card + .np-card { border-left: 1px solid var(--line); padding-left: 24px; }
.np-card { border-top: 3px solid var(--title-color, var(--ink)); padding-top: 8px; }
.np-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; margin-bottom: 8px; }
.np-card__title { font: 700 18px/1.22 var(--serif); margin: 0 0 6px; }
.np-card__lead { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-card--small .np-card__title { font-size: 16px; }
.np-card--small .np-card__lead { -webkit-line-clamp: 2; }
.np-right .np-card { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.np-right .np-card:last-child { border-bottom: 0; margin-bottom: 0; }

.np-section { border-top: 3px double var(--ink); margin-top: 24px; padding-top: 10px; }
.np-section__title { font: 700 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.np-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* Masonry-like columns: blocks of different heights pack without holes. */
.np-blocks { columns: 4 220px; column-gap: 24px; }
.np-block { break-inside: avoid; margin-bottom: 20px; }
.headlines { list-style: none; margin: 0; padding: 0; }
.headlines li { border-top: 1px solid var(--line); padding: 7px 0; font: 600 15px/1.3 var(--serif); }
.headlines li:first-child { border-top: 0; padding-top: 2px; }
.headlines--small li { font-size: 14px; font-weight: 400; padding: 6px 0; }
.headlines--thumbs li { display: grid; grid-template-columns: 1fr 56px; gap: 10px; align-items: start; font-size: 14px; font-weight: 400; padding: 7px 0; }
.headlines--thumbs img { width: 56px; height: 42px; object-fit: cover; display: block; }
.more-link { margin: 4px 0 0; font-size: 12px; }
.more-link a { color: var(--muted); }
@media (max-width: 1000px) {
  .np-front { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .np-left { grid-column: 1 / -1; order: 3; border-right: 0; padding-right: 0; margin-top: 20px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .np-text:last-child { border-bottom: 1px solid var(--line); }
  .np-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .np-front { grid-template-columns: 1fr; }
  .np-right { border-left: 0; padding-left: 0; margin-top: 18px; }
  .np-left { grid-template-columns: 1fr; }
  .np-center__pair { grid-template-columns: 1fr; }
  .np-center__pair .np-card + .np-card { border-left: 0; padding-left: 0; margin-top: 16px; }
  .np-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
}
.kicker { margin: 0 0 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.story__title { font: 700 20px/1.25 var(--serif); margin: 0 0 6px; }
.story__lead { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) {
  .story { grid-template-columns: 1fr 96px; gap: 12px; }
  .story__media img { width: 96px; }
  .story__title { font-size: 17px; }
  .story__lead { -webkit-line-clamp: 2; }
}
.more { text-align: center; margin-top: 32px; }

.button, .linkbutton { font: inherit; cursor: pointer; }
.button { display: inline-block; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 8px 16px; text-decoration: none; font-size: 15px; }
.button--secondary { background: transparent; color: var(--ink); }
.button--danger { background: transparent; color: var(--accent); border-color: var(--accent); }
.button--small { padding: 4px 10px; font-size: 13px; }
.linkbutton { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: inherit; }

.form { display: grid; gap: 14px; margin-top: 16px; }
.form--wide { max-width: 720px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 16px; display: grid; gap: 14px; margin: 0; }
.form legend { font-weight: 700; padding: 0 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; width: 100%; }
input[type="checkbox"] { width: auto; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.filter select { width: auto; min-width: 160px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.actions form { margin: 0; }
.alert { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: var(--radius); }
.notice { background: color-mix(in srgb, var(--ok) 12%, var(--paper)); border-left: 4px solid var(--ok); padding: 10px 14px; border-radius: var(--radius); }

.subnav { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; font-size: 14px; overflow-x: auto; }
.subnav a { text-decoration: none; color: var(--muted); padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.table th, .table td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.table--compact td { padding: 6px 10px 6px 0; }
.thumb { width: 80px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--wash); color: var(--muted); }
.tag--ok { color: var(--ok); }
.tag--warn { color: var(--warn); }
.tag--off { color: var(--accent); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.placements { font-size: 14px; padding-left: 24px; }
.placements li { margin: 3px 0; }
.help { font-size: 14px; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
