/* Stijl voor /oppas-worden en /oppas-worden/boeking.
   Stond inline in de sjabloon; sinds de pagina is opgedeeld (klant
   2026-09-09, te veel scrollen) delen twee pagina's dezelfde opmaak, en een
   kopie per pagina loopt gegarandeerd uiteen. */

/* ── Alleen deze pagina. Porto levert de opbouw, hier de EvenJij-details.
      De vragen klappen uit met de native details/summary, dus zonder
      JavaScript. Geen border-radius: scherpe hoeken zijn centraal
      geregeld. ─────────────────────────────────────────────────────── */
.ej-ow > section.ej-ow-section { padding: 4.5rem 0; }
section.section.ej-ow-alt { background: var(--ej-band); }

/* Porto zet h3/h4 in kapitalen met letterafstand; hier lopen de koppen als
   gewone zinnen door, dat leest rustiger. */
.ej-ow h3, .ej-ow h4 { text-transform: none; letter-spacing: 0; }

/* Beeldkaders: de foto's zijn staand, dus vaste verhouding + cover. */
.ej-ow-media { overflow: hidden; box-shadow: var(--ej-shadow); background: var(--ej-primary-soft); }
.ej-ow-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ej-ow-media-tall { aspect-ratio: 3 / 4; }
.ej-ow-media-wide { aspect-ratio: 4 / 3; }

/* Drie kernpunten onder de intro */
.ej-ow-usp {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  background: var(--ej-surface);
  border: 1px solid var(--ej-border);
  border-left: 4px solid var(--ej-primary);
  box-shadow: var(--ej-shadow-sm);
}
.ej-ow-usp-icon { flex: 0 0 auto; font-size: 1.35rem; line-height: 1.3; color: var(--ej-primary); }
.ej-ow-usp-body { display: block; }
.ej-ow-usp-title {
  display: block;
  font-weight: 700;
  color: var(--ej-dark);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}
.ej-ow-usp-text { display: block; font-size: 0.87rem; color: var(--ej-ink-soft); line-height: 1.45; }

/* Rekenvoorbeeld */
.ej-ow-calc {
  background: var(--ej-surface);
  border: 1px solid var(--ej-border);
  border-top: 4px solid var(--ej-primary);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: var(--ej-shadow-sm);
}
.ej-ow-calc-title { font-size: 1.08rem; font-weight: 600; color: var(--ej-dark); margin: 0 0 0.5rem; }
.ej-ow-calc-intro { color: var(--ej-ink); font-size: 0.95rem; margin-bottom: 0.9rem; }
.ej-ow-calc-list { list-style: none; margin: 0 0 1rem; padding: 0; }

/* Het rekenvoorbeeld als tabel (klant 2026-09-10). De uitgeschreven sommen
   waren onduidelijk; nu staat per dienst op een rij wat je overhoudt. De
   bedragen krijgen tabulaire cijfers, anders staan de kommas niet onder
   elkaar en telt het oog het niet als een kolom. */
.ej-ow-calc-wrap { overflow-x: auto; margin: 0 0 1rem; }
.ej-ow-calc-tabel { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.ej-ow-calc-tabel th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ej-ink-soft);
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--ej-border);
  white-space: nowrap;
}
.ej-ow-calc-tabel td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ej-border);
  color: var(--ej-ink-soft);
  vertical-align: baseline;
}
.ej-ow-calc-tabel td:first-child { color: var(--ej-ink); font-weight: 600; padding-right: 1.1rem; }
.ej-ow-calc-tabel td:nth-child(2) { padding-right: 1.1rem; white-space: nowrap; }
.ej-ow-calc-tabel th:last-child,
.ej-ow-calc-tabel td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ej-ow-calc-tabel td:last-child strong { color: var(--ej-dark); }
.ej-ow-calc-tabel tr:last-child td { border-bottom: 0; }
.ej-ow-calc-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.9rem;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ej-border);
}
.ej-ow-calc-list li:first-child { border-top: 1px solid var(--ej-border); }
.ej-ow-calc-case { color: var(--ej-ink); font-size: 0.93rem; font-weight: 600; }
.ej-ow-calc-sum { color: var(--ej-ink-soft); font-size: 0.93rem; }
.ej-ow-calc-sum strong { color: var(--ej-dark); }
.ej-ow-calc-foot { color: var(--ej-ink-soft); font-size: 0.87rem; line-height: 1.65; }

/* Prijslijst vanuit de Buddy bekeken: het bedrag rechts, de uitleg klein
   eronder. Zelfde opzet als op /tarieven, en om dezelfde reden (2026-09-21):
   wie hier komt wil weten wat hij overhoudt, en dat hoort een getal te zijn en
   geen zin waar dat getal in verstopt zit. */
.ej-ow-prijs { margin: 0 0 1rem; }
.ej-ow-prijs-rij {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ej-border);
}
.ej-ow-prijs-rij:last-child { border-bottom: 0; }
.ej-ow-prijs dt { font-weight: 600; color: var(--ej-dark); flex: 1 1 auto; min-width: 0; }
.ej-ow-prijs dd {
  margin: 0; flex: 0 0 auto; text-align: right;
  font-weight: 700; color: var(--ej-dark); max-width: 60%;
}
.ej-ow-prijs dd span {
  display: block; font-weight: 400; font-size: 0.82rem;
  color: var(--ej-ink-soft); line-height: 1.5; margin-top: 0.15rem;
}
.ej-ow-prijs-voet { font-size: 0.9rem; color: var(--ej-ink-soft); line-height: 1.7; }

@media (max-width: 575.98px) {
  .ej-ow-prijs-rij { display: block; }
  .ej-ow-prijs dd { text-align: left; max-width: none; margin-top: 0.2rem; }
}

/* Zijkaart "Zo krijg je je geld" */
.ej-ow-side {
  background: var(--ej-surface);
  border: 1px solid var(--ej-border);
  border-left: 4px solid var(--ej-dark);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--ej-shadow-sm);
}
.ej-ow-side-title { font-size: 1.05rem; font-weight: 600; color: var(--ej-dark); margin: 0 0 0.9rem; }
.ej-ow-money { list-style: none; margin: 0 0 1rem; padding: 0; }
.ej-ow-money li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  color: var(--ej-ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}
.ej-ow-money li > i { flex: 0 0 auto; color: var(--ej-primary); margin-top: 0.28rem; }
.ej-ow-side-foot { color: var(--ej-ink-soft); font-size: 0.87rem; line-height: 1.65; }

/* Genummerde stappen */
.ej-ow-steps { list-style: none; margin: 0; padding: 0; }
.ej-ow-step { position: relative; display: flex; gap: 1.15rem; padding-bottom: 1.85rem; }
.ej-ow-step:last-child { padding-bottom: 0; }
.ej-ow-step::before {
  content: "";
  position: absolute;
  left: calc(1.4rem - 1px);
  top: 3.1rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--ej-border);
}
.ej-ow-step:last-child::before { display: none; }
.ej-ow-step-num {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ej-primary);
  color: var(--ej-cream);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}
.ej-ow-step-body { padding-top: 0.15rem; }
.ej-ow-step-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ej-dark);
  margin: 0 0 0.4rem;
}
.ej-ow-step p { color: var(--ej-ink-soft); }

/* Terzijde-notitie */
/* Witte kaart, gelijk aan de notities op de andere publieke pagina's. */
.ej-ow-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.1rem 1.2rem;
  background: var(--ej-surface);
  border: 1px solid var(--ej-border);
  border-left: 4px solid var(--ej-primary);
  box-shadow: var(--ej-shadow-sm);
}
.ej-ow-note > i { color: var(--ej-primary); font-size: 1.1rem; margin-top: 0.2rem; }
.ej-ow-note p { color: var(--ej-ink); font-size: 0.93rem; }
.ej-ow-note strong { color: var(--ej-dark); }

/* Kaarten "Jij houdt de regie" */
.ej-ow-card {
  background: var(--ej-surface);
  border: 1px solid var(--ej-border);
  border-top: 4px solid var(--ej-primary);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--ej-shadow-sm);
}
.ej-ow-alt .ej-ow-card { background: var(--ej-surface); }
.ej-ow-card-icon { display: block; font-size: 1.5rem; color: var(--ej-primary); margin-bottom: 0.7rem; }
.ej-ow-card-title { font-size: 1.02rem; font-weight: 600; color: var(--ej-dark); margin: 0 0 0.5rem; }
.ej-ow-card p { font-size: 0.9rem; color: var(--ej-ink-soft); line-height: 1.6; }


/* Vraag en antwoord */
.ej-ow-faq-item {
  background: var(--ej-surface);
  border: 1px solid var(--ej-border);
  border-left: 4px solid var(--ej-primary);
  margin-bottom: 0.75rem;
}
.ej-ow-faq-item > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--ej-dark);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.ej-ow-faq-item > summary::-webkit-details-marker { display: none; }
.ej-ow-faq-item > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ej-eyebrow);
}
.ej-ow-faq-item[open] > summary::after { content: "-"; }
.ej-ow-faq-item > summary:hover { color: var(--ej-dark); }
.ej-ow-faq-item > summary:focus-visible { outline: 2px solid var(--ej-dark); outline-offset: -2px; }
.ej-ow-faq-answer { padding: 0 1.2rem 1.15rem; }
.ej-ow-faq-answer p { color: var(--ej-ink-soft); font-size: 0.95rem; line-height: 1.7; }

/* Rustige tweede link onder de slotknop */
.ej-ow-cta-quiet { color: #fff; opacity: 0.85; font-size: 0.93rem; }
.ej-ow-cta-quiet a { color: #fff; text-decoration: underline; font-weight: 600; }
.ej-ow-cta-quiet a:hover { color: var(--ej-cream); }

@media (min-width: 992px) {
  .ej-ow-sticky { position: sticky; top: 110px; }
}
@media (max-width: 575.98px) {
  .ej-ow > section.ej-ow-section { padding: 3rem 0; }
  .ej-ow-media-tall { aspect-ratio: 4 / 3; }
  .ej-ow-step { gap: 0.9rem; }
  .ej-ow-step-num { width: 2.4rem; height: 2.4rem; font-size: 0.95rem; }
  .ej-ow-step::before { left: calc(1.2rem - 1px); top: 2.7rem; }
  .ej-ow-faq-item > summary { font-size: 0.97rem; padding: 0.9rem 1rem; }
  .ej-ow-faq-answer { padding: 0 1rem 1rem; }
}
