/*
Theme Name:   Impreza Child Bakkers Hommen
Description:  Child theme of Impreza. Every visual decision lives in THIS file —
              nothing is styled in Impreza Theme Options or the WPBakery builder.
              See docs/CSS-SYSTEM.md.
Author:       Dexo
Template:     Impreza
Version:      1.0.0
Text Domain:  impreza-child-bakkers-hommen
*/

/* -----------------------------------------------------------------
   Impreza / WPBakery DOM shapes this file targets (hook with el_class):
     us_text            .w-text > .w-text-h > .w-text-value
     us_text + link     .w-text > a.w-text-h > .w-text-value
     us_btn             .w-btn-wrapper > a.w-btn.us-btn-style_1 > .w-btn-label
     us_image           .w-image > .w-image-h > img
     us_image_slider    .w-slider .royalSlider .rsSlide a.rsImg
     us_additional_menu nav.w-menu > ul.menu > li.menu-item > a
     vc_column_text     .wpb_text_column > .wpb_wrapper > p
     row / column       .l-section > .l-section-h > .g-cols > .wpb_column > .vc_column-inner
   Naming: dx--ru-*  = Reusable Utilities (buttons, overlines, dividers…)
           dx--su-*  = Section-Unique blocks (dx--su-hero, dx--su-footer…)
           Impreza overrides win on SPECIFICITY (html body …), never !important.
   ----------------------------------------------------------------- */

/* =========================================================
   SETTINGS — design tokens from the Figma file (docs/research/05-design-from-figma.md §1)
   ========================================================= */
:root {
  --c-black: #0E0E0E; --c-white: #FFFFFF; --c-beige: #FAF9F7; --c-beige-dark: #D4D0CB;
  --c-text: #0E0E0E; --c-text-2: #525252; --c-text-3: #737373;
  --c-line: #E5E5E5; --c-line-strong: #D4D4D4; --c-control-line: #737373;
  --c-dark-bg: #0E0E0E; --c-dark-surface: #171717; --c-dark-line: #262626;
  --c-dark-text: #FFFFFF; --c-dark-text-2: #9F9F9F;
  --c-error: #DC2626; --c-error-on-dark: #F87171;

  /* Names the starter kit's consent card and base rules read. */
  --ink: var(--c-text); --bg: var(--c-white);
  --ink-20: color-mix(in srgb, var(--ink) 20%, transparent);
  --ink-60: var(--c-text-2);

  --f-d: "PP Neue Montreal", "Helvetica Neue", Arial, sans-serif;        /* headings and copy */
  --f-b: var(--f-d);
  --f-m: "PP Neue Montreal Mono", ui-monospace, "SF Mono", Menlo, monospace;   /* labels, nav, buttons */

  --radius: 4px; --radius-sm: 2px;
  --r-pill: var(--radius); --r-card: var(--radius);
  --gutter: 16px;
  --margin: clamp(16px, 2.78vw, 40px);
  --content-max: 1440px;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-6: 24px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px; --sp-40: 160px; --sp-48: 192px;
  /* Section padding: 80 on desktop, 48 on phones; "ruim" is the 160 breathing variant. */
  --sec-y: clamp(48px, 5.56vw, 80px);
  --sec-y-ruim: clamp(80px, 11.1vw, 160px);

  /* Type scale, 375 → 1440 (spec §1.5). Body never drops below 16 px. */
  --fs-display: clamp(1.875rem, 0.42rem + 6.2vw, 6rem);
  --fs-display-page: clamp(3rem, 1.94rem + 4.5vw, 6rem);
  --fs-number: clamp(4.5rem, 3.97rem + 2.25vw, 6rem);
  --fs-h1: clamp(1.875rem, 0.95rem + 3.94vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 1.48rem + 1.69vw, 3rem);
  --fs-h3: clamp(1.25rem, 0.9rem + 1.5vw, 2.25rem);
  --fs-lead: clamp(1.25rem, 1.03rem + 0.94vw, 1.875rem);
  --fs-intro: clamp(1rem, 0.91rem + 0.38vw, 1.25rem);
  --fs-body-lg: clamp(1rem, 0.96rem + 0.19vw, 1.125rem);
  --fs-body: 1rem;
  --fs-label: 0.875rem;
}
/* Impreza reads its own tokens; give them our values (:root:root is required, see docs/CSS-SYSTEM.md §2). */
:root:root {
  --color-content-bg: var(--c-white); --color-content-bg-alt: var(--c-beige);
  --color-content-text: var(--c-text); --color-content-heading: var(--c-text);
  --color-content-link: var(--c-text); --color-content-link-hover: var(--c-text-2);
  --color-content-primary: var(--c-black); --color-content-secondary: var(--c-text-2);
  --color-content-border: var(--c-line); --color-content-faded: var(--c-text-3);
  --font-family: var(--f-d); --h1-font-family: var(--f-d);
  --font-size: 16px; --line-height: 24px;
  --h1-font-weight: 400; --h2-font-weight: 400; --h3-font-weight: 400; --h4-font-weight: 400;
  --h1-letter-spacing: 0; --h1-font-size: var(--fs-h1); --h2-font-size: var(--fs-h2); --h3-font-size: var(--fs-h3);
  --h1-line-height: 1.2; --h2-line-height: 1.2; --h3-line-height: 1.2;
  --color-header-middle-bg: var(--c-white); --color-header-middle-bg-grad: var(--c-white);
  --color-header-middle-text: var(--c-text); --color-header-middle-text-hover: var(--c-text);
  --site-content-width: calc(var(--content-max) - 80px);
  --site-border-radius: var(--radius);
}


/* =========================================================
   RESET — Impreza/WPBakery spacing (measured on NAHkracht, 2026-11; see
   docs/CSS-SYSTEM.md §10). Impreza spaces content THREE ways at once:
     1. a height preset on every row (height_medium = 4rem top+bottom on
        .l-section) — avoid by saving rows with height="auto"; guarded here;
     2. Theme Options typography: --hN-margin-bottom (1.5rem on every heading),
        p { margin-bottom } and padding-top on headings inside rich text;
     3. small margins on element wrappers (.w-btn-wrapper .3rem, lists 2.5rem).
   Here the only rhythm between elements is ONE "owl" rule on the column, and
   headings/paragraphs read their spacing from the tokens. Small on purpose. */
:root {
  --flow: 1rem;          /* gap between two elements in a column  */
  --flow-kop: .6rem;     /* gap after a heading                   */
  --flow-groot: 1.75rem; /* gap before buttons, lists, grids       */
}
:root:root {
  --h1-margin-bottom: 0; --h2-margin-bottom: 0; --h3-margin-bottom: 0; --h4-margin-bottom: 0; --h5-margin-bottom: 0; --h6-margin-bottom: 0;
  --text-block-margin-bottom: 0rem;
}
.l-main .l-section.l-section { padding-top: 0; padding-bottom: 0; }
.l-main .w-text, .l-main .w-post-elm, .l-main .wpb_text_column, .l-main .w-btn-wrapper, .l-main .w-image, .l-main .w-grid,
.l-main .w-hwrapper, .l-main .w-vwrapper, .l-main .w-separator, .l-main .w-html, .l-main .w-menu, .l-main .w-filter { margin: 0; }
.l-main .vc_column-inner > .wpb_wrapper > * + *, .l-main .vc_column-inner > * + *, .l-main .w-vwrapper > * + * { margin-top: var(--flow); }
.l-main :is(h1, h2, h3, h4).w-text + *, .l-main .w-post-elm.post_title + * { margin-top: var(--flow-kop); }
.l-main * + .w-btn-wrapper, .l-main * + .w-grid, .l-main * + .w-grid-none, .l-main * + .w-filter, .l-main * + .vc_row_inner { margin-top: var(--flow-groot); }
/* A heading directly followed by a grid, form or inner row keeps a medium gap (the heading rule above would make it tight). */
.l-main :is(h1, h2, h3, h4).w-text + .w-grid, .l-main :is(h1, h2, h3, h4).w-text + .w-grid-none, .l-main :is(h1, h2, h3, h4).w-text + .vc_row_inner,
.l-main :is(h1, h2, h3, h4).w-text + .w-filter, .l-main :is(h1, h2, h3, h4).w-text + .wpb_text_column, .l-main :is(h1, h2, h3, h4).w-text + .w-html { margin-top: 1.25rem; }
.l-main .w-vwrapper > * + * { margin-top: .4rem; }
.l-main .w-hwrapper > * { margin-top: 0; }
.l-main h1, .l-main h2, .l-main h3, .l-main h4, .l-main h5, .l-main h6 { margin: 0; padding-top: 0; }
.l-main .wpb_text_column p, .l-main .w-post-elm p { margin: 0 0 1em; }
.l-main .wpb_text_column h2, .l-main .w-post-elm h2 { margin: 1.6em 0 .5em; }
.l-main .wpb_text_column h3, .l-main .w-post-elm h3 { margin: 1.4em 0 .4em; }
.l-main .wpb_text_column :is(h2, h3):first-child, .l-main .w-post-elm :is(h2, h3):first-child { margin-top: 0; }
.l-main .wpb_text_column ul, .l-main .wpb_text_column ol, .l-main .w-post-elm ul, .l-main .w-post-elm ol { margin: 0 0 1em 1.25rem; padding: 0; }
.l-main .wpb_text_column .wpb_wrapper > :last-child, .l-main .w-post-elm > :last-child { margin-bottom: 0; }
.l-main p.w-text { margin-bottom: 0; }
/* Impreza clears a FIXED header by padding the first section's .l-section-h with
   --header-height, and that rule beats a plain hero padding. Add yours on top of it. */
.l-body .l-header.pos_fixed ~ .l-main .dx--ru-section.dx--ru-section:first-of-type > .l-section-h { padding-top: calc(var(--header-height, 80px) + var(--sec-y, 64px)); }
/* Impreza's blockquote: 3rem side padding and 1.3em — reset where quotes are cards. */
.l-main blockquote { padding: 0; margin: 0; font-size: inherit; line-height: inherit; }

/* =========================================================
   BASE — beat Impreza's inline body rule on specificity
   ========================================================= */
html { scroll-behavior: smooth; }

html body,
body .l-canvas {
  color: var(--ink);
  background: var(--bg);
  font-family: var(--f-b);
}

.l-canvas h1, .l-canvas h2, .l-canvas h3,
.l-canvas h4, .l-canvas h5, .l-canvas h6 {
  font-family: var(--f-d);
  text-wrap: balance;
}

/* Impreza sets italics to inline-block/top, which lifts them off the baseline. */
.l-canvas .w-text i { display: inline; vertical-align: baseline; line-height: inherit; }

/* Content width used across sections. */
.dx--ru-container { max-width: var(--max-content); margin-inline: auto; padding-inline: var(--pad-x); }

/* =========================================================
   LAYOUT — 12 columns, 16 px gutter, 40 px side margin (16 on phones), 1440 max
   ========================================================= */
.l-main .l-section.l-section { padding-inline: var(--margin); }
.l-main .l-section.width_full { padding-inline: 0; }
.l-main .g-cols.via_grid { gap: var(--gutter); }
.l-main .dx--ru-sectie > .l-section-h { padding-block: var(--sec-y); }
.l-main .dx--ru-sectie.dx--ru-sectie--ruim > .l-section-h { padding-top: var(--sec-y-ruim); }
/* Dark sections (statistics, challenge, approach, impact). */
.l-main .dx--ru-donker { background: var(--c-dark-bg); color: var(--c-dark-text); --ink: var(--c-dark-text); --bg: var(--c-dark-bg); --lijn: var(--c-dark-line); --tekst-2: var(--c-dark-text-2); }
.l-main .dx--ru-donker :is(h1, h2, h3, h4) { color: inherit; }
.l-main { --lijn: var(--c-line-strong); --tekst-2: var(--c-text-2); }

/* =========================================================
   REUSABLE UTILITIES  (dx--ru-*)
   ========================================================= */
/* Type roles. Repeated class: Impreza's heading rules are two classes deep. */
.dx--ru-display.dx--ru-display { font-size: var(--fs-display); line-height: 1.1; }
.dx--ru-h1.dx--ru-h1 { font-size: var(--fs-h1); line-height: 1.2; }
.dx--ru-h2.dx--ru-h2, .dx--ru-h2.dx--ru-h2 :is(h1, h2, h3) { font-size: var(--fs-h2); line-height: 1.2; }
.dx--ru-h3.dx--ru-h3 { font-size: var(--fs-h3); line-height: 1.2; }
.dx--ru-lead.dx--ru-lead { font-size: var(--fs-lead); line-height: 1.3; }
.dx--ru-intro.dx--ru-intro { font-size: var(--fs-intro); line-height: 1.25; }
.dx--ru-body-lg.dx--ru-body-lg { font-size: var(--fs-body-lg); line-height: 1.4; color: var(--tekst-2); max-width: 35rem; }

/* Mono label: nav, buttons, captions, meta. */
.dx--ru-label.dx--ru-label, .dx--ru-overline.dx--ru-overline {
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; letter-spacing: 0;
}
.dx--ru-label--grijs.dx--ru-label--grijs { color: var(--tekst-2); }

/* Section title: [■] LABEL, optionally on a hairline. */
.dx--ru-sectietitel.dx--ru-sectietitel {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; font-weight: 400;
}
.dx--ru-sectietitel::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; }
.dx--ru-sectietitel--lijn.dx--ru-sectietitel--lijn { padding-top: 24px; border-top: 1px solid var(--lijn); }

/* Buttons. Primary: outline, mono label, 8 px square; fills on hover and the square changes side. */
.l-main .dx--ru-knop .w-btn.w-btn, .l-main .w-btn.dx--ru-knop.dx--ru-knop {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 18px 10px 20px;
  border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--ink); background: transparent; color: var(--ink);
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; font-weight: 400; letter-spacing: 0;
  transition: background-color .3s, color .3s;
}
.l-main .w-btn.dx--ru-knop::before, .l-main .dx--ru-knop .w-btn::before { content: ""; position: static; flex: none; width: 8px; height: 8px; background: currentColor; order: 0; transition: none; }
.l-main .w-btn.dx--ru-knop:is(:hover, :focus-visible), .l-main .dx--ru-knop .w-btn:is(:hover, :focus-visible) { background: var(--ink); color: var(--bg); }
.l-main .w-btn.dx--ru-knop:is(:hover, :focus-visible)::before, .l-main .dx--ru-knop .w-btn:is(:hover, :focus-visible)::before { order: 2; }
.l-main .w-btn.dx--ru-knop:focus-visible, .l-main .dx--ru-knop .w-btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }

/* Meta rows: grey label above a black value. */
.dx--ru-meta.dx--ru-meta { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.dx--ru-meta-item { font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; }
.dx--ru-meta-item .w-post-elm-before, .dx--ru-meta-label.dx--ru-meta-label { display: block; color: var(--tekst-2); }

/* Media always has the 4 px radius; ratios are set per slot. */
.l-main .w-image img, .l-main .w-post-elm img, .l-main .w-grid-item img { border-radius: var(--radius); }

/* Project card (Grid Layout "BH — projectkaart"): image, then one mono line. */
.dx--ru-kaarten .w-grid-list { --gap: var(--gutter); row-gap: 48px; }
.dx--ru-kaarten .w-grid-item .post_image img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 8; object-fit: cover; }
.dx--ru-kaarten .dx--ru-kaart-titel.dx--ru-kaart-titel, .dx--ru-kaarten .dx--ru-kaart-plaats {
  display: inline; margin: 0; font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; font-weight: 400;
}
.dx--ru-kaarten .dx--ru-kaart-plaats { color: var(--tekst-2); }
.dx--ru-kaarten .dx--ru-kaart-plaats::before { content: " _ "; white-space: pre; }
.dx--ru-kaarten .w-grid-item-h { display: block; }
/* A project without a photo keeps its place in the grid: a quiet beige block with the symbol's square. */
.dx--ru-kaarten:not(.is-lijst) .w-grid-item:not(.has-post-thumbnail) .w-grid-item-h::before {
  content: ""; display: block; aspect-ratio: 9 / 8; margin-bottom: 8px; border-radius: var(--radius);
  background: var(--c-beige) linear-gradient(var(--c-beige-dark), var(--c-beige-dark)) no-repeat 24px 24px / 8px 8px;
}
.dx--ru-kaarten .dx--ru-kaart-beeld { display: block; margin-bottom: 8px; }
.dx--ru-kaarten .w-grid-item:focus-within { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius); }

/* Number card: 1:1, dark surface, number top-left, hairline, label. */
.dx--ru-cijfer.dx--ru-cijfer {
  display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; padding: 24px; margin: 0;
  background: var(--c-dark-surface); color: var(--c-dark-text); border-radius: var(--radius);
}
.dx--ru-cijfer .dx--ru-cijfer-getal { align-items: baseline; }
.dx--ru-cijfer-waarde.dx--ru-cijfer-waarde { font-size: var(--fs-number); line-height: 1.1; }
.dx--ru-cijfer-eenheid.dx--ru-cijfer-eenheid { font-size: var(--fs-h3); line-height: 1.2; }
.dx--ru-cijfer-label.dx--ru-cijfer-label {
  margin-top: auto; padding-top: 24px; border-top: 1px solid var(--c-dark-line);
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase;
}

/* Milestone row: year left, text right, hairline between rows. */
.dx--ru-moment.dx--ru-moment { display: grid; grid-template-columns: minmax(6rem, 1fr) 2fr; gap: var(--gutter); align-items: baseline; padding-block: 24px; border-top: 1px solid var(--lijn); margin: 0; }
.dx--ru-moment-jaar.dx--ru-moment-jaar { font-size: var(--fs-h2); line-height: 1.2; }
.dx--ru-moment-tekst.dx--ru-moment-tekst { font-size: var(--fs-lead); line-height: 1.3; }

/* =========================================================
   SECTION-UNIQUE BLOCKS  (dx--su-*)
   ========================================================= */
/* Project header: year + title left, description right; meta under the title. */
.dx--su-project-kop .dx--su-project-jaar.dx--su-project-jaar, .dx--su-project-kop .post_title.post_title { font-size: var(--fs-h2); line-height: 1.2; font-weight: 400; margin: 0; }
.dx--su-project-kop .dx--su-project-jaar { color: var(--tekst-2); }
.dx--su-project-kop .dx--ru-meta { margin-top: clamp(32px, 8vw, 120px); }
.dx--su-project-kop .dx--ru-lead { font-size: var(--fs-body-lg); line-height: 1.4; color: var(--tekst-2); max-width: 35rem; }
.dx--su-project-kopbeeld img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.dx--su-project-beeld > .l-section-h { padding-bottom: var(--sec-y); }

/* Statistics: heading across, then up to three number cards. */
.dx--su-project-cijfers .vc_column-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.dx--su-project-cijfers .vc_column-inner > :not(.dx--ru-cijfer) { grid-column: 1 / -1; }
.l-main .dx--su-project-cijfers .vc_column-inner > * + * { margin-top: 0; }
.dx--su-project-cijfers .dx--ru-h2 { margin-bottom: clamp(32px, 5.56vw, 80px); max-width: 16ch; }

/* Gallery: a row of images that scrolls sideways (keyboard: focus the row, arrow keys). */
.dx--su-project-galerij .dx--ru-galerij.dx--ru-galerij { display: flex; flex-wrap: nowrap; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
.dx--su-project-galerij .dx--ru-galerij > * { flex: none; margin: 0; scroll-snap-align: start; }
.dx--su-project-galerij .dx--ru-galerij:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius); }
.dx--su-project-galerij .dx--ru-galerij img { display: block; height: clamp(239px, 38vw, 549px); width: auto; max-width: none; }

/* Text with image (challenge, approach, development, impact). */
.dx--ru-tekstbeeld img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.dx--ru-tekstbeeld .dx--ru-h2 { max-width: 14ch; }

/* =========================================================
   OVERVIEWS (Projecten / Gebieden)
   ========================================================= */
.dx--su-overzicht-kop .dx--ru-display-pagina.dx--ru-display-pagina { font-size: var(--fs-display-page); line-height: 1.1; margin: 0; }
.dx--su-overzicht-kop .g-cols { align-items: end; min-height: clamp(280px, 30vw, 420px); }
.dx--su-overzicht-tab.dx--su-overzicht-tab { font-size: var(--fs-lead); line-height: 1.3; }
.dx--su-overzicht-tab a { color: var(--c-text-3); text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.dx--su-overzicht-tab a:is(:hover, :focus-visible) { color: var(--ink); }
.dx--su-overzicht-kop .dx--ru-body-lg { margin-bottom: clamp(32px, 8vw, 120px); color: var(--ink); }
/* Controls row: view switch left, filters and order right, on a hairline. */
.dx--su-overzicht-balk > .l-section-h { padding-block: 24px; border-top: 1px solid var(--c-beige-dark); }
.dx--su-overzicht-balk .vc_column-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.l-main .dx--su-overzicht-balk .vc_column-inner > * + * { margin-top: 0; }
.dx--su-overzicht-balk .vc_column-inner > :first-child { margin-right: auto; }
.dx--ru-weergave { display: flex; gap: 16px; }
.dx--ru-weergave button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; color: var(--c-text-3);
}
.dx--ru-weergave button::after { content: ""; width: 12px; height: 12px; box-shadow: inset 0 0 0 1px currentColor; }
.dx--ru-weergave button[aria-pressed="true"] { color: var(--ink); }
.dx--ru-weergave button[aria-pressed="true"]::after { background: currentColor; }
.dx--ru-weergave button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.dx--su-overzicht-balk :is(.w-filter, .w-order) { font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; }
.dx--su-overzicht-balk :is(select, .w-filter-item-title) { font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; min-height: 44px; border-radius: var(--radius); }
.dx--su-overzicht-lijst > .l-section-h { padding-bottom: var(--sec-y-ruim); }
/* Extra card fields (type, year) only show in the list view. */
.dx--ru-kaarten .dx--ru-kaart-type, .dx--ru-kaarten .dx--ru-kaart-jaar { display: none; }
/* List view: one row per project — name, place, type, year. */
.dx--ru-kaarten.is-lijst .w-grid-list { display: block; }
.dx--ru-kaarten.is-lijst .w-grid-item { width: auto; padding: 0; }
.dx--ru-kaarten.is-lijst .w-grid-item-h { display: grid; grid-template-columns: 3fr 6fr 2fr 1fr; gap: var(--gutter); align-items: center; min-height: 44px; padding: 4px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text-2); }
.dx--ru-kaarten.is-lijst .w-grid-item-h > * { margin: 0; }
.dx--ru-kaarten.is-lijst .post_image { display: none; }
.dx--ru-kaarten.is-lijst :is(.dx--ru-kaart-titel, .dx--ru-kaart-plaats, .dx--ru-kaart-type, .dx--ru-kaart-jaar) { display: block; font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; }
.dx--ru-kaarten.is-lijst .dx--ru-kaart-plaats::before { content: none; }
.dx--ru-kaarten.is-lijst .dx--ru-kaart-jaar { text-align: right; }
.dx--ru-kaarten.is-lijst .w-grid-item:is(:hover, :focus-within) .w-grid-item-h { background: var(--c-black); color: var(--c-white); }
.dx--ru-kaarten.is-lijst .w-grid-item:is(:hover, :focus-within) :is(.dx--ru-kaart-titel, .dx--ru-kaart-plaats) { color: inherit; }

/* Filter panel: Impreza's own filter drawer (button + panel + apply bar, with its focus handling),
   dressed as the panel that drops from the top. Phones get the full-screen sheet. */
.dx--su-overzicht-filter .w-filter-opener.w-filter-opener {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer;
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase;
}
.dx--su-overzicht-filter .w-filter-opener .w-btn-label::after { content: " [" attr(data-count-active) "]"; }
.dx--su-overzicht-filter .w-filter-opener:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.dx--su-overzicht-filter.open_for_mobile .w-filter-list.w-filter-list {
  inset: 0 0 auto 0; height: max(65vh, 480px); max-height: 100vh; padding: 96px var(--margin) 120px; overflow-y: auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-content: start;
  background: var(--c-white); color: var(--c-text); box-shadow: 0 0 0 100vmax rgba(14, 14, 14, .6);
}
.dx--su-overzicht-filter .w-filter-list-title.w-filter-list-title { position: absolute; left: var(--margin); top: 32px; padding: 0; font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; }
.dx--su-overzicht-filter .w-filter-list-closer.w-filter-list-closer {
  position: absolute; right: var(--margin); top: 20px; width: auto; height: auto; min-height: 44px; padding: 0; background: none; color: var(--ink);
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
}
.dx--su-overzicht-filter .w-filter-list-closer::before { content: "Sluiten"; font-family: inherit; font-size: inherit; }
:lang(en) .dx--su-overzicht-filter .w-filter-list-closer::before { content: "Close"; }
.dx--su-overzicht-filter .w-filter-list-closer:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.dx--su-overzicht-filter.open_for_mobile .w-filter-item.w-filter-item { grid-column: span 3; margin: 0; padding: 0; border: 0; }
.dx--su-overzicht-filter .w-filter-item-title.w-filter-item-title { margin: 0 0 16px; padding: 0; min-height: 0; font-family: var(--f-m); font-size: var(--fs-label); line-height: 22px; text-transform: uppercase; color: var(--c-text-2); }
.dx--su-overzicht-filter .w-filter-item-value { margin: 0; }
.dx--su-overzicht-filter .w-filter-item-value label { position: relative; display: flex; align-items: center; min-height: 24px; padding: 0; cursor: pointer; font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; color: var(--c-text-3); }
/* The checkbox stays in the page for keyboards and screen readers; the look is the square bullet of the design. */
.dx--su-overzicht-filter .w-filter-item-value input[type="checkbox"] { position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin: -4px 0 0; opacity: 0; }
.dx--su-overzicht-filter .w-filter-item-value-label { padding-left: 0; transition: padding .15s; }
.dx--su-overzicht-filter .w-filter-item-value label:hover, .dx--su-overzicht-filter .w-filter-item-value label:has(input:checked) { color: var(--c-text); }
.dx--su-overzicht-filter .w-filter-item-value label:has(input:checked) .w-filter-item-value-label { padding-left: 20px; }
.dx--su-overzicht-filter .w-filter-item-value label:has(input:checked)::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: currentColor; }
.dx--su-overzicht-filter .w-filter-item-value label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
/* "Toepassen": large underlined text at the bottom of the panel. */
.dx--su-overzicht-filter.open_for_mobile .w-filter-list-panel.w-filter-list-panel { inset: calc(max(65vh, 480px) - 96px) auto auto var(--margin); padding: 0; background: none; box-shadow: none; }
.dx--su-overzicht-filter .w-filter-button-submit.w-filter-button-submit {
  width: auto; min-height: 44px; padding: 0; border: 0; background: none; color: var(--c-text); box-shadow: none;
  font-family: var(--f-d); font-size: var(--fs-lead); line-height: 1.3; text-transform: none; text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px;
}
.dx--su-overzicht-filter .w-filter-button-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
/* Active filters as chips, with "Wis filters". */
.dx--su-overzicht-reset.dx--su-overzicht-reset { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; }
.dx--su-overzicht-reset.hidden { display: none; }
.dx--su-overzicht-reset button { min-height: 32px; padding: 3px 8px; border: 0; border-radius: var(--radius-sm); background: var(--c-beige); box-shadow: inset 0 0 0 1px var(--c-line-strong); color: var(--c-text); font: inherit; text-transform: uppercase; cursor: pointer; }
.dx--su-overzicht-reset button:is(:hover, :focus-visible) { background: var(--c-black); color: var(--c-white); }

/* =========================================================
   NEWS
   ========================================================= */
/* News card (Grid Layout "BH — nieuwskaart"): image with label, date, title. */
.dx--ru-nieuwskaarten .w-grid-list { --gap: var(--gutter); row-gap: 48px; }
.dx--ru-nieuwskaarten .w-grid-item-h { position: relative; display: block; }
.dx--ru-nieuwskaarten .post_image img { display: block; width: 100%; height: auto; aspect-ratio: 13 / 10; object-fit: cover; }
.dx--ru-nieuwskaarten .dx--ru-nieuws-label { position: absolute; left: 16px; top: 16px; margin: 0; padding: 3px 8px; border-radius: var(--radius-sm); background: var(--c-white); color: var(--c-text); font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; }
.dx--ru-nieuwskaarten .dx--ru-nieuws-datum, .dx--su-nieuws-meta .w-post-elm { margin: 16px 0 0; font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; color: var(--c-text-2); }
.dx--ru-nieuwskaarten .dx--ru-nieuws-titel.dx--ru-nieuws-titel { margin: 16px 0 0; font-size: var(--fs-intro); line-height: 1.25; font-weight: 400; max-width: 25rem; }
.dx--ru-nieuwskaarten .w-grid-item:focus-within { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius); }
.dx--su-nieuws-kop .dx--ru-h1 { max-width: 20ch; margin: 0; }
.dx--su-nieuws-lijst > .l-section-h { padding-bottom: var(--sec-y-ruim); }
/* Article. */
.dx--su-artikel-kop .post_title.post_title { font-size: var(--fs-h1); line-height: 1.2; font-weight: 400; max-width: 22ch; margin: 24px 0 0; }
.dx--su-nieuws-meta.dx--su-nieuws-meta { display: flex; flex-wrap: wrap; gap: 8px 48px; margin-top: 32px; }
.dx--su-nieuws-meta .w-post-elm { margin: 0; }
.dx--su-nieuws-meta .w-post-elm-before { display: block; }
.dx--su-nieuws-meta .w-post-elm-value, .dx--su-nieuws-meta time { color: var(--c-text); }
.dx--su-artikel-beeld img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.dx--su-artikel-tekst > .l-section-h { padding-block: var(--sec-y) var(--sec-y-ruim); }
.dx--su-artikel-tekst .post_content { max-width: 46rem; margin-inline: auto; font-size: var(--fs-body-lg); line-height: 1.5; }
.dx--su-artikel-tekst .post_content :is(h2, h3) { margin: 1.8em 0 .5em; font-size: var(--fs-lead); line-height: 1.3; font-weight: 400; }
.dx--su-artikel-tekst .post_content p { margin: 0 0 1em; }
.dx--su-artikel-tekst .post_content ul { margin: 0 0 1em 1.25rem; padding: 0; }
.dx--su-artikel-tekst .post_content a { text-decoration: underline; text-underline-offset: 3px; }
.dx--su-artikel-tekst .post_content figure { margin: 2.5em 0; }
.dx--su-artikel-tekst .post_content figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

/* =========================================================
   FORMS (Formidable, plugin stylesheet off) — field with a line, label always above
   ========================================================= */
.frm_forms { font-family: var(--f-d); }
.frm_forms fieldset { margin: 0; padding: 0; border: 0; }
.frm_forms .frm_form_field { margin: 0 0 40px; }
.frm_forms .frm_primary_label { display: block; margin: 0 0 12px; font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; color: var(--ink); }
.frm_forms .frm_required { color: inherit; }
.frm_forms :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
  display: block; width: 100%; min-height: 48px; padding: 8px 0 16px; border: 0; border-bottom: 1px solid var(--c-control-line); border-radius: 0;
  background: transparent; box-shadow: none; color: var(--ink); font-family: var(--f-d); font-size: var(--fs-body-lg); line-height: 1.4;
}
.frm_forms .frm_form_field textarea { min-height: 140px; resize: vertical; }   /* must outrank the :is() field rule above */
.frm_forms :is(input, textarea):focus { outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); background: transparent; }
.frm_forms :is(input, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.frm_forms .frm_error, .frm_forms .frm_error_style { margin-top: 8px; font-size: .875rem; line-height: 1.4; color: var(--c-error); }
.dx--ru-donker .frm_forms .frm_error, .dx--ru-donker .frm_forms .frm_error_style { color: var(--c-error-on-dark); }
.frm_forms .frm_blank_field :is(input, textarea) { border-bottom-color: currentColor; }
.frm_forms .frm_message, .frm_forms .frm_error_style { padding: 16px 0; font-size: var(--fs-body-lg); }
.frm_forms .frm_submit { margin: 0; }
.frm_forms .frm_submit .frm_button_submit.frm_button_submit {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 1px var(--ink);
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; transition: background-color .2s, color .2s;
}
.frm_forms .frm_submit .frm_button_submit.frm_button_submit:is(:hover, :focus-visible) { background: transparent; color: var(--ink); }
.frm_forms .frm_submit .frm_button_submit.frm_button_submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.frm_forms .frm_verify, .frm_forms .frm_hidden, .frm_forms .frm_screen_reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* =========================================================
   CONTACT, ABOUT
   ========================================================= */
.dx--su-contact .dx--ru-h2 { max-width: 16ch; margin: 24px 0 clamp(40px, 8vw, 120px); }
.dx--su-contact .dx--su-footer-groep { margin-bottom: 40px; }
.dx--su-contact .dx--ru-email, .dx--su-contact .dx--su-footer-menu .menu a { font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; color: var(--ink); text-decoration: none; display: block; }
.dx--su-contact .dx--ru-email:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.dx--su-kantoren .dx--ru-kantoren { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gutter); font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; }
.dx--su-kantoren .dx--ru-kantoor { padding-top: 24px; border-top: 1px solid var(--lijn); }
.dx--su-over-hero .dx--ru-h1 { max-width: 20ch; margin: 0 0 clamp(40px, 8vw, 120px); }
.dx--su-over-hero .dx--ru-intro { max-width: 28rem; }
.dx--ru-tekstblok .dx--ru-h2 { max-width: 16ch; margin: 0 0 24px; }
.dx--ru-tekstblok .dx--ru-body-lg + .w-btn-wrapper { margin-top: 32px; }
/* Quotes (Grid Layout "BH — quote"). */
.dx--ru-quotes .w-grid-list { --gap: var(--gutter); row-gap: 48px; }
.dx--ru-quotes .w-grid-item-h { display: flex; flex-direction: column; height: 100%; padding-top: 24px; border-top: 1px solid var(--lijn); }
.dx--ru-quotes .dx--ru-quote-tekst { margin: 0 0 32px; font-size: var(--fs-intro); line-height: 1.35; }
.dx--ru-quotes .dx--ru-quote-tekst::before { content: "“"; }
.dx--ru-quotes .dx--ru-quote-tekst::after { content: "”"; }
.dx--ru-quotes .dx--ru-quote-naam.dx--ru-quote-naam, .dx--ru-quotes .dx--ru-quote-functie { margin: 0; font-family: var(--f-m); font-size: var(--fs-label); line-height: 22px; text-transform: uppercase; font-weight: 400; }
.dx--ru-quotes .dx--ru-quote-naam { margin-top: auto; }
.dx--ru-quotes .dx--ru-quote-functie { color: var(--tekst-2); }
/* Team list (Grid Layout "BH — teamlid"): large name, role in mono. */
.dx--ru-team .w-grid-list { --gap: var(--gutter); row-gap: 0; }
.dx--ru-team .w-grid-item-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--lijn); }
.dx--ru-team .dx--ru-team-naam.dx--ru-team-naam { margin: 0; font-size: var(--fs-h3); line-height: 1.2; font-weight: 400; }
.dx--ru-team .dx--ru-team-functie { font-family: var(--f-m); font-size: var(--fs-label); line-height: 22px; text-transform: uppercase; color: var(--tekst-2); }
.dx--ru-team .dx--ru-team-functie .w-post-elm-value::before { content: "["; }
.dx--ru-team .dx--ru-team-functie .w-post-elm-value::after { content: "]"; }
.dx--su-over-team .dx--ru-display { margin: 0 0 clamp(40px, 5.56vw, 80px); max-width: 14ch; }

/* 404: dark, centred. */
.dx--su-404 { display: grid; justify-items: center; gap: 16px; padding-block: clamp(48px, 8vw, 120px); text-align: center; }
.dx--su-404-cijfer { margin: 0; font-size: clamp(8rem, 19vw, 17rem); line-height: 1; }
.dx--su-404-tekst.dx--su-404-tekst { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 400; }
.dx--ru-404-knop { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 16px; padding: 10px 20px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px currentColor; color: inherit; text-decoration: none; font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; }
.dx--ru-404-knop::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.dx--ru-404-knop:is(:hover, :focus-visible) { background: var(--c-white); color: var(--c-black); }
.dx--ru-404-knop:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* =========================================================
   HOME
   ========================================================= */
.dx--su-home-hero .g-cols { align-items: end; min-height: clamp(360px, 38vw, 520px); }
.dx--ru-svg { display: block; width: 100%; height: auto; }
.dx--su-home-symbool .dx--ru-svg { width: clamp(164px, 22.8vw, 328px); }
.dx--su-neprom-logo { margin-top: var(--sp-6); }
.dx--su-neprom-logo .dx--ru-svg { width: clamp(160px, 14vw, 220px); }
.dx--su-home-hero .dx--ru-lead { max-width: 28rem; }
.dx--su-home-hero .dx--su-home-reel { margin-bottom: clamp(24px, 6vw, 96px); }
.dx--su-film-kop { position: absolute; left: 50%; right: var(--margin); bottom: clamp(24px, 6vw, 80px); margin: 0; z-index: 1; color: var(--c-white); font-size: var(--fs-h3); line-height: 1.2; text-shadow: 0 0 24px rgba(0, 0, 0, .45); }
.dx--su-home-film .ue-scroll-video__stage::after { content: ""; position: absolute; inset: 0; background: rgba(14, 14, 14, .12); pointer-events: none; }
.dx--su-home-intro .dx--ru-intro { max-width: 28rem; }
.dx--su-home-nieuws .dx--ru-h2 { max-width: 18ch; margin: 24px 0 clamp(32px, 5.56vw, 80px); }
.dx--su-home-uitgelicht .vc_column-inner > .w-hwrapper, .dx--su-home-nieuws .vc_column-inner > .w-hwrapper { justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--lijn); }
.dx--su-home-uitgelicht .dx--ru-kaarten { margin-top: clamp(32px, 5.56vw, 80px); }
/* Text link with the corner arrow (secondary button). */
.dx--ru-link.dx--ru-link a, a.dx--ru-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dx--ru-link a::after, a.dx--ru-link::after { content: "↳"; text-decoration: none; }
/* Numbered steps (our approach): hairline, title, text. */
.dx--ru-stap.dx--ru-stap { padding-top: 24px; border-top: 1px solid var(--lijn); margin-bottom: clamp(48px, 8vw, 120px); counter-increment: stap; }
.dx--ru-stap:last-child { margin-bottom: 0; }
.dx--su-home-aanpak .wpb_column:last-child .vc_column-inner { counter-reset: stap; }
.dx--ru-stap::before { content: counter(stap, decimal-leading-zero); display: block; margin-bottom: 16px; font-family: var(--f-m); font-size: var(--fs-label); color: var(--tekst-2); }
.dx--ru-stap .dx--ru-h3 { margin: 0 0 16px; }

/* =========================================================
   HEADER  (Header Builder "BH — header": logo, three links, MENU)
   ========================================================= */
.l-header.l-header { background: var(--c-white); color: var(--c-text); font-family: var(--f-m); }
.l-header .l-subheader.at_middle { padding-inline: var(--margin); background: var(--c-white); color: var(--c-text); }
.l-header .l-subheader-h { max-width: calc(var(--content-max) - 80px); padding-inline: 0; }
.dx--su-logo.dx--su-logo { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.dx--su-logo .dx--ru-svg { width: clamp(128px, 10vw, 144px); }
.dx--su-logo:focus-visible, .l-header a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: var(--radius-sm); }

/* Inline links: mono, with the 8 px square on hover and for the current page. */
.l-header .l-subheader-cell.at_right { gap: 40px; }
.l-header .l-subheader-cell.at_right > .dx--su-kopmenu.dx--su-kopmenu { margin: 0 40px 0 0; }
/* The first section of a page starts 40–80 px under the fixed header. */
.l-body .l-header.pos_fixed ~ .l-main > .l-section.dx--ru-sectie:first-child > .l-section-h,
.l-body .l-header.pos_fixed ~ .l-main .dx--ru-sectie.dx--ru-sectie:first-of-type > .l-section-h { padding-top: calc(var(--header-height, 80px) + clamp(24px, 5.56vw, 80px)); }
.dx--su-kopmenu .menu { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; }
.dx--su-kopmenu .menu > li { margin: 0; }
.dx--su-kopmenu .menu a, .dx--su-menu .w-nav-control.w-nav-control {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; color: inherit; text-decoration: none;
}
.dx--su-kopmenu .menu a::before { content: ""; width: 8px; height: 8px; background: currentColor; opacity: 0; transition: opacity .2s; }
.dx--su-kopmenu .menu a:is(:hover, :focus-visible)::before,
.dx--su-kopmenu .menu :is(.current-menu-item, .current_page_item, .current-menu-ancestor) > a::before { opacity: 1; }

/* MENU / the full-screen menu. Impreza sets aria-expanded on the control (and w-nav-open on <html>) and closes on Escape. */
.dx--su-menu .w-nav-control span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dx--su-menu .w-nav-control .w-nav-icon { display: none; }
.dx--su-menu.type_mobile .w-nav-list.level_1.w-nav-list.level_1 {
  display: none; position: fixed; inset: 0; z-index: 1; margin: 0; padding: 120px var(--margin) 40px; overflow-y: auto;
  background: var(--c-dark-bg); color: var(--c-dark-text); font-family: var(--f-d); text-align: left;
  grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-content: start;
}
.l-header.l-header:has(.dx--su-menu .w-nav-control[aria-expanded="true"]) { color: var(--c-dark-text); }
.l-header:has(.dx--su-menu .w-nav-control[aria-expanded="true"]) .l-subheader.at_middle { background: transparent; color: var(--c-dark-text); position: relative; z-index: 2; }
.l-header:has(.dx--su-menu .w-nav-control[aria-expanded="true"]) .dx--su-kopmenu { visibility: hidden; }
.dx--su-menu.type_mobile .w-nav-control[aria-expanded="true"] ~ .w-nav-list.level_1.w-nav-list.level_1 { display: grid; }
.dx--su-menu.type_mobile .w-nav-item.level_1 { grid-column: 7 / -1; margin: 0 0 clamp(8px, 2.6vh, 32px); border: 0; }
.dx--su-menu.type_mobile .w-nav-anchor.level_1.w-nav-anchor.level_1 {
  display: inline-block; padding: 0; font-size: clamp(2.25rem, 1.72rem + 2.25vw, 3.75rem); line-height: 1.2; text-transform: none;
  color: var(--c-dark-text-2); background: none; transition: color .2s;
}
/* Prefixed and doubled: Impreza's own mobile-menu hover colour (dark, from Theme Options) otherwise wins and hides the item. */
.l-header .dx--su-menu.type_mobile .w-nav-anchor.level_1.w-nav-anchor.level_1:is(:hover, :focus-visible),
.l-header .dx--su-menu.type_mobile :is(.current-menu-item, .current_page_item, .current-menu-ancestor) > .w-nav-anchor.level_1.w-nav-anchor.level_1 { color: var(--c-dark-text); background: none; }
.dx--su-menu.type_mobile .w-nav-anchor:focus-visible { outline: 2px solid var(--c-dark-text); outline-offset: 6px; }
/* Offices, socials and language at the bottom of the panel. */
.dx--su-menu-extra.dx--su-menu-extra { margin: 48px 0 0; align-self: end; font-family: var(--f-m); font-size: var(--fs-label); line-height: 22px; text-transform: uppercase; }
/* Desktop: the panel is exactly one screen. Items fill the right half; offices sit bottom-left beside them. */
.dx--su-menu.type_mobile .w-nav-list.level_1.w-nav-list.level_1 { min-height: 100%; grid-template-rows: repeat(5, auto) 1fr; }
.dx--su-menu-extra--kantoren { grid-column: 1 / 7; grid-row: 1 / 7; }
.dx--su-menu-extra--socials { grid-column: 7 / 11; grid-row: 6; }
.dx--su-menu-extra--taal { grid-column: 11 / -1; grid-row: 6; justify-self: end; }
.dx--su-menu-extra a { color: inherit; text-decoration: none; }
.dx--su-menu-extra a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.dx--su-menu-socials { margin: 0; padding: 0; list-style: none; }
.dx--su-menu-socials li { margin: 0; }

/* Offices and language switch (menu panel and footer). */
.dx--ru-kantoren { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.dx--ru-kantoor { display: flex; flex-direction: column; color: var(--tekst-2, inherit); }
.dx--su-menu-extra .dx--ru-kantoor { color: var(--c-dark-text-2); }
.dx--ru-kantoor-plaats { color: var(--ink); }
.dx--su-menu-extra .dx--ru-kantoor-plaats { color: var(--c-dark-text); }
.dx--ru-kantoor a { color: inherit; text-decoration: none; }
.dx--ru-taal ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dx--ru-taal li { margin: 0; }
.dx--ru-taal a {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 32px; justify-content: center;
  font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; color: inherit; text-decoration: none;
}
.dx--ru-taal .is-actief a::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.dx--ru-taal a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }

/* Impreza's menu element spaces items with margins and paddings from its own variables: reset, the gap is ours. */
.dx--su-kopmenu.dx--su-kopmenu .menu > li, .dx--su-footer-menu.dx--su-footer-menu .menu > li { flex: none; margin: 0; padding: 0; }
.dx--su-kopmenu.dx--su-kopmenu .menu > li > a, .dx--su-footer-menu.dx--su-footer-menu .menu > li > a { margin: 0; padding: 0; }
.dx--su-menu.dx--su-menu .w-nav-control { color: inherit; }
/* Impreza pulls the anchor 0.7em to the left and, below 600 px, sets the item margin from --main-gap with !important:
   reset the first, give the second our value (declared on the consuming element, so it beats the inline variable). */
.dx--su-menu.type_mobile .w-nav-anchor.level_1.w-nav-anchor.level_1 { margin: 0; }
.dx--su-footer-menu.dx--su-footer-menu .menu > li { --main-gap: 2px; }
.dx--su-footer-menu.dx--su-footer-menu .menu > li > a { display: block; }
.l-header:has(.dx--su-menu .w-nav-control[aria-expanded="true"]) :is(.w-nav-control, .dx--su-logo) { color: var(--c-dark-text); }
/* Link lists: 24 px rows, not the 22 px of the design, so every link is a 24 px target (WCAG 2.5.8). */
.dx--su-footer-menu.dx--su-footer-menu .menu a, .dx--su-footer-email.dx--su-footer-email a, .dx--ru-kantoor.dx--ru-kantoor, .dx--su-menu-extra.dx--su-menu-extra { line-height: 24px; }
.dx--ru-kantoor a, .dx--su-menu-socials a { display: block; }
/* Open: the bar turns dark with the panel, and MENU reads Sluiten / Close. */
.l-header.l-header:has(.dx--su-menu .w-nav-control[aria-expanded="true"]) { background: var(--c-dark-bg); }
.dx--su-menu .w-nav-control[aria-expanded="true"] span { font-size: 0; }
.dx--su-menu .w-nav-control[aria-expanded="true"] span::after { content: "Sluiten"; font-size: var(--fs-label); text-decoration: underline; text-underline-offset: 4px; }
:lang(en) .dx--su-menu .w-nav-control[aria-expanded="true"] span::after { content: "Close"; }

/* "Play reel" thumbnail button and its dialog. */
.dx--ru-reel.dx--ru-reel { position: relative; display: block; width: clamp(163px, 14.8vw, 213px); padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--c-dark-surface); color: var(--c-white); cursor: pointer; }
.dx--ru-reel img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: .8; transition: opacity .2s; }
.dx--ru-reel:is(:hover, :focus-visible) img { opacity: 1; }
.dx--ru-reel-label { position: absolute; left: 12px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; text-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.dx--ru-reel-label::before { content: ""; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.dx--ru-reel:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.l-footer .dx--ru-reel:focus-visible { outline-color: var(--ink); }
.dx--ru-reel-dialog { width: min(1280px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--c-white); overflow: visible; }
.dx--ru-reel-dialog::backdrop { background: rgba(14, 14, 14, .92); }
.dx--ru-reel-dialog video { display: block; width: 100%; max-height: calc(100vh - 96px); background: #000; border-radius: var(--radius); }
.dx--ru-reel-sluiten { display: block; margin: 0 0 8px auto; min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.dx--ru-reel-sluiten:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.dx--su-menu-extra--reel.dx--su-menu-extra--reel { grid-column: 1 / 4; grid-row: 1 / 3; align-self: start; margin: 0; }

/* =========================================================
   FOOTER  (Reusable Block "BH — footer")
   ========================================================= */
.l-footer .l-section.l-section { padding-inline: var(--margin); padding-block: 0; }
.l-footer .g-cols.via_grid { gap: var(--gutter); }
.l-footer :is(.w-text, .w-vwrapper, .w-menu, .wpb_text_column) { margin: 0; }
.l-footer { --lijn: var(--c-line); --tekst-2: var(--c-text-2); font-family: var(--f-d); }
/* Dark variant (About, Contact, 404). */
.bh-donkere-footer .l-footer { background: var(--c-dark-bg); color: var(--c-dark-text); --ink: var(--c-dark-text); --bg: var(--c-dark-bg); --lijn: var(--c-dark-line); --tekst-2: var(--c-dark-text-2); }
.bh-donkere-footer .l-footer .l-section { background: transparent; color: inherit; }
.bh-donkere-footer .l-footer :is(.w-text, p, a) { color: inherit; }
.bh-donkere-footer .l-footer .dx--ru-label--grijs, .bh-donkere-footer .l-footer .dx--ru-kantoor { color: var(--c-dark-text-2); }
.bh-donkere-footer .l-footer .dx--ru-kantoor-plaats { color: var(--c-dark-text); }
.dx--su-footer-cta > .l-section-h { padding-top: var(--sec-y-ruim); padding-bottom: var(--sec-y); border-bottom: 1px solid var(--lijn); }
.dx--su-footer-cta .dx--ru-display { margin: 0; }
.dx--su-footer-cta-link a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.dx--su-footer-cta-link a:is(:hover, :focus-visible) { color: var(--tekst-2); }
.dx--su-footer-links > .l-section-h { padding-block: var(--sec-y); }
.dx--su-footer-groep.dx--su-footer-groep { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.dx--ru-haken .w-text-value::before { content: "["; }
.dx--ru-haken .w-text-value::after { content: "]"; }
.dx--su-footer-menu .menu { display: block; margin: 0; padding: 0; list-style: none; }
.dx--su-footer-menu .menu > li { margin: 0; }
.dx--su-footer-menu .menu a, .dx--su-footer-email a, .l-footer .dx--ru-kantoor {
  font-family: var(--f-m); font-size: var(--fs-label); line-height: 22px; text-transform: uppercase; text-decoration: none;
}
.dx--su-footer-menu .menu a, .dx--su-footer-email a { display: inline-block; padding: 0; color: var(--ink); }
.dx--su-footer-menu .menu a:is(:hover, :focus-visible), .dx--su-footer-email a:is(:hover, :focus-visible), .l-footer .dx--ru-kantoor a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.l-footer .dx--ru-kantoren { flex-direction: column; gap: 22px; }
.dx--su-footer-onder > .l-section-h { padding-block: 16px 24px; }
.dx--su-footer-onder .g-cols { align-items: center; }
.dx--su-footer-taal .dx--ru-taal ul { justify-content: flex-end; }

/* =========================================================
   CONSENT — Impreza's cookie bar rebuilt as a card by js/consent.js (bottom-left, non-modal).
   Not designed in Figma (the page is empty), so built from the design language: dark card,
   4 px radius, mono labels, two buttons of EQUAL weight. Repeated classes outweigh
   Impreza's .l-cookie.pos_bottom without !important.
   ========================================================= */
.l-cookie.dx--su-consent-dialog.dx--su-consent-dialog {
  position: fixed; inset: auto auto 24px 24px; display: block; width: min(440px, calc(100vw - 48px));
  margin: 0; padding: 0; background: transparent; box-shadow: none; font-size: 1rem; line-height: 1.5; color: var(--c-dark-text); z-index: 120;
}
.dx--su-consent-dialog__card { padding: 24px; background: var(--c-dark-bg); color: var(--c-dark-text); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0, 0, 0, .28); }
.dx--su-consent-dialog__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--f-m); font-size: var(--fs-label); line-height: 18px; text-transform: uppercase; font-weight: 400; }
.dx--su-consent-dialog__title::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.dx--su-consent-dialog .l-cookie-message { margin: 0 0 24px; font-family: var(--f-d); font-size: 1rem; line-height: 1.5; color: var(--c-dark-text); }
.dx--su-consent-dialog .l-cookie-message a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.dx--su-consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dx--su-consent-dialog .dx--su-cookie-decline, .dx--su-consent-dialog .w-btn.w-btn {
  appearance: none; flex: 1 1 140px; margin: 0; padding: 10px 20px; min-height: 44px;
  border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--c-dark-text); background: transparent; color: var(--c-dark-text);
  font: 400 var(--fs-label)/24px var(--f-m); text-transform: uppercase; letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.dx--su-consent-dialog .dx--su-cookie-decline:is(:hover, :focus-visible), .dx--su-consent-dialog .w-btn.w-btn:is(:hover, :focus-visible) { background: var(--c-dark-text); color: var(--c-dark-bg); }
.dx--su-consent-dialog :is(.dx--su-cookie-decline, .w-btn, a):focus-visible { outline: 2px solid var(--c-dark-text); outline-offset: 2px; }
@media (max-width: 599px) {
  .l-cookie.dx--su-consent-dialog.dx--su-consent-dialog { inset: auto 12px 12px 12px; width: auto; }
  .dx--su-consent-dialog__card { padding: 20px; }
}

/* =========================================================
   TEXT PAGES (cookies, privacy)
   ========================================================= */
.dx--su-tekstpagina .wpb_text_column { max-width: 46rem; font-size: var(--fs-body-lg); line-height: 1.5; }
.dx--su-tekstpagina .wpb_text_column :is(h2, h3) { font-size: var(--fs-lead); line-height: 1.3; }
.dx--su-tekstpagina .wpb_text_column a { text-decoration: underline; text-underline-offset: 3px; }
.dx--su-tekstpagina table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.dx--su-tekstpagina :is(th, td) { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lijn); }
.dx--su-tekstpagina th { font-family: var(--f-m); font-size: var(--fs-label); text-transform: uppercase; font-weight: 400; color: var(--tekst-2); }
.dx--su-tekstpagina .dx--ru-tabel { overflow-x: auto; }
.dx--su-tekstpagina .dx--ru-tabel:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.dx--su-footer-juridisch .menu { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 0; padding: 0; list-style: none; }
.dx--su-footer-juridisch.dx--su-footer-juridisch .menu > li { margin: 0; --main-gap: 0px; }
.dx--su-footer-juridisch.dx--su-footer-juridisch .menu > li > a { display: inline-flex; align-items: center; min-height: 24px; padding: 0; font-family: var(--f-m); font-size: var(--fs-label); line-height: 24px; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.dx--su-footer-juridisch .menu a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   RESPONSIVE — the design ships desktop-only; define the rest.
   Breakpoints: 1100 / 900 / 768 / 600 / 480. Test real horizontal
   scroll at every width with bin/verify.mjs.
   ========================================================= */
@media (max-width: 900px) {
  .dx--su-overzicht-filter.open_for_mobile .w-filter-list.w-filter-list { height: 100%; grid-template-columns: 1fr; row-gap: 32px; padding-top: 88px; }
  .dx--su-overzicht-filter.open_for_mobile .w-filter-item.w-filter-item { grid-column: 1; padding-top: 24px; border-top: 1px solid var(--c-line); }
  .dx--su-overzicht-filter.open_for_mobile .w-filter-list-panel.w-filter-list-panel { inset: auto 0 0 0; padding: 12px var(--margin); background: var(--c-white); border-top: 1px solid var(--c-line); }
  .dx--ru-kaarten.is-lijst .w-grid-item-h { grid-template-columns: 1fr 1fr; }
  .dx--ru-kaarten.is-lijst :is(.dx--ru-kaart-type, .dx--ru-kaart-jaar) { display: none; }
  .dx--su-film-kop { left: var(--margin); }
  .dx--su-menu.type_mobile .w-nav-list.level_1.w-nav-list.level_1 { padding-top: 96px; grid-template-columns: 1fr; }
  .dx--su-menu.type_mobile .w-nav-list.level_1.w-nav-list.level_1 { grid-template-rows: none; }
  .dx--su-menu.type_mobile .w-nav-item.level_1, .dx--su-menu-extra.dx--su-menu-extra { grid-column: 1; grid-row: auto; justify-self: start; align-self: start; }
  .dx--su-menu.type_mobile .w-nav-item.level_1 { margin-bottom: 8px; }
  .dx--su-menu.type_mobile .w-nav-anchor.level_1.w-nav-anchor.level_1 { color: var(--c-dark-text); }
  .dx--su-menu-extra--reel.dx--su-menu-extra--reel { order: 9; margin-top: 32px; }
  .dx--su-kantoren .dx--ru-kantoren { grid-template-columns: 1fr; }
  .dx--su-project-cijfers .vc_column-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dx--su-project-cijfers .vc_column-inner { grid-template-columns: 1fr; }
  .dx--ru-moment.dx--ru-moment { grid-template-columns: 1fr; gap: 8px; }
  .dx--ru-kaarten .dx--ru-kaart-plaats { display: block; }
  .dx--ru-kaarten .dx--ru-kaart-plaats::before { content: none; }
}


/* =========================================================
   SCROLL VIDEO + HOTSPOTS  (markup: inc/scroll-video.php, script: js/video/)
   No overflow:hidden on any ancestor of .ue-scroll-video, or sticky stops working.
   ========================================================= */
.ue-scroll-video__stage { position: relative; width: 100%; overflow: hidden; aspect-ratio: 8 / 5; }
.ue-scroll-video[data-mode="scrub"] .ue-scroll-video__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; aspect-ratio: auto; }
.ue-scroll-video__stage picture { display: contents; }
.ue-scroll-video__poster,
.ue-loop-video__poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.ue-scroll-video__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 700ms; }
.ue-scroll-video__canvas[data-active="true"] { opacity: 1; }
.ue-scroll-video[data-mode="still"] .ue-scroll-video__canvas { display: none; }
.ue-loop-video { position: relative; overflow: hidden; }
.ue-loop-video__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms; }
.ue-loop-video__video[data-active="true"] { opacity: 1; }

/* Phones and still mode: the image in portrait, the hotspots as a plain list below it. */
@media (max-width: 1023px) { .ue-scroll-video__stage { aspect-ratio: 3 / 4; overflow: visible; } }
.dx--ru-hotspots { list-style: none; margin: 0; padding: 0; }
.ue-scroll-video[data-mode="still"] .ue-scroll-video__stage,
.ue-scroll-video:not([data-mode]) .ue-scroll-video__stage { overflow: visible; aspect-ratio: auto; }
.ue-scroll-video[data-mode="still"] .dx--ru-hotspots,
.ue-scroll-video:not([data-mode]) .dx--ru-hotspots { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 0; }
.dx--ru-hotspot { margin: 0; }
.dx--ru-hotspot a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: 4px; background: var(--ink); color: var(--bg); text-decoration: none;
}
.dx--ru-hotspot a:focus-visible { outline: 2px solid var(--bg); outline-offset: 2px; box-shadow: 0 0 0 4px var(--ink); }

/* Scrubbing: each hotspot sits on its spot in the film and fades in for its part. */
.ue-scroll-video[data-mode="scrub"] .dx--ru-hotspot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  opacity: 0; visibility: hidden; transition: opacity 300ms, visibility 300ms;
}
.ue-scroll-video[data-mode="scrub"] .dx--ru-hotspot[data-on] { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  .ue-scroll-video__canvas, .ue-loop-video__video, .dx--ru-hotspot { transition: none; }
}
