/* Artikelpagina's. Bouwt op dezelfde soberheid als juridisch.css: een artikel
   wordt gelezen, niet bewonderd. Wat hier extra bij komt is alleen wat lezen
   makkelijker maakt — een maat die het oog aankan, lucht tussen de alinea's,
   en een kader voor het ene ding dat je moet onthouden. */

:root {
  --fc-blue: #3E8DC8;
  --fc-blue-deep: #2A6B9C;
  --fc-ink: #14202b;
  --fc-muted: #5b6b7a;
  --fc-rule: rgba(20, 50, 80, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(#ffffff 0%, #eef5fb 100%);
  background-attachment: fixed;
  color: var(--fc-ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 680px houdt de regel rond de 70 tekens; daarboven gaat het oog de weg terug
   naar het begin van de volgende regel kwijt */
.wrap {
  max-width: 680px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px) max(20px, 5vw) clamp(60px, 8vw, 110px);
}

/* --- kop van de pagina --- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(22px, 3.4vw, 34px);
  margin-bottom: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid var(--fc-rule);
}
.top__logo img { display: block; height: 30px; width: auto; }
.top__back {
  color: var(--fc-blue-deep);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.top__back:hover { text-decoration: underline; }
.top__back:focus-visible { outline: 2px solid var(--fc-blue); outline-offset: 3px; border-radius: 4px; }

/* --- artikelkop --- */

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--fc-muted);
}
.meta__badge {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(62, 141, 200, 0.14);
  color: var(--fc-blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.meta__dot { opacity: 0.45; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(29px, 4.6vw, 41px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 clamp(26px, 4vw, 38px);
  font-size: clamp(18px, 2.1vw, 20.5px);
  line-height: 1.55;
  color: #33475a;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: clamp(30px, 4.4vw, 46px);
  background: #dce9f5;
}

/* --- lopende tekst --- */

h2 {
  margin: clamp(34px, 4.6vw, 52px) 0 12px;
  font-size: clamp(21px, 2.7vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.022em;
}

h3 {
  margin: clamp(24px, 3vw, 32px) 0 8px;
  font-size: clamp(17.5px, 2vw, 19.5px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

p { margin: 0 0 16px; }

a { color: var(--fc-blue-deep); }
a:focus-visible { outline: 2px solid var(--fc-blue); outline-offset: 2px; border-radius: 3px; }

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 9px; }
li::marker { color: var(--fc-blue); }

strong { font-weight: 700; }

/* het ene ding dat je moet onthouden */
.kader {
  margin: clamp(26px, 3.6vw, 38px) 0;
  padding: clamp(18px, 2.6vw, 26px) clamp(18px, 2.6vw, 28px);
  border-radius: 14px;
  border-left: 4px solid var(--fc-blue);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px -24px rgba(20, 50, 80, 0.6);
}
.kader p:last-child { margin-bottom: 0; }
.kader__kop {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-blue-deep);
}

/* een lijst om zelf af te lopen */
.check { list-style: none; padding-left: 0; }
.check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 2px solid var(--fc-blue);
  opacity: 0.7;
}

/* --- afsluiting --- */

.slot {
  margin-top: clamp(40px, 5.5vw, 62px);
  padding-top: clamp(26px, 3.6vw, 38px);
  border-top: 1px solid var(--fc-rule);
}
.slot h2 { margin-top: 0; }

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: rgba(18, 30, 40, 0.94);
  color: #f4f6f8;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 34px -20px rgba(12, 26, 38, 0.85);
  transition: transform .3s cubic-bezier(.16,1,.3,1), background .3s ease;
}
.knop:hover { transform: translateY(-2px); background: #0a141d; color: #fff; }
.knop:focus-visible { outline: 3px solid var(--fc-blue); outline-offset: 3px; }

/* verder lezen */
.verder {
  margin-top: clamp(34px, 4.6vw, 50px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--fc-rule);
}
.verder__kop {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-muted);
}
.verder__lijst { list-style: none; padding: 0; margin: 0; }
.verder__lijst li { margin-bottom: 10px; }
.verder__lijst a {
  font-weight: 600;
  text-decoration: none;
  font-size: 16.5px;
}
.verder__lijst a:hover { text-decoration: underline; }

.foot {
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: 22px;
  border-top: 1px solid var(--fc-rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--fc-muted);
}
.foot a { color: var(--fc-muted); text-decoration: none; }
.foot a:hover { color: var(--fc-blue-deep); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .knop { transition: none; }
  .knop:hover { transform: none; }
}

/* ── Telefoon en tablet ──────────────────────────────────────────────────────
   44px is de maat van een vingertop. De koplink, de terugknop en de
   footerlinks stonden op 24 tot 30px; die mis je regelmatig. */
@media (max-width: 1024px) {
  .top__logo,
  .top__back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .foot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .verder__lijst a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* links midden in een zin blijven inline: die uitrekken breekt de regelval,
     en de richtlijn maakt voor inline-links juist een uitzondering */
}
