/* Globale basis. Alles wat op élke pagina geldt. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Voorkomt dat één te breed element de hele pagina horizontaal laat scrollen. */
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* --- Het lijntje met de stipjes (huisstijl) --------------------------------
   Hetzelfde element als in de kop van de homepage: een dunne lijn die van
   links binnenkomt, met een zachte bocht een stukje omhoog gaat en rechts
   doorloopt, met twee stipjes erop. Te gebruiken op elke achtergrond via
   {% from "lijn.njk" import lijn %} {{ lijn() }}. Het blok eromheen moet
   position: relative hebben. Instellen per plek:
   --lijn-top / --lijn-bottom (hoogte), --lijn-x (waar de bocht zit). */
.sc-lijn {
  --lijn-kleur: rgba(86, 207, 189, 0.92);
  --lijn-stip: #22507a;
  --lijn-x: 64%;
  --lijn-bocht: 56px;
  --lijn-hoogte: 30px;

  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: var(--lijn-top, 32px);
  height: var(--lijn-hoogte);
  pointer-events: none;
  opacity: 0.88;
}

.sc-lijn-onder {
  top: auto;
  bottom: var(--lijn-bottom, 32px);
}

/* Donkere achtergrond: iets zachtere lijn, lichte stipjes. */
.sc-lijn-donker {
  --lijn-kleur: rgba(86, 207, 189, 0.55);
  --lijn-stip: #56cfbd;
}

.sc-lijn::before,
.sc-lijn::after {
  content: "";
  position: absolute;
  height: 1.3px;
  background: var(--lijn-kleur);
}

.sc-lijn::before {
  left: 0;
  width: var(--lijn-x);
  bottom: 0;
  transform: translateY(50%);
}

.sc-lijn::after {
  left: calc(var(--lijn-x) + var(--lijn-bocht));
  right: 0;
  top: 0;
  transform: translateY(-50%);
}

.sc-lijn svg {
  position: absolute;
  left: var(--lijn-x);
  top: 0;
  width: var(--lijn-bocht);
  height: 100%;
  overflow: visible;
}

.sc-lijn path {
  fill: none;
  stroke: var(--lijn-kleur);
  stroke-width: 1.3px;
  stroke-linecap: round;
}

.sc-lijn i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lijn-stip);
}

.sc-lijn i:first-of-type {
  left: calc(var(--lijn-x) - min(22vw, 320px));
  bottom: 0;
  transform: translate(-50%, 50%);
}

.sc-lijn i:last-of-type {
  left: calc(var(--lijn-x) + var(--lijn-bocht) + min(9vw, 140px));
  top: 0;
  transform: translate(-50%, -50%);
}
