:root {
  --bg: #FFFFFF;
  --surface: #F3F6FA;
  --line: #E2E8F0;
  --ink: #14213D;
  --slate: #4A5568;
  --accent: #E4572E;
  --accent-dark: #C8431D;
  --teal: #1F6F78;
  --radius-lg: 18px;
  --radius-md: 16px;
  --radius-sm: 14px;
  --shadow-soft: 0 10px 30px rgba(20, 33, 61, 0.08), 0 2px 8px rgba(20, 33, 61, 0.04);
  --shadow-lift: 0 18px 40px rgba(20, 33, 61, 0.14), 0 4px 10px rgba(20, 33, 61, 0.06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.scroll-locked {
  width: 100%;
  overflow: hidden;
}

img { max-width: 100%; display: block; }

/* ---------- top accent bar ---------- */

.topbar {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #F3763F 50%, var(--accent) 100%);
}

/* ---------- masthead / nameplate ---------- */

.masthead {
  background: var(--bg);
  padding: 8px 16px 0;
}

.nameplate {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 8px 22px;
  text-align: center;
}

.rule {
  height: 1px;
  background: var(--ink);
  opacity: 0.85;
}

.rule--top { margin-bottom: 4px; }
.rule--bottom {
  margin-top: 4px;
  position: relative;
}
.rule--bottom::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--line);
  margin-top: 4px;
}
.rule--top::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--line);
  margin-bottom: 4px;
}

.wordmark {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark-line {
  font-family: "Archivo Black", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.wordmark-line--top {
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  background: linear-gradient(180deg, #4D7FDE 0%, #2857B8 42%, #122B6B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: skewX(-9deg);
  filter: drop-shadow(0 3px 0 rgba(10, 20, 50, 0.25));
  padding: 0 0.1em;
}

.wordmark-line--bottom {
  margin-top: 2px;
}

.wordmark-banner {
  display: inline-block;
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  color: #FFFFFF;
  background: linear-gradient(180deg, #FF6A3D 0%, var(--accent) 45%, #B8381B 100%);
  padding: 0.04em 0.22em 0.1em;
  transform: skewX(-9deg);
  border-radius: 3px;
  box-shadow: 0 6px 0 rgba(130, 40, 10, 0.18), 0 10px 22px rgba(196, 70, 30, 0.28);
}

.swoosh {
  display: flex;
  flex-direction: column;
  width: min(86%, 380px);
  gap: 3px;
}

.swoosh--top { margin-bottom: 2px; }
.swoosh--bottom { margin-top: 4px; }

.swoosh-bar {
  height: 7px;
  transform: skewX(-32deg);
  border-radius: 1px;
}

.swoosh-bar--accent {
  background: linear-gradient(90deg, var(--accent-dark), #FF8255);
}

.swoosh-bar--navy {
  background: linear-gradient(90deg, #122B6B, #4D7FDE);
  width: 78%;
}

.swoosh--top .swoosh-bar--accent { width: 100%; }
.swoosh--top .swoosh-bar--navy { align-self: flex-end; width: 70%; }

.swoosh--bottom .swoosh-bar--navy { width: 100%; }
.swoosh--bottom .swoosh-bar--accent { align-self: flex-end; width: 70%; }

.kicker-line {
  margin: 18px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- shared section chrome ---------- */

.section {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 16px 8px;
}

.section-head {
  margin-bottom: 26px;
}

.section-title {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.9rem, 7vw, 2.5rem);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 10px;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.94rem;
}

.read-link-arrow {
  transition: transform 180ms ease;
}

[data-story-id]:hover .read-link-arrow,
[data-story-id]:focus-visible .read-link-arrow {
  transform: translateX(4px);
}

[data-story-id] {
  cursor: pointer;
  outline: none;
}

[data-story-id]:focus-visible {
  box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.35);
  border-radius: var(--radius-sm);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================== POLITIEK: hero + 2x2 grid ================== */

.politiek-layout { display: flex; flex-direction: column; gap: 28px; }

.pol-hero {
  background: var(--bg);
  transition: transform 220ms ease;
}

.pol-hero:active { transform: scale(0.99); }

.pol-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-soft);
}

.pol-hero-image { width: 100%; height: 100%; object-fit: cover; }

.pol-hero-body { padding-top: 18px; }

.pol-hero .badge { margin-bottom: 12px; }

.pol-hero-title {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}

.pol-hero-preview {
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
}

.pol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pol-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.pol-card-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
}

.pol-card-image { width: 100%; height: 100%; object-fit: cover; }

.pol-card-title {
  font-family: "Newsreader", serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.28;
  margin: 0 0 6px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pol-card-preview {
  margin: 0;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pol-card .read-link { font-size: 0.84rem; margin-top: 8px; }

/* ================== ECONOMIE: overlap cards ================== */

.economie-layout { display: flex; flex-direction: column; gap: 56px; }

.eco-item {
  position: relative;
}

.eco-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-soft);
}

.eco-image { width: 100%; height: 100%; object-fit: cover; }

.eco-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 20px 22px 18px;
  margin-top: -44px;
  position: relative;
  width: 86%;
}

.eco-item--a .eco-card { margin-left: 0; }
.eco-item--b .eco-card { margin-left: 14%; }

.eco-title {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ink);
}

.eco-preview {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

.eco-card .read-link { font-size: 0.88rem; }

/* ================== FINANCIEN: text-first panels ================== */

.financien-layout { display: flex; flex-direction: column; gap: 16px; }

.fin-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 26px 24px 22px;
  position: relative;
  overflow: hidden;
}

.fin-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 7px;
  background: var(--accent);
  border-bottom-right-radius: 6px;
}

.fin-corner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 36px;
  background: var(--accent);
}

.fin-title {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-size: clamp(1.18rem, 5vw, 1.4rem);
  line-height: 1.26;
  margin: 10px 0 10px;
  color: var(--ink);
}

.fin-preview {
  margin: 0;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.6;
}

.fin-panel .read-link {
  font-size: 0.88rem;
  color: var(--teal);
}

.fin-panel .read-link-arrow { color: var(--teal); }

/* ---------- footer ---------- */

.footer {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 0 16px 48px;
  text-align: center;
}

.footer-rule {
  height: 2px;
  width: 64px;
  background: var(--accent);
  margin: 0 auto 18px;
  border-radius: 2px;
}

.footer-name {
  margin: 0 0 4px;
  font-family: "Newsreader", serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.footer-contact {
  margin: 0;
  font-size: 0.84rem;
  color: var(--slate);
}

/* ---------- overlay ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.overlay[hidden] { display: none; }

.overlay-bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}

.overlay-brand {
  font-family: "Newsreader", serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.overlay-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.overlay-close:hover { background: #EAF0F7; }
.overlay-close:active { transform: scale(0.96); }

.overlay-close-x {
  font-size: 0.9rem;
  color: var(--accent);
}

.overlay-article {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.overlay-kicker {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.overlay-title {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--ink);
}

.overlay-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 26px;
  box-shadow: var(--shadow-soft);
}

.overlay-text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #27324A;
}

.overlay-text p { margin: 0 0 1.3em; }
.overlay-text p:last-child { margin-bottom: 0; }

/* ---------- responsive ---------- */

@media (max-width: 420px) {
  .pol-grid { gap: 12px; }
  .eco-item--b .eco-card { margin-left: 10%; width: 90%; }
  .eco-item--a .eco-card { width: 90%; }
}

@media (min-width: 720px) {
  .section { padding-left: 24px; padding-right: 24px; }
}
