:root {
  --ink: #090909;
  --paper: #ffffff;
  --blue: #064de4;
  --mist: #eef2f8;
  --line: #b9c0cc;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: 0;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); border: 2px solid var(--ink); padding: 8px 12px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 3px solid var(--ink); background: var(--paper); }
.utility-bar { min-height: 34px; background: var(--ink); color: var(--paper); }
.utility-inner, .masthead, .primary-nav, .page-shell, .site-footer-inner { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.utility-inner p { margin: 0; }
.text-button { border: 0; background: none; padding: 4px 0; cursor: pointer; font-size: 12px; font-weight: 800; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.masthead { min-height: 138px; display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 22px 0 15px; gap: 20px; }
.brand { position: relative; display: inline-block; width: max-content; color: var(--ink); text-decoration: none; font-size: clamp(44px, 7vw, 82px); font-weight: 900; line-height: .8; text-transform: lowercase; }
.brand::after { content: ""; position: absolute; width: 56px; height: 8px; right: -18px; bottom: 9px; background: var(--blue); transform: rotate(-11deg); }
.issue-note { margin: 0 0 2px; max-width: 240px; text-align: right; font-size: 13px; line-height: 1.3; font-weight: 700; }
.primary-nav { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: thin; }
.primary-nav a, .search-trigger { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-left: 1px solid var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; background: var(--paper); }
.primary-nav a:last-of-type { border-right: 1px solid var(--ink); }
.primary-nav a:hover, .search-trigger:hover { background: var(--blue); color: var(--paper); }
.search-trigger { margin-left: auto; border: 0; border-right: 1px solid var(--ink); cursor: pointer; }
.search-icon { width: 17px; height: 17px; margin-right: 8px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; width: 7px; height: 2px; background: currentColor; position: absolute; right: -6px; bottom: -3px; transform: rotate(45deg); }
.page-shell { padding: 28px 0 72px; }
.edition-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.edition-line::before { content: "Onderweg"; background: var(--blue); color: white; padding: 5px 9px; transform: rotate(-2deg); }
.edition-line::after { content: "Nieuwe blik, klein plan"; }
.edition-line span { border-top: 1px solid var(--ink); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(270px, .9fr); gap: 30px; }
.lead-card { border-bottom: 4px solid var(--ink); }
.lead-card figure, .story-card figure, .mini-story figure { margin: 0; overflow: hidden; background: var(--mist); }
.lead-card figure { aspect-ratio: 16 / 9; }
.lead-card img, .story-card img, .mini-story img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.lead-card:hover img, .story-card:hover img, .mini-story:hover img { transform: scale(1.018); }
.story-kicker { display: flex; align-items: center; gap: 8px; margin: 14px 0 7px; color: var(--blue); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.story-kicker::before { content: ""; width: 18px; border-top: 4px solid var(--blue); }
.lead-card h1 { max-width: 900px; margin: 0; font-size: clamp(36px, 5vw, 68px); line-height: .98; }
.lead-card h1 a, .story-card h2 a, .mini-story h2 a { text-decoration: none; }
.lead-card .deck { max-width: 780px; margin: 14px 0 20px; font-size: 20px; line-height: 1.4; }
.side-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }
.mini-story { border-top: 7px solid var(--blue); border-bottom: 1px solid var(--ink); padding-top: 10px; }
.mini-story figure { aspect-ratio: 16 / 8; }
.mini-story h2 { margin: 7px 0 8px; font-size: 25px; line-height: 1.05; }
.mini-story p { margin: 0 0 14px; font-size: 15px; line-height: 1.4; }
.section-heading { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 18px; margin: 54px 0 22px; border-bottom: 3px solid var(--ink); }
.section-heading h2 { margin: 0 0 7px; font-size: 32px; line-height: 1; }
.section-heading span { text-align: right; margin-bottom: 7px; color: #4f5662; font-size: 13px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.story-card { position: relative; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.story-card:nth-child(2) { margin-top: 38px; }
.story-card:nth-child(3) { margin-top: 76px; }
.story-card figure { aspect-ratio: 4 / 3; }
.story-card h2 { margin: 8px 0; font-size: 28px; line-height: 1.08; }
.story-card p { margin: 0; font-size: 15px; line-height: 1.45; }
.story-number { position: absolute; top: 10px; left: 10px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink); font-weight: 900; }
.category-band { margin: 58px 0 0; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
.category-band h2 { margin: 0; font-size: 28px; line-height: 1.05; }
.category-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-links a { min-height: 94px; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; border: 2px solid var(--ink); text-decoration: none; font-weight: 800; line-height: 1.1; }
.category-links a::after { content: "Lees verder \2192"; color: var(--blue); font-size: 11px; text-transform: uppercase; }
.category-links a:hover { background: var(--blue); color: white; }
.category-links a:hover::after { color: white; }
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 38px 0 46px; }
.footer-brand { font-size: 34px; line-height: 1; font-weight: 900; }
.footer-copy { max-width: 480px; margin: 10px 0 0; color: #cfd4dd; font-size: 14px; }
.footer-links { display: flex; justify-content: flex-end; align-items: flex-start; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; font-weight: 700; }

/* Article pages */
.crumbs { margin-bottom: 25px; font-size: 13px; font-weight: 700; }
.crumbs a { color: var(--blue); }
.article-header { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 44px; align-items: end; border-bottom: 4px solid var(--ink); padding-bottom: 25px; }
.article-header h1 { margin: 7px 0 17px; max-width: 900px; font-size: clamp(40px, 6vw, 76px); line-height: .98; }
.article-intro { margin: 0; max-width: 800px; font-size: 21px; line-height: 1.42; }
.article-facts { border-top: 8px solid var(--blue); padding-top: 14px; font-size: 13px; }
.article-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; }
.article-facts dt { font-weight: 800; }
.article-facts dd { margin: 0; }
.article-hero { aspect-ratio: 16 / 8; margin: 28px 0 35px; overflow: hidden; background: var(--mist); }
.article-hero img { height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr) minmax(170px, .42fr); gap: 36px; align-items: start; }
.article-aside { position: sticky; top: 20px; border-top: 3px solid var(--ink); padding-top: 10px; font-size: 13px; line-height: 1.45; }
.article-aside strong { display: block; margin-bottom: 6px; color: var(--blue); text-transform: uppercase; }
.article-aside ul { margin: 0; padding-left: 17px; }
.article-body { max-width: 750px; }
.article-body > p:first-child::first-letter { float: left; margin: 7px 9px 0 0; color: var(--blue); font-size: 70px; line-height: .72; font-weight: 900; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { margin: 48px 0 14px; font-size: 34px; line-height: 1.08; }
.article-body h2::before { content: ""; display: block; width: 44px; margin-bottom: 9px; border-top: 7px solid var(--blue); }
.article-body h3 { margin: 30px 0 10px; font-size: 23px; line-height: 1.15; }
.article-body h4 { margin: 25px 0 7px; font-size: 17px; text-transform: uppercase; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: 28px 0; padding: 18px 22px; border-left: 7px solid var(--blue); background: var(--mist); font-size: 20px; line-height: 1.4; font-weight: 700; }
.article-body table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 15px; }
.article-body th, .article-body td { padding: 10px; border: 1px solid var(--ink); text-align: left; vertical-align: top; }
.article-body th { background: var(--ink); color: var(--paper); }
.related-box { border: 2px solid var(--ink); padding: 15px; font-size: 14px; }
.related-box img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; }
.related-box a { font-weight: 800; }

/* Category pages */
.category-header { padding: 26px 0 30px; border-bottom: 4px solid var(--ink); display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 36px; }
.category-header h1 { margin: 0; font-size: clamp(44px, 7vw, 82px); line-height: .92; }
.category-header p { margin: 0; max-width: 520px; font-size: 18px; }
.category-list { margin-top: 32px; }
.category-item { display: grid; grid-template-columns: minmax(220px, .75fr) 1.25fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--ink); }
.category-item:first-child { border-top: 1px solid var(--ink); }
.category-item figure { aspect-ratio: 16 / 10; margin: 0; overflow: hidden; }
.category-item img { height: 100%; object-fit: cover; }
.category-item h2 { margin: 6px 0 12px; max-width: 740px; font-size: 34px; line-height: 1.04; }
.category-item h2 a { text-decoration: none; }
.category-item p { margin: 0; max-width: 700px; }

/* Search */
.search-dialog { width: min(760px, calc(100% - 24px)); max-height: min(720px, calc(100vh - 30px)); padding: 0; border: 3px solid var(--ink); border-radius: 0; box-shadow: 12px 12px 0 var(--blue); }
.search-dialog::backdrop { background: rgba(0,0,0,.62); }
.search-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--ink); color: white; }
.search-head strong { font-size: 22px; }
.close-search { width: 36px; height: 36px; border: 1px solid white; background: transparent; color: white; cursor: pointer; font-size: 24px; line-height: 1; }
.search-form { padding: 22px; }
.search-form label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.search-row { display: grid; grid-template-columns: 1fr auto; }
.search-row input { width: 100%; min-width: 0; border: 2px solid var(--ink); padding: 12px; }
.search-row button { border: 2px solid var(--ink); border-left: 0; background: var(--blue); color: white; padding: 0 18px; font-weight: 800; cursor: pointer; }
.search-status { min-height: 24px; margin: 15px 0 5px; font-size: 13px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { border-top: 1px solid var(--line); padding: 13px 0; }
.search-results a { font-size: 19px; font-weight: 800; }
.search-results span { display: block; color: #4f5662; font-size: 13px; }

@media (max-width: 900px) {
  .lead-grid, .article-header, .category-header { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card:nth-child(2), .story-card:nth-child(3) { margin-top: 0; }
  .story-card:nth-child(3) { grid-column: 1 / -1; width: calc(50% - 13px); justify-self: center; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 210px; }
  .article-aside { display: none; }
  .category-band { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .utility-inner, .masthead, .primary-nav, .page-shell, .site-footer-inner { width: min(calc(100% - 24px), var(--max)); }
  .utility-inner p:last-child { display: none; }
  .masthead { min-height: 108px; grid-template-columns: 1fr; align-items: end; gap: 8px; padding-top: 20px; }
  .brand { font-size: 48px; }
  .brand::after { width: 38px; height: 6px; right: -11px; bottom: 6px; }
  .issue-note { text-align: left; font-size: 11px; }
  .primary-nav { width: 100%; padding-left: 12px; }
  .primary-nav a, .search-trigger { padding: 0 13px; font-size: 11px; }
  .search-trigger { margin-left: 0; }
  .page-shell { padding-top: 18px; }
  .edition-line::after { display: none; }
  .lead-grid { gap: 30px; }
  .lead-card h1 { font-size: 40px; }
  .lead-card .deck { font-size: 17px; }
  .side-stack { gap: 22px; }
  .mini-story h2 { font-size: 23px; }
  .section-heading { grid-template-columns: 1fr; gap: 3px; }
  .section-heading span { text-align: left; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card:nth-child(3) { grid-column: auto; width: auto; }
  .story-card h2 { font-size: 26px; }
  .category-links { grid-template-columns: 1fr; }
  .category-links a { min-height: 72px; }
  .site-footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .article-header { gap: 25px; }
  .article-header h1 { font-size: 42px; overflow-wrap: anywhere; }
  .article-intro { font-size: 18px; }
  .article-hero { aspect-ratio: 4 / 3; }
  .article-layout { grid-template-columns: 1fr; }
  .related-box { margin-top: 28px; }
  .article-body h2 { font-size: 29px; }
  .article-body h3 { font-size: 21px; }
  .article-body table { display: block; overflow-x: auto; }
  .category-header h1 { font-size: 45px; overflow-wrap: anywhere; }
  .category-item { grid-template-columns: 1fr; gap: 12px; }
  .category-item h2 { font-size: 28px; }
  .search-row { grid-template-columns: 1fr; }
  .search-row button { min-height: 44px; border-left: 2px solid var(--ink); border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
