/* ─── Variables ─────────────────────────────────────── */
:root {
  --green:        #16a34a;
  --green-dark:   #15803d;
  --green-light:  #f0fdf4;

  --red:    #dc2626;
  --blue:   #2563eb;
  --orange: #ea580c;
  --purple: #7c3aed;
  --teal:   #0891b2;
  --slate:  #64748b;

  --text:       #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border:     #e5e7eb;
  --bg:         #fff;
  --bg-subtle:  #f9fafb;
  --bg-dark:    #0f172a;

  --radius:    8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow:    0 4px 20px rgba(0,0,0,.10);
  --max-w:     1200px;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar__wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 60px;
  display: flex;
  align-items: center;
}
.navbar__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  flex-shrink: 0;
  margin-right: 2rem;
  white-space: nowrap;
}
.navbar__logo .accent { color: var(--green); }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.navbar__nav::-webkit-scrollbar { display: none; }
.navbar__nav a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.navbar__nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.navbar__nav a[aria-current="page"] {
  color: var(--green);
  background: rgba(22,163,74,.12);
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 5.5rem 1.25rem 4.5rem;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 680px; margin: 0 auto; }
.hero__chip {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: .875rem;
}
.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* ─── Stats bar ──────────────────────────────────────── */
.statsbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.statsbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8125rem;
  color: var(--text-muted);
}
.statsbar__item strong { color: var(--text); font-weight: 700; }
.statsbar__sep { color: var(--border); }

/* ─── Badges ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .2rem .55rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  color: #fff;
  line-height: 1.4;
}
.badge--breaking    { background: var(--red); }
.badge--update      { background: var(--blue); }
.badge--wedstrijd   { background: var(--orange); }
.badge--achtergrond { background: var(--slate); }
.badge--interview   { background: var(--teal); }
.badge--analyse     { background: var(--purple); }

/* ─── Featured card ──────────────────────────────────── */
.featured {
  display: grid;
  grid-template-columns: 5fr 4fr;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}
.featured__img {
  overflow: hidden;
  min-height: 340px;
}
.featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured__badge { margin-bottom: 1rem; }
.featured__title {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  margin-bottom: .875rem;
}
.featured__title a { color: #fff; }
.featured__title a:hover { color: var(--green); }
.featured__summary {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.featured__meta {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
}
.featured__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--green);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1.375rem;
  border-radius: 6px;
  align-self: flex-start;
  transition: background .15s;
}
.featured__link:hover { background: var(--green-dark); color: #fff; }

/* ─── Section heading ────────────────────────────────── */
.sec-head {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.5rem;
}
.sec-head__title {
  font-size: 1.125rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.sec-head__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Article grid ───────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

/* ─── Article card ───────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__imgwrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-subtle);
}
.card__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.card:hover .card__imgwrap img { transform: scale(1.04); }
.card__body {
  padding: 1.125rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .625rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.card__cat { text-transform: capitalize; }
.card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
  flex: 1;
}
.card__title a:hover { color: var(--green); }
.card__summary {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: .875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot {
  display: flex;
  gap: .75rem;
  font-size: .8rem;
  color: var(--text-light);
  margin-top: auto;
}

/* ─── Page layout ────────────────────────────────────── */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
.page--cols {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

/* ─── Sidebar ────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 1.75rem; }
.sidebar-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem;
}
.sidebar-box__title {
  font-size: .9375rem;
  font-weight: 700;
  padding-bottom: .75rem;
  margin-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-list { display: flex; flex-direction: column; gap: .875rem; }
.sidebar-item { display: flex; gap: .75rem; }
.sidebar-item img {
  width: 68px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.sidebar-item__name {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
}
.sidebar-item__name a:hover { color: var(--green); }
.sidebar-item__date {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

/* ─── Category header ────────────────────────────────── */
.cathead {
  background: var(--bg-dark);
  color: #fff;
  padding: 3.5rem 1.25rem 3rem;
}
.cathead__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.cathead__tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: .5rem;
}
.cathead__title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.cathead__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  line-height: 1.65;
}

/* ─── Article detail ─────────────────────────────────── */
.art {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.art__hd {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.art__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: .875rem 0 1rem;
}
.art__summary {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.art__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .875rem;
  color: var(--text-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.art__imgwrap {
  max-width: 860px;
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.art__imgwrap img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.art__body {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.075rem;
  line-height: 1.82;
  color: #1f2937;
}
.art__body h2,
.art__body h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 .75rem;
}
.art__body h2 { font-size: 1.375rem; }
.art__body h3 { font-size: 1.125rem; }
.art__body p { margin-bottom: 1.375rem; }
.art__body ul, .art__body ol { margin: 0 0 1.375rem 1.5rem; }
.art__body li { margin-bottom: .375rem; }
.art__body strong { font-weight: 700; font-family: 'Inter', sans-serif; color: var(--text); }
.art__body em { font-style: italic; }
.art__body a { color: var(--green); text-decoration: underline; }
.art__body blockquote {
  border-left: 4px solid var(--green);
  margin: 1.75rem 0;
  padding: .875rem 1.375rem;
  background: var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.art__body blockquote p { margin-bottom: 0; }
.art__body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ─── Related ────────────────────────────────────────── */
.related {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
}
.related__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; }

/* ─── Over Ons / prose pages ─────────────────────────── */
.prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.prose h1 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
}
.prose h2 { font-size: 1.25rem; font-weight: 700; margin: 2.5rem 0 .875rem; }
.prose p { font-size: 1rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }
.values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.value {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem;
}
.value h3 { font-size: .9375rem; font-weight: 700; color: var(--green); margin-bottom: .4rem; }
.value p { font-size: .875rem; margin: 0; line-height: 1.55; color: var(--text-muted); }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.4);
  padding: 2rem 1.25rem;
  margin-top: 4rem;
  font-size: .875rem;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__inner a { color: rgba(255,255,255,.45); transition: color .15s; }
.footer__inner a:hover { color: #fff; }
.footer__logo { font-weight: 700; color: rgba(255,255,255,.7); }
.footer__logo .accent { color: var(--green); }

/* ─── Button ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  padding: .625rem 1.5rem;
  border-radius: 6px;
  transition: background .15s;
}
.btn:hover { background: var(--green-dark); color: #fff; }

/* ─── 404 / empty ────────────────────────────────────── */
.empty { text-align: center; padding: 5rem 1.25rem; }
.empty h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.empty p { color: var(--text-muted); margin-bottom: 2rem; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured__img { min-height: unset; aspect-ratio: 16/9; }
  .featured__body { padding: 1.5rem; }
  .page--cols { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .navbar__logo { font-size: 1.125rem; margin-right: 1rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
}
