/* CyberSecurityNieuws – stijl
   Altijd licht, tenzij de bezoeker zelf donker kiest ([data-mode="dark"]). */

:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f3f1ed;
  --text: #16171a;
  --text-2: #4a4d55;
  --muted: #6b6f78;
  --line: #e4e1db;
  --line-strong: #cfcbc3;
  --accent: #ff4d2e;
  --accent-ink: #c8301a;      /* leesbare variant voor tekst op licht */
  --accent-soft: #fff0ec;
  --ok: #157a4a;
  --ok-soft: #e6f4ec;
  --warn: #a35a00;
  --warn-soft: #fdf1df;
  --zd: #7a2fd0;
  --zd-soft: #f2eafc;
  --cat: var(--accent);
  --shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 4px 16px rgba(20, 20, 30, .05);
  --radius: 10px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

:root[data-mode="dark"] {
  --bg: #0f1114;
  --surface: #171a1f;
  --surface-2: #1e2228;
  --text: #eceef1;
  --text-2: #b9bec7;
  --muted: #8b919c;
  --line: #2a2f37;
  --line-strong: #3a404a;
  --accent-ink: #ff7a5f;
  --accent-soft: #2d1914;
  --ok: #4cc98a;
  --ok-soft: #13271d;
  --warn: #f0a74a;
  --warn-soft: #2a2012;
  --zd: #b98bff;
  --zd-soft: #221a33;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* Kleuraccent per thema */
.cat-kwetsbaarheden { --cat: #ff4d2e; }
.cat-ransomware     { --cat: #d6224f; }
.cat-datalekken     { --cat: #8b5cf6; }
.cat-cyberaanvallen { --cat: #e8590c; }
.cat-malware        { --cat: #16a34a; }
.cat-phishing       { --cat: #d99a00; }
.cat-privacy        { --cat: #2563eb; }
.cat-overheid       { --cat: #64748b; }
.cat-ai             { --cat: #0d9488; }
.cat-uitgelegd      { --cat: #4f46e5; }

/* Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
code { font-family: var(--mono); font-size: .86em; font-weight: 500; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
main { padding: 24px 0 64px; min-height: 60vh; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 .9rem/1 var(--font); padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer; text-decoration: none;
}
.btn:hover { color: #fff; filter: brightness(1.06); }
.btn--small { padding: 7px 11px; font-size: .8rem; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost:hover { color: var(--accent-ink); border-color: var(--accent); }
.iconbtn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
  background: transparent; border: 1px solid transparent; color: var(--text); cursor: pointer; padding: 0;
}
.iconbtn:hover { border-color: var(--line); background: var(--surface-2); color: var(--text); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Pulserende stip */
.pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  margin-right: 8px; vertical-align: middle; position: relative; flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

/* Ticker */
.ticker { background: #111317; color: #e9ebee; font-size: .85rem; border-bottom: 2px solid var(--accent); }
.ticker__inner { display: flex; align-items: center; gap: 16px; height: 38px; overflow: hidden; }
.ticker__label {
  flex: none; display: inline-flex; align-items: center; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: .72rem; color: #fff; text-decoration: none;
}
.ticker__label:hover { color: #ffb3a4; }
.ticker__track { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker__move { display: inline-flex; animation: ticker 60s linear infinite; }
.ticker__track:hover .ticker__move, .ticker__track:focus-within .ticker__move { animation-play-state: paused; }
.ticker__track a { color: #e9ebee; text-decoration: none; }
.ticker__track a:hover { color: #fff; text-decoration: underline; }
.ticker__track code { color: #ff8f78; margin-right: 4px; }
.ticker__track:not(:has(.ticker__move)) { display: flex; gap: 40px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__move { animation: none; }
  .ticker__track { overflow-x: auto; }
  .pulse::after { animation: none; }
}

/* Masthead + nav */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 1.25rem/1 var(--font); letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.logo b { color: var(--accent-ink); font-weight: 700; }
.logo:hover { color: var(--text); }
.masthead__tools { display: flex; align-items: center; gap: 6px; }
@media (max-width: 420px) { .logo { font-size: 1.05rem; } .logo svg { width: 26px; height: 26px; } }

.nav { border-top: 1px solid var(--line); }
.nav__inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: 11px 10px; font-size: .875rem; font-weight: 500; color: var(--text-2);
  text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.badges:empty { display: none; }
.badges--sm { margin-top: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px;
  font: 600 .72rem/1.3 var(--font); letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent;
}
.badge--exploit { background: var(--accent); color: #fff; }
.badge--zeroday { background: var(--zd-soft); color: var(--zd); border-color: color-mix(in srgb, var(--zd) 30%, transparent); }
.badge--sev-kritiek { background: var(--accent-soft); color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.badge--sev-hoog { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.badge--patch { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }

.sev { font-weight: 600; padding: 1px 7px; border-radius: 4px; font-size: .85em; }
.sev--kritiek { background: var(--accent-soft); color: var(--accent-ink); }
.sev--hoog { background: var(--warn-soft); color: var(--warn); }
.sev--middel { background: var(--surface-2); color: var(--text-2); }
.sev--laag, .sev--info { background: var(--surface-2); color: var(--muted); }

/* Kaarten */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--wide { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 16px; border-top: 3px solid var(--cat); box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--line-strong); border-top-color: var(--cat); transform: translateY(-1px); }
.card__link { text-decoration: none; color: inherit; display: block; }
.card__link:hover { color: inherit; }
.card__link:hover .card__title { color: var(--accent-ink); }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .75rem; color: var(--muted); margin-bottom: 6px; }
.card__cat { color: var(--cat); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.card__title { font: 600 1.08rem/1.3 var(--font); margin: 0; letter-spacing: -.005em; }
.card__tldr { margin: 6px 0 0; color: var(--text-2); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--compact { padding: 12px 14px; border-top-width: 1px; border-left: 3px solid var(--cat); box-shadow: none; gap: 6px; }
.card--compact:hover { border-left-color: var(--cat); }
.card--compact .card__title { font-size: .95rem; }

/* Voorpagina */
.lead-grid { display: grid; gap: 20px; margin-bottom: 32px; }
@media (min-width: 900px) { .lead-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.hero {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--cat); }
@media (min-width: 720px) { .hero { padding: 32px 36px; } }
.hero__link { text-decoration: none; color: inherit; display: block; }
.hero__link:hover { color: inherit; }
.hero__link:hover .hero__title { color: var(--accent-ink); }
.hero__title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.12; margin: 8px 0 14px; }
.hero__tldr { font-size: 1.08rem; color: var(--text-2); margin: 0 0 16px; max-width: 62ch; }
.hero__todo { font-size: .92rem; background: var(--surface-2); border-radius: 8px; padding: 10px 14px; max-width: 62ch; }
.hero__todo strong { color: var(--accent-ink); margin-right: 4px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel + .panel { margin-top: 16px; }
.panel__title { font: 700 .78rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; display: flex; align-items: center; color: var(--text); }
.panel--urgent { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 140px); }
.panel--urgent .panel__title { color: var(--accent-ink); }
.panel__links { margin-top: 10px; }
.urgent-list { list-style: none; margin: 0; padding: 0; }
.urgent-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.urgent-list li:first-child { border-top: 0; padding-top: 0; }
.urgent-list a { display: block; text-decoration: none; font-weight: 500; line-height: 1.35; }
.urgent-list code { display: block; color: var(--accent-ink); font-size: .75rem; margin-bottom: 2px; }
.more { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; margin-top: 8px; }
.more:hover { text-decoration: underline; }

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.plain-list li:first-child { border-top: 0; padding-top: 0; }
.plain-list a { text-decoration: none; font-weight: 500; line-height: 1.35; font-size: .95rem; }
.flag { width: 14px; height: 10px; border-radius: 2px; margin-right: 8px; background: linear-gradient(#ae1c28 33%, #fff 33% 66%, #21468b 66%); box-shadow: 0 0 0 1px var(--line); }

.home-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .home-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--text); padding-bottom: 6px; }
.section-head h2, .section-title { font-size: 1.5rem; margin: 0; }
.section-head .more { margin: 0; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--text); }

.theme-list { list-style: none; margin: 0; padding: 0; }
.theme-list a { display: flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; font-size: .93rem; }
.theme-list .count { margin-left: auto; font: 500 .75rem var(--mono); color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cat); flex: none; display: inline-block; }

.newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 160px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; }

.by-cat { margin-top: 48px; }
.by-cat__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .by-cat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .by-cat__grid { grid-template-columns: repeat(3, 1fr); } }
.by-cat__col { display: flex; flex-direction: column; gap: 10px; }
.by-cat__col > h3 { font: 700 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 4px; color: var(--cat); }
.by-cat__col > h3 a { text-decoration: none; color: inherit; }

/* Paginakop */
.page-head { margin: 8px 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; }
.page-head[class*="cat-"] h1 { text-decoration: underline; text-decoration-color: var(--cat); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.page-head__intro { color: var(--text-2); font-size: 1.05rem; max-width: 65ch; margin: 12px 0 0; }
.eyebrow { font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; }
.page-head--urgent .eyebrow { color: var(--accent-ink); }
.empty { padding: 40px 0; }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* Artikel */
.article-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; } }
.article { min-width: 0; }
.crumbs { color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--cat); font-weight: 600; text-decoration: none; }
.crumbs a:first-child { color: var(--muted); font-weight: 400; }
.article__title { font-size: clamp(1.85rem, 4.4vw, 2.75rem); line-height: 1.1; margin: 0 0 14px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.article__head { margin-bottom: 24px; }

.tldr { border-left: 4px solid var(--cat); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 0 0 28px; box-shadow: var(--shadow); }
.tldr__label { font: 600 .75rem/1 var(--mono); letter-spacing: .08em; color: var(--cat); margin: 0 0 6px; }
.tldr p { margin: 0; font-size: 1.08rem; font-weight: 500; line-height: 1.5; }

.prose { font-size: 1.075rem; line-height: 1.72; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.prose a { color: var(--accent-ink); }
.prose blockquote { border-left: 3px solid var(--line-strong); padding-left: 16px; color: var(--text-2); font-style: italic; }
.prose code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.prose li + li { margin-top: .3em; }

.todo { margin: 32px 0; padding: 20px 22px; border-radius: var(--radius); background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.todo h2 { font-size: 1.3rem; margin: 0 0 12px; color: var(--ok); display: flex; align-items: center; gap: 10px; }
.todo h2::before { content: "✓"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; font: 700 .9rem var(--font); }
.todo ol { margin: 0; padding-left: 1.3em; }
.todo li { margin: 0 0 8px; padding-left: 4px; }
.todo li::marker { font-weight: 700; color: var(--ok); }

.cve-box { margin: 32px 0; }
.cve-box h2, .sources h2 { font-size: 1.2rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cve-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cve-table th, .cve-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cve-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.cve-table tr:last-child td { border-bottom: 0; }

.sources { margin: 32px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.sources ul { padding-left: 1.1em; margin: 0 0 12px; }
.sources li { margin-bottom: 6px; }
.sources__name { font-weight: 600; }

.labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .82rem; text-decoration: none; color: var(--text-2); background: var(--surface);
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }

.article-aside { min-width: 0; }
.article-aside .panel { display: flex; flex-direction: column; gap: 10px; }
.article-aside .panel + .panel { margin-top: 20px; }
.article-aside .panel__title { margin-bottom: 4px; }
@media (min-width: 1000px) { .article-aside { position: sticky; top: 16px; align-self: start; } }

.notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: .92rem; }
.notice--example { background: var(--warn-soft); color: var(--text); border: 1px dashed var(--warn); }

/* Weekoverzicht */
.week-urgent { margin-bottom: 28px; }
.week-urgent__list { margin: 0; padding-left: 1.2em; display: grid; gap: 12px; }
.week-urgent__list p { margin: 2px 0 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.week-section { margin-bottom: 40px; scroll-margin-top: 16px; }
.week-list { list-style: none; margin: 0; padding: 0; }
.week-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.week-list__head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.week-list__head a { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.week-list p { margin: 4px 0 8px; color: var(--text-2); }

/* Zoeken */
.searchbox { position: relative; margin-bottom: 10px; }
.searchbox svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.searchbox input {
  width: 100%; padding: 15px 16px 15px 48px; font: 1.1rem var(--font); color: var(--text);
  background: var(--surface); border: 2px solid var(--line-strong); border-radius: 12px; outline: none;
}
.searchbox input:focus { border-color: var(--accent); }
.search-results { list-style: none; margin: 16px 0 0; padding: 0; }
.search-results li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 600; font-size: 1.08rem; text-decoration: none; }
.search-results p { margin: 4px 0; color: var(--text-2); font-size: .95rem; }
.search-results mark { background: var(--accent-soft); color: inherit; padding: 0 2px; border-radius: 3px; }

/* Over */
.about-labels { display: grid; gap: 20px; margin: 8px 0 32px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.about-labels h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; }
.about-labels .labels { margin: 8px 0 0; }

/* 404 */
.notfound { text-align: center; }
.notfound__code { font: 700 clamp(5rem, 18vw, 9rem)/1 var(--serif); color: var(--accent); margin: 24px 0 8px; }
.notfound .cards { text-align: left; margin-top: 16px; }
.notfound .section-title { margin-top: 48px; text-align: left; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: .92rem; }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer a { text-decoration: none; color: var(--text-2); }
.footer a:hover { color: var(--accent-ink); }
.footer p { color: var(--text-2); max-width: 46ch; }
.logo--footer { margin-bottom: 4px; }
.footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Foto's */
.article__img { margin: 0 0 24px; }
.article__img img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.article__img figcaption { margin-top: 6px; }
.article__img figcaption a { color: inherit; }
.hero__img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 8px; margin: 0 0 18px; background: var(--surface-2); }
.card { overflow: hidden; }
.card__img { display: block; width: calc(100% + 36px); max-width: none; height: auto; margin: -16px -18px 10px; aspect-ratio: 1200 / 630; object-fit: cover; object-position: left center; background: var(--surface-2); }

/* Veelgestelde vragen */
.faq { margin: 32px 0; }
.faq h2 { font-size: 1.3rem; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.1rem var(--mono); color: var(--accent-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--text-2); }

/* Byline */
.byline { display: inline-flex; align-items: center; gap: 6px; }
.byline img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.byline a { color: var(--text); font-weight: 600; text-decoration: none; }
.notice--update { background: var(--surface-2); border-left: 3px solid var(--cat); border-radius: 0 8px 8px 0; }
.notice--partner { background: var(--surface-2); border: 1px dashed var(--line-strong); }

/* Bronnen: één kleine regel */
.sources-line { margin: 28px 0 8px; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.sources-line a { color: inherit; }

/* Dreigingsniveau */
.threat { --lvl: var(--ok); }
.threat--verhoogd { --lvl: #d99a00; }
.threat--hoog { --lvl: #e8590c; }
.threat--kritiek { --lvl: var(--accent); }
.threat__meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 8px; }
.threat__meter span { height: 8px; border-radius: 4px; background: var(--surface-2); }
.threat__meter span.on { background: var(--lvl); }
.threat__name { font: 700 1.4rem/1.1 var(--serif); color: var(--lvl); margin: 0 0 6px; }
.threat p { margin: 0 0 6px; }

/* Advertenties */
.ad { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.ad + .panel, .panel + .ad { margin-top: 16px; }
.article-aside .ad { margin-bottom: 20px; }
.ad__label { font: 600 .66rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ad__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.ad__link img { border-radius: 6px; }
.ad__title { font-weight: 700; line-height: 1.3; }
.ad__text { font-size: .9rem; color: var(--text-2); }
.ad__btn { font-weight: 600; font-size: .85rem; color: var(--accent-ink); text-decoration: none; }
.ad--house { background: linear-gradient(135deg, var(--surface), var(--surface-2)); border-style: dashed; }
.ad--inline { margin: 28px 0; }
.ad--inline .ad__link { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.ad--inline .ad__link img { width: 120px; }
.ad--inline .ad__link > div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }

/* Adverteren-pagina */
.page-head--ad h1 { max-width: 20ch; }
.ad-why { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0 0 40px; }
.ad-why div { padding: 16px 0; border-top: 3px solid var(--accent); }
.ad-why p { margin: 6px 0 0; color: var(--text-2); font-size: .95rem; }
.ad-formats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 40px; }
.ad-formats .panel + .panel { margin-top: 0; }
.ad-formats h3 { margin: 0 0 6px; font-size: 1.05rem; }
.ad-formats p { margin: 0; color: var(--text-2); font-size: .95rem; }
.ad-rules { max-width: 720px; }
.ad-contact { max-width: 720px; margin-top: 24px; }
.ad-contact h2 { margin-top: 0; }

/* Redactie */
.person { display: flex; gap: 20px; align-items: flex-start; margin: 0 0 32px; flex-wrap: wrap; }
.person__photo, .person__avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.person__avatar { display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 3rem var(--serif); }
.person h2 { margin: 0; font-size: 1.6rem; }
.person > div { flex: 1 1 260px; min-width: 0; }
.person p { margin: 4px 0; }

/* Contact & formulieren */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.contact-grid .panel + .panel { margin-top: 0; }
.contact-grid .panel__title:not(:first-child) { margin-top: 20px; }
.form { display: flex; flex-direction: column; gap: 8px; }
.form label, .scam label { font-weight: 600; font-size: .9rem; }
.form input, .form textarea, .scam textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 8px; }
.form button { align-self: flex-start; margin-top: 6px; }
.copyable { user-select: all; }

/* Colofon */
.colofon { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 32px; }
.colofon dt { font-weight: 600; color: var(--muted); }
.colofon dd { margin: 0; }

/* Producten */
.product-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.product:hover { border-color: var(--accent); }
.product__hot { color: var(--accent-ink); font-weight: 600; }

/* Ransomware-tracker */
.tracker { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tracker th, .tracker td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tracker th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.tracker td:first-child { white-space: nowrap; color: var(--muted); }

/* Oplichtingscheck */
.scam { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.scam textarea { font-size: 1rem; min-height: 160px; }
.scam__row { display: flex; gap: 10px; flex-wrap: wrap; }
.scam-result { margin: 0 0 32px; }
.scam-result__head { padding: 16px 18px; border-radius: var(--radius); border-left: 5px solid; }
.scam-result__head strong { font: 700 1.3rem var(--serif); }
.scam-result__head p { margin: 6px 0 0; }
.scam-result--hoog { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.scam-result--hoog strong { color: var(--accent-ink); }
.scam-result--middel { background: var(--warn-soft); border-color: var(--warn); }
.scam-result--middel strong { color: var(--warn); }
.scam-result--laag { background: var(--ok-soft); border-color: var(--ok); }
.scam-result--laag strong { color: var(--ok); }
.scam-result h2 { font-size: 1.15rem; margin: 20px 0 8px; }
.scam-result__list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.scam-result__list li { padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; gap: 2px; }
.scam-result__list span { color: var(--text-2); font-size: .92rem; }
