/* ==========================================================================
   ZorgCISO — main stylesheet.
   Design tokens extracted from the live site's (Kubio) CSS. Section-block
   specific styles (cards, accordion visuals, logo tiles, …) are appended
   by the home/kennisbank tasks; this file is the shared foundation.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------ */
:root {
  --c-blue-dark: #043494;
  --c-blue-hover: #06379A;
  --c-grey: #90A4AE;
  --c-aqua: #08DCFF;
  --c-offwhite: #FAFAFA;
  --c-ink: #212121;
  --c-navy: #02025E;
  --c-mint: #76FBC9;
  --c-periwinkle: #C7D0FF;
  --c-logo-tile: #ECECEC;
  --c-disabled: #C6C6C6;
  --c-accent-term: var(--c-navy);
  /* Two-font system, matching the WordPress site:
     primary = Poppins (headings / pay-off), secondary = IBM Plex Sans
     (body, overlines, kickers, roles, labels, subheadings). */
  --font-body: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  --font-heading: "Poppins", Helvetica, Arial, sans-serif;
  --font-sub: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  /* Form fields render in the secondary type on the WordPress site
     (Open Sans is bundled there but never actually applied). */
  --font-form: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  /* Kennisartikel card titles are the only place the WordPress site uses
     Kumbh Sans — keep them on a dedicated token. */
  --font-article-title: "Kumbh Sans", Helvetica, Arial, sans-serif;
  --container-max: 1232px;
}

/* Derived layout tokens (project additions, not part of the extracted
   colour/font token set above). */
:root {
  --header-height: 100px;
}
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }
}

/* 2. Reset-lite ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* 3. Typography ----------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-navy);
  background-color: #fff;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.4em;
  line-height: 1.2;
  color: var(--c-navy);
  margin: 0 0 0.5em;
}
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5em;
  line-height: 1.3;
  color: var(--c-navy);
  margin: 0 0 0.5em;
}
h4 {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 1.6em;
  color: var(--c-blue-dark);
  margin: 0 0 0.5em;
}
h5 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.2em;
  color: var(--c-navy);
  margin: 0 0 0.5em;
}
h6,
.kicker {
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--c-blue-dark);
  margin: 0 0 0.75em;
}
.lead {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2em;
  line-height: 1.5;
}
@media (max-width: 767px) {
  h1,
  h2 {
    font-size: 2em;
  }
}
/* Tablet step for large headings (Task 5 fix round 2, matches live design). */
@media (min-width: 768px) and (max-width: 1023px) {
  h1,
  h2 {
    font-size: 2.4em;
  }
}

a {
  color: var(--c-navy);
  text-decoration: underline;
}
a:hover {
  color: var(--c-blue-hover);
}
/* Links inside the stappenplan (accordion) section are mint. */
.section--stappenplan a {
  color: var(--c-mint);
}

/* 4. Section backgrounds & navy overrides -------------------------------- */
.section--navy {
  background-color: var(--c-navy);
}
.section--white {
  background-color: #fff;
}
.section--mint {
  background-color: var(--c-mint);
}
.section--periwinkle {
  background-color: var(--c-periwinkle);
}
/* On navy sections all text/headings override to off-white. */
.section--navy,
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy h5,
.section--navy h6,
.section--navy .lead,
.section--navy p,
.section--navy li {
  color: var(--c-offwhite);
}
/* Kickers on navy are mint, not off-white (live design). Nested white
   cards re-override further down: .block-text-card__card .kicker and
   .contact-form__success .kicker. */
.section--navy .kicker {
  color: var(--c-mint);
}

/* 5. Container ------------------------------------------------------------ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px; /* 30px grid gutter */
  padding-right: 15px;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max);
  }
}

/* 6. Section spacing -------------------------------------------------------
   Base: 100px desktop / 60px tablet (768-1023) / 30px mobile (<=767).
   The modifier classes below come AFTER the media queries on purpose:
   equal specificity, so source order lets them win at every width. */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
@media (max-width: 767px) {
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
.section--hero {
  /* 150px section padding + compensation for the overlapping header. */
  padding-top: calc(var(--header-height) + 150px);
  padding-bottom: 150px;
}
.section--text-card {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section--team {
  padding-top: 96px;
  padding-bottom: 76px;
}
.section--cta-banner {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section--footer-strip {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Page-title hero band (kennisbank / cookie-policy / 404 style): navy
   band under the overlapping header, holding only the page <h1>. */
.page-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
}
.page-hero h1 {
  margin: 0;
}
/* White variant: the title sits above the content column instead of in
   a navy band; tight bottom padding so the first section follows closely. */
.page-hero--white {
  padding-bottom: 20px;
}
.page-hero--white h1 {
  color: var(--c-navy);
}

/* Anchored items inside a section (cards, accordion items, roadmap steps,
   article blocks) stop just under the sticky header when linked to. Whole
   sections don't need this: their top padding already clears it. */
.diensten-card[id],
.cards-card[id],
.accordion__item[id],
.roadmap-anchor[id],
.artikel-block[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* 7. Buttons ---------------------------------------------------------------- */
.btn-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--c-offwhite);
  background-color: var(--c-navy);
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.btn-pill:hover {
  background-color: var(--c-blue-hover);
  color: var(--c-offwhite);
}

.btn-submit {
  display: inline-block;
  font-family: var(--font-form);
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--c-offwhite);
  background-color: var(--c-navy);
  padding: 15px 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
/* Every filled button hovers by darkening its own fill — no button jumps
   to a colour it does not already wear. Each hover lives beside the rule
   that sets its resting colour. */
.btn-submit:hover {
  background-color: var(--c-blue-hover);
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--c-navy);
  background: transparent;
  text-decoration: underline;
}
.btn-readmore:hover {
  color: var(--c-blue-dark);
}
.btn-readmore svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Card shadow token (used by the section-block styles in later tasks). */
.card-shadow {
  box-shadow: 0 19px 18px rgba(0, 0, 0, 0.16);
}

/* 8. Header ------------------------------------------------------------------
   Navy bar that overlaps the hero (absolute), becomes fixed with a
   slide-down animation + shadow after scrolling past it (main.js adds
   .site-header--sticky). */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: var(--c-navy);
}
.site-header--sticky {
  position: fixed;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  animation: header-slide-down 0.5s ease;
}
@keyframes header-slide-down {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header__logo img {
  max-height: 38px;
  width: auto;
}
.site-header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--c-offwhite);
}
@media (max-width: 767px) {
  .site-header__logo img {
    max-height: 24px;
  }
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-nav__item {
  position: relative;
}
.site-nav__link {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--c-offwhite);
  text-decoration: none;
  transition: color 0.3s ease;
}
/* Hover/current: mint text + 3px bottom border growing from the left. */
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--c-mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.site-nav__link:hover,
.site-nav__link.is-current {
  color: var(--c-mint);
}
.site-nav__link:hover::after,
.site-nav__link.is-current::after {
  transform: scaleX(1);
}

/* Dropdown (for possible future submenu items). */
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px 0;
  background-color: #fff;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.04);
  display: none;
}
.site-nav__item:hover > .site-nav__dropdown {
  display: block;
}
.site-nav__dropdown a {
  display: block;
  padding: 8px 20px;
  color: var(--c-navy);
  text-decoration: none;
}
.site-nav__dropdown a:hover {
  color: var(--c-blue-hover);
}

/* 9. Hamburger + offcanvas (mobile menu, 300px from the right) ---------- */
.menu-toggle {
  display: none;
  color: var(--c-offwhite);
}
.menu-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}
@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.offcanvas-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  width: 300px;
  max-width: 85vw;
  padding: 80px 30px 30px;
  background-color: var(--c-navy);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
.offcanvas-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s linear 0s;
}
.offcanvas-menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.offcanvas-menu__link {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--c-offwhite);
  text-decoration: none;
}
.offcanvas-menu__link:hover {
  color: var(--c-mint);
}

/* 9b. Nav "Contact" CTA + contact pop-up (modal) ------------------------- */
.site-header__logo {
  margin-right: auto;
}
.site-header__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: var(--c-navy);
  background-color: var(--c-mint);
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.site-header__cta:hover {
  background-color: #5ef0b8;
  color: var(--c-navy);
}
@media (max-width: 1023px) {
  .site-header__cta {
    display: none;
  }
}
body.has-modal-open {
  overflow: hidden;
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(2, 2, 94, 0.55);
}
.contact-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 20px;
  padding: 48px 40px 40px;
  box-shadow: 0 24px 60px rgba(2, 2, 94, 0.35);
}
.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  color: var(--c-navy);
  background: none;
  border: 0;
  cursor: pointer;
}
.contact-modal__heading {
  font-size: 1.6em;
  margin: 0 0 8px;
}
.contact-modal__intro {
  margin: 0 0 24px;
  color: var(--c-navy);
}
.contact-modal .contact-form input[type="text"],
.contact-modal .contact-form input[type="email"],
.contact-modal .contact-form input[type="number"],
.contact-modal .contact-form input[type="tel"],
.contact-modal .contact-form input[type="url"],
.contact-modal .contact-form textarea {
  border-color: var(--c-periwinkle);
}
.contact-modal__success .rich-text {
  color: var(--c-navy);
}
@media (max-width: 767px) {
  .contact-modal__dialog {
    padding: 40px 24px 28px;
  }
}

/* 10. Accordion behaviour (visual styling lives with the stappenplan
   block styles; these rules implement open/close + plus/minus swap).
   The body animates via the grid-rows 0fr→1fr trick: it is always
   rendered, but its single row collapses to zero height when closed
   (display:none can't transition). */
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  padding-bottom: 0;
  transition: grid-template-rows 0.35s ease, padding-bottom 0.35s ease;
}
.accordion__body > .rich-text {
  overflow: hidden;
  min-height: 0;
}
/* Bottom spacing lives here (not on the clipped inner wrapper, where
   its padding would hold the closed box open) and animates in step
   with the row height. */
.js-accordion-item.is-open .accordion__body {
  grid-template-rows: 1fr;
  padding-bottom: 24px;
}
/* Set by main.js while a link opens an item, so it jumps open at once. */
.accordion--instant .accordion__body {
  transition: none;
}
.js-accordion-item .accordion__icon--minus {
  display: none;
}
.js-accordion-item.is-open .accordion__icon--minus {
  display: inline-block;
}
.js-accordion-item.is-open .accordion__icon--plus {
  display: none;
}

/* 11. Footer (mint, three columns + bottom bar) --------------------------- */
.site-footer {
  padding-top: 60px;
  background-color: var(--c-mint);
  color: var(--c-navy);
  font-size: 14px;
}
.site-footer p {
  margin: 0 0 10px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer__logo {
  display: block;
  width: 90px;
  height: 90px;
}
/* Column titles are h2 for the document outline but render as small
   navy kicker-style labels. */
.site-footer__col-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9em;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--c-navy);
  margin: 0 0 14px;
}
.site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__menu li {
  margin-bottom: 8px;
}
.site-footer a {
  color: var(--c-navy);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--c-blue-dark);
  text-decoration: underline;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid rgba(2, 2, 94, 0.18);
  padding: 18px 0;
  font-size: 12px;
}
.site-footer__bottom p {
  margin: 0;
  color: rgba(2, 2, 94, 0.7);
}
.site-footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
}
.site-footer__legal a {
  color: rgba(2, 2, 94, 0.7);
}
.site-footer__legal a:hover {
  color: var(--c-blue-dark);
}
@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* 12. Rich text content --------------------------------------------------- */
.rich-text img {
  border-radius: 6px;
}
.accent-term {
  color: var(--c-accent-term);
  font-weight: 700;
}

/* ==========================================================================
   HOME BLOCK: hero (Task 5)
   Composes the Task 3 foundation classes (.section, .section--navy,
   .section--hero) on the root element — section padding, navy
   background/text colour and h1 typography all come from the
   foundation, not from here. Only genuinely hero-specific rules remain:
   background-image layering, content centering, the bold subheading
   typography (distinct from .lead) and the bouncing scroll-down arrow.
   ========================================================================== */
.block-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}
.block-hero__subheading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.5em;
  line-height: 1.5;
  margin: 0;
}
/* Mint subheading: needs .section--navy scoping to out-rank the
   .section--navy p off-white cascade (higher specificity than a lone class).
   On the light backgrounds it keeps the navy body colour. */
.section--navy .block-hero__subheading {
  color: var(--c-mint);
}
/* Hero heading matches the live design: weight 700 and a slightly looser
   line-height. A max-width keeps it to two balanced lines (colour and
   3.4em size come from the foundation h1 / .section--navy cascade). */
.block-hero__heading {
  font-weight: 700;
  line-height: 1.3;
  /* Long Dutch compound words (Informatiebeveiliging) break instead of
     overflowing on narrow screens — matches the live design. */
  overflow-wrap: break-word;
}
.block-hero__heading,
.block-hero__subheading,
.block-hero__intro {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.block-hero__intro {
  font-size: 1.05em;
  line-height: 1.7;
  margin-top: 24px;
  margin-bottom: 0;
}
.block-hero__subheading + .block-hero__intro {
  margin-top: 16px;
}
.block-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
  margin-top: 40px;
}
.block-hero__arrow {
  display: inline-block;
  margin-top: 60px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  animation: hero-arrow-bounce 1.6s ease-in-out infinite;
}
@keyframes hero-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* Hero buttons: same shape as the header "Contact" CTA. Primary is filled,
   secondary is an outline in the same colour. Mint on navy, navy on the
   light backgrounds (white / mint / periwinkle). */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 28px;
  border: 2px solid var(--c-navy);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero-btn--primary {
  color: var(--c-offwhite);
  background-color: var(--c-navy);
}
.hero-btn--primary:hover {
  color: var(--c-offwhite);
  background-color: var(--c-blue-hover);
  border-color: var(--c-blue-hover);
}
.hero-btn--secondary {
  color: var(--c-navy);
  background-color: transparent;
}
.hero-btn--secondary:hover {
  color: var(--c-navy);
  background-color: rgba(2, 2, 94, 0.08);
}
.section--navy .hero-btn {
  border-color: var(--c-mint);
}
.section--navy .hero-btn--primary {
  color: var(--c-navy);
  background-color: var(--c-mint);
}
.section--navy .hero-btn--primary:hover {
  color: var(--c-navy);
  background-color: #5ef0b8;
  border-color: #5ef0b8;
}
.section--navy .hero-btn--secondary {
  color: var(--c-mint);
  background-color: transparent;
}
.section--navy .hero-btn--secondary:hover {
  color: var(--c-mint);
  background-color: rgba(118, 251, 201, 0.12);
}

/* Split layouts: left-aligned text next to a rounded image. Without an
   image the text simply stays left-aligned at full width. */
.block-hero--image-right,
.block-hero--image-left {
  text-align: left;
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 100px;
}
.block-hero--image-right .block-hero__heading,
.block-hero--image-right .block-hero__subheading,
.block-hero--image-right .block-hero__intro,
.block-hero--image-left .block-hero__heading,
.block-hero--image-left .block-hero__subheading,
.block-hero--image-left .block-hero__intro {
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
}
.block-hero--image-right .block-hero__buttons,
.block-hero--image-left .block-hero__buttons {
  justify-content: flex-start;
}
.block-hero--has-image .block-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}
.block-hero--image-left .block-hero__media {
  order: -1;
}
.block-hero__media {
  border-radius: 10px;
  overflow: hidden;
}
.block-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 860;
  object-fit: cover;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .block-hero--image-right,
  .block-hero--image-left {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
  }
  .block-hero--has-image .block-hero__inner {
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .block-hero--image-right,
  .block-hero--image-left {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }
  .block-hero--has-image .block-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .block-hero--image-left .block-hero__media {
    order: 0;
  }
}

/* ==========================================================================
   HOME BLOCK: text_card (Task 5)
   Composes the Task 3 foundation classes (.section, .section--navy,
   .section--text-card) plus `.card-shadow` on the card — section
   padding, navy background and the shadow are all foundation, not
   duplicated here. The card is an off-white island nested inside the
   navy section, so its internal padding/radius (no foundation
   equivalent) and a colour "undo" for the .section--navy text-colour
   cascade are the only genuinely block-specific rules kept here.
   ========================================================================== */
.block-text-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.block-text-card__card {
  background: var(--c-offwhite);
  border-radius: 30px;
  padding: 60px;
}
/* On a white section the off-white card would read as a grey box, so
   the card takes the section's white instead. */
.section--white .block-text-card__card {
  background: #fff;
}
.block-text-card__card,
.block-text-card__card h2,
.block-text-card__card p,
.block-text-card__card li {
  color: var(--c-navy);
}
.block-text-card__card h3 {
  color: var(--c-ink);
}
.block-text-card__card .block-text-card__heading--h3 {
  color: var(--c-navy);
}
.block-text-card__card h4 {
  color: var(--c-blue-dark);
}
.block-text-card__card .kicker {
  color: var(--c-blue-dark);
}
.block-text-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}
@media (max-width: 1023px) {
  .block-text-card__card { padding: 40px 30px; }
}
@media (max-width: 767px) {
  .block-text-card__card { padding: 30px 20px; }
}

/* ==========================================================================
   CONTENT BLOCKS: text_section + table_section
   White document-style sections for plain content pages (privacy,
   cookies). Compact vertical padding so consecutive sections read as one
   running text column; width/position come from the AlignmentMixin
   classes on the inner wrapper.
   ========================================================================== */
.section--text-section,
.section--table-section {
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (max-width: 767px) {
  .section--text-section,
  .section--table-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
.block-text-section__heading,
.block-table-section__heading {
  margin-bottom: 0.5em;
}
.block-text-section__body > :last-child,
.block-table-section__intro > :last-child {
  margin-bottom: 0;
}
.block-table-section__intro {
  margin-bottom: 20px;
}
.block-table-section__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.block-table-section table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--c-navy);
  text-align: left;
}
.block-table-section caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding: 0 0 10px;
}
.block-table-section th,
.block-table-section td {
  border: 1px solid #dde3ea;
  padding: 10px 14px;
  vertical-align: top;
}
.block-table-section th {
  background: var(--c-offwhite);
  font-weight: 700;
}
.block-table-section tbody tr:nth-child(even) td {
  background: #fcfcfd;
}

/* ==========================================================================
   HOME BLOCK: section_heading
   A kicker + heading (+ lead) that titles the run of sections below it.
   Tight bottom padding, and the section directly after it drops most of
   its top padding so the heading reads as part of that section.
   ========================================================================== */
.section--section-heading {
  padding-top: 90px;
  padding-bottom: 30px;
}
.block-section-heading__kicker {
  margin-bottom: 8px;
}
.block-section-heading__heading {
  margin: 0;
}
.block-section-heading__lead {
  max-width: 720px;
  margin: 16px auto 0;
}
.block-align--a-left .block-section-heading__lead {
  margin-left: 0;
}
.block-align--a-right .block-section-heading__lead {
  margin-right: 0;
}
.block-section-heading + .section:not(.section--hero) {
  padding-top: 30px;
}
@media (max-width: 767px) {
  .section--section-heading {
    padding-top: 60px;
    padding-bottom: 20px;
  }
}

/* ==========================================================================
   REUSABLE: block width + alignment (AlignmentMixin)
   Full width  → alignment controls the text alignment inside the block.
   Two-thirds / one-third (desktop) → alignment controls the block's
   horizontal position within the section; the text itself stays left.
   Below 1024px the narrower widths collapse back to full width so blocks
   never get too cramped on tablet/mobile. The doubled `.block-align` in the
   position/width selectors raises specificity so these win over a block's own
   single-class max-width / margin (e.g. the accordion column's 720px cap). */
.block-align.block-align--a-left {
  margin-left: 0;
  margin-right: auto;
}
.block-align.block-align--a-center {
  margin-left: auto;
  margin-right: auto;
}
.block-align.block-align--a-right {
  margin-left: auto;
  margin-right: 0;
}
@media (min-width: 1024px) {
  .block-align.block-align--w-2-3 {
    max-width: 66.6667%;
  }
  .block-align.block-align--w-1-3 {
    max-width: 33.3333%;
  }
  .block-align--w-2-3,
  .block-align--w-1-3 {
    text-align: left;
  }
}
.block-align--w-full.block-align--a-left {
  text-align: left;
}
.block-align--w-full.block-align--a-center {
  text-align: center;
}
.block-align--w-full.block-align--a-right {
  text-align: right;
}
.block-align--w-full.block-align--a-center .block-text-card__buttons {
  justify-content: center;
}
.block-align--w-full.block-align--a-right .block-text-card__buttons {
  justify-content: flex-end;
}

/* ==========================================================================
   HOME BLOCK: diensten (Task 6)
   Navy section: heading, one featured mint card (half width on
   desktop) and three centered off-white cards with smaller text.
   Composes the Task 3 foundation classes (.section, .section--navy)
   on the root and `.card-shadow` on the cards — section padding, navy
   background/text colour, h2/h3 typography (incl. responsive steps)
   and the card shadow all come from the foundation. Kept here: card
   internals/layout and the colour "undo" for the .section--navy text
   cascade on both card kinds (off-white and mint cards get navy text).
   ========================================================================== */
.block-diensten__heading {
  margin: 0 0 50px;
  text-align: center;
}
.block-diensten__featured {
  margin-bottom: 30px;
}
.diensten-card {
  border-radius: 30px;
  padding: 40px;
}
.diensten-card,
.diensten-card h2,
.diensten-card h3,
.diensten-card h4,
.diensten-card p,
.diensten-card li {
  color: var(--c-navy);
}
.diensten-card--featured {
  background: var(--c-mint);
  width: 50%;
  margin: 0 auto;
}
.diensten-card--small {
  background: var(--c-offwhite);
  font-size: 0.9em;
}
.block-diensten__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* Card title is weight 700 (foundation h3 default is 600). */
.diensten-card__title {
  font-weight: 700;
  margin: 0 0 16px;
}
/* Lists render with a bold ">" chevron instead of disc bullets (the
   original site typed these as literal "> " text; our content uses
   real <ul><li>, so the marker comes from CSS). */
.diensten-card__body ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.diensten-card__body li::before {
  content: ">";
  font-weight: 700;
  margin-right: 8px;
}
/* Optional card icon (above the title) and CTA button (below the body). */
.diensten-card__icon {
  margin: 0 0 20px;
}
.diensten-card__icon img {
  display: block;
  width: auto;
  max-height: 56px;
}
.diensten-card__button {
  margin-top: 24px;
}
@media (max-width: 1023px) {
  .diensten-card { padding: 30px; }
}
@media (max-width: 767px) {
  .diensten-card--featured { width: 100%; }
  .block-diensten__cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BLOCK: cards (generic card grid with optional icons)
   Composes .section padding + .section--navy/white/mint/periwinkle
   background. Cards keep navy text regardless of the section background
   (undoing the .section--navy off-white cascade) unless the card itself is
   navy. Card style: a 2px navy outline (default), the .card-shadow, or
   neither. Pixel icons are single-colour SVGs painted with a CSS mask, so
   they recolour with the card; uploaded icons render as-is.
   ========================================================================== */
.block-cards__heading {
  margin: 0 0 50px;
  text-align: center;
}
.block-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.block-cards__grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.block-cards__grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-cards__grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-cards__grid--cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.cards-card {
  --card-icon: var(--c-navy);
  display: flex;
  flex-direction: column;
  background: var(--c-offwhite);
  border-radius: 20px;
  padding: 36px 30px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.cards-card,
.cards-card h3,
.cards-card p,
.cards-card li,
.cards-card a {
  color: var(--c-navy);
}
.cards-card--outline {
  border-color: var(--c-navy);
}
.cards-card--shadow:hover,
.cards-card--plain:hover {
  border-color: var(--c-periwinkle);
}
.cards-card--outline:hover {
  border-color: var(--c-blue-hover);
}
.cards-card--bg-white {
  background: #fff;
}
.cards-card--bg-mint {
  background: var(--c-mint);
}
.cards-card--bg-periwinkle {
  background: var(--c-periwinkle);
}
.cards-card--bg-navy {
  --card-icon: var(--c-mint);
  background: var(--c-navy);
}
.cards-card--bg-navy,
.cards-card--bg-navy h3,
.cards-card--bg-navy p,
.cards-card--bg-navy li,
.cards-card--bg-navy a {
  color: var(--c-offwhite);
}
.section--navy .cards-card--outline.cards-card--bg-navy {
  border-color: var(--c-offwhite);
}
.cards-card__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 0 24px;
  background-color: var(--card-icon);
  -webkit-mask: var(--pixel-icon) center / contain no-repeat;
  mask: var(--pixel-icon) center / contain no-repeat;
}
.cards-card__custom-icon {
  display: block;
  width: auto;
  max-width: 112px;
  height: 56px;
  margin: 0 0 24px;
  object-fit: contain;
  object-position: left center;
}
.cards-card__title {
  font-weight: 700;
  margin: 0 0 14px;
}
.cards-card__body {
  font-size: 0.95em;
}
.cards-card__link {
  margin-top: auto;
  padding-top: 20px;
  font-size: 15px;
  font-weight: 600;
}
.cards-card__link svg {
  fill: currentColor;
}
@media (max-width: 1199px) {
  .block-cards__grid--cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .block-cards__grid,
  .block-cards__grid--cols-3,
  .block-cards__grid--cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .block-cards__grid,
  .block-cards__grid--cols-2,
  .block-cards__grid--cols-3,
  .block-cards__grid--cols-5 { grid-template-columns: minmax(0, 1fr); }
  .cards-card { padding: 30px; }
}

/* ==========================================================================
   HOME BLOCK: accordion (Task 6)
   White section with optional pixel-pattern background; kicker,
   heading and collapsible items on the left half (desktop). Items
   render closed. Composes the Task 3 foundation classes (.section,
   .section--white, .section--stappenplan for the mint links, .kicker)
   on the markup — section padding, white background, h2/kicker
   typography (incl. responsive steps) come from the foundation, and
   the open/close mechanics (icon swap and body reveal driven by
   .is-open, toggled by main.js) already ship with the Task 3
   accordion rules. Kept here: the background-image layering, the
   left-column layout and the item visuals (title typography,
   dividers, padding).
   ========================================================================== */
.block-accordion {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.block-accordion__col {
  max-width: 720px;
  margin: 0 auto;
}
.block-accordion__kicker {
  margin: 0 0 12px;
}
.block-accordion__heading {
  margin: 0 0 40px;
}
/* Soft card around the item list (white on the white section, so the
   depth comes from a large blurred navy-tinted shadow + hairline).
   text-align:left keeps the items left-aligned regardless of the block's
   alignment (which only steers the kicker + heading). */
.block-accordion__items {
  text-align: left;
  background: #fff;
  border: 1px solid rgba(2, 2, 94, 0.06);
  border-radius: 30px;
  padding: 10px 40px;
  box-shadow: 0 12px 40px rgba(2, 2, 94, 0.1);
}
.accordion__item {
  border-bottom: 1px solid rgba(2, 2, 94, 0.15);
}
.accordion__item:last-child {
  border-bottom: 0;
}
.accordion__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--c-navy);
}
.accordion__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.4;
}
.accordion__icon {
  flex-shrink: 0;
  color: var(--c-navy);
}
@media (max-width: 1023px) {
  .block-accordion__col { max-width: 100%; }
}
@media (max-width: 767px) {
  .block-accordion__items { padding: 4px 20px; }
}

/* ==========================================================================
   HOME BLOCK: contactpersonen (Task 7)
   Navy section: centered mint heading and two mint cards centered in
   the row. Each card is square-cornered with the photo bleeding to
   the card edges and centered name/role/social icons on the mint
   block below (matches the live design). Composes the Task 3
   foundation classes (.section, .section--navy) on the root and
   `.card-shadow` on the cards — section padding, navy background,
   h2 heading typography (incl. responsive steps) and the card shadow
   all come from the foundation. Kept here: the centered card row,
   card internals, social-icon layout and the colour "undo" for the
   .section--navy text cascade on the mint cards.
   ========================================================================== */
.block-contactpersonen__heading {
  margin: 0 0 50px;
  text-align: center;
}
/* Mint heading: needs .section--navy scoping to out-rank the
   .section--navy h2 off-white cascade. */
.section--navy .block-contactpersonen__heading {
  color: var(--c-mint);
}
.block-contactpersonen__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
/* Rounded and clipped (the photo bleeds to the edges); the transform
   transition smooths the js-tilt push/pull hover effect. */
.contactpersoon-card {
  background: var(--c-mint);
  flex: 0 1 350px;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s ease-out;
  will-change: transform;
}
/* Mint card on navy: explicit colour-undo for all nestable elements. */
.contactpersoon-card,
.contactpersoon-card h2,
.contactpersoon-card h3,
.contactpersoon-card h4,
.contactpersoon-card h5,
.contactpersoon-card p,
.contactpersoon-card li {
  color: var(--c-navy);
}
.contactpersoon-card__photo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 28px;
}
/* The name is an h3 for heading-order a11y but keeps the old h5
   look (font-sub, 700, 1.2em; navy via the card colour-undo). */
.contactpersoon-card__name {
  margin: 0 0 8px;
  padding: 0 20px;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.6;
}
.contactpersoon-card__role {
  margin: 0 0 20px;
  padding: 0 20px;
}
.contactpersoon-card__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 20px 32px;
}
.contactpersoon-card__social-link {
  display: inline-flex;
  color: var(--c-navy);
}
.contactpersoon-card__social-link:hover {
  color: var(--c-blue-dark);
}

/* ==========================================================================
   HOME BLOCK: team_grid (Task 7)
   Navy section, no heading; 6 columns from 768px up (live md-2/lg-2
   columns), stacked on mobile. Photo + h3 name + h5 role. Composes
   the Task 3 foundation classes (.section, .section--navy,
   .section--team) on the root — the 96px/76px section padding, navy
   background and h3/h5 base typography/off-white colour all come
   from the foundation. Kept here: the 6-across grid, photo sizing
   and the name/role size deviations from the foundation defaults.
   ========================================================================== */
.block-team-grid__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}
.team-card {
  text-align: center;
}
.team-card__photo {
  display: block;
  width: 100%;
  height: auto;
}
/* Hover play: the photo tilts and a pair of pixel glasses drops onto
   the eyes. __figure stays put as the hover target (hovering the
   rotating element itself flickers at its corners); __tilt rotates and
   clips the glasses while they wait above the frame. The glasses only
   render for photos with a detected face (TeamMember.glasses_style,
   which sets the --glasses-* variables). */
.team-card__figure {
  position: relative;
}
.team-card__tilt {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-card__glasses {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.25s steps(5);
}
/* The 55% anchor is the lenses' vertical centre in the 22x5 artwork. */
.team-card__glasses svg {
  position: absolute;
  left: var(--glasses-x);
  top: var(--glasses-y);
  width: var(--glasses-width);
  height: auto;
  transform: translate(-50%, -55%) rotate(var(--glasses-angle));
  transform-origin: 50% 55%;
}
.team-card__glasses-frame {
  fill: var(--c-navy);
}
.team-card__glasses-glint {
  fill: var(--c-mint);
}
@media (hover: hover) {
  .team-card__figure:hover {
    z-index: 1;
  }
  .team-card__figure:hover .team-card__tilt {
    transform: rotate(-8deg) scale(1.06);
  }
  .team-card:nth-child(even) .team-card__figure:hover .team-card__tilt {
    transform: rotate(8deg) scale(1.06);
  }
  .team-card__figure:hover .team-card__glasses {
    transform: translateY(0);
    transition: transform 0.6s steps(12) 0.1s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-card__tilt,
  .team-card__glasses,
  .team-card__figure:hover .team-card__glasses {
    transition: none;
  }
  .team-card .team-card__figure:hover .team-card__tilt {
    transform: none;
  }
}
.team-card__name {
  font-size: 1.1em;
  margin: 16px 0 4px;
}
/* The role is a <p> (not a heading) but keeps the old h5 font. */
.team-card__role {
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: 0.9em;
  line-height: 1.4;
  margin: 0;
}
/* Mint role: needs .section--navy scoping to out-rank the
   .section--navy h5 off-white cascade. */
.section--navy .team-card__role {
  color: var(--c-mint);
}
@media (max-width: 767px) {
  .block-team-grid__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOME BLOCK: quote (Task 7)
   Navy section, centered: hospital outline icon (50px, off-white via
   currentColor), quote paragraph, h5 attribution. Composes the Task 3
   foundation classes (.section, .section--navy) on the root and
   `.lead` on the quote text — section padding, navy background,
   off-white text colour and the lead/h5 typography all come from the
   foundation. Kept here: centering, icon sizing and the quote-text
   measure.
   ========================================================================== */
.block-quote__inner {
  max-width: 820px;
}
.block-quote__icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 0 0 30px;
}
.block-quote__text {
  margin: 0 0 24px;
  font-family: var(--font-sub);
  font-weight: 600;
}
/* The attribution is a <p> (not a heading): font-sub, regular, one
   step smaller than the quote text. */
.block-quote__attribution {
  margin: 0;
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: 1em;
}
/* Mint attribution: needs .section--navy scoping to out-rank the
   .section--navy h5 off-white cascade. */
.section--navy .block-quote__attribution {
  color: var(--c-mint);
}

/* ==========================================================================
   HOME BLOCK: cta_banner (Task 8)
   Periwinkle band with an optional pixel background image (inline
   style on the section root) and a centered off-white rounded card:
   heading + body on the left, pill button on the right. Composes the
   Task 3 foundation classes (.section, .section--periwinkle,
   .section--cta-banner) on the root and `.lead` on the body text —
   the periwinkle background, the 90px vertical section padding and
   the body typography all come from the foundation. Kept here: the
   background-image layering, the card (flex row, off-white, 30px
   radius) and the h3 heading deviations (700/2em).
   ========================================================================== */
.block-cta-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.block-cta-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 980px;
  margin: 0 auto;
  background: var(--c-offwhite);
  border-radius: 30px;
  padding: 60px;
}
/* Cap the text column so the button lands in the card's right half.
   text-align:left keeps the heading/body left-aligned; the block's
   alignment only steers the banner's width and position, not its text. */
.block-cta-banner__text {
  flex: 0 1 480px;
  text-align: left;
}
.block-cta-banner__heading {
  font-weight: 700;
  font-size: 2em;
  line-height: 1.2;
  margin: 0 0 16px;
}
.block-cta-banner__body {
  margin: 0;
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: 1em;
}
@media (max-width: 767px) {
  .block-cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
  .block-cta-banner__heading { font-size: 1.6em; }
}

/* ==========================================================================
   HOME BLOCK: opdrachtgevers (Task 8)
   White section: centred h2 heading + a centred static grid of logo
   tiles in the editor's order. Tiles wrap, and each row centres
   independently, so a trailing part-row sits centred beneath a full
   one. Logos render small and unboxed (no tile background) so the
   group stays subtle; plain images, never links — live parity.
   Composes the Task 3 foundation classes (.section, .section--white)
   on the root.
   ========================================================================== */
.block-opdrachtgevers__heading {
  margin: 0 0 50px;
  text-align: center;
}
/* Static centred grid: the tiles wrap and each row centres itself, so a
   trailing part-row sits centred under a full one. */
.block-opdrachtgevers__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 60px;
}
.block-opdrachtgevers__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
}
.block-opdrachtgevers__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .block-opdrachtgevers__tile { width: 150px; height: 80px; }
}

/* ==========================================================================
   HOME BLOCK: generic rich_text and image (Task 8)
   Plain content sections for editor use outside the fixed layout.
   Both compose the Task 3 foundation class (.section) on the root —
   section padding (incl. responsive steps) comes from the
   foundation. Kept here: the centered, rounded image.
   ========================================================================== */
.block-image__img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}
/* Full screen width: an edge-to-edge band that butts against the
   neighbouring sections, so no section padding and no rounded corners. */
.block-image--full {
  padding-top: 0;
  padding-bottom: 0;
}
.block-image--full .block-image__img {
  width: 100%;
  border-radius: 0;
}
/* Fixed-height band: the frame sets the height and the image covers it. */
.block-image__frame {
  position: relative;
  overflow: hidden;
}
.block-image--h-small .block-image__frame { height: 40vh; }
.block-image--h-medium .block-image__frame { height: 60vh; }
.block-image--h-large .block-image__frame { height: 80vh; }
.block-image--h-small .block-image__frame,
.block-image--h-medium .block-image__frame,
.block-image--h-large .block-image__frame {
  min-height: 240px;
  border-radius: 6px;
}
.block-image--full .block-image__frame {
  border-radius: 0;
}
.block-image--h-small .block-image__img,
.block-image--h-medium .block-image__img,
.block-image--h-large .block-image__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* Parallax: the image is taller than its frame; main.js shifts it within
   that slack (--parallax-shift) as the frame scrolls through the viewport. */
.block-image--parallax .block-image__img {
  top: -15%;
  height: 130%;
  transform: translate3d(0, var(--parallax-shift, 0px), 0);
  will-change: transform;
}

/* ==========================================================================
   HOME BLOCK: image_feature — a large image with an optional heading above
   and description below. Width + horizontal position come from the shared
   AlignmentMixin utilities (.block-align--*) on the inner wrapper; this block
   only adds the internal spacing. The image fills the (possibly narrowed)
   inner, so it scales and repositions with the block's alignment.
   ========================================================================== */
.block-image-feature__heading {
  margin: 0 0 32px;
}
.block-image-feature__img {
  display: block;
  width: 100%;
  height: auto;
}
.block-image-feature__caption {
  max-width: 760px;
  margin: 24px auto 0;
}

/* ==========================================================================
   CONTACT: ContactPage (/contact/) + HOME BLOCK: contact (Task 9)
   Two-column navy section (copy left, form right) and the shared
   .contact-form styles. Composes the Task 3 foundation classes
   (.section, .section--navy, .kicker, .lead, .btn-submit) — navy
   background, section padding (incl. responsive steps) and the
   h1/h2/kicker/lead typography (incl. responsive steps) all come
   from the foundation. Kept here: the two-column grid, the
   placeholder-only form controls (labels stay in the DOM but are
   visually hidden — live parity), the submit colour override (the
   live Lead Form Builder plugin styling, not the theme) and the
   white success card with its navy-cascade colour undo
   (shared-context amendment 4).
   ========================================================================== */
.block-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .block-contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* Contact lead copy overrides the foundation .lead (Poppins 600) to
   body type at normal weight. */
.block-contact__intro .lead,
.contact-page-section__intro {
  font-family: var(--font-body);
  font-weight: 400;
}
.contact-form {
  font-family: var(--font-form);
}
.contact-form__field {
  position: relative;
  margin-bottom: 17px;
}
/* Required fields get a red asterisk pinned in the input's top-right
   corner: the labels are visually hidden (placeholder-only design),
   so the label is no place for a visible marker. Screen readers get
   "(verplicht)" appended to the hidden label instead. */
.contact-form__field--required::after {
  content: "*";
  position: absolute;
  top: 12px;
  right: 14px;
  color: #e5484d;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}
/* Placeholder-only fields (live parity): visually hidden, not display:none,
   so the labels stay available to screen readers. */
.contact-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea {
  display: block;
  width: 100%;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  color: var(--c-navy);
  font: 400 16px/1.5 var(--font-form);
  padding: 10px 14px;
}
.contact-form ::placeholder {
  color: var(--c-navy);
  opacity: 1;
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form__errors {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  color: var(--c-mint);
  font-size: 14px;
}
/* Submit colours match the live Lead Form Builder plugin styling (not the
   theme): mint with navy text. Font, padding, 6px radius, cursor and the
   shared hover come from the foundation .btn-submit. */
.contact-form .btn-submit {
  background-color: var(--c-mint);
  color: var(--c-navy);
  margin-top: 8px;
}
/* Two classes so it beats the resting .contact-form .btn-submit above. */
.contact-form .btn-submit:hover {
  background-color: #5ef0b8;
}
/* White card on a navy section: undo the .section--navy off-white cascade
   for every nestable rich-text element (shared-context amendment 4). */
.contact-form__notice {
  margin: 14px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: inherit;
  opacity: 0.75;
}
.contact-form__notice a {
  color: inherit;
  text-decoration: underline;
}
/* The reCAPTCHA badge is replaced by the notice above (allowed by Google's
   branding terms when the notice text links to its privacy policy and
   terms), so it never overlaps the cookie-settings button. */
.grecaptcha-badge {
  visibility: hidden;
}
.contact-form__success,
.contact-form__success h2,
.contact-form__success h3,
.contact-form__success h4,
.contact-form__success p,
.contact-form__success li,
.contact-form__success .kicker {
  color: var(--c-navy);
}
.contact-form__success {
  background-color: #fff;
  border-radius: 6px;
  padding: 20px 24px;
  font-family: var(--font-form);
  max-width: 640px;
}

/* ==========================================================================
   COOKIE CONSENT (Task 10)
   WPConsent-equivalent banner, "Cookies beheren" preferences modal and
   the floating settings button (templates/includes/cookie_banner.html,
   driven by static/js/consent.js). Navy bar, periwinkle accept/deny
   buttons and white manage button per the live site.
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background-color: var(--c-navy);
  color: #fff;
  font-size: 16px;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner__message {
  margin: 0;
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  border: 0;
  border-radius: 4px;
  padding: 10px 18px;
  font: 500 14px/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cookie-btn--accept,
.cookie-btn--deny,
.cookie-btn--save {
  background-color: var(--c-periwinkle);
  color: var(--c-navy);
}
.cookie-btn--accept:hover,
.cookie-btn--deny:hover,
.cookie-btn--save:hover {
  background-color: #b7bfeb;
}
.cookie-btn--manage {
  background-color: #fff;
  color: var(--c-navy);
}
.cookie-btn--manage:hover {
  background-color: #ededed;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 900001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
}
.cookie-modal[hidden] {
  display: none;
}
.cookie-modal__content {
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 6px;
  background-color: #fff;
  color: var(--c-navy);
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-modal__header h2 {
  margin: 0;
  font: 700 1.4em var(--font-heading);
  color: var(--c-navy);
}
.cookie-modal__close {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--c-navy);
  cursor: pointer;
}
.cookie-modal__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(2, 2, 94, 0.15);
}
.cookie-modal__option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cookie-modal__option-desc {
  font-size: 0.85em;
  line-height: 1.45;
  opacity: 0.8;
}
.cookie-toggle--locked {
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
}
.cookie-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background-color: var(--c-disabled);
  transition: background-color 0.2s ease;
  pointer-events: none;
}
.cookie-toggle__slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + .cookie-toggle__slider {
  background-color: var(--c-navy);
}
.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-settings-button {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 899999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background-color: var(--c-navy);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.cookie-settings-button[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   KENNISBANK: article cards, article detail, archive list (Task 11)

   Card include (templates/includes/artikel_card.html), the /kennisbank/
   index list and the /kennisartikel/<slug>/ detail page. The section roots
   (.artikel-list, .artikel) compose the foundation .section class for
   spacing; the hero band, accent terms and read-more button reuse the
   existing .page-hero, .accent-term and .btn-readmore foundation rules
   (Task 3) — only the genuinely kennisbank-specific rules live here.
   ========================================================================== */
.artikel-list__empty {
  text-align: center;
}

/* Compact horizontal list card: small thumbnail left, title + short
   excerpt in the middle, date pill top-right, author bottom-left and
   read-more bottom-right. */
.artikel-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 30px;
  align-items: stretch;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 19px 18px rgba(0, 0, 0, 0.16);
  padding: 30px;
}

.artikel-card + .artikel-card {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .artikel-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

/* Left column: uncropped 16:9 thumbnail on top, author pill pinned
   bottom-left (level with the read-more bottom-right), everything
   left-aligned. */
.artikel-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.artikel-card__side .artikel-card__meta {
  margin: 0;
  margin-top: auto;
}

.artikel-card__thumb {
  display: block;
  width: 100%;
}

.artikel-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

/* Content is a flex column; the bottom row anchors via margin-top. */
.artikel-card__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.artikel-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.artikel-card__date {
  flex: none;
  padding: 4px 14px;
  border: 1px solid var(--c-navy);
  border-radius: 60px;
  font-size: 14px;
  white-space: nowrap;
}


.artikel-card__title-link {
  text-decoration: none;
}

/* The title is an h2 for heading-order a11y (archive pages have an
   h1 above the cards) but keeps the old h5 look. */
.artikel-card__title {
  margin: 0 0 12px;
  color: var(--c-navy);
  font-family: var(--font-article-title);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.6;
}

.pill {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  background: var(--c-mint);
  border-radius: 4px;
  color: var(--c-navy);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

/* Keep the card compact: the excerpt clamps to two lines. */
.artikel-card__excerpt {
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artikel-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

/* Tag pills (card, detail page + search sidebar): small, near-rectangular
   white chips with a navy border and navy text. */
.artikel-card__tags a,
.artikel__tags a,
.zoek-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--c-navy);
  border-radius: 4px;
  color: var(--c-navy);
  font-size: 14px;
  text-decoration: none;
}
.artikel-card__tags a:hover,
.artikel__tags a:hover,
.zoek-tag:hover {
  background: var(--c-navy);
  color: var(--c-offwhite);
}

.artikel-card__meta,
.artikel__meta {
  margin: 0 0 16px;
  font-size: 16px;
}

/* Author: a round avatar (the team member's photo) next to the name + role. */
.artikel-author,
.artikel-author__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--c-navy);
}
.artikel-author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.artikel-author__avatar--placeholder {
  background: var(--c-disabled);
}
.artikel-author__info {
  display: flex;
  flex-direction: column;
}
.artikel-author__name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-navy);
}
.artikel-author__role {
  font-size: 0.95em;
  color: var(--c-navy);
}
a.artikel-author__link:hover .artikel-author__name {
  color: var(--c-blue-hover);
}

.icon--user svg,
.icon--arrow-right svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: -2px;
}

/* Article detail reads on a plain white background (navy text on white).
   The header is absolutely positioned and overlaps the section, and the
   foundation .section padding (100/60/30px) is unrelated to the header
   height — so pin the top padding to the header, the way .section--hero
   and .page-hero do, and add the 20px gap above the back link. */
.artikel {
  background-color: #fff;
  padding-top: calc(var(--header-height) + 20px);
}

.artikel__container {
  max-width: 960px;
}
/* Back-to-kennisbank link above the title. */
.artikel__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--c-navy);
  text-decoration: none;
}
.artikel__back:hover {
  color: var(--c-blue-hover);
  text-decoration: underline;
}
.artikel__title {
  margin: 0 0 32px;
}
/* Intro: an optional title plus rich text (paragraphs and/or a bullet
   list), set apart from the title above and the meta line below by
   generous vertical space. Bullets are small navy squares (pixel motif). */
.artikel__intro {
  max-width: 620px;
  margin: 56px auto 64px;
  color: var(--c-navy);
}
.artikel__intro-title {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}
.artikel__intro-body {
  font-family: var(--font-body);
  font-size: 1.1em;
  line-height: 1.6;
}
.artikel__intro-body > :first-child {
  margin-top: 0;
}
.artikel__intro-body > :last-child {
  margin-bottom: 0;
}
.artikel__intro-body p {
  margin: 0 0 16px;
  font-weight: 600;
}
.artikel__intro-body ul,
.artikel__intro-body ol {
  margin: 0 0 16px;
  padding: 0;
}
.artikel__intro-body ul {
  list-style: none;
}
.artikel__intro-body ol {
  padding-left: 1.4em;
}
.artikel__intro-body li {
  margin: 0 0 12px;
}
.artikel__intro-body ul > li {
  position: relative;
  padding-left: 28px;
}
.artikel__intro-body ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--c-navy);
}
@media (max-width: 767px) {
  .artikel__intro {
    margin: 40px auto 48px;
  }
  .artikel__intro-title {
    font-size: 1.6em;
  }
}
.artikel__published {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--c-navy);
}
.artikel__featured {
  margin: 0 0 56px;
}
.artikel__featured-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Inline images in the article body: centered, nicely rounded. */
.artikel__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
}

.artikel__body h2,
.artikel__body h3 {
  font-family: var(--font-heading);
  color: var(--c-navy);
}
.artikel__body h2 {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.25;
  margin: 48px 0 16px;
}
.artikel__body h3 {
  font-size: 1.375em;
  font-weight: 600;
  line-height: 1.3;
  margin: 32px 0 12px;
}
/* A heading opening a block has the block's own spacing above it already. */
.artikel-block--text > h2:first-child,
.artikel-block--text > h3:first-child {
  margin-top: 0;
}
/* Reading measure: full-width body text ran ~125 characters per line. Text
   and quotes share the intro's 620px measure and are centred under the
   full-width images; image blocks keep the full container width. */
.artikel-block--text,
.artikel-quote {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Article highlight ("Uitgelicht"): a Markdown-style ">" block. The
   coloured 5px bar sits flush with the left edge of the 620px text column
   (the block itself never indents); the indent option only widens the gap
   between bar and text. Optional tinted background in the same colour. */
.artikel-highlight {
  --highlight: #0a56f0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 0 4px 16px;
  border-left: 5px solid var(--highlight);
  color: var(--c-navy);
}
.artikel-highlight--navy { --highlight: var(--c-navy); }
.artikel-highlight--mint { --highlight: var(--c-mint); }
.artikel-highlight--periwinkle { --highlight: var(--c-periwinkle); }
.artikel-highlight--aqua { --highlight: var(--c-aqua); }
.artikel-highlight--grey { --highlight: var(--c-grey); }
.artikel-highlight--indent-small { padding-left: 32px; }
.artikel-highlight--indent-large { padding-left: 56px; }
.artikel-highlight--filled {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 24px;
  background: color-mix(in srgb, var(--highlight) 14%, #fff);
  border-radius: 0 12px 12px 0;
}
.artikel-highlight__text > :first-child {
  margin-top: 0;
}
.artikel-highlight__text > :last-child {
  margin-bottom: 0;
}
.artikel-highlight__action {
  margin-top: 24px;
}

/* Article accordion ("verdieping"): optional heading + intro above
   collapsible items, in the same 620px reading column as the text. Styled
   after the live site's Kubio accordion: a 5px bar left of each title, grey
   when closed and bright blue when open or hovered; the open body keeps a
   faint off-white bar. Open/close mechanics come from the shared
   .js-accordion-item rules and main.js. */
.artikel-accordion {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.artikel__body .artikel-accordion__heading {
  margin: 0 0 12px;
}
.artikel-accordion__intro {
  margin: 0 0 8px;
}
.artikel-accordion__item,
.artikel-accordion__item:last-child {
  border-bottom: 0;
  margin-top: 30px;
}
.artikel-accordion__heading + .artikel-accordion__items > .artikel-accordion__item:first-child {
  margin-top: 24px;
}
.artikel-accordion__toggle {
  padding: 10px 0 10px 12px;
  border-left: 5px solid #dedede;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.artikel-accordion__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2em;
  line-height: 1.4;
}
.artikel-accordion__toggle:hover,
.artikel-accordion__toggle:focus-visible,
.js-accordion-item.is-open > .artikel-accordion__toggle {
  border-left-color: #0a56f0;
}
.artikel-accordion__toggle:hover,
.artikel-accordion__toggle:hover .accordion__icon {
  color: #0a56f0;
}
.artikel-accordion__body {
  border-left: 5px solid var(--c-offwhite);
  padding-left: 12px;
}
.artikel-accordion__body > .rich-text > :first-child {
  margin-top: 0;
}
.artikel-accordion__body > .rich-text > :last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   ARTICLE BODY BLOCKS: text / quote / image, each with a per-block "space
   below" (Ruim / Normaal / Compact), plus the "Gerelateerde artikelen" grid.
   ========================================================================== */
.block-spacing--ruim {
  margin-bottom: 64px;
}
.block-spacing--normaal {
  margin-bottom: 40px;
}
.block-spacing--compact {
  margin-bottom: 16px;
}
.artikel-quote__text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.8em;
  line-height: 1.3;
  color: var(--c-navy);
}
.artikel-quote__attribution {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 1em;
  color: var(--c-grey);
}
.artikel-image {
  margin-left: 0;
  margin-right: 0;
}
.artikel-image__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.artikel-image__caption {
  margin: 12px 0 0;
  font-size: 0.9em;
  color: var(--c-grey);
  text-align: center;
}
.artikel-related__heading {
  margin: 0 0 40px;
}
.artikel-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.artikel-related__card {
  display: block;
  text-decoration: none;
  color: var(--c-navy);
}
.artikel-related__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
.artikel-related__img--placeholder {
  background: var(--c-logo-tile);
}
.artikel-related__title {
  font-size: 1.3em;
  margin: 0 0 12px;
}
.artikel-related__more {
  font-family: var(--font-body);
  font-size: 0.9em;
  color: var(--c-navy);
  text-decoration: underline;
}
.artikel-related__card:hover .artikel-related__more {
  color: var(--c-blue-hover);
}
@media (max-width: 767px) {
  .artikel-related__grid {
    grid-template-columns: 1fr;
  }
}

.artikel__divider {
  border: 0;
  border-top: 1px solid var(--c-disabled);
  margin: 24px 0;
}

.artikel__tags-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.artikel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Tag-pill link styling is shared with .artikel-card__tags a (see the
   kennisbank card include section above). */

/* .artikel-pagination__btn is used by the search page (Vorige /
   Volgende); the article detail page itself has no pagination. */
.artikel-pagination__btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--c-navy);
  border-radius: 6px;
  color: var(--c-offwhite);
  transition: background-color 0.2s ease;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  text-decoration: none;
}
.artikel-pagination__btn:hover {
  background: var(--c-blue-hover);
  color: var(--c-offwhite);
}


/* ==========================================================================
   KENNISBANK CARDS: teaser + overview/search (shared compact card)
   One compact card (includes/kennis_card.html): 16:9 image — or a grey
   placeholder when none — + Kumbh-Sans title + "Lees artikel" arrow link.
   The card is transparent so it sits directly on its section background:
   the periwinkle home teaser, and the white /kennisbank/ overview and
   /zoeken/ search pages. The "Lees artikel" link has no underline until
   hover (per the design). Composes .section + .section--periwinkle/white.
   ========================================================================== */
.block-kennisbank-teaser__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
  margin: 0 0 40px;
}
.block-kennisbank-teaser__heading {
  margin: 0 0 16px;
}
.block-kennisbank-teaser__lead {
  margin: 0;
  max-width: 720px;
}
.block-kennisbank-teaser__overview {
  flex: none;
}

/* Compact card grid: 3 per row on desktop. The teaser sets --pair/--single
   modifiers so 1-2 hand-picked articles still lay out nicely. */
.kennis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 30px;
}
@media (min-width: 768px) {
  .kennis-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .kennis-grid--pair {
    grid-template-columns: repeat(2, 1fr);
  }
  .kennis-grid--single {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
  }
}

.kennis-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.kennis-card__figure {
  display: block;
  width: 100%;
}
.kennis-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}
.kennis-card__figure--empty {
  aspect-ratio: 16 / 9;
  background: #eaeaea;
  border-radius: 6px;
}
.kennis-card__title-link {
  text-decoration: none;
}
/* Title is an h3 for heading order but keeps the article-card look
   (Kumbh Sans, 700, navy). */
.kennis-card__title {
  margin: 0;
  font-family: var(--font-article-title);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.4;
  color: var(--c-navy);
}

/* Read-more link on the compact card and the rich artikel-card: text-only,
   navy, bigger than the 12px foundation .btn-readmore. On the compact card
   it sits bottom-left and only underlines on hover; the artikel-card keeps
   its bottom-right placement and permanent underline. */
.kennis-card .btn-readmore,
.artikel-card .btn-readmore {
  margin-top: auto;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--c-navy);
}
.artikel-card .btn-readmore {
  align-self: flex-end;
}
.kennis-card__link,
.block-kennisbank-teaser__overview {
  text-decoration: none;
}
.kennis-card__link:hover,
.block-kennisbank-teaser__overview:hover,
.artikel-card .btn-readmore:hover {
  color: var(--c-blue-dark);
}
.kennis-card__link:hover,
.block-kennisbank-teaser__overview:hover {
  text-decoration: underline;
}
.kennis-card .btn-readmore svg,
.artikel-card .btn-readmore svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Overview + search shell: white section, heading + category pills + grid.
   Extra top padding clears the absolute navy header (no navy hero band). */
.kennis-overview {
  padding-top: calc(var(--header-height) + 60px);
}
.kennis-overview__heading {
  margin: 0 0 24px;
}
.kennis-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 40px;
}
.kennis-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--c-navy);
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
/* Same dark hover as the tag pills: an idle chip fills navy. An already
   dark (active) chip can't darken further that way, so it uses the
   blue-hover step below instead. */
.kennis-pill:hover {
  background: var(--c-navy);
  color: var(--c-offwhite);
}
.kennis-pill--active {
  background: var(--c-navy);
  color: var(--c-offwhite);
}
.kennis-pill--active:hover {
  background: var(--c-blue-hover);
  color: var(--c-offwhite);
}

/* ==========================================================================
   KENNISBANK: zoekpagina (/zoeken/, /tag/<slug>/, /author/<slug>/)
   White section: filter bar (author text search, sort, per-page) and
   the artikel-card list on the left, tag sidebar on the right. Tag
   pills reuse the shared tag-pill rule via .zoek-tag; a selected tag
   keeps the navy hover state permanently.
   ========================================================================== */
.zoek__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.zoek__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin: 0 0 20px;
}
.zoek__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zoek__field--grow {
  flex: 1 1 220px;
}
.zoek__field label {
  font-family: var(--font-sub);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.zoek__field input[type="text"],
.zoek__field select {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(2, 2, 94, 0.25);
  border-radius: 6px;
  color: var(--c-navy);
  font: 400 16px/1.5 var(--font-form);
}
.zoek__count {
  margin: 0 0 24px;
}
.zoek__sidebar {
  border: 1px solid rgba(2, 2, 94, 0.1);
  border-radius: 20px;
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.zoek__sidebar-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin: 0 0 16px;
}
.zoek__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Selected tag: the hover state, made permanent. */
.zoek-tag--selected {
  background: var(--c-navy);
  color: var(--c-offwhite);
}
.zoek__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.zoek__page {
  padding: 10px 16px;
  border: 1px solid rgba(2, 2, 94, 0.25);
  border-radius: 6px;
  color: var(--c-navy);
  text-decoration: none;
}
.zoek__page--current {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-offwhite);
}
@media (max-width: 1023px) {
  .zoek__layout {
    grid-template-columns: 1fr;
  }
  .zoek__sidebar {
    position: static;
  }
}

/* Begrippenlijst (glossary) ---------------------------------------------- */
.begrippen__layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 48px;
  align-items: start;
}
.begrippen__sidebar {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.begrippen__search-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.begrippen__search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-periwinkle);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.begrippen__search-input:focus {
  outline: 2px solid var(--c-navy);
  outline-offset: 1px;
}
.begrippen__alfabet {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.begrippen__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--c-offwhite);
  color: var(--c-navy);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--c-periwinkle);
}
.begrippen__letter:hover {
  background: var(--c-navy);
  color: #fff;
}
.begrippen__letter--empty {
  color: var(--c-disabled);
  background: transparent;
  border-color: var(--c-logo-tile);
  pointer-events: none;
}
.begrippen__index {
  max-height: 60vh;
  overflow-y: auto;
  border: 1px solid var(--c-periwinkle);
  border-radius: 12px;
  padding: 16px;
}
.begrippen__index-letter {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 12px 0 4px;
}
.begrippen__index-group:first-child .begrippen__index-letter {
  margin-top: 0;
}
.begrippen__index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.begrippen__index-link {
  color: var(--c-ink);
  text-decoration: none;
}
.begrippen__index-link:hover {
  color: var(--c-navy);
  text-decoration: underline;
}
.begrippen__group-title {
  font-family: var(--font-heading);
  color: var(--c-navy);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.begrippen__entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--c-logo-tile);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.begrippen__term {
  font-family: var(--font-heading);
  margin: 0 0 8px;
}
.begrippen__definition {
  color: var(--c-ink);
  line-height: 1.6;
}
.begrippen__empty,
.begrippen__no-results {
  color: var(--c-grey);
}
@media (max-width: 767px) {
  .begrippen__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .begrippen__sidebar {
    position: static;
  }
  .begrippen__index {
    max-height: 40vh;
  }
}

/* ==========================================================================
   HOME BLOCK: pixel_roadmap
   White section: kicker + heading above an editor-drawn pixel path with
   numbered step cards (text + image) positioned on the same grid. Composes
   .section / .section--white / .kicker / .btn-readmore from the foundation.

   Geometry: the board is a CSS grid with the drawing's --cols x --rows
   (inline style from the block) and a fixed aspect ratio, so every row is
   exactly one drawn cell tall. The path is a single SVG of unit rects
   stretched over the board (preserveAspectRatio="none"). Cards are
   zero-height grid items (.roadmap-anchor) at their (col, row) with the
   real card absolutely positioned inside, so card content overflows freely
   without stretching the rows. Below 1024px the grid gives way to a stacked
   list with a checkered pixel spine.

   Motion: main.js adds .roadmap--animated to the board and .is-on to
   pixels / anchors as they scroll past the reading line; the start offset
   (--dx/--dy), start angle (--tilt) and --scale are per-card inline
   properties computed by the block from the editor's choices.
   ========================================================================== */
.block-roadmap {
  --roadmap-path: var(--c-mint);
  --roadmap-path: color-mix(in srgb, var(--c-mint) 42%, #fff);
  overflow-x: clip;
}
.block-roadmap__header {
  text-align: center;
  margin: 0 0 40px;
}
.block-roadmap__kicker {
  margin: 0 0 8px;
}
.block-roadmap__heading {
  margin: 0;
}
.block-roadmap__board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows), minmax(0, 1fr));
  aspect-ratio: var(--aspect);
  container-type: inline-size;
}
.block-roadmap__path {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.roadmap-pixel {
  fill: var(--roadmap-path);
  shape-rendering: crispEdges;
}
.roadmap-step {
  display: contents;
}
.roadmap-anchor {
  position: relative;
  z-index: 1;
  height: 0;
  min-height: 0;
}
.roadmap-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.roadmap-card--text {
  text-align: center;
  padding: 0 8px;
}
.roadmap-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  border-radius: 10px;
  background: var(--c-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.4em;
  line-height: 1;
}
.roadmap-card__title {
  font-weight: 700;
  font-size: 2em;
  line-height: 1.2;
  margin: 0 0 18px;
}
.roadmap-card__body {
  font-size: 0.95em;
  line-height: 1.55;
  color: var(--c-navy);
}
.roadmap-card__body p:last-child {
  margin-bottom: 0;
}
.roadmap-card__link {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.roadmap-card--image {
  display: flex;
  justify-content: center;
}
/* Image height is set per step in pixels (--image-height), independent of
   the uploaded file's dimensions; the width follows the aspect ratio and
   stays within the step's columns (object-fit keeps it from distorting). */
.roadmap-card__img {
  display: block;
  max-width: 100%;
  width: auto;
  height: var(--image-height, 180px);
  object-fit: contain;
}

/* Scroll reveal. The un-animated state (no JS, reduced motion) is fully
   visible; only .roadmap--animated hides things until they are .is-on. */
.roadmap--animated .roadmap-pixel {
  opacity: 0;
  transform: scale(0.35);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.roadmap--animated .roadmap-pixel.is-on {
  opacity: 1;
  transform: none;
}
.roadmap--animated .roadmap-card {
  opacity: 0;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--tilt, 0deg)) scale(var(--scale, 1));
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.roadmap--animated .roadmap-anchor--image .roadmap-card {
  transition-delay: 0.15s;
}
.roadmap--animated .roadmap-anchor.is-on .roadmap-card {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .roadmap--animated .roadmap-pixel,
  .roadmap--animated .roadmap-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stacked layout for tablet and phone: the drawn coordinates no longer
   apply (inline grid-column/grid-row are ignored in block layout). */
@media (max-width: 1023px) {
  .block-roadmap__board {
    display: block;
    aspect-ratio: auto;
    padding-left: 44px;
  }
  .block-roadmap__board::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 24px;
    background: repeating-conic-gradient(var(--roadmap-path) 0 25%, transparent 0 50%) 0 0 / 24px 24px;
  }
  .block-roadmap__path {
    display: none;
  }
  .roadmap-step {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 0 56px;
  }
  .roadmap-step:last-child {
    margin-bottom: 0;
  }
  .roadmap-anchor {
    position: static;
    height: auto;
  }
  .roadmap-card {
    position: static;
  }
  .roadmap-card--text {
    text-align: left;
    padding: 0;
  }
  .roadmap-card__badge {
    width: 52px;
    height: 52px;
    margin: 0 0 20px;
    font-size: 2em;
  }
  .roadmap-card__title {
    font-size: 1.6em;
  }
  .roadmap-card--image {
    justify-content: flex-start;
  }
  .roadmap-card__img {
    height: min(var(--image-height, 180px), 180px);
  }
}
@media (max-width: 767px) {
  .block-roadmap__header {
    margin-bottom: 24px;
  }
}
