/*
 * Brandbook-stijl voor ALLE pagina's (Squarespace-mirror, extras-toolpagina's) — sinds 2026-10-09.
 * Geladen door src/Styling/BrandStyles.php met scope body.ne-brand, vóór een eventueel pagina-familiebestand
 * (brand/home.css, brand/vacatures.css, …). Zie NE-STYLEGUIDE.md §6d.
 * Terugdraaien: Ontwikkelaar → Modules → "Brandbook-stijl sitebreed uitzetten".
 *
 * Werkt op het sjabloon (de mirror-HTML en de extras-schil), niet per pagina. Teksten, links en volgorde blijven gelijk.
 * Niet voor de nieuwe pagina's: alles binnen .ne-ui (Website → Pagina's) en .ner (Recruitment-plugin) is uitgesloten;
 * die hebben hun eigen, al goedgekeurde stijl.
 *
 * Regels (zelfde taal als /werken-als en /recruitment-vacatures):
 *  - Hoofdknop  = geel, blauwe tekst, lijnpijl; hover donkerblauw/wit.
 *  - Tweede knop = donkerblauw/wit (op licht) of wit/blauw (op foto of blauw); hover lichtblauw. Nooit een rand.
 *  - Koppen     = Bold 700, strakke regelafstand, schaal gelijk aan /werken-als.
 *  - Rondingen  = --ne-radius-card (16px) voor kaarten, foto's, panelen; --ne-radius-field (12px) voor velden; knoppen pill.
 *  - Leesbaarheid: tekst op geel altijd donkerblauw; nooit tekst in de kleur van zijn achtergrond.
 *
 * legacy: review.css, site.css, extras-v2422 (ne_extras_styles) en Squarespace-componenten zetten stijl met !important
 * of hoge specificiteit; daarom hier !important. Opruimen zodra pagina's een eigen sjabloon krijgen.
 */

/* ---------- 1. Variabelen ---------- */
body.ne-brand {
    --ne-brand-line: color-mix(in srgb, var(--ne-color-primary) 14%, #fff);
    --ne-brand-text: color-mix(in srgb, var(--ne-color-primary) 82%, #fff);
    --ne-brand-shadow: 0 1px 2px rgba(0, 69, 99, .06), 0 8px 24px rgba(0, 69, 99, .08);
    --ne-brand-shadow-hover: 0 2px 4px rgba(0, 69, 99, .08), 0 14px 32px rgba(0, 69, 99, .14);
    --ne-brand-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E");

    /* Legacy-variabelen → Brandbook. Legacy zet witte tekst op --ne-coral; daarom blauw (wit op geel is onleesbaar). */
    --ne-coral: var(--ne-color-primary);
    --ne-coral-dark: var(--ne-color-primary-dark);
    --ne-coral-bright: var(--ne-color-primary);
    --ne-coral-light: var(--ne-color-primary-soft);
    --ne-coral-soft: var(--ne-color-accent);
    --ne-navy: var(--ne-color-primary);
    --ne-navy-dark: var(--ne-color-primary);
    --ne-navy-deep: var(--ne-color-primary);
    --ne-ink: var(--ne-color-primary);
    --ne-mist: var(--ne-color-primary-soft);
    /* Squarespace-palet: lichtblauw = --ne-color-primary-soft, oranje = --ne-color-accent (hsl-waarden). */
    --lightAccent-hsl: 192.35, 53.13%, 87.45%;
    --darkAccent-hsl: 32.44, 91.49%, 63.14%;
}

/*
 * Selectorhulp: alles in main, behalve de nieuwe pagina's (.ne-ui) en de Recruitment-plugin (.ner).
 * "Donker vlak" = Squarespace-thema bright (donkerblauw/foto) of door review.js gemarkeerd (.ne-review-dark).
 * "Geel vlak"   = Squarespace-thema dark / dark-bold (oranje = --ne-color-accent).
 */

/* ---------- 2. Knoppen ---------- */
/* Gemeenschappelijk: pill, geen rand, geen sprong bij hover. */
body.ne-brand main :is(a.sqs-block-button-element, a.ne-legacy-cta, button.lightbox-handle, a.ne-btn, button.ne-form-submit, a.ne-form-route-link):not(.ne-ui *, .ner *) {
    border: 0 !important;
    border-radius: var(--ne-radius-pill) !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    transform: none !important;
    transition: background-color .15s ease, color .15s ease !important;
}
body.ne-brand main :is(a.sqs-block-button-element, a.ne-legacy-cta, button.lightbox-handle, a.ne-btn, button.ne-form-submit, a.ne-form-route-link):not(.ne-ui *, .ner *):is(:hover, :focus-visible) {
    transform: none !important;
}

/* Tweede knop (standaard): donkerblauw, witte tekst, hover lichtblauw. Squarespace secondary/tertiary, .ne-legacy-cta, .ne-btn. */
body.ne-brand main :is(a.sqs-button-element--secondary, a.sqs-button-element--tertiary, a.ne-legacy-cta, a.ne-btn, a.ne-review-secondary, a.ne-legacy-cta--secondary):not(.ne-ui *, .ner *) {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}
body.ne-brand main :is(a.sqs-button-element--secondary, a.sqs-button-element--tertiary, a.ne-legacy-cta, a.ne-btn, a.ne-review-secondary, a.ne-legacy-cta--secondary):not(.ne-ui *, .ner *):hover {
    background: var(--ne-color-primary-soft) !important;
    color: var(--ne-color-primary) !important;
}

/* Hoofdknop: geel, blauwe tekst. Squarespace primary, formulierknoppen, pop-upknoppen (lightbox-handle). */
body.ne-brand main :is(a.sqs-button-element--primary, button.lightbox-handle, button.ne-form-submit, a.ne-form-route-link):not(.ne-ui *, .ner *),
body.ne-brand :is(.ne-form-submit, .ne-chat-choices .primary, .ne-chat-form button):not(.ne-ui *, .ner *) {
    background: var(--ne-color-accent) !important;
    border-color: var(--ne-color-accent) !important;
    color: var(--ne-color-primary) !important;
}
body.ne-brand main :is(a.sqs-button-element--primary, button.lightbox-handle, button.ne-form-submit, a.ne-form-route-link):not(.ne-ui *, .ner *):hover,
body.ne-brand :is(.ne-form-submit, .ne-chat-choices .primary, .ne-chat-form button):not(.ne-ui *, .ner *):hover {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}

/* Op een donker vlak (blauw of foto): tweede knop wit; hover lichtblauw. Hoofdknop blijft geel, hover wit. */
body.ne-brand main :is(section[data-section-theme="bright"], section:has(.section-background-canvas), section:has(.section-background img), .ne-review-dark, .fe-block.ne-on-dark) :is(a.sqs-button-element--secondary, a.sqs-button-element--tertiary, a.ne-legacy-cta, a.ne-btn, a.ne-review-secondary, a.ne-legacy-cta--secondary):not(.ne-ui *, .ner *),
body.ne-brand main :is(a.ne-review-on-dark, a.ne-btn--secondary):not(.sqs-button-element--primary):not(.ne-ui *, .ner *) {
    background: #fff !important;
    color: var(--ne-color-primary) !important;
}
body.ne-brand main :is(section[data-section-theme="bright"], section:has(.section-background-canvas), section:has(.section-background img), .ne-review-dark, .fe-block.ne-on-dark) :is(a.sqs-button-element--secondary, a.sqs-button-element--tertiary, a.ne-legacy-cta, a.ne-btn, a.ne-review-secondary, a.ne-legacy-cta--secondary):not(.ne-ui *, .ner *):hover,
body.ne-brand main :is(a.ne-review-on-dark, a.ne-btn--secondary):not(.sqs-button-element--primary):not(.ne-ui *, .ner *):hover {
    background: var(--ne-color-primary-soft) !important;
    color: var(--ne-color-primary) !important;
}
body.ne-brand main :is(section[data-section-theme="bright"], section:has(.section-background-canvas), section:has(.section-background img), .ne-review-dark, .fe-block.ne-on-dark) :is(a.sqs-button-element--primary, button.lightbox-handle, button.ne-form-submit):not(.ne-ui *, .ner *):hover {
    background: #fff !important;
    color: var(--ne-color-primary) !important;
}

/* Tekst ín een knop neemt altijd de knopkleur over (Squarespace zet soms een eigen tekstkleur, bijv. "wit", op de woorden
   in de knop; op een witte knop werd die tekst dan onzichtbaar). */
body.ne-brand main :is(a.sqs-block-button-element, a.ne-legacy-cta, button.lightbox-handle, a.ne-btn, button.ne-form-submit, a.ne-form-route-link):not(.ne-ui *, .ner *) * {
    color: inherit !important;
}

/* Lijnpijl (gelijk aan .ner-icon--arrow) op hoofdknoppen en op knoppen/links met een pijlteken.
   legacy: extras zet " →" als tekst in .ne-btn:after; die wordt hier vervangen door het lijnpijltje. */
body.ne-brand main :is(a.sqs-button-element--primary, a:has(.ne-glyph), a.ne-btn):not(.ne-ui *, .ner *)::after {
    content: "" !important;
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-left: var(--ne-space-1) !important;
    background: currentColor;
    -webkit-mask: var(--ne-brand-arrow) center / contain no-repeat;
    mask: var(--ne-brand-arrow) center / contain no-repeat;
    vertical-align: middle;
    font-size: 0 !important;
    transition: transform .15s ease;
}
body.ne-brand main :is(a.sqs-button-element--primary, a:has(.ne-glyph), a.ne-btn):not(.ne-ui *, .ner *):hover::after {
    transform: translateX(3px);
}
body.ne-brand main .ne-glyph {
    display: none !important;
}

/* Toetsenbordfocus: gele rand */
body.ne-brand :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--ne-color-accent) !important;
    outline-offset: 3px !important;
}

/* ---------- 3. Koppen (zoals /werken-als: Bold, strak, Brandbook-blauw) ---------- */
body.ne-brand main :is(h1, h2, h3, h4):not(.ne-ui *, .ner *):not(:has(.sqsrte-scaled-text)) {
    font-weight: 700 !important;
    letter-spacing: -.01em !important;
}
body.ne-brand main h1:not(.ne-ui *, .ner *):not(:has(.sqsrte-scaled-text)) {
    font-size: clamp(34px, 4.6vw, 60px) !important;
    line-height: 1.08 !important;
}
body.ne-brand main h2:not(.ne-ui *, .ner *):not(:has(.sqsrte-scaled-text)) {
    font-size: clamp(26px, 3vw, 40px) !important;
    line-height: 1.15 !important;
}
body.ne-brand main h3:not(.ne-ui *, .ner *):not(:has(.sqsrte-scaled-text)) {
    font-size: clamp(20px, 2vw, 26px) !important;
    line-height: 1.25 !important;
}
body.ne-brand main :is(h1, h2, h3, h4) :is(strong, b):not(.ne-ui *, .ner *) {
    font-weight: inherit !important;
}

/* ---------- 4. Leesbaarheid per vlak ---------- */
/* Licht vlak (wit, grijs, lichtblauw): Squarespace-markering "darkAccent" = Brandbook-blauw. */
body.ne-brand main .sqsrte-text-color--darkAccent:not(.ne-ui *, .ner *) {
    color: var(--ne-color-primary) !important;
}
/* Donker vlak: tekst wit, markering geel. */
body.ne-brand main :is(section[data-section-theme="bright"], section:has(.section-background-canvas), section:has(.section-background img), .ne-review-dark, .fe-block.ne-on-dark) .sqsrte-text-color--darkAccent:not(.ne-ui *, .ner *) {
    color: var(--ne-color-accent) !important;
}
/* Geel vlak: alle tekst donkerblauw (wit op geel is onleesbaar), ook wat Squarespace op "wit" of "lichtblauw" zet. */
body.ne-brand main section:is([data-section-theme="dark"], [data-section-theme="dark-bold"]):not(:has(.section-background img, .section-background video)) :is(h1, h2, h3, h4, p, li, span, strong, em, a):not(.ne-ui *, .ner *, .sqs-block-button-element, .sqs-block-button-element *, .ne-legacy-cta, .ne-legacy-cta *, .ne-btn, .ne-btn *, .sqsrte-scaled-text, .sqsrte-scaled-text *) {
    color: var(--ne-color-primary) !important;
}

/*
 * Lichte secties: Squarespace gebruikt op deze site als "black" een lichtgrijs (#f5f5f5) en zet koppen daarin;
 * op wit/lichtblauw is dat onleesbaar. Koppen en de tekstkleuren black/white/lightAccent worden daar donkerblauw,
 * behalve in blokken die op een foto of donker vlak liggen (classes van assets/js/brand.js).
 */
body.ne-brand main section:is([data-section-theme="light"], [data-section-theme="light-bold"], [data-section-theme="white"], [data-section-theme="white-bold"], [data-section-theme="black"], [data-section-theme="black-bold"], [data-section-theme="bright-inverse"]):not(.ne-review-dark):not(:has(.section-background-canvas)) .fe-block:not(.ne-on-photo, .ne-on-dark) :is(h1, h2, h3, h4, .sqsrte-text-color--black, .sqsrte-text-color--white, .sqsrte-text-color--lightAccent):not(.ne-ui *, .ner *, .sqs-block-button-element *, .ne-legacy-cta *, .ne-btn *, .sqsrte-scaled-text, .sqsrte-scaled-text *) {
    color: var(--ne-color-primary) !important;
}
/* Tekstblok op een licht vlak (vormblok, ook in een donkere sectie): donkerblauw. */
body.ne-brand main .fe-block.ne-on-light :is(h1, h2, h3, h4, p, li, span, strong, em):not(.ne-ui *, .ner *, .sqs-block-button-element *, .ne-legacy-cta *, .ne-btn *, .sqsrte-scaled-text, .sqsrte-scaled-text *) {
    color: var(--ne-color-primary) !important;
}
/* Tekstblok op een donker vlak (bijv. blauw vormblok in een lichte sectie): wit, markering geel. */
body.ne-brand main .fe-block.ne-on-dark :is(h1, h2, h3, h4, p, li, span, strong, em, a:not(.sqs-block-button-element, .ne-legacy-cta, .ne-btn)):not(.ne-ui *, .ner *, .sqs-block-button-element *, .ne-legacy-cta *, .ne-btn *, .sqsrte-scaled-text, .sqsrte-scaled-text *) {
    color: #fff !important;
}
body.ne-brand main .fe-block.ne-on-dark .sqsrte-text-color--darkAccent:not(.ne-ui *, .ner *) {
    color: var(--ne-color-accent) !important;
}

/*
 * Secties met een bewegende Squarespace-achtergrond (canvas "background-fx", bijv. contourlijnen) zijn donker: de
 * animatie tekent blauw. Laadt de animatie niet, dan zou de tekst op wit staan; daarom zelf ook Brandbook-blauw.
 */
body.ne-brand main section:has(.section-background-canvas) .section-background {
    background: var(--ne-color-primary) !important;
}

/*
 * Decoratieve grote tekst (Squarespace "scaled text", bijv. de witte watermerkletters RECRUITMENT / HORECA achter de
 * tekst op /recruitment) is design, geen leestekst: die houdt zijn eigen kleur en valt buiten de leesbaarheidsregels.
 */

/* Geel vlak (zonder foto): een gele hoofdknop valt weg; daar donkerblauw met witte tekst, hover lichtblauw. */
body.ne-brand main section:is([data-section-theme="dark"], [data-section-theme="dark-bold"]):not(:has(.section-background img, .section-background video)) :is(a.sqs-button-element--primary, button.lightbox-handle):not(.ne-ui *, .ner *) {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}
body.ne-brand main section:is([data-section-theme="dark"], [data-section-theme="dark-bold"]):not(:has(.section-background img, .section-background video)) :is(a.sqs-button-element--primary, button.lightbox-handle):not(.ne-ui *, .ner *):hover {
    background: var(--ne-color-primary-soft) !important;
    color: var(--ne-color-primary) !important;
}

/* ---------- 5. Rondingen ---------- */
/* Foto's, vormen, tekstblokken met achtergrond, accordeons: --ne-radius-card. Ronde foto's (cirkel) blijven rond. */
body.ne-brand main :is(.sqs-block-image .fluid-image-container, .sqs-block-image .image-block-wrapper, .sqs-shape-block-container, .sqs-block-accordion, .sqs-block-html.sqs-background-enabled):not(.ne-ui *, .ner *) {
    border-radius: var(--ne-radius-card) !important;
}
body.ne-brand main .sqs-block-image .fluid-image-container:not(.ne-ui *, .ner *) {
    overflow: hidden;
}

/* ---------- 6. Formulieren (forms-plugin .ne-native-form) ---------- */
/* Labels/tekst donkerblauw — alleen op lichte formulieren. Op donkere kaarten (bijv. /contact "Liever teruggebeld")
   en donkere secties houden ze hun witte kleur. */
body.ne-brand main .ne-native-form:not(.ne-ui *, .ner *, .ne-contact-card--callback *),
body.ne-brand main .ne-native-form label:not(.ne-ui *, .ner *, .ne-contact-card--callback *) {
    color: var(--ne-color-primary) !important;
}
body.ne-brand main .ne-native-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea):not(.ne-ui *, .ner *) {
    border-radius: var(--ne-radius-field) !important;
}

/* ---------- 7. Gerelateerde links onderaan (review.css .ne-review-context) en footer ---------- */
body.ne-brand .ne-review-context,
body.ne-brand .ne-review-context :is(h2, a) {
    color: var(--ne-color-primary) !important;
}
body.ne-brand .ne-review-footer {
    background: var(--ne-color-primary) !important;
}
body.ne-brand .ne-consent {
    background: var(--ne-color-primary) !important;
    border-radius: var(--ne-radius-card) !important;
}
body.ne-brand .ne-chat-launch {
    background: var(--ne-color-primary) !important;
    border-color: var(--ne-color-primary) !important;
}

/* ---------- 8. Oude extras-componenten (toolpagina's, contact, recruitment) ----------
 * legacy: ne_extras_styles() in extras-v2422 zet vaste kleuren (#1b4462, #173f59, #b94232, #f0644b, #17252a) en
 * rondingen (15–22px). Hier op de Brandbook-waarden; opbouw en teksten blijven gelijk.
 */
/* Lopende tekst en koppen */
body.ne-brand main .ne-tool:not(.ne-ui),
body.ne-brand main :is(.ne-recruitment-values, .ne-recruitment-contact, .ne-contact-section) {
    color: var(--ne-brand-text) !important;
}
body.ne-brand main :is(.ne-tool:not(.ne-ui), .ne-recruitment-values, .ne-recruitment-contact, .ne-contact-section) :is(h1, h2, h3, h4):not(:is(.ne-application-summary, .ne-submit-guide, .ne-result, .ne-contact-card--callback, .ne-contact-person) *) {
    color: var(--ne-color-primary) !important;
}
/* Labels boven koppen: blauw met oranje streepje (zoals .ne-ui .ne-tool-kicker) */
body.ne-brand main :is(.ne-tool:not(.ne-ui) .ne-tool-kicker, .ne-recruitment-eyebrow, .ne-contact-eyebrow) {
    display: flex !important;
    align-items: center;
    gap: var(--ne-space-1);
    color: var(--ne-color-primary) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
}
body.ne-brand main :is(.ne-tool:not(.ne-ui) .ne-tool-kicker, .ne-recruitment-eyebrow, .ne-contact-eyebrow)::before {
    content: "";
    flex: 0 0 auto;
    width: var(--ne-space-3);
    height: 3px;
    border-radius: 3px;
    background: var(--ne-color-accent);
}
body.ne-brand main .ne-contact-intro .ne-contact-eyebrow {
    justify-content: center;
}
/* Donkere panelen: Brandbook-blauw */
body.ne-brand main :is(.ne-application-summary, .ne-submit-guide, .ne-result, .ne-contact-card--callback, .ne-contact-person) {
    background: var(--ne-color-primary) !important;
    border-color: var(--ne-color-primary) !important;
    border-radius: var(--ne-radius-card) !important;
    color: #fff !important;
}
body.ne-brand main :is(.ne-application-summary, .ne-submit-guide, .ne-result, .ne-contact-card--callback, .ne-contact-person) :is(h2, h3, h4, strong, label) {
    color: #fff !important;
}
/* Lichte panelen: lichtblauwe tint, geen rand */
body.ne-brand main :is(.ne-job-panel, .ne-rate-result, .ne-detail-match) {
    background: color-mix(in srgb, var(--ne-color-primary-soft) 45%, #fff) !important;
    border-color: transparent !important;
    border-radius: var(--ne-radius-card) !important;
    color: var(--ne-brand-text) !important;
}
body.ne-brand main :is(.ne-job-panel, .ne-rate-result, .ne-detail-match) :is(h2, h3, h4, strong) {
    color: var(--ne-color-primary) !important;
}
/* Kaarten: wit, dunne lijn, zachte schaduw */
body.ne-brand main :is(.ne-tool:not(.ne-ui) .ne-card, .ne-info-card, .ne-contact-card--message) {
    border: 1px solid var(--ne-brand-line) !important;
    border-radius: var(--ne-radius-card) !important;
    box-shadow: var(--ne-brand-shadow) !important;
}
body.ne-brand main .ne-tool:not(.ne-ui) .ne-card form.ne-native-form {
    border: 0 !important;
    box-shadow: none !important;
}
body.ne-brand main .ne-recruitment-value-icon {
    background: color-mix(in srgb, var(--ne-color-primary-soft) 45%, #fff) !important;
    color: var(--ne-color-primary) !important;
}
/* Achtergrondvlakken van secties */
body.ne-brand main .ne-recruitment-contact {
    background: var(--ne-color-primary-soft) !important;
}
body.ne-brand main .ne-contact-section {
    background: color-mix(in srgb, var(--ne-color-primary-soft) 40%, #fff) !important;
}
/* Recruitment-contactblok en kantoren (review.css zet hier #1b4462 vast) */
body.ne-brand main :is(.ne-review-office :is(p, h2, h3, strong, span, a)) {
    color: var(--ne-color-primary) !important;
}
/* WhatsApp-knop (recruitment): tweede knop, donkerblauw */
body.ne-brand main a.ne-recruitment-contact-primary {
    border: 0 !important;
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}
body.ne-brand main a.ne-recruitment-contact-primary:hover {
    background: var(--ne-color-primary-soft) !important;
    color: var(--ne-color-primary) !important;
}
/* Grijze hulpteksten: Brandbook-tekstkleur (contrast ≥ 4.5) */
body.ne-brand main :is(.ne-blog-filter-status, .ne-form-reassurance):not(.ne-contact-card--callback *, .ne-review-dark *) {
    color: var(--ne-brand-text) !important;
}

/* Recruitment-contactblok: tweede knoppen wit zonder rand, vinkjes geel, kaart van de recruiter Brandbook-blauw */
body.ne-brand main .ne-recruitment-contact-actions a:not(.ne-recruitment-contact-primary) {
    border: 0 !important;
    background: #fff !important;
    color: var(--ne-color-primary) !important;
}
body.ne-brand main .ne-recruitment-contact-actions a:not(.ne-recruitment-contact-primary):hover {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}
body.ne-brand main .ne-recruitment-contact li::before {
    color: var(--ne-color-accent) !important;
}
body.ne-brand main .ne-recruitment-contact figure :is(figcaption, div):not(:has(img)) {
    background: var(--ne-color-primary) !important;
}
body.ne-brand main .ne-recruitment-contact figure :is(figcaption, strong, span, p, small) {
    color: #fff !important;
}

/* Links in hulpteksten onder formulieren (bijv. "Vacature plaatsen" op /personeel-aanvragen): leesbaar en herkenbaar */
body.ne-brand main .ne-form-reassurance a:not(.ne-contact-card--callback *) {
    color: var(--ne-color-primary) !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
body.ne-brand main .ne-contact-card--message .ne-form-reassurance {
    color: var(--ne-brand-text) !important;
}

/* Contact: kantoor-/verwachtingsblok en knoppen in de donkere contactkaart */
body.ne-brand main .ne-contact-expectation :is(strong, h3) {
    color: var(--ne-color-primary) !important;
}
body.ne-brand main .ne-contact-person a {
    border: 0 !important;
    background: #fff !important;
    color: var(--ne-color-primary) !important;
}
body.ne-brand main .ne-contact-person a:hover {
    background: var(--ne-color-primary-soft) !important;
}

/* Toolpagina's: alle .ne-btn hetzelfde blauw (een tweede variant stond nog op #1b4462) */
body.ne-brand main .ne-tool:not(.ne-ui) a.ne-btn:not(.ne-review-on-dark):not(.ne-result *) {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}
body.ne-brand main .ne-tool:not(.ne-ui) a.ne-btn:not(.ne-review-on-dark):not(.ne-result *):hover {
    background: var(--ne-color-primary-soft) !important;
    color: var(--ne-color-primary) !important;
}

/* ---------- 9. Blog (overzicht en artikel) ---------- */
body.ne-brand main .ne-blog-intro > span:first-child {
    display: flex !important;
    align-items: center;
    gap: var(--ne-space-1);
    color: var(--ne-color-primary) !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
}
body.ne-brand main .ne-blog-intro > span:first-child::before {
    content: "";
    flex: 0 0 auto;
    width: var(--ne-space-3);
    height: 3px;
    border-radius: 3px;
    background: var(--ne-color-accent);
}
body.ne-brand main :is(.ne-blog-intro h1, h1.entry-title, .ne-blog-back) {
    color: var(--ne-color-primary) !important;
}
/* Filters: chips zonder rand; actief = donkerblauw */
body.ne-brand main .ne-blog-filters button {
    border: 0 !important;
    border-radius: var(--ne-radius-pill) !important;
    background: color-mix(in srgb, var(--ne-color-primary-soft) 55%, #fff) !important;
    color: var(--ne-color-primary) !important;
    font-weight: 600 !important;
}
body.ne-brand main .ne-blog-filters button:hover {
    background: var(--ne-color-primary-soft) !important;
}
body.ne-brand main .ne-blog-filters button[aria-pressed="true"] {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}

/* legacy: inline blogstijl gebruikt .collection-type-blog-side-by-side.view-item … (4 classes, !important) en
   .blog-side-by-side-wrapper .blog-more-link; daarom hier extra specificiteit. */
body.ne-brand main :is(.blog-item-title .entry-title, .ne-blog-back).ne-blog-back,
body.ne-brand.ne-brand main .blog-item-title .entry-title.entry-title,
body.ne-brand.ne-brand main a.ne-blog-back.ne-blog-back {
    color: var(--ne-color-primary) !important;
}
body.ne-brand.ne-brand main .blog-side-by-side-wrapper :is(.blog-title a, h1 a, h2 a) {
    color: var(--ne-color-primary) !important;
}
body.ne-brand.ne-brand main .blog-side-by-side-wrapper a.blog-more-link {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}
/* /werken-in-loondienst: tweede knop in de actierij stond via een specifiekere legacy-regel op #1b4462 */
body.ne-brand.ne-brand main .ne-tool:not(.ne-ui) .ne-detail-actions a.ne-btn.ne-btn {
    background: var(--ne-color-primary) !important;
    color: #fff !important;
}
/* Recruiterkaart (recruitment): kaart zelf ook Brandbook-blauw */
body.ne-brand main .ne-recruitment-contact figure {
    background: var(--ne-color-primary) !important;
}

/* ---------- 10. Markeringen (Squarespace "darkAccent") — laatste woord ----------
 * Volgorde van zekerheid: het vlak direct onder het blok (brand.js) gaat vóór het sectiethema.
 * Op donker: geel (ook de woorden erin); op licht: donkerblauw (ook in een sectie met achtergrondfoto). */
body.ne-brand.ne-brand main .fe-block.ne-on-dark :is(.sqsrte-text-color--darkAccent, .sqsrte-text-color--darkAccent *):not(.ne-ui *, .ner *, .sqs-block-button-element *, .sqsrte-scaled-text, .sqsrte-scaled-text *) {
    color: var(--ne-color-accent) !important;
}
body.ne-brand.ne-brand main .fe-block.ne-on-light :is(.sqsrte-text-color--darkAccent, .sqsrte-text-color--darkAccent *):not(.ne-ui *, .ner *, .sqs-block-button-element *, .sqsrte-scaled-text, .sqsrte-scaled-text *) {
    color: var(--ne-color-primary) !important;
}

/* ---------- 11. Blogoverzicht: kaarten in proportie ----------
 * De kaarttitel is een h2 (.blog-title) en kreeg de algemene h2-schaal (40px); in een kaart is dat te groot.
 * "Lees verder" (.blog-more-link) had een vaste smalle breedte (tekst brak af) en 4px ronding. */
body.ne-brand.ne-brand main .blog-item :is(h2.blog-title, h2.blog-title a) {
    font-size: clamp(20px, 1.6vw, 22px) !important;
    line-height: 1.3 !important;
    letter-spacing: -.005em !important;
}
body.ne-brand.ne-brand main .blog-item h2.blog-title {
    margin: 0 0 var(--ne-space-1) !important;
}
body.ne-brand.ne-brand main .blog-item .blog-excerpt :is(p, span) {
    font-size: 15px !important;
    line-height: 1.6 !important;
}
body.ne-brand.ne-brand main .blog-side-by-side-wrapper a.blog-more-link {
    display: inline-flex !important;
    align-items: center;
    gap: var(--ne-space-1);
    width: auto !important;
    min-height: 44px;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: var(--ne-radius-pill) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}
body.ne-brand.ne-brand main .blog-side-by-side-wrapper a.blog-more-link::after {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: var(--ne-brand-arrow) center / contain no-repeat;
    mask: var(--ne-brand-arrow) center / contain no-repeat;
    transition: transform .15s ease;
}
body.ne-brand.ne-brand main .blog-side-by-side-wrapper a.blog-more-link:hover {
    background: var(--ne-color-primary-soft) !important;
    color: var(--ne-color-primary) !important;
}
body.ne-brand.ne-brand main .blog-side-by-side-wrapper a.blog-more-link:hover::after {
    transform: translateX(3px);
}

/* ---------- 12. Lijnpijl in knoppen: altijd op de middenlijn, bij hover alleen naar rechts ----------
 * legacy: een oudere regel zette de pijl in .blog-more-link 3px omhoog (transform: translateY(-3px)); de hover-
 * verschuiving (translateX) verving die, waardoor de pijl schuin bewoog. Hier vast: rust = geen verschuiving,
 * hover = 3px naar rechts. Geldt voor alle knoppen met de lijnpijl. */
body.ne-brand.ne-brand main :is(a.sqs-button-element--primary, a:has(.ne-glyph), a.ne-btn, a.blog-more-link):not(.ne-ui *, .ner *)::after {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
    transform: none !important;
}
body.ne-brand.ne-brand main :is(a.sqs-button-element--primary, a:has(.ne-glyph), a.ne-btn, a.blog-more-link):not(.ne-ui *, .ner *):hover::after {
    transform: translateX(3px) !important;
}
