/* 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; }
}


/* ==========================================================================
   Websignaal Formulier — front-end styling (wsc design tokens from wsc/core).
   Inputs are rendered by the core form machinery with .form-control /
   .form-check classes, so we target those inside .wsc-form.
   ========================================================================== */

.wsc-form { max-width: 620px; }

.wsc-form__fields { display: grid; gap: 20px; }
.wsc-form__group { display: grid; gap: 8px; }

.wsc-form__label {
  font-family: var(--wsc-font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--wsc-ink);
  line-height: 1.3;
}
.wsc-form__req { color: var(--wsc-accent-2); margin-left: 2px; }

/* ---------- Text-like inputs ---------- */
.wsc-form .form-control {
  width: 100%;
  font-family: var(--wsc-font-body);
  font-size: 16px;
  color: var(--wsc-ink);
  background: var(--wsc-surface);
  border: 1px solid var(--wsc-line-2);
  border-radius: 12px;
  padding: 13px 15px;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.wsc-form textarea.form-control { min-height: 140px; resize: vertical; }
.wsc-form .form-control::placeholder { color: var(--wsc-ink-3); }
.wsc-form .form-control:focus {
  outline: none;
  border-color: var(--wsc-accent);
  box-shadow: 0 0 0 3px rgba(255, 169, 52, .25);
}

.wsc-form select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234E5563' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}

.wsc-form input[type="file"].form-control { padding: 10px 15px; background: var(--wsc-bg); }

/* ---------- Checkboxes / radios ---------- */
.wsc-form .form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 16px; color: var(--wsc-ink-2);
}
.wsc-form .form-check-input {
  width: 19px; height: 19px; margin-top: 2px; flex: none;
  accent-color: var(--wsc-accent);
}
.wsc-form .form-check-label { cursor: pointer; }
.wsc-form .checkboxList { display: grid; gap: 10px; }

/* ---------- Invalid state + inline error ---------- */
.wsc-form__group.is-invalid .form-control {
  border-color: #D64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, .15);
}
.wsc-form__group.is-invalid .wsc-form__label { color: #C0392B; }
.wsc-form__error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #C0392B;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 4px;
}
.wsc-form__error::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C0392B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

/* ---------- Alerts ---------- */
.wsc-form__alert {
  border-radius: var(--wsc-radius);
  padding: 16px 18px; margin-bottom: 22px;
  font-size: 15px; line-height: 1.5;
}
.wsc-form__alert--success { background: #E9F7EF; border: 1px solid #B7E4C7; color: #1B6B3A; }
.wsc-form__alert--error { background: #FCECEC; border: 1px solid #F3C0C0; color: #A12626; }
.wsc-form__alert .error { margin-top: 4px; }

/* ---------- reCAPTCHA ---------- */
.wsc-form__captcha { margin-top: 22px; }
.wsc-form__captcha .g-recaptcha { display: inline-block; }

/* ---------- Actions ---------- */
.wsc-form__actions { margin-top: 26px; }
.wsc-form__actions .wsc-btn { border: 0; font-size: 16px; }

/* ---------- a11y helper ---------- */
.wsc-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Dark band ---------- */
.wsc-band--dark .wsc-form__label { color: #fff; }
.wsc-band--dark .wsc-form .form-control {
  background: #1B1E25; border-color: rgba(255,255,255,.14); color: #fff;
}
.wsc-band--dark .wsc-form .form-check { color: var(--wsc-footer-ink); }


/* ==========================================================================
   wsc_layout — placeable column row ("Websignaal Layout")
   The three track lists come in as inline custom properties (--wsc-lay-d/-t/-m),
   NEVER as an inline grid-template-columns, so these media queries keep winning.
   Breakpoints: desktop >1024px · tablet 601–1024px · phone ≤600px.
   ========================================================================== */

.wsc-lay {
  width: 100%;
  overflow-x: clip; /* safety net: no sideways page scroll from a wide child */
}

.wsc-lay__grid {
  display: grid;
  grid-template-columns: var(--wsc-lay-d, minmax(0, 1fr));
  gap: var(--wsc-lay-gap, clamp(20px, 3vw, 34px));
  align-items: var(--wsc-lay-va, stretch);
}

.wsc-lay__col {
  min-width: 0; /* lets wide children (tables, code, images) shrink */
  position: relative;
}

.wsc-lay__col > *:last-child { margin-bottom: 0; }

/* ---------- Width / inner container ---------- */
.wsc-lay__inner { margin-inline: auto; }
.wsc-lay--w-contained .wsc-lay__inner { max-width: var(--wsc-maxw, 1220px); padding-inline: var(--wsc-gutter, clamp(18px, 4vw, 40px)); }
.wsc-lay--w-wide .wsc-lay__inner { max-width: 1560px; padding-inline: var(--wsc-gutter, clamp(18px, 4vw, 40px)); }
.wsc-lay--w-full .wsc-lay__inner { max-width: none; padding-inline: 0; }

/* ---------- Vertical rhythm ---------- */
.wsc-lay--pt-none .wsc-lay__inner { padding-top: 0; }
.wsc-lay--pt-s .wsc-lay__inner { padding-top: clamp(20px, 3vw, 32px); }
.wsc-lay--pt-m .wsc-lay__inner { padding-top: var(--wsc-section-y, clamp(56px, 8vw, 96px)); }
.wsc-lay--pt-l .wsc-lay__inner { padding-top: clamp(80px, 10vw, 140px); }
.wsc-lay--pb-none .wsc-lay__inner { padding-bottom: 0; }
.wsc-lay--pb-s .wsc-lay__inner { padding-bottom: clamp(20px, 3vw, 32px); }
.wsc-lay--pb-m .wsc-lay__inner { padding-bottom: var(--wsc-section-y, clamp(56px, 8vw, 96px)); }
.wsc-lay--pb-l .wsc-lay__inner { padding-bottom: clamp(80px, 10vw, 140px); }

/* ---------- Gaps ---------- */
.wsc-lay--gap-none { --wsc-lay-gap: 0px; }
.wsc-lay--gap-xs { --wsc-lay-gap: 8px; }
.wsc-lay--gap-s { --wsc-lay-gap: clamp(12px, 1.6vw, 18px); }
.wsc-lay--gap-m { --wsc-lay-gap: clamp(20px, 3vw, 34px); }
.wsc-lay--gap-l { --wsc-lay-gap: clamp(28px, 4vw, 48px); }
.wsc-lay--gap-xl { --wsc-lay-gap: clamp(36px, 5vw, 64px); }

/* ---------- Vertical alignment ---------- */
.wsc-lay--va-stretch { --wsc-lay-va: stretch; }
.wsc-lay--va-top { --wsc-lay-va: start; }
.wsc-lay--va-center { --wsc-lay-va: center; }
.wsc-lay--va-bottom { --wsc-lay-va: end; }

/* ---------- Optional accent band (the other backgrounds come from core.css) -- */
.wsc-band--accent { background: var(--wsc-accent, #FFA934); color: var(--wsc-ink, #14161B); }
.wsc-band--accent h1, .wsc-band--accent h2, .wsc-band--accent h3, .wsc-band--accent h4,
.wsc-band--accent p { color: var(--wsc-ink, #14161B); }

/* ---------- Per-column surfaces ---------- */
.wsc-lay__col--card,
.wsc-lay__col--light,
.wsc-lay__col--dark,
.wsc-lay__col--accent,
.wsc-lay__col--border {
  border-radius: var(--wsc-radius-lg, 20px);
  padding: clamp(20px, 3vw, 32px);
}
.wsc-lay__col--card { background: var(--wsc-surface, #fff); border: 1px solid var(--wsc-line, #E3E7ED); }
.wsc-lay__col--light { background: var(--wsc-bg, #F1F3F6); }
.wsc-lay__col--border { border: 1px solid var(--wsc-line-2, #C9D0DA); }
.wsc-lay__col--accent { background: var(--wsc-accent, #FFA934); color: var(--wsc-ink, #14161B); }
.wsc-lay__col--dark { background: var(--wsc-footer-bg, #0F1115); color: var(--wsc-footer-ink, #B7BECC); }
.wsc-lay__col--dark h1, .wsc-lay__col--dark h2, .wsc-lay__col--dark h3, .wsc-lay__col--dark h4 { color: #fff; }

/* Seamless media: stretch images to fill their column edge-to-edge, so a photo
   grid with gap "Geen" has the images flush against each other (they otherwise
   render at their natural size and leave gaps). */
.wsc-lay--fill .wsc-lay__col img,
.wsc-lay--fill .wsc-lay__col picture,
.wsc-lay--fill .wsc-lay__col .wsc-media,
.wsc-lay--fill .wsc-lay__col .wsc-media__img {
  display: block; width: 100%; height: auto; margin: 0;
}
.wsc-lay--fill .wsc-lay__col .wsc-media { border-radius: 0; box-shadow: none; }

/* Per-column shape: round the corners, or clip the content to a square / circle.
   Media inside is made to cover the shaped cell so images fill it edge-to-edge. */
.wsc-lay__col--shape-rounded { border-radius: var(--wsc-lay-round, 18px); overflow: hidden; }
.wsc-lay__col--shape-square { aspect-ratio: 1 / 1; overflow: hidden; }
.wsc-lay__col--shape-circle { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; }
/* Adjustable corner radius for "Afgerond". */
.wsc-lay--round-sm { --wsc-lay-round: 8px; }
.wsc-lay--round-md { --wsc-lay-round: 18px; }
.wsc-lay--round-lg { --wsc-lay-round: 32px; }
/* Crop focus for square/circle cropped media. */
.wsc-lay--crop-top .wsc-lay__col--shape-square img,
.wsc-lay--crop-top .wsc-lay__col--shape-circle img,
.wsc-lay--crop-top .wsc-lay__col--shape-square .wsc-media__img,
.wsc-lay--crop-top .wsc-lay__col--shape-circle .wsc-media__img { object-position: top; }
.wsc-lay--crop-bottom .wsc-lay__col--shape-square img,
.wsc-lay--crop-bottom .wsc-lay__col--shape-circle img,
.wsc-lay--crop-bottom .wsc-lay__col--shape-square .wsc-media__img,
.wsc-lay--crop-bottom .wsc-lay__col--shape-circle .wsc-media__img { object-position: bottom; }
.wsc-lay__col--shape-square,
.wsc-lay__col--shape-circle { display: flex; }
.wsc-lay__col--shape-square > *,
.wsc-lay__col--shape-circle > * { flex: 1 1 auto; min-width: 0; width: 100%; }
.wsc-lay__col--shape-square img,
.wsc-lay__col--shape-circle img,
.wsc-lay__col--shape-square .wsc-media,
.wsc-lay__col--shape-circle .wsc-media,
.wsc-lay__col--shape-square .wsc-media__img,
.wsc-lay__col--shape-circle .wsc-media__img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0;
}
.wsc-lay__col--dark p, .wsc-lay__col--dark .wsc-lead { color: var(--wsc-footer-ink, #B7BECC); }

/* ---------- Nested wsc section blocks -------------------------------------
   Section blocks bring their own full-width band + container + section padding.
   Inside a column that would double the gutters and shrink the content, so the
   chrome is neutralised and only coloured bands keep a little breathing room.
   -------------------------------------------------------------------------- */
.wsc-lay__col .wsc-container { max-width: none; padding-inline: 0; }
.wsc-lay__col .wsc-section,
.wsc-lay__col .wsc-section--tight { padding-block: 0; }
/* Every band inside a column keeps some inner breathing room so text/content
   doesn't sit against the column edges. */
.wsc-lay__col .wsc-band--white,
.wsc-lay__col .wsc-band--light,
.wsc-lay__col .wsc-band--dark,
.wsc-lay__col .wsc-band--accent {
  box-sizing: border-box;
  padding: clamp(18px, 2.6vw, 28px);
}
.wsc-lay__col .wsc-band--light,
.wsc-lay__col .wsc-band--dark,
.wsc-lay__col .wsc-band--accent { border-radius: var(--wsc-radius, 14px); }
/* A section block fills the full (stretched) column height, so a shorter text
   block no longer leaves an empty strip below it in the column. */
.wsc-lay__col > .wsc-band { height: 100%; }
/* A nested layout row must not re-apply the page gutter either. */
.wsc-lay__col .wsc-lay__inner { max-width: none; padding-inline: 0; }

/* ---------- Desktop only: >1024px ---------- */
@media (min-width: 1025px) {
  .wsc-lay__col--hide-d { display: none; }
}

/* ---------- Tablet: 601–1024px ---------- */
@media (max-width: 1024px) {
  .wsc-lay__grid { grid-template-columns: var(--wsc-lay-t, var(--wsc-lay-d, minmax(0, 1fr))); }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .wsc-lay__col--hide-t { display: none; }
}

/* ---------- Phone: ≤600px ---------- */
@media (max-width: 600px) {
  .wsc-lay__grid { grid-template-columns: var(--wsc-lay-m, minmax(0, 1fr)); }
  .wsc-lay__col--hide-m { display: none; }
  /* Phone order: from the per-column setting, or from "reverse on mobile". */
  .wsc-lay__col { order: var(--wsc-lay-ord, 0); }
  /* Long words / URLs may never force a horizontal scroll. */
  .wsc-lay__col { overflow-wrap: break-word; }
  .wsc-lay--w-full .wsc-lay__inner { padding-inline: 0; }
  .wsc-lay__col--card,
  .wsc-lay__col--light,
  .wsc-lay__col--dark,
  .wsc-lay__col--accent,
  .wsc-lay__col--border { padding: 18px; border-radius: var(--wsc-radius, 14px); }
}

/* ---------- Edit mode: keep empty columns visible and droppable ----------
   Concrete labels every column sub-area itself, so the outline is all that is
   needed here: it shows where a column starts and ends while dragging blocks. */
.wsc-lay--edit { position: relative; }
.wsc-lay--edit .wsc-lay__col {
  outline: 1px dashed var(--wsc-line-2, #C9D0DA);
  outline-offset: 2px;
  min-height: 90px;
}

/* The row's own menu handle. Concrete's hover overlay follows this button, so
   it stays off the columns and the blocks inside them remain clickable. */
.wsc-lay__handle {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--wsc-line-2, #C9D0DA);
  border-radius: 6px;
  background: #fff;
  color: var(--wsc-ink-2, #4E5563);
  font: 600 11px/1 var(--wsc-font-body, system-ui, sans-serif);
  letter-spacing: .02em;
  padding: 6px 10px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(20, 22, 27, .12);
}
.wsc-lay__handle:hover { border-color: var(--wsc-accent-h, #F89828); color: var(--wsc-ink, #14161B); }
.wsc-lay__handle-icon { font-size: 12px; line-height: 1; }

/* Columns that disappear on one of the breakpoints stay visible while editing,
   with a badge saying where they drop out. */
.wsc-lay--edit .wsc-lay__col--marks-d,
.wsc-lay--edit .wsc-lay__col--marks-t,
.wsc-lay--edit .wsc-lay__col--marks-m { outline-style: dotted; opacity: .82; }
.wsc-lay__flag {
  position: absolute;
  top: -10px;
  right: 0;
  z-index: 3;
  font: 600 10px/1.6 var(--wsc-font-body, system-ui, sans-serif);
  color: #fff;
  background: var(--wsc-ink-3, #8A91A0);
  border-radius: 6px;
  padding: 1px 7px;
  pointer-events: none;
}


