/* Baggerfestival Sliedrecht - gedeelde opmaak voor alle pagina's (geladen via lib/site.php) */
:root {
  --blue: #164194;
  --red: #e8412c;
  --text: #2f3d66;
  --bg: #ffffff;
  --band: clamp(96px, 18vh, 170px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  animation: fadeIn 1.2s ease both;
}

.wrap { max-width: 600px; width: 100%; }

.logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

.divider {
  display: block;
  width: 84px;
  height: auto;
  margin: 0 auto 1.75rem;
  color: var(--red);
  fill: currentColor;
}

p {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
}

p + p { margin-top: 1.1rem; }

p strong { font-weight: 600; color: var(--blue); }

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

/* Pil-knop: de social-knoppen op de homepage en alle andere knoppen (.btn) delen deze stijl */
.socials a,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 1.4rem 0.72rem 1.15rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.socials a:hover,
.socials a:focus-visible,
.btn:hover,
.btn:focus-visible {
  background: var(--red);
  transform: translateY(-2px);
}

.socials a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.socials svg,
.btn svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.4rem;
}

footer {
  position: relative;
  flex: none;
  height: var(--band);
  overflow: hidden;
}

.waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.waves svg {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  display: block;
  fill: var(--blue);
  will-change: transform;
  animation: driftLeft 18s linear infinite;
}

.copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  text-align: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0 1rem;
}

/* --- Fotoalbums: edities --- */
.albums {
  width: 100%;
  max-width: 720px;
  margin-top: 3.25rem;
}

.albums-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.edition-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  box-shadow: 0 10px 30px rgba(22, 65, 148, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.edition-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.edition-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 65, 148, 0.95) 0%, rgba(22, 65, 148, 0.45) 40%, rgba(22, 65, 148, 0) 70%);
}

.edition-card__body {
  position: absolute;
  left: 1.25rem;
  right: 3.75rem;
  bottom: 1.1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.edition-card__year {
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.1;
}

.edition-card__meta {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}

.edition-card__arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.edition-card__arrow svg { width: 18px; height: 18px; display: block; }

.edition-card:hover,
.edition-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(22, 65, 148, 0.26);
}

.edition-card:hover img,
.edition-card:focus-visible img { transform: scale(1.05); }

.edition-card:hover .edition-card__arrow { transform: translateX(3px); }

.edition-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* --- Pop-up: albums van een editie --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 29, 70, 0.7);
  backdrop-filter: blur(3px);
  animation: fade 0.25s ease both;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 2.5rem);
  max-height: calc(100dvh - 2.5rem);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 30px 70px rgba(5, 15, 45, 0.35);
  animation: popIn 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.1) both;
}

.modal__close,
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal__close:hover, .modal__close:focus-visible,
.lightbox__close:hover, .lightbox__close:focus-visible { background: var(--red); transform: rotate(90deg); }

.modal__close svg, .lightbox__close svg { width: 16px; height: 16px; display: block; }

.modal__title {
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--blue);
  padding-right: 3rem;
}

.modal__sub { font-size: 0.95rem; margin: 0.2rem 0 1.4rem; }

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.album-card {
  display: block;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--text);
  border-radius: 14px;
}

.album-card__img {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: #e9edf7;
}

.album-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.album-card__count {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
}

.album-card__label {
  display: block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--blue);
}

.album-card:hover img, .album-card:focus-visible img { transform: scale(1.05); }
.album-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: rgba(8, 20, 52, 0.97);
  color: #fff;
  animation: fade 0.25s ease both;
}

.lightbox[hidden] { display: none; }

.lightbox__top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 4.5rem 0.9rem 1.25rem;
  min-height: 64px;
}

.lightbox__title { display: flex; flex-direction: column; line-height: 1.2; }
.lightbox__title strong { font-weight: 600; font-style: italic; font-size: 1.05rem; }
.lightbox__title span { font-size: 0.8rem; opacity: 0.75; }

.lightbox__counter {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

.lightbox__close { top: 0.75rem; right: 1rem; background: rgba(255, 255, 255, 0.12); }

.lightbox__stage {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4.5rem;
}

.lightbox__frame,
.lightbox__frame picture { display: contents; }

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Laadindicator: verschijnt alleen als een foto langer dan 0,3 s op zich laat wachten */
.lightbox__stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.15s ease 0s;
  pointer-events: none;
}

.lightbox.is-loading .lightbox__stage::after { opacity: 1; transition-delay: 0.3s; }

/* Verborgen voorlaadbak: echte <picture>-elementen zodat de browser zelf formaat en maat kiest */
.preload-box {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.lightbox__nav svg { width: 20px; height: 20px; display: block; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav:hover, .lightbox__nav:focus-visible { background: var(--red); }

.lightbox__strip {
  flex: none;
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem 0.9rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.lightbox__thumb {
  flex: none;
  width: 108px;
  height: 72px;
  border: 0;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.08);
  outline: 3px solid transparent;
  outline-offset: -3px;
  transition: opacity 0.2s ease, outline-color 0.2s ease;
}

.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox__thumb:hover { opacity: 0.85; }
.lightbox__thumb.is-active { opacity: 1; outline-color: var(--red); }
.lightbox__thumb:focus-visible { opacity: 1; outline-color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes driftLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-4%); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  main, .waves svg, .modal__backdrop, .modal__panel, .lightbox { animation: none; }
}

@media (max-width: 640px) {
  .albums { margin-top: 2.5rem; }
  .albums-title { font-size: 1.1rem; }
  .edition-grid { grid-template-columns: 1fr; gap: 1rem; }
  .modal { padding: 0.75rem; }
  .modal__panel { padding: 1.5rem 1.25rem; border-radius: 18px; }
  .modal__title { font-size: 1.3rem; }
  .album-grid { gap: 0.75rem; }
  .lightbox__top { padding: 0.75rem 3.75rem 0.75rem 1rem; min-height: 56px; }
  .lightbox__stage { padding: 0 0.5rem; }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .lightbox__thumb { width: 78px; height: 52px; }
  .lightbox__strip { padding: 0.6rem 0.75rem 0.75rem; }
}

@media (max-width: 480px) {
  :root { --band: clamp(80px, 13vh, 120px); }
  main { padding-top: 2.5rem; }
  .logo { max-width: 250px; margin-bottom: 1.25rem; }
  p { font-size: 0.98rem; }
  .socials { gap: 0.6rem; margin-top: 1.6rem; }
  .socials a { font-size: 0.9rem; padding: 0.65rem 1.2rem 0.65rem 1rem; }
  .copyright { font-size: 0.74rem; bottom: 0.7rem; }
}

/* --- Persbericht --- */
.pb-main {
  display: block;
  flex: 1 0 auto;
  padding: 0;
  text-align: left;
  animation: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.topbar__logo img { display: block; width: 120px; height: auto; }

.topbar .btn { flex: none; }

.pb-layout {
  max-width: 760px;
  margin: 0 auto;
}

.pb {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 1.25rem;
  animation: fadeIn 0.8s ease both;
}

/* Meedoen-blok: mobiel onder het artikel, vanaf tablet een meescrollende zijkolom rechts */
.pb-side { padding: 0 1.5rem 3rem; }

.pb-cta {
  padding: 1.5rem 1.6rem 1.7rem;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 34px rgba(22, 65, 148, 0.25);
}

.pb-cta h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: #fff;
}

.pb-cta p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #fff;
  opacity: 0.92;
}

.pb-cta .btn { margin-top: 0.4rem; max-width: 100%; }
.pb-cta .btn span { white-space: nowrap; }

.btn--red { background: var(--red); }
.btn--red:hover, .btn--red:focus-visible { background: #fff; color: var(--blue); }
.btn--red:focus-visible { outline-color: #fff; }

@media (min-width: 768px) {
  .pb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 2.5rem;
    max-width: 1120px;
    padding: 0 1.5rem;
  }
  .pb { margin: 0; padding: 2.25rem 0 3.5rem; }
  .pb-side { padding: 2.25rem 0 3.5rem; }
  .pb-cta { position: sticky; top: 1.5rem; padding: 1.4rem 1.35rem 1.5rem; }
  .pb-cta .btn { font-size: 0.9rem; }
}

@media (min-width: 1024px) {
  .pb-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; }
  .pb-cta { padding: 1.5rem 1.6rem 1.7rem; }
  .pb-cta .btn { font-size: 0.95rem; }
}

.pb__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.pb__kicker time {
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--text);
  opacity: 0.75;
}

.pb h1 {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--blue);
}

.pb__sub {
  margin-bottom: 1.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--blue);
  opacity: 0.85;
}

.pb p { margin: 0 0 1rem; }

.pb__lead { font-size: 1.12rem; font-weight: 500; }

.pb__plaats { font-weight: 600; letter-spacing: 0.04em; }

.pb h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--blue);
}

.pb a { color: var(--blue); font-weight: 600; }
.pb a:hover, .pb a:focus-visible { color: var(--red); }

.pb-figure { margin: 1.25rem 0 1.75rem; }

.pb-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(22, 65, 148, 0.16);
}

.pb-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.8;
}

.pb-figure__credit {
  font-style: italic;
}

.pb blockquote {
  margin: 1.5rem 0 1.75rem;
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-left: 4px solid var(--red);
  font-size: 1.08rem;
  font-style: italic;
}

.pb blockquote p { margin-bottom: 0.5rem; }

.pb__cite {
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
}

.pb-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: #eef2fa;
  font-size: 0.95rem;
}

.pb-box h2 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.pb-box p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .topbar { padding: 1.1rem 1.1rem 0; }
  .topbar__logo img { width: 96px; }
  .pb { padding: 1.75rem 1.1rem 1rem; }
  .pb h2 { margin-top: 1.75rem; }
  .pb-figure { margin: 1rem -0.25rem 1.5rem; }
  .pb-box { padding: 1.1rem 1.15rem; }
  .pb-side { padding: 0 1.1rem 2.5rem; }
  .pb-cta { padding: 1.3rem 1.25rem 1.45rem; }
}

/* --- Foutpagina's (404.html, 500.html) --- */
.err .logo { max-width: 220px; margin-bottom: 1rem; }

.err__code {
  margin: 0;
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
}

.err__titel {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue);
}

.err .actions { margin-top: 1.5rem; }

/* --- Statistiekenportaal (/stats) --- */
.st {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3.5rem;
}

.st-titel {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--blue);
}

.st-intro { margin: 0.25rem 0 1.25rem; font-size: 0.95rem; opacity: 0.8; }

.st-fout {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #fdeceb;
  color: #8a2418;
  font-weight: 500;
}

.st-filters { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 1.5rem; }

.st-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.st-filter a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 2px solid #dfe5f3;
  background: #fff;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.st-filter a:hover, .st-filter a:focus-visible { border-color: var(--red); }
.st-filter a.is-actief { background: var(--blue); border-color: var(--blue); color: #fff; }

.st-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.st-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
}

.st-kpi__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.st-kpi__waarde { font-size: 2rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-kpi__uitleg { font-size: 0.75rem; opacity: 0.75; }

.st-kaart {
  padding: 1.1rem 1.25rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #e6ebf6;
}

.st-kaart h2 { margin: 0 0 0.75rem; font-size: 1.05rem; font-weight: 600; color: var(--blue); }
.st-kaart--breed { margin-bottom: 1.25rem; }
.st-leeg { font-size: 0.9rem; opacity: 0.7; }

.st-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.st-grafiek { display: block; width: 100%; height: auto; }
.st-grafiek .st-grid { stroke: #e6ebf6; stroke-width: 1; }
.st-grafiek .st-basis { stroke: #c9d2e8; stroke-width: 1; }
.st-grafiek .st-as { font-size: 11px; fill: var(--text); opacity: 0.7; }
.st-grafiek .st-staaf path { fill: var(--blue); }
.st-grafiek .st-staaf:hover path { fill: var(--red); }

.st-tabel { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.st-tabel th, .st-tabel td { padding: 0.4rem 0.5rem; text-align: left; vertical-align: middle; border-top: 1px solid #eef1f8; }
.st-tabel tr:first-child th, .st-tabel tr:first-child td { border-top: 0; }
.st-tabel td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-tabel th[scope="row"] { position: relative; font-weight: 500; overflow: hidden; }
.st-balk { position: absolute; left: 0; top: 4px; bottom: 4px; background: #e9eefb; border-radius: 6px; }
.st-naam { position: relative; overflow-wrap: anywhere; }
.st-pct { width: 3.5rem; text-align: right; opacity: 0.6; }

.st-scroll { overflow-x: auto; }
.st-tabel--log { font-size: 0.82rem; }
.st-tabel--log thead th { font-weight: 600; color: var(--blue); border-top: 0; white-space: nowrap; }
.st-tabel--log td { white-space: nowrap; }
.st-tabel--log tr.is-eigen td { opacity: 0.55; }

@media (max-width: 640px) {
  .st { padding: 1.25rem 1.1rem 3rem; }
  .st-kpi__waarde { font-size: 1.6rem; }
}
