/* ==========================================================================
   v2 — LEGO-thema: blogoverzicht (all_blogs.rain)
   Alles is gescoped onder .bk2 (prefix "bk2" = "brick v2").
   ========================================================================== */

/* ---------- Tokens ---------- */
.bk2 {
  --bk2-red: #e3000b;
  --bk2-red-dark: #a3000a;
  --bk2-yellow: #ffcf00;
  --bk2-yellow-dark: #d19f00;
  --bk2-blue: #0a6bc4;
  --bk2-blue-dark: #06447f;
  --bk2-green: #007a33;
  --bk2-green-dark: #004f21;
  --bk2-orange: #ff8a1f;
  --bk2-orange-dark: #c25e00;

  --bk2-ink: #15192b;
  --bk2-muted: #4a5068;
  --bk2-line: #e3e9f2;
  --bk2-soft: #f4f7fb;
  --bk2-sky: #eaf2fb;

  --bk2-font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --bk2-font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Standaard steenkleur (wordt overschreven door .bk2-c-*) */
  --brick: var(--bk2-blue);
  --brick-dark: var(--bk2-blue-dark);
  --brick-ink: #fff;

  /* Noppen */
  --stud-h: 10px;
  --stud-inset: 18px;
  --stud-border: 0px;
}

/* Kleurvarianten: zetten alleen variabelen, geen layout. */
.bk2-c-red    { --brick: var(--bk2-red);    --brick-dark: var(--bk2-red-dark);    --brick-ink: #fff; }
.bk2-c-yellow { --brick: var(--bk2-yellow); --brick-dark: var(--bk2-yellow-dark); --brick-ink: var(--bk2-ink); }
.bk2-c-blue   { --brick: var(--bk2-blue);   --brick-dark: var(--bk2-blue-dark);   --brick-ink: #fff; }
.bk2-c-green  { --brick: var(--bk2-green);  --brick-dark: var(--bk2-green-dark);  --brick-ink: #fff; }
.bk2-c-orange { --brick: var(--bk2-orange); --brick-dark: var(--bk2-orange-dark); --brick-ink: var(--bk2-ink); }

/* ---------- Basis ---------- */
.bk2 {
  width: 100%;
  min-width: 0;
  padding: 0 clamp(16px, 3vw, 40px) clamp(56px, 7vw, 96px);
  box-sizing: border-box;
  color: var(--bk2-ink);
  font-family: var(--bk2-font-body);
  font-size: 1rem;
  line-height: 1.55;
  /* Baseplate: subtiele noppen van bovenaf gezien */
  background-color: var(--bk2-sky);
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.85) 0 5.5px, rgba(6, 68, 127, 0.07) 6px 7.5px, transparent 8px);
  background-size: 30px 30px;
}

.bk2 *,
.bk2 *::before,
.bk2 *::after {
  box-sizing: border-box;
}

.bk2 a {
  color: inherit;
  text-decoration: none;
}

.bk2 img {
  max-width: 100%;
}

.bk2 h1,
.bk2 h2,
.bk2 h3,
.bk2 h4 {
  font-family: var(--bk2-font-display);
  color: inherit;
  letter-spacing: -0.01em;
  text-transform: none;
}

.bk2 :focus-visible {
  outline: 3px solid var(--bk2-blue);
  outline-offset: 3px;
}

.bk2__main {
  display: grid;
  gap: clamp(56px, 7vw, 100px);
  width: min(100%, 1320px);
  min-width: 0;
  margin-inline: auto;
}

.bk2__main > * {
  min-width: 0;
}

/* ---------- Noppen (zijaanzicht) ----------
   Elk element met .bk2-studs krijgt een rij noppen op de bovenrand in var(--brick). */
.bk2-studs {
  position: relative;
}

.bk2-studs::before {
  position: absolute;
  z-index: 1;
  top: calc((var(--stud-h) + var(--stud-border)) * -1 + 1px);
  right: var(--stud-inset);
  left: var(--stud-inset);
  height: var(--stud-h);
  background:
    linear-gradient(90deg, transparent 7px, rgba(255, 255, 255, 0.4) 7px 11px, transparent 11px 27px, rgba(0, 0, 0, 0.14) 27px 31px, transparent 31px) center top / 38px 100% space no-repeat,
    var(--brick);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 10' preserveAspectRatio='none'%3E%3Cpath d='M7 10V3.5A3.5 3.5 0 0 1 10.5 0h17A3.5 3.5 0 0 1 31 3.5V10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 10' preserveAspectRatio='none'%3E%3Cpath d='M7 10V3.5A3.5 3.5 0 0 1 10.5 0h17A3.5 3.5 0 0 1 31 3.5V10z'/%3E%3C/svg%3E");
  -webkit-mask-size: 38px 100%;
  mask-size: 38px 100%;
  -webkit-mask-repeat: space no-repeat;
  mask-repeat: space no-repeat;
  -webkit-mask-position: center top;
  mask-position: center top;
  content: "";
  pointer-events: none;
}

/* ---------- Knoppen ---------- */
.bk2-btn {
  --btn: var(--bk2-yellow);
  --btn-dark: var(--bk2-yellow-dark);
  --btn-ink: var(--bk2-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  margin-bottom: 5px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--btn);
  color: var(--btn-ink) !important;
  font-family: var(--bk2-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--btn-dark);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.bk2-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--btn-dark);
  filter: brightness(1.04);
}

.bk2-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--btn-dark);
}

.bk2-btn span[aria-hidden] {
  transition: transform 160ms ease;
}

.bk2-btn:hover span[aria-hidden] {
  transform: translateX(3px);
}

.bk2-btn--blue {
  --btn: var(--bk2-blue);
  --btn-dark: var(--bk2-blue-dark);
  --btn-ink: #fff;
}

.bk2-btn--small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.95rem;
}

.bk2-btn--large {
  min-height: 58px;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 1.2rem;
  box-shadow: 0 6px 0 var(--btn-dark);
}

.bk2-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bk2-red);
  color: #fff;
  font-family: var(--bk2-font-display);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--bk2-red-dark);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.bk2-close:hover {
  background: var(--bk2-red-dark);
}

.bk2-close:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--bk2-red-dark);
}

/* ---------- Hero ---------- */
.bk2-hero {
  position: relative;
  padding-top: clamp(16px, 2.5vw, 28px);
}

.bk2-hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1900 / 778;
  min-height: 400px;
  border: 6px solid #fff;
  border-radius: 30px;
  background: var(--bk2-blue);
  box-shadow: 0 10px 0 rgba(21, 25, 43, 0.1), 0 30px 60px rgba(6, 30, 70, 0.18);
}

.bk2-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bk2-hero__frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 18, 45, 0.55) 0%, rgba(8, 18, 45, 0.15) 45%, transparent 70%);
  content: "";
}

.bk2-hero__title {
  position: absolute;
  z-index: 2;
  bottom: clamp(84px, 9vw, 124px);
  left: clamp(20px, 4vw, 60px);
  display: grid;
  justify-items: start;
  gap: 22px;
}

.bk2-hero__tag {
  --brick: var(--bk2-blue);
  --brick-dark: var(--bk2-blue-dark);
  --stud-h: 8px;
  --stud-inset: 10px;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--brick);
  color: #fff;
  font-family: var(--bk2-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 var(--brick-dark);
}

.bk2 .bk2-hero__title h1,
.bk2 .bk2-hero__title .bk2-hero__heading {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
}

.bk2-hero__line {
  --stud-h: 12px;
  --stud-inset: 22px;
  display: inline-block;
  padding: 0.16em 0.42em 0.2em;
  border-radius: 16px;
  background: var(--brick);
  color: var(--brick-ink);
  box-shadow: 0 7px 0 var(--brick-dark), 0 18px 30px rgba(0, 0, 0, 0.18);
}

.bk2-hero__line--yellow {
  --brick: var(--bk2-yellow);
  --brick-dark: var(--bk2-yellow-dark);
  --brick-ink: var(--bk2-ink);
  transform: rotate(-2deg);
}

.bk2-hero__line--red {
  --brick: var(--bk2-red);
  --brick-dark: var(--bk2-red-dark);
  --brick-ink: #fff;
  margin-left: 0.5em;
  transform: rotate(1.2deg);
}

/* Snelkoppelingen onder de hero */
.bk2-quick {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  margin: -54px clamp(16px, 4vw, 60px) 0;
}

.bk2-quick__brick {
  --stud-inset: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--brick);
  color: var(--brick-ink) !important;
  box-shadow: 0 7px 0 var(--brick-dark), 0 20px 34px rgba(6, 30, 70, 0.2);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.bk2-quick__brick:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 var(--brick-dark), 0 24px 36px rgba(6, 30, 70, 0.22);
}

.bk2-quick__brick:active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--brick-dark), 0 10px 20px rgba(6, 30, 70, 0.2);
}

.bk2-quick__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--brick-dark);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}

.bk2-c-yellow .bk2-quick__icon {
  color: var(--bk2-ink);
}

.bk2-quick__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bk2-quick__icon--text {
  font-family: var(--bk2-font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.bk2-quick__copy {
  display: grid;
  min-width: 0;
}

.bk2-quick__copy strong {
  font-family: var(--bk2-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}

.bk2-quick__copy small {
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.88;
}

.bk2-quick__arrow {
  font-size: 1.4rem;
  font-weight: 900;
  transition: transform 160ms ease;
}

.bk2-quick__brick:hover .bk2-quick__arrow {
  transform: translateX(4px);
}

/* ---------- Sectiekop ---------- */
.bk2-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.bk2-eyebrow {
  --brick: var(--bk2-yellow);
  --brick-dark: var(--bk2-yellow-dark);
  --stud-h: 8px;
  --stud-inset: 10px;
  display: inline-block;
  margin: 8px 0 20px;
  padding: 7px 16px;
  border-radius: 8px;
  background: var(--brick);
  color: var(--bk2-ink);
  font-family: var(--bk2-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 var(--brick-dark);
}

.bk2 .bk2-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
}

.bk2-heading > p:last-child {
  max-width: 56ch;
  margin: 14px auto 0;
  color: var(--bk2-muted);
  font-size: 1.12rem;
}

/* ---------- Activiteitenkaarten ---------- */
.bk2-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 48px 28px;
  margin-top: clamp(40px, 5vw, 56px);
}

.bk2-card {
  --stud-h: 11px;
  --stud-inset: 24px;
  --stud-border: 4px;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-width: 0;
  border: 4px solid var(--brick);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 0 var(--brick-dark), 0 22px 40px rgba(6, 30, 70, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bk2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 var(--brick-dark), 0 28px 44px rgba(6, 30, 70, 0.14);
}

.bk2-card--wide {
  grid-column: span 3;
}

.bk2-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bk2-soft);
  border-radius: 16px 16px 0 0;
}

.bk2-card--wide .bk2-card__media {
  aspect-ratio: 16 / 8.5;
}

.bk2-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

.bk2-card__number {
  --stud-h: 7px;
  --stud-inset: 7px;
  --stud-border: 0px;
  position: absolute;
  z-index: 2;
  bottom: -20px;
  left: 20px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--brick);
  color: var(--brick-ink);
  font-family: var(--bk2-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 0 var(--brick-dark), 0 8px 14px rgba(0, 0, 0, 0.18);
}

.bk2-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 34px 24px 24px;
}

.bk2 .bk2-card h3,
.bk2 .bk2-card .bk2-card__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
}

.bk2-card__body > p {
  margin: 0;
  color: var(--bk2-muted);
}

/* "Volg ons"-kaart */
.bk2-card--follow {
  flex-direction: row;
  grid-column: span 4;
  background: var(--brick);
  color: var(--brick-ink);
}

.bk2-card--follow .bk2-card__media {
  flex: 0 0 40%;
  aspect-ratio: auto;
  min-height: 240px;
  border-radius: 16px 0 0 16px;
  background: rgba(255, 255, 255, 0.14);
}

.bk2-card--follow .bk2-card__media img {
  border-radius: 16px 0 0 16px;
}

.bk2-card--follow .bk2-card__body {
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
}

.bk2-card--follow .bk2-card__body > p {
  color: inherit;
  opacity: 0.92;
}

.bk2-card--follow .bk2-btn {
  margin-top: 8px;
}

.bk2 .bk2-card__body > .bk2-card__kicker {
  align-self: flex-start;
  margin: 0 0 4px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bk2-yellow);
  color: var(--bk2-ink);
  font-family: var(--bk2-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
}

/* ---------- Uitklapbare details ---------- */
.bk2-details {
  margin-top: auto;
  padding-top: 10px;
  scroll-margin-top: 24px;
}

.bk2-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--bk2-soft);
  background: color-mix(in srgb, var(--brick) 14%, #fff);
  color: var(--bk2-ink);
  font-family: var(--bk2-font-display);
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--bk2-line);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--brick) 40%, #fff);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.bk2-details > summary::-webkit-details-marker {
  display: none;
}

.bk2-details > summary:hover {
  transform: translateY(-1px);
}

.bk2-details > summary:active {
  transform: translateY(3px);
  box-shadow: none;
}

.bk2-details__toggle {
  display: inline-block;
  transition: transform 180ms ease;
}

.bk2-details[open] .bk2-details__toggle {
  transform: rotate(90deg);
}

.bk2-details__panel {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 3px dashed var(--bk2-line);
  animation: bk2-fade-down 260ms ease both;
}

.bk2-details__panel > .bk2-close {
  display: none;
}

.bk2-details__copy {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.bk2 .bk2-details__copy h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.bk2-details__copy p {
  margin: 0;
  color: var(--bk2-muted);
}

.bk2-details__copy .bk2-btn {
  margin-top: 6px;
}

/* ---------- Slider ---------- */
.bk2-slider {
  position: relative;
  min-width: 0;
}

.bk2-slider__viewport {
  overflow: hidden;
  border-radius: 14px;
  background: var(--bk2-soft);
}

.bk2-slider__slide {
  display: none;
  margin: 0;
}

.bk2-slider__slide.is-active {
  display: block;
  animation: bk2-slide-in 260ms ease both;
}

.bk2-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.bk2-slider__slide figcaption {
  padding: 8px 12px 10px;
  color: var(--bk2-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.bk2-slider__controls {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 1.6;
  padding: 0 12px;
  pointer-events: none;
}

.bk2-slider__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--bk2-ink);
  font-family: var(--bk2-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.22);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.bk2-slider__button:hover {
  background: var(--bk2-yellow);
}

.bk2-slider__button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.bk2-slider__status {
  align-self: flex-end;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(21, 25, 43, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Desktop: uitgeklapte details worden een modal */
@media (min-width: 761px) {
  .bk2-details[open] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    margin: 0;
    padding: 32px 24px;
    overflow-y: auto;
    background: rgba(10, 16, 38, 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: bk2-fade 280ms ease both;
  }

  .bk2-details[open] > summary {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .bk2-details[open] > .bk2-details__panel {
    --stud-h: 13px;
    --stud-inset: 34px;
    --stud-border: 5px;
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "copy slider"
      "secondary slider";
    align-content: start;
    gap: 22px 32px;
    width: min(1040px, 100%);
    margin: auto;
    padding: 40px;
    border: 5px solid var(--brick);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 0 var(--brick-dark), 0 40px 80px rgba(0, 0, 0, 0.35);
    animation: bk2-pop-in 380ms cubic-bezier(0.22, 1.2, 0.36, 1) both;
  }

  .bk2-details[open] > .bk2-details__panel::before {
    /* Noppen op de modal zelf */
    position: absolute;
    z-index: 1;
    top: calc((var(--stud-h) + var(--stud-border)) * -1 + 1px);
    right: var(--stud-inset);
    left: var(--stud-inset);
    height: var(--stud-h);
    background:
      linear-gradient(90deg, transparent 7px, rgba(255, 255, 255, 0.4) 7px 11px, transparent 11px 27px, rgba(0, 0, 0, 0.14) 27px 31px, transparent 31px) center top / 38px 100% space no-repeat,
      var(--brick);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 10' preserveAspectRatio='none'%3E%3Cpath d='M7 10V3.5A3.5 3.5 0 0 1 10.5 0h17A3.5 3.5 0 0 1 31 3.5V10z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 10' preserveAspectRatio='none'%3E%3Cpath d='M7 10V3.5A3.5 3.5 0 0 1 10.5 0h17A3.5 3.5 0 0 1 31 3.5V10z'/%3E%3C/svg%3E");
    -webkit-mask-size: 38px 100%;
    mask-size: 38px 100%;
    -webkit-mask-repeat: space no-repeat;
    mask-repeat: space no-repeat;
    -webkit-mask-position: center top;
    mask-position: center top;
    content: "";
  }

  .bk2-details[open] .bk2-details__panel > .bk2-close {
    display: grid;
  }

  .bk2-details[open] .bk2-details__copy {
    grid-area: copy;
    padding-right: 20px;
  }

  .bk2-details[open] .bk2-details__copy--secondary {
    grid-area: secondary;
    padding-top: 20px;
    border-top: 3px dashed var(--bk2-line);
  }

  .bk2-details[open] .bk2-slider {
    grid-area: slider;
    align-self: start;
    margin-top: 28px;
  }

  .bk2 .bk2-details[open] .bk2-details__copy:not(.bk2-details__copy--secondary) h4 {
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    font-weight: 700;
    line-height: 1.15;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .bk2-details[open] > .bk2-details__panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "slider"
      "secondary";
    padding: 32px;
  }

  .bk2-details[open] .bk2-slider {
    margin-top: 0;
  }
}

/* ---------- Grote CTA ---------- */
.bk2-cta {
  --stud-h: 14px;
  --stud-inset: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(30px, 4vw, 52px) clamp(24px, 5vw, 64px);
  border-radius: 26px;
  background-color: var(--brick);
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0 10px, rgba(0, 0, 0, 0.08) 10.5px 12px, transparent 12.5px);
  background-size: 46px 46px;
  color: var(--brick-ink);
  box-shadow: 0 10px 0 var(--brick-dark), 0 30px 50px rgba(6, 30, 70, 0.16);
}

.bk2 .bk2-cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
}

.bk2-cta__copy p {
  max-width: 48ch;
  margin: 10px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  opacity: 0.92;
}

.bk2-cta .bk2-btn {
  flex: 0 0 auto;
}

/* ---------- Faciliteiten / huisregels ---------- */
.bk2-refs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.bk2-ref {
  --stud-border: 4px;
  --stud-inset: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 4px solid var(--brick);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 0 var(--brick-dark);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.bk2-ref:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 0 var(--brick-dark);
}

.bk2-ref:active {
  transform: translateY(5px);
  box-shadow: 0 3px 0 var(--brick-dark);
}

.bk2-ref__icon.material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--brick);
  color: var(--brick-ink);
  font-size: 34px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16);
}

.bk2-ref__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.bk2-ref__copy small {
  color: var(--bk2-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bk2-ref__copy strong {
  font-family: var(--bk2-font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

.bk2-ref__copy > span {
  color: var(--bk2-muted);
}

.bk2-ref__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brick);
  color: var(--brick-ink);
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform 160ms ease;
}

.bk2-ref:hover .bk2-ref__arrow {
  transform: translateX(4px);
}

/* ---------- Panelen ---------- */
.bk2-panel {
  --stud-h: 13px;
  --stud-inset: 30px;
  --stud-border: 5px;
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  border: 5px solid var(--brick);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 0 var(--brick-dark), 0 26px 44px rgba(6, 30, 70, 0.1);
  scroll-margin-top: 32px;
}

.bk2-panel__heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bk2-panel__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--brick);
  color: var(--brick-ink);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16);
}

.bk2-panel__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.bk2-panel__icon--text {
  font-family: var(--bk2-font-display);
  font-size: 2rem;
  font-weight: 700;
}

.bk2 .bk2-panel__eyebrow {
  margin: 0 0 2px;
  color: var(--bk2-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bk2 .bk2-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.bk2-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 18px 20px;
  border: 3px dashed rgba(10, 107, 196, 0.35);
  border-radius: 16px;
  background: #eef6ff;
}

.bk2-callout > div {
  display: grid;
  flex: 1 1 280px;
  gap: 2px;
}

.bk2-callout strong {
  font-family: var(--bk2-font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.bk2-callout > div > span {
  color: var(--bk2-muted);
  font-size: 0.97rem;
}

.bk2-link {
  display: inline-block;
  justify-self: start;
  color: var(--bk2-blue) !important;
  font-family: var(--bk2-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 5px;
}

.bk2-link:hover {
  color: var(--bk2-blue-dark) !important;
}

/* ---------- Modals ---------- */
.bk2-modal[hidden] {
  display: none;
}

.bk2-modal {
  position: fixed;
  inset: 0;
  z-index: 1100; /* boven een geopende details-modal */
  display: grid;
  padding: 40px 20px 32px;
  overflow-y: auto;
}

.bk2-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 38, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: bk2-fade 240ms ease both;
}

.bk2-modal__dialog {
  --stud-h: 12px;
  --stud-inset: 28px;
  --stud-border: 5px;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(580px, 100%);
  margin: auto;
  padding: 36px 30px 30px;
  border: 5px solid var(--brick);
  border-radius: 26px;
  background: #fff;
  color: var(--bk2-ink);
  box-shadow: 0 10px 0 var(--brick-dark), 0 40px 80px rgba(0, 0, 0, 0.35);
  animation: bk2-pop-in 340ms cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

.bk2 .bk2-modal__dialog h2 {
  margin: 0;
  padding-right: 48px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.05;
}

.bk2 .bk2-modal__dialog h3 {
  margin: 6px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.bk2-modal__dialog > p:not(.bk2-panel__eyebrow) {
  margin: 0;
  color: var(--bk2-muted);
}

.bk2-modal__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk2-modal__list li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  background: var(--bk2-soft);
}

.bk2-modal__list li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--bk2-yellow);
  box-shadow: 0 2px 0 var(--bk2-yellow-dark);
  content: "";
}

.bk2-newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
}

.bk2-newsletter__input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 0 16px;
  border: 3px solid var(--bk2-line);
  border-radius: 12px;
  background: #fff;
  color: var(--bk2-ink);
  font: inherit;
  font-weight: 700;
}

.bk2-newsletter__input:focus {
  border-color: var(--bk2-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 107, 196, 0.18);
}

.bk2-newsletter .bk2-btn {
  min-height: 50px;
}

.bk2-social {
  padding-top: 16px;
  border-top: 3px dashed var(--bk2-line);
}

.bk2 .bk2-social h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.bk2-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bk2-social__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bk2-soft);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 140ms ease;
}

.bk2-social__links a:hover {
  background: var(--bk2-yellow);
}

/* ---------- Animaties ---------- */
@keyframes bk2-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bk2-fade-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bk2-pop-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bk2-slide-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bk2 *,
  .bk2 *::before,
  .bk2 *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Extra kleur ---------- */
.bk2-c-dark { --brick: #232a45; --brick-dark: #0e1224; --brick-ink: #fff; }

/* ---------- Hero met meerdere slides ---------- */
.bk2-hero__frame--slides::after {
  display: none;
}

.bk2-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.bk2-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.bk2-hero__slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 18, 45, 0.55) 0%, rgba(8, 18, 45, 0.15) 45%, transparent 70%);
  content: "";
}

.bk2-hero__dots {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 24px;
  display: flex;
  gap: 8px;
}

.bk2-hero__dot {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.bk2-hero__dot.is-active {
  background: var(--bk2-yellow);
}

.bk2-hero__line--blue {
  --brick: var(--bk2-blue);
  --brick-dark: var(--bk2-blue-dark);
  --brick-ink: #fff;
  margin-left: 0.5em;
  transform: rotate(1.2deg);
}

/* ---------- Snelkoppelingen: varianten ---------- */
.bk2-quick--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bk2-quick__icon .material-symbols-outlined {
  font-size: 30px;
}

.bk2-quick__brick[aria-current] {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--brick-dark), 0 0 0 4px #fff, 0 12px 24px rgba(6, 30, 70, 0.2);
}

/* ---------- Sectiekop: varianten ---------- */
.bk2 .bk2-heading h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
}

.bk2-heading--left {
  margin: 0;
  text-align: left;
}

.bk2-heading--left > p:last-child {
  margin-left: 0;
}

/* ---------- Kaarten: grids en extra's ---------- */
.bk2-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk2-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk2-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 22px; }

.bk2-cards--two > .bk2-card,
.bk2-cards--three > .bk2-card,
.bk2-cards--four > .bk2-card {
  grid-column: auto;
}

.bk2-card__body {
  padding-top: 24px;
}

.bk2-card:has(.bk2-card__number) .bk2-card__body {
  padding-top: 34px;
}

.bk2-card__tag {
  --stud-h: 7px;
  --stud-inset: 7px;
  --stud-border: 0px;
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--brick);
  color: var(--brick-ink);
  font-family: var(--bk2-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 var(--brick-dark), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.bk2-card__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.bk2-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bk2-soft);
  background: color-mix(in srgb, var(--brick) 16%, #fff);
  color: var(--bk2-ink);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.bk2-card__actions {
  margin-top: auto;
  padding-top: 12px;
}

.bk2-card--soon {
  border-style: dashed;
  box-shadow: 0 8px 0 rgba(21, 25, 43, 0.12);
}

.bk2-card--soon:hover {
  transform: none;
  box-shadow: 0 8px 0 rgba(21, 25, 43, 0.12);
}

.bk2-card--soon .bk2-card__media img {
  filter: grayscale(0.85);
  opacity: 0.75;
}

.bk2-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bk2-soft);
  color: var(--bk2-muted);
  font-family: var(--bk2-font-display);
  font-weight: 600;
}

.bk2-soon::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bk2-orange);
  content: "";
}

/* ---------- Video ---------- */
.bk2-video {
  position: relative;
  overflow: hidden;
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  margin: clamp(32px, 4vw, 48px) auto 0;
  border: 6px solid #fff;
  border-radius: 24px;
  background: var(--bk2-ink);
  box-shadow: 0 10px 0 rgba(21, 25, 43, 0.12), 0 30px 60px rgba(6, 30, 70, 0.18);
}

.bk2-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Split (tekst + media) ---------- */
.bk2-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.bk2-split__copy {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.bk2-split__copy .bk2-heading {
  margin: 0;
  text-align: left;
}

.bk2 .bk2-split__copy .bk2-heading h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.bk2-split__copy .bk2-heading > p:last-child {
  margin-left: 0;
}

.bk2-split .bk2-video {
  width: 100%;
  margin: 0;
}

/* ---------- Callout op paginaniveau ---------- */
.bk2-callout--page {
  border-color: rgba(10, 107, 196, 0.3);
  background: #fff;
  box-shadow: 0 6px 0 rgba(21, 25, 43, 0.08);
}

.bk2-cards + .bk2-callout {
  margin-top: 40px;
}

.bk2-section--top {
  padding-top: clamp(32px, 5vw, 64px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bk2-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bk2-card,
  .bk2-card--wide {
    grid-column: span 1;
  }

  .bk2-card--wide .bk2-card__media {
    aspect-ratio: 16 / 10;
  }

  .bk2-card--follow {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .bk2-quick__brick {
    padding: 16px;
  }

  .bk2-quick__icon {
    width: 44px;
    height: 44px;
  }

  .bk2-quick__icon svg {
    width: 26px;
    height: 26px;
  }

  .bk2-quick__icon .material-symbols-outlined {
    font-size: 26px;
  }

  .bk2-quick__copy strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 760px) {
  .bk2-hero__frame {
    aspect-ratio: auto;
    height: clamp(360px, 95vw, 460px);
    min-height: 0;
    border-width: 4px;
    border-radius: 24px;
  }

  .bk2-hero__frame::after,
  .bk2-hero__slide::after {
    background: linear-gradient(0deg, rgba(8, 18, 45, 0.6) 0%, rgba(8, 18, 45, 0.1) 60%, transparent 100%);
  }

  .bk2-hero__title {
    right: 18px;
    bottom: 26px;
    left: 18px;
    gap: 18px;
  }

  .bk2-hero__line--red,
  .bk2-hero__line--blue {
    margin-left: 0.3em;
  }

  .bk2-hero__dots {
    top: 16px;
    right: 16px;
  }

  .bk2-quick {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin: 30px 0 0;
  }

  .bk2-quick__brick {
    box-shadow: 0 6px 0 var(--brick-dark);
  }

  .bk2-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .bk2-refs {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .bk2-ref {
    padding: 20px;
    gap: 14px;
  }

  .bk2-ref__icon.material-symbols-outlined {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .bk2-panel {
    --stud-inset: 20px;
    border-radius: 22px;
  }

  .bk2-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .bk2-video {
    border-width: 4px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .bk2-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .bk2-card--follow {
    flex-direction: column;
    grid-column: span 1;
  }

  .bk2-card--follow .bk2-card__media {
    flex-basis: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 16px 16px 0 0;
  }

  .bk2-card--follow .bk2-card__media img {
    border-radius: 16px 16px 0 0;
  }

  .bk2-card__body {
    padding-right: 20px;
    padding-bottom: 22px;
    padding-left: 20px;
  }

  .bk2-ref {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bk2-ref__arrow {
    display: none;
  }

  .bk2-modal__dialog {
    padding: 32px 20px 22px;
  }
}

/* ==========================================================================
   Paginaspecifiek: blogoverzicht
   ========================================================================== */

/* ---------- Kaarten met linkende afbeelding en volg-kaart ---------- */
a.bk2-card__media {
  display: block;
}

.bk2-card--feature .bk2-card__media {
  background: #eef6ff;
}

.bk2-card--feature .bk2-card__media img {
  padding: 14px;
  object-fit: contain;
}


.bk2 {
  --bk2-purple: #7a3fb8;
  --bk2-purple-dark: #522780;
}

.bk2-c-purple { --brick: var(--bk2-purple); --brick-dark: var(--bk2-purple-dark); --brick-ink: #fff; }

/* ---------- Categorieën ---------- */
.bk2-blogfilters-wrap {
  margin: clamp(28px, 4vw, 40px) 0 0;
}

.bk2-blogfilters {
  display: flex;
  justify-content: center;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: thin;
}

.bk2-blogfilter {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 18px 6px 7px;
  border: 3px solid var(--brick);
  border-radius: 14px;
  background: #fff;
  color: var(--bk2-ink) !important;
  font-family: var(--bk2-font-display);
  font-size: 1.02rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--brick-dark);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.bk2-blogfilter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--brick-dark);
}

.bk2-blogfilter__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brick);
  color: var(--brick-ink);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}

.bk2-blogfilter__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

/* Actieve categorie: ingedrukt steentje in de eigen kleur */
.bk2-blogfilter.is-active {
  background: var(--brick);
  color: var(--brick-ink) !important;
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--brick-dark);
}

.bk2-blogfilter.is-active .bk2-blogfilter__icon {
  background: #fff;
  color: var(--brick-dark);
}

.bk2-blogfilters__hint {
  display: none;
}

/* ---------- Zoeken & sorteren ---------- */
.bk2-blogtools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  margin: 22px 0 0;
}

.bk2-blogtools__field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.bk2-blogtools__icon {
  position: absolute;
  left: 14px;
  display: grid;
  place-items: center;
  color: var(--bk2-blue);
  pointer-events: none;
}

.bk2-blogtools__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.bk2-blogtools__input,
.bk2-blogtools__select {
  min-height: 50px;
  margin: 0;
  padding: 0 16px 0 44px;
  border: 3px solid var(--bk2-line);
  border-radius: 12px;
  background: #fff;
  color: var(--bk2-ink);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--bk2-line);
}

.bk2-blogtools__input {
  width: min(100vw - 48px, 320px);
}

.bk2-blogtools__select {
  padding-right: 34px;
  cursor: pointer;
}

.bk2-blogtools__input:focus,
.bk2-blogtools__select:focus {
  border-color: var(--bk2-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 107, 196, 0.18);
}

/* ---------- Artikelkaarten ---------- */
#all-blogs-grid {
  scroll-margin-top: 32px;
}

.bk2-cards > .bk2-card[hidden] {
  display: none;
}

/* Eén of twee kaarten: gecentreerd in plaats van uitgerekt */
.bk2-cards--three.bk2-cards--few {
  grid-template-columns: repeat(auto-fit, minmax(0, 400px));
  justify-content: center;
}

.bk2 .bk2-card h3 a {
  color: inherit;
}

.bk2 .bk2-card h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.bk2 .bk2-card h3,
.bk2 .bk2-card__body > p {
  overflow-wrap: anywhere;
}

/* Datums bovenin de kaart: evenementdatum in de kaartkleur, publicatiedatum grijs */
.bk2-card__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}

.bk2-card__date {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.15;
}

.bk2-card__date--event {
  background: var(--brick);
  color: var(--brick-ink);
  font-family: var(--bk2-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 3px 0 var(--brick-dark);
}

.bk2-card__date--published {
  border: 2px solid var(--bk2-line);
  background: var(--bk2-soft);
  color: var(--bk2-muted);
}

.bk2-blog-search-empty {
  margin: 32px 0 0;
  color: var(--bk2-muted);
  font-family: var(--bk2-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
}

/* ---------- Geen artikelen ---------- */
.bk2-blog-empty {
  justify-items: center;
  gap: 12px;
  max-width: 640px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  text-align: center;
}

.bk2-blog-empty img {
  width: min(100%, 260px);
}

.bk2 .bk2-blog-empty h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.bk2-blog-empty p {
  max-width: 42ch;
  margin: 0 0 6px;
  color: var(--bk2-muted);
}

/* ---------- Paginering ---------- */
.bk2-pagination[hidden] {
  display: none;
}

.bk2-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 44px 0 0;
}

.bk2-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bk2-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 46px;
  min-height: 46px;
  margin: 0 0 4px;
  padding: 0 14px;
  border: 3px solid var(--bk2-line);
  border-radius: 12px;
  background: #fff;
  color: var(--bk2-ink);
  font-family: var(--bk2-font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--bk2-line);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.bk2-pagination button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--bk2-line);
}

.bk2-pagination button.is-active {
  border-color: var(--bk2-blue);
  background: var(--bk2-blue);
  color: #fff;
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--bk2-blue-dark);
}

.bk2-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.bk2 .bk2-pagination__status {
  flex-basis: 100%;
  margin: 0;
  color: var(--bk2-muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bk2-blogfilters {
    justify-content: flex-start;
  }

  .bk2-blogfilters__hint {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin: 2px 4px 0;
    color: var(--bk2-muted);
    font-size: 0.85rem;
    font-weight: 800;
  }

  .bk2-blogfilters__hint span {
    color: var(--bk2-blue);
  }
}

@media (max-width: 640px) {
  .bk2-cards--three.bk2-cards--few {
    grid-template-columns: minmax(0, 1fr);
  }

  .bk2-blogtools {
    flex-direction: column;
    gap: 10px;
  }

  .bk2-blogtools__input,
  .bk2-blogtools__select {
    width: 100%;
  }

  .bk2-pagination__step {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   Blogartikel (single_blog.rain) — v2
   ========================================================================== */

/* ---------- Kop ---------- */
.bk2-article-hero {
  padding-top: clamp(20px, 3vw, 36px);
}

.bk2-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 22px;
  color: var(--bk2-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.bk2-crumbs a {
  color: var(--bk2-blue) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.bk2-crumbs [aria-current] {
  overflow: hidden;
  max-width: 40ch;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bk2-article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.bk2-article-hero__copy {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.bk2-article-hero__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.bk2-article-hero__category {
  --stud-h: 8px;
  --stud-inset: 10px;
  --stud-border: 0px;
  display: inline-block;
  padding: 7px 16px;
  border-radius: 8px;
  background: var(--brick);
  color: var(--brick-ink) !important;
  font-family: var(--bk2-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 var(--brick-dark);
}

.bk2-article-hero__action {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bk2-red);
  color: #fff;
  font-family: var(--bk2-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 var(--bk2-red-dark);
}

.bk2 .bk2-article-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.bk2 .bk2-article-hero__lead {
  max-width: 56ch;
  margin: 0;
  color: var(--bk2-muted);
  font-size: 1.15rem;
}

.bk2-article-hero__media {
  overflow: hidden;
  margin: 0;
  border: 6px solid #fff;
  border-radius: 26px;
  background: var(--bk2-soft);
  box-shadow: 0 10px 0 var(--brick-dark), 0 30px 60px rgba(6, 30, 70, 0.16);
}

.bk2-article-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Artikel + zijbalk ---------- */
.bk2-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 48px 32px;
}

.bk2-article-main {
  display: grid;
  gap: 48px;
  min-width: 0;
}

.bk2-article-body {
  gap: 18px;
}

.bk2-article-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border-left: 6px solid var(--bk2-red);
  border-radius: 12px;
  background: #fdeaea;
  color: #7a0008;
  font-weight: 800;
}

.bk2-article-status__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bk2-red);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.bk2 .bk2-article-signoff {
  margin: 0;
  padding-top: 16px;
  border-top: 3px dashed var(--bk2-line);
  color: var(--bk2-muted);
  font-weight: 800;
}

/* Opmaak van de artikeltekst uit de Lightspeed-editor */
.bk2-prose {
  min-width: 0;
  color: var(--bk2-ink);
  font-size: 1.08rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.bk2-prose > :first-child {
  margin-top: 0;
}

.bk2-prose > :last-child {
  margin-bottom: 0;
}

.bk2 .bk2-prose p,
.bk2 .bk2-prose ul,
.bk2 .bk2-prose ol,
.bk2 .bk2-prose blockquote,
.bk2 .bk2-prose table {
  margin: 0 0 1.1em;
}

.bk2 .bk2-prose h1,
.bk2 .bk2-prose h2,
.bk2 .bk2-prose h3,
.bk2 .bk2-prose h4 {
  margin: 1.6em 0 0.5em;
  font-weight: 700;
  line-height: 1.15;
}

.bk2 .bk2-prose h1,
.bk2 .bk2-prose h2 { font-size: 1.7rem; }
.bk2 .bk2-prose h3 { font-size: 1.35rem; }
.bk2 .bk2-prose h4 { font-size: 1.15rem; }

.bk2 .bk2-prose ul,
.bk2 .bk2-prose ol {
  padding-left: 1.4em;
}

.bk2 .bk2-prose li {
  margin: 0.3em 0;
}

.bk2 .bk2-prose a {
  color: var(--bk2-blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.bk2 .bk2-prose img,
.bk2 .bk2-prose video {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin: 1.2em auto;
  border-radius: 14px;
}

.bk2 .bk2-prose iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 1.2em 0;
  border: 0;
  border-radius: 14px;
}

.bk2 .bk2-prose blockquote {
  padding: 14px 18px;
  border-left: 6px solid var(--brick);
  border-radius: 12px;
  background: var(--bk2-soft);
  font-style: italic;
}

.bk2 .bk2-prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.bk2 .bk2-prose td,
.bk2 .bk2-prose th {
  padding: 8px 12px;
  border: 2px solid var(--bk2-line);
}

.bk2 .bk2-prose hr {
  margin: 1.6em 0;
  border: 0;
  border-top: 3px dashed var(--bk2-line);
}

/* ---------- Zijbalk ---------- */
.bk2-article-side {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 32px;
}

.bk2-side-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  border: 3px solid var(--bk2-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 0 var(--bk2-line);
}

.bk2-side-card--brick {
  --stud-h: 10px;
  --stud-inset: 20px;
  --stud-border: 4px;
  border: 4px solid var(--brick);
  box-shadow: 0 6px 0 var(--brick-dark);
}

.bk2 .bk2-side-card h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
}

.bk2-side-card p {
  margin: 0;
  color: var(--bk2-muted);
}

.bk2-side-card .bk2-btn {
  margin-top: 4px;
}

.bk2-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bk2-share__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: #fff !important;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.bk2-share__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
}

.bk2-share__btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.bk2-share__btn--facebook { background: #1877f2; }
.bk2-share__btn--whatsapp { background: #1faa55; }
.bk2-share__btn--email { background: var(--bk2-orange-dark); }
.bk2-share__btn--copy { background: var(--bk2-ink); }

.bk2 .bk2-share__feedback {
  color: var(--bk2-green);
  font-weight: 800;
}

.bk2-share__feedback[hidden] {
  display: none;
}

/* ---------- Reacties ---------- */
.bk2 .bk2-comments h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.bk2-comments__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk2-comment {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bk2-soft);
}

.bk2-comment--moderator {
  background: #eef6ff;
}

.bk2-comment__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.bk2-comment__body {
  min-width: 0;
}

.bk2 .bk2-comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.bk2-comment__meta cite {
  font-family: var(--bk2-font-display);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 600;
}

.bk2-comment__meta a {
  color: var(--bk2-muted) !important;
  font-weight: 700;
}

.bk2-comment__badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bk2-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.bk2 .bk2-comment__body > p:last-child {
  margin: 0;
  overflow-wrap: anywhere;
}

.bk2 .bk2-comments__empty {
  margin: 0;
  color: var(--bk2-muted);
  font-weight: 700;
}

.bk2-comments__form {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 3px dashed var(--bk2-line);
}

.bk2 .bk2-comments__form h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.bk2-comments__form form {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.bk2-comments__field {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bk2-comments__field > span,
.bk2-comments__field legend {
  margin-bottom: 4px;
  padding: 0;
  font-weight: 800;
}

.bk2-comments__field small,
.bk2 .bk2-comments__hint {
  margin: 0;
  color: var(--bk2-muted);
  font-size: 0.88rem;
}

.bk2-comments__choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  font-weight: 700;
  cursor: pointer;
}

.bk2-comments__choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--bk2-blue);
}

.bk2-comments__textarea {
  width: 100%;
  min-height: 130px;
  padding: 12px 16px;
  resize: vertical;
}

.bk2-comments__trap {
  position: absolute;
  left: -9999px;
}

.bk2 .bk2-comments__login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 700;
}

/* ---------- Andere blogs ---------- */
.bk2-crossblogs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 28px;
  margin-top: clamp(40px, 5vw, 56px);
}

.bk2-crossblog {
  --stud-h: 11px;
  --stud-inset: 24px;
  --stud-border: 4px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 4px solid var(--brick);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 0 var(--brick-dark);
}

.bk2 .bk2-crossblog__title {
  justify-self: start;
  margin: 0 0 2px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--brick);
  color: var(--brick-ink);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 3px 0 var(--brick-dark);
}

.bk2-crossblog__list {
  display: grid;
  gap: 10px;
}

.bk2-crossblog__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border: 3px solid transparent;
  border-radius: 14px;
  background: var(--bk2-soft);
  transition: border-color 140ms ease, transform 140ms ease;
}

.bk2-crossblog__item:hover {
  border-color: var(--brick);
  transform: translateY(-2px);
}

.bk2-crossblog__item img {
  width: 88px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.bk2-crossblog__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.bk2-crossblog__copy small {
  color: var(--bk2-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.bk2-crossblog__copy strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--bk2-font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
}

.bk2-crossblog__arrow {
  padding-right: 6px;
  color: var(--bk2-blue);
  font-weight: 900;
}

.bk2-crossblog .bk2-link {
  margin-top: 4px;
}

.bk2-article-back {
  display: flex;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bk2-article-hero__grid,
  .bk2-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .bk2-article-hero__media {
    order: -1;
  }

  .bk2-article-side {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px 20px;
  }
}

@media (max-width: 760px) {
  .bk2-crossblogs {
    grid-template-columns: minmax(0, 1fr);
  }

  .bk2-article-hero__media {
    border-width: 4px;
    border-radius: 20px;
  }

  .bk2-crumbs [aria-current] {
    max-width: 22ch;
  }
}
