/* wsc_hero block styles */
/* ---------- Stat pills ---------- */
.wsc-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); }
.wsc-stat__value {
  font-family: var(--wsc-font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.02em;
  line-height: 1;
}
.wsc-stat__label { font-size: 13px; color: var(--wsc-ink-3); margin-top: 6px; }

/* ---------- Hero ---------- */
.wsc-hero { position: relative; background: var(--wsc-surface); border-bottom: 1px solid var(--wsc-line); overflow: hidden; }
.wsc-hero__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.wsc-hero__text { flex: 1 1 440px; min-width: 300px; }
.wsc-hero__media { flex: 1 1 380px; min-width: 290px; position: relative; }
.wsc-hero__badge {
  position: absolute; z-index: 2; bottom: 22px; left: 22px;
  background: var(--wsc-ink); color: #fff; border-radius: var(--wsc-radius);
  padding: 16px 18px; box-shadow: 0 14px 34px rgba(20, 22, 27, .3); max-width: 220px;
}
.wsc-hero__badge b { font-family: var(--wsc-font-head); font-weight: 800; font-size: 30px; line-height: 1; display: block; }
.wsc-hero__badge span { font-size: 12.5px; color: var(--wsc-footer-ink); margin-top: 5px; display: block; }

/* Decorative orange squares block */
.wsc-marks { position: relative; width: 64px; height: 64px; }
.wsc-marks span { position: absolute; background: var(--wsc-accent); }
.wsc-marks span:nth-child(1) { top: 0; left: 0; width: 26px; height: 26px; }
.wsc-marks span:nth-child(2) { top: 28px; left: 28px; width: 20px; height: 20px; opacity: .45; }
.wsc-marks span:nth-child(3) { top: 28px; left: 0; width: 20px; height: 20px; }

/* Configurable brand-mark (replaces the old decorative squares) */
.wsc-hero__mark { position: relative; width: 56px; height: 56px; margin-bottom: 4px; }
.wsc-hero__mark .wsc-mark { width: 56px; height: 56px; }

/* ---------- Mobile (≤600px): calmer hero ---------- */
/* A separate mobile image is hidden on desktop until the swap kicks in. */
.wsc-hero__img--mobile { display: none; }

/* On mobile (where the two columns wrap under each other): optionally hide the
   hero image, or swap to a dedicated mobile image if one was chosen. */
@media (max-width: 820px) {
  .wsc-hero__media--mhide { display: none !important; }
  .wsc-hero__media--hasmob .wsc-hero__img--main { display: none; }
  .wsc-hero__media--hasmob .wsc-hero__img--mobile { display: block; }
}

@media (max-width: 600px) {
  .wsc-marks { display: none; }              /* decorative squares off */
  .wsc-hero__badge { position: static; max-width: none; margin-top: 14px; box-shadow: none; }
  .wsc-stats { gap: 20px 28px; }
}

/* ---------- Bewegend beeld in de hero -------------------------------------
   De poster is een gewone <img> die blijft liggen; de video komt eroverheen en
   vervangt hem alleen als hij ook echt speelt. Komt hij nooit, dan is de hero
   nog steeds af. */
/* In de standaardweergave staat de video in de beeldkolom en heeft hij dus een
   eigen verhouding nodig; een thema dat hem paginavullend gebruikt overschrijft
   dat met zijn eigen maat. */
.wsc-herovideo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }

.wsc-herovideo__poster,
.wsc-herovideo__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* De video ligt erboven maar is onzichtbaar tot hij speelt. Een overgang van
   een halve seconde: sneller wordt een schok, langer merk je als wachten. */
.wsc-herovideo__video {
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.wsc-herovideo.is-speelt .wsc-herovideo__video { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wsc-herovideo__video { transition: none; }
}


