.code .kolommen__hoofd { container: hoofd / inline-size; }
.code .kolommen__hoofd .blok + .blok { margin-top: clamp(64px, 6.2vw, 92px); }
.code .blok > .label { margin-bottom: 12px; }
.code .blok > .label + h2 { margin-top: 0; }
.code .blok > h2 { text-wrap: balance; }

.code-waarom h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 19em; }
.code-waarom .intro { margin-top: 20px; max-width: 34em; }
.code-waarom h2 mark {
  background: none; color: inherit;
  text-decoration-line: underline; text-decoration-color: var(--geel); text-decoration-thickness: 0.13em;
  text-underline-offset: 0.12em; text-decoration-skip-ink: none;
}

.vl { margin-top: 28px; }

.vl__delen { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.75fr); column-gap: 2.5%; }
.vl__deel { display: flex; flex-direction: column; }

.vl__balk { display: flex; gap: 3px; height: 16px; }
.vl__balk i { flex: var(--d) 1 0; background: var(--lijn); }
.vl__balk i.geel { background: var(--geel); }
.vl__vlak { flex: 1; margin-top: 3px; padding: 16px 22px 22px; background: var(--vlak); border-radius: 0 0 var(--r) var(--r); }
.vl__naam { display: flex; align-items: baseline; gap: 10px; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -0.02em; }
.vl__nr { color: var(--gedempt); font-variant-numeric: tabular-nums; }
.vl__duur { margin-top: 2px; font-size: 1rem; font-weight: 500; color: var(--gedempt); }
.vl__kern { margin-top: 16px; font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--inkt); }
.vl__tekst { margin-top: 8px; font-size: 1rem; line-height: 1.5; }

@container hoofd (max-width: 620px) {
  .vl__delen { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .vl__vlak { padding: 14px 18px 18px; }
  .vl__kern { margin-top: 12px; }
}

.bakken { margin-top: 24px; display: grid; row-gap: 36px; }
.bak { margin: 0; }
.bak__svg { display: block; width: 100%; height: auto; }
.bak--groot .bak__beeld { width: min(100%, 601px); }
.bak--klein .bak__beeld { width: min(93.3%, 561px); }
.bak-tag--los .bak-tag__vlak { fill: transparent; }

.bak__duiding { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; color: var(--inkt); }
.bak__deel { flex-basis: 100%; font-size: var(--t-klein); font-weight: 500; color: var(--gedempt); }
.bak__cijfer { font-size: 1.0625rem; line-height: 1.4; }
.bak__cijfer b { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-right: 2px; }

@container hoofd (min-width: 760px) {
  .bakken { row-gap: 20px; }
  .bak { display: grid; align-items: end; column-gap: 36px; }
  .bak .bak__beeld { width: auto; }
  .bak--klein { grid-template-columns: 561px minmax(0, 1fr); }
  .bak--groot { grid-template-columns: minmax(0, 1fr) 601px; }
  .bak--groot .bak__beeld { grid-column: 2; grid-row: 1; }
  .bak--groot .bak__duiding { grid-column: 1; grid-row: 1; justify-items: end; text-align: right; }
  .bak__duiding { display: grid; gap: 0; margin: 0 0 18px; }
  .bak__deel { margin-bottom: 10px; }
  .bak__cijfer { display: grid; font-size: 1rem; line-height: 1.35; }
  .bak__cijfer + .sr-only + .bak__cijfer { margin-top: 10px; }
  .bak__cijfer b { font-size: 1.75rem; line-height: 1.1; margin: 0; }
}

@media (max-width: 1023px) {
  .code .kolommen__hoofd .blok:first-child { margin-top: 0; }
}

@media (max-width: 640px) {
  .vl__naam { font-size: 1.25rem; }
  .vl__kern { font-size: 1.1875rem; }
}
