@import url('colors_and_type.css');

/* SmartPort — Shared styles for all prototype pages */

500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');



/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--fg-1); background: var(--bg-1); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--fg-link); text-decoration: underline; text-underline-offset: 3px; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   ACCESSIBILITY — WCAG 2.2 AA baseline (token-level)
   ============================================================ */

/* Skip link (WCAG 2.4.1) — verschijnt bij keyboard-focus */
.sp-skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 999;
  background: var(--sp-charcoal-800); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.sp-skip-link:focus { top: 16px; outline: 2px solid var(--sp-cyan); outline-offset: 2px; }

/* Visually hidden (WCAG 1.3.1) — wel voor screen readers, niet visueel */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  border: 0;
}

/* Focus-visible (WCAG 2.4.7) — 2px cyaan ring met offset; ALTIJD zichtbaar */
:focus-visible {
  outline: 2px solid var(--sp-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--sp-cyan);
  outline-offset: 2px;
}

/* Minimum touch-target (WCAG 2.5.8 AA: 24×24px) — UI knoppen halen 44×44 (AAA) */
.btn, .sp-nav__link, .sp-nav__search, .tag, .chip, button[type] {
  min-height: 24px;
}

/* Reduced motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* High-contrast preference (Windows) — bewaakt outline en borders */
@media (prefers-contrast: more) {
  
  .btn { border-width: 2px; }
}

/* Form: error state token (WCAG 3.3.1) */
.field-error { color: var(--semantic-error, #C8302E); font-size: 13px; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.field-error::before { content: "⚠"; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .container, .container--narrow { padding: 0 20px; } }

/* NAV */
.sp-nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border-1);
  height: 68px; display: flex; align-items: center;
}
.sp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.sp-nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; }
.sp-nav__brand img { height: 38px; }
.sp-nav__links { display: flex; align-items: center; gap: 2px; }
.sp-nav__link {
  font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--fg-1);
  padding: 8px 14px; border-radius: var(--radius-md); text-decoration: none; cursor: pointer;
  border: none; background: none; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sp-nav__link:hover, .sp-nav__link.is-active { background: var(--sp-cyan-50); color: var(--sp-cyan-700); }
.sp-nav__actions { display: flex; gap: 8px; align-items: center; }
.sp-nav__search {
  width: 36px; height: 36px; border-radius: var(--radius-pill);
  background: var(--neutral-100); border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: var(--fg-1);
  transition: background var(--dur) var(--ease);
}
.sp-nav__search:hover { background: var(--sp-cyan-50); color: var(--sp-cyan-700); }

/* ALERT BANNER */
.alert-banner--reserved {
  background: #F0F0F0; border-bottom: 1px dashed var(--neutral-300);
  padding: 9px 0;
}
.alert-banner--reserved .alert-banner__inner { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--neutral-500); font-style: italic; gap: 12px; }

/* BUTTONS — overgenomen 1:1 uit SmartPort DS (ui_kits/website/styles.css + preview/buttons.html) */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: var(--radius-md); border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap; line-height: 1.2;
}
.btn--primary { background: var(--sp-cyan); color: #fff; }
.btn--primary:hover { background: var(--sp-cyan-600); }
.btn--primary:active { background: var(--sp-cyan-700); }
.btn--secondary { background: transparent; color: var(--fg-1); border-color: var(--neutral-300); }
.btn--secondary:hover { border-color: var(--sp-cyan); color: var(--sp-cyan-700); }
.btn--inverse { background: #fff; color: var(--sp-charcoal); }
.btn--inverse:hover { background: var(--sp-cyan-50); }
.btn--ghost { background: transparent; color: var(--sp-cyan-700); padding-left: 4px; padding-right: 4px; border: none; font-weight: 600; }
.btn--ghost:hover { color: var(--sp-charcoal); }
/* Op donkere achtergrond */
.btn--ghost-on-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn--ghost-on-dark:hover { background: #fff; color: #000; border-color: #fff; }
/* Tekst-link knop */
.btn--text-link { background: transparent; border: none; color: var(--sp-cyan-700); padding: 10px 4px; text-decoration: underline; text-underline-offset: 3px; }
.btn--text-link:hover { color: var(--sp-charcoal); }
/* Disabled state — geldt voor alle varianten */
.btn[disabled], .btn--disabled { background: var(--neutral-100); color: var(--neutral-400); border-color: transparent; cursor: not-allowed; pointer-events: none; }

/* CHIPS / TAGS — overgenomen 1:1 uit SmartPort DS, met line-height:1 fix voor optische centrering */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 10px; border-radius: var(--radius-pill); letter-spacing: .01em; white-space: nowrap; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.chip--running   { background: var(--sp-cyan-100); color: var(--sp-cyan-700); }
.chip--running .chip__dot   { background: var(--sp-cyan); }
.chip--completed { background: var(--neutral-100); color: var(--neutral-700); }
.chip--completed .chip__dot { background: var(--neutral-400); }
.chip--future    { background: #FFFFFF; color: var(--sp-cyan-700); border: 1px solid var(--sp-cyan); }
.chip--future .chip__dot    { background: var(--sp-cyan); }
.chip--dev       { background: #FFF3CD; color: #7A5C00; }
.chip--dev .chip__dot       { background: #C97A1F; }

.tag { display: inline-flex; align-items: center; background: var(--sp-cyan-50); color: var(--sp-cyan-700); border: 1px solid var(--sp-light-cyan); padding: 6px 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--dur) var(--ease); }
.tag:hover, .tag.is-active { background: var(--sp-cyan); color: #fff; border-color: var(--sp-cyan); }

.eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-cyan); }

/* BREADCRUMB */
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--neutral-500); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--neutral-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--sp-cyan-700); }
.breadcrumb__sep { color: var(--neutral-300); }

/* SECTIONS */
.section { padding: 80px 0; }
.section--soft { background: var(--sp-cyan-50); }
.section--dark { background: var(--sp-charcoal); color: #fff; }
.section--muted { background: var(--neutral-100); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head h2 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; color: var(--fg-1); }
.section--dark .section__head h2 { color: #fff; }

/* GRIDS */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (max-width: 900px) { .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-grid-3, .cards-grid-4, .cards-grid-2 { grid-template-columns: 1fr; } }

/* CARDS */
.card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); cursor: pointer; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card__media { height: 160px; background: var(--sp-charcoal); position: relative; overflow: hidden; flex-shrink: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--sm { height: 120px; }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-cyan-700); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; color: var(--fg-1); }
.card__excerpt { font-size: 13px; color: var(--neutral-500); line-height: 1.5; }
.card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.card__meta { display: flex; gap: 6px 12px; font-size: 11px; line-height: 1.4; color: var(--neutral-500); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border-1); flex-wrap: wrap; align-items: flex-start; }
.card__meta > span { min-width: 0; flex: 1 1 0; }
.card__meta b { color: var(--fg-1); font-weight: 700; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; display: block; margin-bottom: 1px; line-height: 1.25; max-width: 11ch; }

/* Kennis-overzicht: uitgelicht item in grid — blauwe kaart, witte tekst (WCAG AA op --sp-cyan-700) */
.card--featured {
  background: var(--sp-cyan-700);
  border: none;
  color: #fff;
}
.card--featured:hover {
  background: #006891;
  border: none;
  box-shadow: var(--shadow-2);
}
.card--featured .card__title { color: #fff; }
.card--featured .card__excerpt { color: rgba(255, 255, 255, 0.9); }
.card--featured .card__meta {
  color: rgba(255, 255, 255, 0.78);
  border-top-color: rgba(255, 255, 255, 0.22);
}
.card--featured .card__meta b { color: rgba(255, 255, 255, 0.9); }
.card--featured .k-type { color: var(--sp-light-cyan); }
.card--featured .k-type::before { background: var(--sp-light-cyan); }
.card--featured__pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--sp-cyan-700);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/*
 * FEATURED PUBLICATION (kennis) — editorial spotlight, geen klikbare kaart.
 * Geen :hover op .featured-card (geen border/shadow/lift). Alleen links binnenin.
 */
.featured-wrap { margin-bottom: 48px; }
.featured-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 22px;
  overflow: hidden;
  padding: 36px 40px;
}
.featured-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 186, 240, 0.10), transparent 70%);
  pointer-events: none;
}
.featured-card__ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-cyan-700);
  margin-bottom: 24px;
}
.featured-card__ribbon::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--sp-cyan);
}
.featured-card__ribbon__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(0, 186, 240, 0.14);
  color: var(--sp-cyan-700);
}
.featured-card__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: stretch;
}
.featured-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.featured-card__type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-charcoal-600);
  margin-bottom: 8px;
}
.featured-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--sp-charcoal-800);
  margin: 0 0 14px;
  max-width: 20ch;
}
.featured-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.featured-card__title a:hover { color: var(--sp-cyan-700); }
.featured-card__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sp-charcoal-600);
  max-width: 58ch;
  margin: 0 0 18px;
}
.featured-card__pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.featured-card__pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  color: var(--sp-charcoal-600);
  background: transparent;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
}
.featured-card__panel {
  margin-top: auto;
  padding: 20px 22px;
  background: var(--sp-cyan-50);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.featured-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--sp-charcoal-600);
}
.featured-card__facts li { display: flex; align-items: baseline; gap: 6px; }
.featured-card__facts b {
  font-weight: 700;
  color: var(--sp-charcoal-800);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.featured-card__facts a {
  color: var(--sp-cyan-700);
  font-weight: 600;
  text-decoration: none;
}
.featured-card__facts a:hover { text-decoration: underline; text-underline-offset: 2px; }
.featured-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.featured-card__actions .btn { padding: 12px 20px; font-size: 14px; }
.featured-card__cover {
  position: relative;
  width: 168px;
  align-self: stretch;
  min-height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sp-charcoal-800);
  box-shadow: 0 8px 24px rgba(8, 28, 52, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.featured-card__cover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 28, 52, 0.16);
}
.featured-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-card__cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.72) 100%);
}
.featured-card__cover__label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
}
.featured-card__cover__label small {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  font-weight: 600;
  margin-bottom: 4px;
}
@media (max-width: 800px) {
  .featured-card { padding: 28px 24px; }
  .featured-card__grid { grid-template-columns: 1fr; gap: 24px; }
  .featured-card__cover {
    width: 100%;
    max-width: 200px;
    min-height: 0;
    aspect-ratio: 3 / 4;
    align-self: flex-start;
  }
  .featured-card__title { max-width: none; }
}

/* FILTER BAR */
.filter-bar { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 16px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; box-shadow: var(--shadow-1); }
.filter-bar__group { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 160px; }
.filter-bar__label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--neutral-500); }
.filter-bar__select { border: 1px solid var(--border-2); border-radius: var(--radius-md); padding: 8px 30px 8px 12px; font-family: var(--font-body); font-size: 13px; color: var(--fg-1); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; cursor: pointer; appearance: none; }
.filter-bar__search { flex: 2; min-width: 220px; border: 1px solid var(--border-2); border-radius: var(--radius-md); padding: 9px 12px 9px 36px; font-family: var(--font-body); font-size: 13px; color: var(--fg-1); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 10px center; }
.filter-bar__search:focus, .filter-bar__select:focus { outline: 2px solid var(--sp-cyan); outline-offset: 1px; }

/* FACT STRIP */
.fact-strip { display: flex; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.fact-strip__item { flex: 1; padding: 20px 24px; text-align: center; border-right: 1px solid var(--border-1); }
.fact-strip__item:last-child { border-right: none; }
.fact-strip__val { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; color: var(--sp-cyan); }
.fact-strip__key { font-size: 12px; color: var(--neutral-500); margin-top: 2px; font-weight: 500; }

/* HERO */
.hero { background: var(--sp-charcoal); color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(0,186,240,.14), transparent 55%), radial-gradient(circle at 10% 80%, rgba(162,224,250,.07), transparent 55%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 60px; line-height: 1.0; letter-spacing: -0.03em; margin: 16px 0 20px; }
.hero h1 em { font-style: normal; color: var(--sp-cyan); }
.hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.78); margin-bottom: 28px; max-width: 540px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: #2E2A29; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Hero detail */
.hero--detail { padding: 56px 0 64px; }
.hero--detail .hero__inner { grid-template-columns: 1fr; max-width: 860px; }
.hero--detail h1 { font-size: 46px; margin-top: 12px; }
.hero__meta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.hero__fact { font-size: 13px; color: rgba(255,255,255,.7); }
.hero__fact strong { color: #fff; }

/* SIDEBAR LAYOUT */
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 20px; }
.sidebar-card--accent {
  background: var(--sp-cyan-50);
  border: none;
}
.sidebar-card .btn--block {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  white-space: normal;
  text-align: center;
  font-size: 14px;
  padding: 11px 16px;
  line-height: 1.35;
}
.sidebar-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sp-cyan-700); margin-bottom: 14px; }
.sidebar-dl { display: grid; grid-template-columns: minmax(112px, auto) minmax(0, 1fr); gap: 6px 12px; align-items: start; font-size: 13px; }
.sidebar-dl dt { margin: 0; font-weight: 700; color: var(--fg-1); white-space: nowrap; }
.sidebar-dl dd { margin: 0; min-width: 0; color: var(--neutral-500); display: flex; align-items: center; }

/* CONTENT BLOCKS */
.content-block { margin-bottom: 40px; }
.content-block h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.015em; margin-bottom: 14px; color: var(--fg-1); }
.content-block h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--fg-1); }
.content-block p { font-size: 15px; line-height: 1.7; color: var(--fg-1); margin-bottom: 12px; }
.content-block ul { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.content-block ul li { display: flex; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--fg-1); }
.content-block ul li::before { content: ""; width: 8px; height: 8px; background: var(--sp-cyan); clip-path: polygon(0 50%,50% 0,100% 50%,50% 100%); flex-shrink: 0; margin-top: 6px; }

.callout { background: var(--sp-cyan-50); border-left: 3px solid var(--sp-cyan); padding: 14px 16px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: 20px; }
.callout p { font-size: 14px; margin: 0; }
.callout--warning { background: #FFF3CD; border-left-color: #C97A1F; }
.callout--optional { background: var(--neutral-100); border-left-color: var(--neutral-300); }

.insight-bullets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.insight-bullet { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md); padding: 14px 16px; }
.insight-bullet__num { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; color: var(--sp-cyan); line-height: 1; flex-shrink: 0; width: 32px; }
.insight-bullet__text { font-size: 14px; line-height: 1.55; color: var(--fg-1); padding-top: 4px; }

/* PARTNER ROW */
.partner-row { display: flex; gap: 0; border: 1px solid var(--border-1); border-radius: var(--radius-md); overflow: hidden; background: #fff; flex-wrap: wrap; }
.partner-logo { flex: 1; min-width: 120px; aspect-ratio: 3/1; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--border-1); color: var(--neutral-400); font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.partner-logo:last-child { border-right: none; }

/* PROJECT FOOTER CTA (consistente opmaak op detailpagina's) */
.project-footer-cta {
  background: var(--sp-charcoal);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.project-footer-cta__eyebrow { color: var(--sp-light-cyan); margin-bottom: 8px; }
.project-footer-cta__text { font-size: 15px; line-height: 1.5; margin: 0; color: #fff; }
.project-footer-cta .btn { font-size: 15px; padding: 12px 22px; }

/* PROJECT — gerelateerd nieuws & projecten (full-width onder detail-layout) */
.project-related .content-block--last { margin-bottom: 0; }
.project-related .content-block + .content-block { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border-1); }
.project-related__news .card--news { height: 100%; }
.project-related__news .card__excerpt { margin-top: 6px; }
.card__meta--sub { margin-top: 8px; }
.card__meta--sub span { font-size: 12px; color: var(--neutral-500); }
.card__meta--sub span:not(:last-child)::after { content: "·"; margin: 0 6px; color: var(--neutral-300); }

/* PROJECT — vrije body (ACF) */
.project-body { font-size: 15px; line-height: 1.7; color: var(--fg-1); }
.project-body p { margin-bottom: 12px; }
.project-body p:last-child { margin-bottom: 0; }
.project-body .callout { margin-bottom: 16px; }
.project-body .project-body__lead { font-size: 16px; line-height: 1.65; margin-bottom: 20px; }

/* Responsive 16:9 video embeds — full column width */
.project-body .project-video,
.content-block .project-video,
.project-video {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 0;
  padding: 0 0 56.25%; /* 16:9 fallback (works without aspect-ratio) */
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
  background: #111;
  box-sizing: border-box;
}
@supports (aspect-ratio: 16 / 9) {
  .project-body .project-video,
  .content-block .project-video,
  .project-video {
    height: auto;
    padding-bottom: 0;
  }
}
.project-video iframe,
.project-body .project-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border: 0;
}
.project-video__caption {
  font-size: 13px;
  color: var(--neutral-500);
  margin: -8px 0 20px;
}
.project-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
  color: var(--fg-1);
}
.project-body h3:first-child { margin-top: 0; }
.project-body ul { margin: 0 0 12px 1.1em; padding: 0; }
.project-body li { margin-bottom: 6px; }

/* PROJECT — samenvatting / inzichten (ACF WYSIWYG, afgerond) */
.project-summary {
  background: linear-gradient(135deg, var(--sp-cyan-50) 0%, #fff 100%);
  border: 1px solid var(--sp-light-cyan);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.project-summary__body { font-size: 15px; line-height: 1.7; color: var(--fg-1); }
.project-summary__body > p { margin-bottom: 14px; }
.project-summary__body > p:first-child { font-size: 16px; line-height: 1.65; }
.project-summary__body > p:last-child { margin-bottom: 0; }
.project-summary__body ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.project-summary__body li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
}
.project-summary__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-cyan);
}
.project-summary__body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--sp-cyan-700);
  text-decoration: none;
}
.project-summary__body a:hover { color: var(--sp-charcoal); text-decoration: underline; }
.project-summary__body a::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* TIMELINE */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-1); }
.timeline-item:last-child { border-bottom: none; }
.timeline-item__date { font-family: var(--font-mono); font-size: 11px; color: var(--neutral-500); white-space: nowrap; min-width: 80px; padding-top: 2px; }
.timeline-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sp-cyan); flex-shrink: 0; margin-top: 5px; }
.timeline-item__body { flex: 1; }
.timeline-item__title { font-weight: 600; font-size: 14px; color: var(--fg-1); margin-bottom: 3px; }
.timeline-item__text { font-size: 13px; color: var(--neutral-500); }

/* EVENT CARD */
.event-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md); padding: 16px; display: flex; gap: 14px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); cursor: pointer; text-decoration: none; color: inherit; }
.event-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.event-card__date { flex-shrink: 0; width: 56px; border: 1px solid var(--border-1); border-radius: var(--radius-md); overflow: hidden; text-align: center; }
.event-card__month { background: var(--sp-cyan); color: #000; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 0; }
.event-card__day { font-family: var(--font-display); font-weight: 800; font-size: 24px; padding: 8px 0; letter-spacing: -0.03em; }
.event-card__body { flex: 1; }
.event-card__title { font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 5px; }
.event-card__meta { font-size: 12px; color: var(--neutral-500); display: flex; gap: 10px; flex-wrap: wrap; }

/* FOOTER */
.sp-footer { background: var(--sp-footer-surface); color: var(--sp-footer-text); padding: 64px 0 28px; }
.sp-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--sp-footer-border); }
@media (max-width: 1100px) { .sp-footer__top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .sp-footer__top { grid-template-columns: 1fr 1fr; } }
.sp-footer__brand img { height: 64px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.sp-footer__brand p { font-size: 13px; line-height: 1.6; max-width: 280px; }
.sp-footer h4 { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.sp-footer__links { display: flex; flex-direction: column; gap: 8px; }
.sp-footer__links a { color: var(--sp-footer-link); text-decoration: none; font-size: 13px; }
.sp-footer__links a:hover { color: var(--sp-cyan); }
.sp-footer__bottom { padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: var(--sp-footer-muted); flex-wrap: wrap; gap: 12px; }

/* ANNOTATION */
.annotation { display: inline-flex; align-items: center; gap: 5px; background: #FFF3CD; border: 1px solid #C97A1F; border-radius: 4px; font-size: 10px; font-weight: 600; color: #7A5C00; padding: 2px 7px; font-family: var(--font-mono); margin-left: 8px; vertical-align: middle; }
.reserved-zone { background: #F0F0F0; border: 2px dashed var(--neutral-300); border-radius: var(--radius-md); padding: 12px 20px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--neutral-500); font-style: italic; }

/* MISC */
.divider { border: none; border-top: 1px solid var(--border-1); margin: 40px 0; }
.text-muted { color: var(--neutral-500); }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

/* ICONS (inline SVG helpers via CSS) */
.ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* SP CURSOR — diamond mouse-follower (Manevro-stijl). Loaded by sp-cursor.js. */
.sp-cursor {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none; z-index: 9999;
  opacity: 0; will-change: transform, width, height;
  transition: opacity 0.2s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease);
}
.sp-cursor.is-visible { opacity: 1; }
.sp-cursor__shape {
  position: absolute; inset: 0;
  background: transparent;
  border: 1.5px solid rgba(0, 186, 240, 0.55);
  transform: rotate(45deg);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.55s var(--ease);
}
.sp-cursor__label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sp-charcoal); white-space: nowrap;
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.sp-cursor.is-active { width: 104px; height: 104px; }
.sp-cursor.is-active .sp-cursor__shape {
  background: #fff; border-color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transform: rotate(135deg);
}
/* Counter-rotate the label so it stays readable while the shape spins */
.sp-cursor.is-active .sp-cursor__label { opacity: 1; transition-delay: 0.1s; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .sp-cursor { display: none; }
}
/* Note: we do NOT hide the native cursor — the diamond floats alongside as a follower */

/* PAGINATION — voorkeur boven lazy/load-more voor lange lijsten */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 32px; }
.pagination__info { font-size: 13px; color: var(--neutral-500); }
.pagination__info strong { color: var(--fg-1); font-weight: 700; }
.pagination__nav { display: flex; align-items: center; gap: 4px; }
.pagination__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--border-2); background: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--fg-1);
  text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pagination__btn:hover:not([disabled]):not(.is-current) { border-color: var(--sp-cyan); color: var(--sp-cyan-700); }
.pagination__btn[disabled], .pagination__btn--disabled { color: var(--neutral-400); cursor: not-allowed; background: var(--neutral-100); pointer-events: none; }
.pagination__btn.is-current { background: var(--sp-cyan-700); color: #fff; border-color: var(--sp-cyan-700); cursor: default; }
.pagination__btn--prev, .pagination__btn--next { padding: 0 14px; gap: 6px; }
.pagination__ellipsis { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 40px; color: var(--neutral-400); font-weight: 700; }
@media (max-width: 700px) {
  .pagination__btn--hide-mobile { display: none; }
  .pagination { justify-content: center; }
  .pagination__info { width: 100%; text-align: center; }
}
