/*
Theme Name: Hank Auto Legends Exact
Theme URI: https://hankautolegends.nl/
Author: Altenaweb
Description: Volledig hybride zwart-gouden maatwerkthema voor Hank Auto Legends.
Version: 2.7.59
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hank-auto-legends-exact
*/

/* =========================================================
 * Centrale themevariabelen
 * ========================================================= */
:root {
    --hal-page-bg: #000000;
    --hal-panel: #080808;
    --hal-panel-2: #111111;
    --hal-gold: #d7a92f;
    --hal-gold-light: #efc94f;
    --hal-white: #ffffff;
    --hal-text: #dddddd;
    --hal-muted: #b8b8b8;
    --hal-h1: #ffffff;
    --hal-h2: #F4CD46;
    --hal-h3: #ffffff;
    --hal-h4: #ffffff;
    --hal-h5: #ffffff;
    --hal-h6: #ffffff;
    --hal-h1-color: #ffffff;
    --hal-h2-color: #F4CD46;
    --hal-h3-color: #ffffff;
    --hal-h4-color: #ffffff;
    --hal-h5-color: #ffffff;
    --hal-h6-color: #ffffff;
    --hal-link: #d7a92f;
    --hal-link-hover: #efc94f;
    --hal-header-bg: #000000;
    --hal-menu-text: #ffffff;
    --hal-menu-accent-text: #000000;
    --hal-submenu-text: #ffffff;
    --hal-submenu-hover-text: #ffffff;
    --hal-submenu-hover-bg: #111111;
    --hal-label: #d7a92f;
    --hal-input-bg: #1a1a1a;
    --hal-input-text: #d7a92f;
    --hal-input-placeholder: #b79545;
    --hal-input-border: #6f5a22;
    --hal-input-focus-bg: #111111;
    --hal-input-focus-text: #d7a92f;
    --hal-input-focus-border: #d7a92f;
    --hal-form-button-bg: #d7a92f;
    --hal-form-button-text: #000000;
    --hal-form-button-hover-bg: #efc94f;
    --hal-form-button-hover-text: #000000;
    --hal-border: color-mix(in srgb, var(--hal-gold) 35%, transparent);
    --hal-menu-arrow-size: .95em;
    --hal-logo-top-space-desktop: 0px;
    --hal-logo-top-space-mobile: 0px;
    --hal-max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--hal-page-bg);
    color: var(--hal-text);
}
body {
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

/* Lage basisspecificiteit voor native formulierbediening.
 * Zelfstandige formulierplugins kunnen dit zonder !important overrulen. */
:where(button, input, select, textarea) {
    font: inherit;
}

a { color: inherit; }


/* =========================================================
 * Centrale sitebrede typografie – v2.7.22
 *
 * H1 t/m H6 en P krijgen één centrale typografische basis. Sinds v2.7.25
 * gebruikt de frontend een vaste #hal-site-root zodat centrale Customizer-
 * waarden niet meer ongemerkt door plugin-CSS met hogere class-specificiteit
 * worden weggefilterd. Alleen typografische eigenschappen worden afgedwongen;
 * layout/geometrie blijft bij het betreffende themeonderdeel of de plugin.
 *
 * H1 en H2 volgen standaard exact de Hero-uitstraling: Impact, weight 400,
 * line-height 1.05 en letter-spacing -0.025em. Alle waarden zijn via het
 * theme-beheer aanpasbaar.
 * ========================================================= */
:root {
    --hal-h1-font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --hal-h1-size-min: 48px;
    --hal-h1-size-fluid: 4.6vw;
    --hal-h1-size-max: 62px;
    --hal-h1-font-size: clamp(48px,calc(34.000000px + 2.258065vw),62px);
    --hal-h1-font-weight: 400;
    --hal-h1-line-height: 1.05;
    --hal-h1-letter-spacing: -0.025em;
    --hal-h1-word-spacing: 0em;
    --hal-h1-text-transform: uppercase;
    --hal-h1-font-style: normal;
    --hal-h1-text-decoration: none;
    --hal-h1-text-align: left;

    --hal-h2-font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --hal-h2-size-min: 38px;
    --hal-h2-size-fluid: 3.6vw;
    --hal-h2-size-max: 50px;
    --hal-h2-font-size: clamp(38px,calc(26.000000px + 1.935484vw),50px);
    --hal-h2-font-weight: 400;
    --hal-h2-line-height: 1.05;
    --hal-h2-letter-spacing: -0.025em;
    --hal-h2-word-spacing: 0em;
    --hal-h2-text-transform: uppercase;
    --hal-h2-font-style: normal;
    --hal-h2-text-decoration: none;
    --hal-h2-text-align: left;

    --hal-h3-font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --hal-h3-size-min: 30px;
    --hal-h3-size-fluid: 2.8vw;
    --hal-h3-size-max: 40px;
    --hal-h3-font-size: clamp(30px,calc(20.000000px + 1.612903vw),40px);
    --hal-h3-font-weight: 400;
    --hal-h3-line-height: 1.05;
    --hal-h3-letter-spacing: 0em;
    --hal-h3-word-spacing: 0em;
    --hal-h3-text-transform: uppercase;
    --hal-h3-font-style: normal;
    --hal-h3-text-decoration: none;
    --hal-h3-text-align: left;

    --hal-h4-font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --hal-h4-size-min: 25px;
    --hal-h4-size-fluid: 2.2vw;
    --hal-h4-size-max: 32px;
    --hal-h4-font-size: clamp(25px,calc(18.000000px + 1.129032vw),32px);
    --hal-h4-font-weight: 400;
    --hal-h4-line-height: 1.05;
    --hal-h4-letter-spacing: 0em;
    --hal-h4-word-spacing: 0em;
    --hal-h4-text-transform: uppercase;
    --hal-h4-font-style: normal;
    --hal-h4-text-decoration: none;
    --hal-h4-text-align: left;

    --hal-h5-font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --hal-h5-size-min: 22px;
    --hal-h5-size-fluid: 0vw;
    --hal-h5-size-max: 22px;
    --hal-h5-font-size: 22px;
    --hal-h5-font-weight: 400;
    --hal-h5-line-height: 1.05;
    --hal-h5-letter-spacing: 0em;
    --hal-h5-word-spacing: 0em;
    --hal-h5-text-transform: uppercase;
    --hal-h5-font-style: normal;
    --hal-h5-text-decoration: none;
    --hal-h5-text-align: left;

    --hal-h6-font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --hal-h6-size-min: 18px;
    --hal-h6-size-fluid: 0vw;
    --hal-h6-size-max: 18px;
    --hal-h6-font-size: 18px;
    --hal-h6-font-weight: 400;
    --hal-h6-line-height: 1.05;
    --hal-h6-letter-spacing: 0em;
    --hal-h6-word-spacing: 0em;
    --hal-h6-text-transform: uppercase;
    --hal-h6-font-style: normal;
    --hal-h6-text-decoration: none;
    --hal-h6-text-align: left;

    --hal-p-font-family: Arial, Helvetica, sans-serif;
    --hal-p-color: #dddddd;
    --hal-p-size-min: 18px;
    --hal-p-size-fluid: 0vw;
    --hal-p-size-max: 18px;
    --hal-p-font-size: 18px;
    --hal-p-font-weight: 400;
    --hal-p-line-height: 1.65;
    --hal-p-letter-spacing: 0em;
    --hal-p-word-spacing: 0em;
    --hal-p-text-transform: none;
    --hal-p-font-style: normal;
    --hal-p-text-decoration: none;
    --hal-p-text-align: left;
}

/* Fallback wanneer dynamische theme-CSS nog niet beschikbaar is. De werkelijk
 * opgeslagen Customizerwaarden worden door functions.php ná dit stylesheet als
 * directe regels toegevoegd en zijn daardoor frontend leidend. */
:where(body#hal-site h1) { color:var(--hal-h1-color);font-family:var(--hal-h1-font-family);font-size:var(--hal-h1-font-size,var(--hal-h1-size-max));font-weight:var(--hal-h1-font-weight);line-height:var(--hal-h1-line-height);letter-spacing:var(--hal-h1-letter-spacing);word-spacing:var(--hal-h1-word-spacing);text-transform:var(--hal-h1-text-transform);font-style:var(--hal-h1-font-style);text-decoration:var(--hal-h1-text-decoration);text-align:var(--hal-h1-text-align);}
:where(body#hal-site h2) { color:var(--hal-h2-color);font-family:var(--hal-h2-font-family);font-size:var(--hal-h2-font-size,var(--hal-h2-size-max));font-weight:var(--hal-h2-font-weight);line-height:var(--hal-h2-line-height);letter-spacing:var(--hal-h2-letter-spacing);word-spacing:var(--hal-h2-word-spacing);text-transform:var(--hal-h2-text-transform);font-style:var(--hal-h2-font-style);text-decoration:var(--hal-h2-text-decoration);text-align:var(--hal-h2-text-align);}
:where(body#hal-site h3) { color:var(--hal-h3-color);font-family:var(--hal-h3-font-family);font-size:var(--hal-h3-font-size,var(--hal-h3-size-max));font-weight:var(--hal-h3-font-weight);line-height:var(--hal-h3-line-height);letter-spacing:var(--hal-h3-letter-spacing);word-spacing:var(--hal-h3-word-spacing);text-transform:var(--hal-h3-text-transform);font-style:var(--hal-h3-font-style);text-decoration:var(--hal-h3-text-decoration);text-align:var(--hal-h3-text-align);}
:where(body#hal-site h4) { color:var(--hal-h4-color);font-family:var(--hal-h4-font-family);font-size:var(--hal-h4-font-size,var(--hal-h4-size-max));font-weight:var(--hal-h4-font-weight);line-height:var(--hal-h4-line-height);letter-spacing:var(--hal-h4-letter-spacing);word-spacing:var(--hal-h4-word-spacing);text-transform:var(--hal-h4-text-transform);font-style:var(--hal-h4-font-style);text-decoration:var(--hal-h4-text-decoration);text-align:var(--hal-h4-text-align);}
:where(body#hal-site h5) { color:var(--hal-h5-color);font-family:var(--hal-h5-font-family);font-size:var(--hal-h5-font-size,var(--hal-h5-size-max));font-weight:var(--hal-h5-font-weight);line-height:var(--hal-h5-line-height);letter-spacing:var(--hal-h5-letter-spacing);word-spacing:var(--hal-h5-word-spacing);text-transform:var(--hal-h5-text-transform);font-style:var(--hal-h5-font-style);text-decoration:var(--hal-h5-text-decoration);text-align:var(--hal-h5-text-align);}
:where(body#hal-site h6) { color:var(--hal-h6-color);font-family:var(--hal-h6-font-family);font-size:var(--hal-h6-font-size,var(--hal-h6-size-max));font-weight:var(--hal-h6-font-weight);line-height:var(--hal-h6-line-height);letter-spacing:var(--hal-h6-letter-spacing);word-spacing:var(--hal-h6-word-spacing);text-transform:var(--hal-h6-text-transform);font-style:var(--hal-h6-font-style);text-decoration:var(--hal-h6-text-decoration);text-align:var(--hal-h6-text-align);}
:where(body#hal-site p) { color:var(--hal-p-color);font-family:var(--hal-p-font-family);font-size:var(--hal-p-font-size,var(--hal-p-size-max));font-weight:var(--hal-p-font-weight);line-height:var(--hal-p-line-height);letter-spacing:var(--hal-p-letter-spacing);word-spacing:var(--hal-p-word-spacing);text-transform:var(--hal-p-text-transform);font-style:var(--hal-p-font-style);text-decoration:var(--hal-p-text-decoration);text-align:var(--hal-p-text-align);}

/* Theme-eigen semantische velden houden alleen hun eigen standaardmarges. */
:where(.hal-theme-text-level:is(h1, h2, h3, h4, h5, h6)) { margin: 0 0 .55em; }
:where(.hal-theme-text-level:is(p)) { margin: 0 0 1em; }

.hal-screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hal-container {
    width: min(calc(100% - 48px), var(--hal-max));
    margin-inline: auto;
}

/* =========================================================
 * Header en navigatie
 * ========================================================= */
.hal-site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 100;
    height: 124px;
    background: var(--hal-header-bg);
    border-bottom: 1px solid color-mix(in srgb, var(--hal-gold) 18%, transparent);
}

/* v2.7.11 – optionele sticky header. De basis blijft absolute voor de uitgeschakelde stand. */
.hal-site-header.hal-site-header-sticky {
    position: fixed;
    z-index: 1000;
}

body.admin-bar .hal-site-header.hal-site-header-sticky {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .hal-site-header.hal-site-header-sticky {
        top: 46px;
    }
}

.hal-header-inner {
    width: min(100%, 1536px);
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.hal-branding {
    transform: translateY(var(--hal-logo-top-space-desktop));
}

.hal-brand-link,
.hal-brand-link img,
.custom-logo-link,
.custom-logo { display: block; }

.hal-brand-link img,
.custom-logo {
    width: 300px;
    max-width: 100%;
    height: auto;
}

.hal-primary-nav { justify-self: end; }

/* v2.7.19 – hoofdmenu-interactie verfijnd.
 * Hoofditems gebruiken op desktop geen goud hover-/actiefvlak meer, maar
 * uitsluitend dezelfde gouden, vanuit het midden openende underline als de
 * submenu-items. Tekst blijft op de headerachtergrond automatisch leesbaar.
 * Submenu-items blijven randloos en behouden hun bestaande hoverreactie. */
.hal-menu {
    display: flex;
    align-items: stretch;
    min-height: 54px;
    gap: clamp(18px, 1.8vw, 34px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.hal-menu > li {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 0;
}

.hal-menu li {
    position: relative;
    margin: 0;
}

.hal-menu a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 10px 15px;
    gap: .45em;
    color: var(--hal-menu-text);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 16px;
    letter-spacing: .035em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: transparent;
    transition: color 360ms cubic-bezier(.22,.61,.36,1), background-color 360ms cubic-bezier(.22,.61,.36,1);
}

.hal-menu .menu-item-has-children > a::after {
    content: '›';
    display: inline-block;
    flex: 0 0 auto;
    font-size: var(--hal-menu-arrow-size);
    font-weight: 700;
    line-height: 1;
    color: currentColor;
    opacity: .96;
    transform: translateY(-0.02em);
    transition: color 360ms cubic-bezier(.22,.61,.36,1), opacity 360ms cubic-bezier(.22,.61,.36,1);
}


/* Actieve hoofditems blijven rustig op de headerachtergrond; op desktop
 * maakt de underline de actieve/hoverstatus zichtbaar. */
.hal-menu > li.current-menu-item > a,
.hal-menu > li.current_page_item > a,
.hal-menu > li.current-menu-ancestor > a,
.hal-menu > li.current_page_ancestor > a {
    color: var(--hal-menu-text);
    background-color: transparent;
    -webkit-text-fill-color: var(--hal-menu-text);
}

@media (min-width: 981px) {
    /* v2.7.19 – dezelfde gouden center-out underline als in het submenu,
     * zonder gekleurd blok achter het hoofdmenu-item. */
    .hal-menu > li > a {
        position: relative;
        background-image: linear-gradient(var(--hal-gold), var(--hal-gold));
        background-repeat: no-repeat;
        background-position: 50% 100%;
        background-size: 0 2px;
        transition: color 360ms cubic-bezier(.22,.61,.36,1), background-size 420ms cubic-bezier(.22,.61,.36,1), background-color 360ms cubic-bezier(.22,.61,.36,1);
    }

    .hal-menu > li:hover > a,
    .hal-menu > li:focus-within > a,
    .hal-menu > li > a:hover,
    .hal-menu > li > a:focus-visible,
    .hal-menu > li.current-menu-item > a,
    .hal-menu > li.current_page_item > a,
    .hal-menu > li.current-menu-ancestor > a,
    .hal-menu > li.current_page_ancestor > a {
        color: var(--hal-menu-text);
        background-color: transparent;
        background-size: calc(100% - 30px) 2px;
        -webkit-text-fill-color: var(--hal-menu-text);
    }
}

.hal-menu .sub-menu {
    display: none;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 220px;
    max-width: calc(100vw - 40px);
    padding: 8px;
    margin: 0;
    list-style: none;
    background: var(--hal-panel);
    border: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: none;
}

.hal-menu li:hover > .sub-menu,
.hal-menu li:focus-within > .sub-menu { display: block; }

.hal-menu .sub-menu li {
    display: block;
}

.hal-menu .sub-menu a {
    position: relative;
    min-height: 42px;
    padding: 9px 12px 11px;
    color: var(--hal-submenu-text);
    font-weight: 400;
    white-space: nowrap;
    background-color: transparent;
    background-image: linear-gradient(var(--hal-gold), var(--hal-gold));
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 0 2px;
    border: 0;
    outline-offset: 2px;
    box-shadow: none;
    transition: color 360ms cubic-bezier(.22,.61,.36,1), background-size 420ms cubic-bezier(.22,.61,.36,1), background-color 360ms cubic-bezier(.22,.61,.36,1);
}

/* v2.7.17 – Altenaweb-submenuhover: de gouden lijn opent vanuit het midden.
 * Dit is nadrukkelijk géén rand/kader: alle item-borders blijven uitgeschakeld. */
.hal-menu .sub-menu li:hover > a,
.hal-menu .sub-menu li > a:hover,
.hal-menu .sub-menu li > a:focus-visible,
.hal-menu .sub-menu .current-menu-item > a {
    color: var(--hal-submenu-hover-text);
    background-color: var(--hal-submenu-hover-bg);
    background-size: calc(100% - 24px) 2px;
    border: 0;
    box-shadow: none;
}

.hal-header-register,
.hal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--hal-gold);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    letter-spacing: .055em;
    text-decoration: none;
    text-transform: uppercase;
    transition: .2s;
}

.hal-header-register {
    min-width: 184px;
    min-height: 54px;
    padding: 0 22px;
    color: var(--hal-gold);
    font-size: 17px;
}

.hal-header-register:hover,
.hal-header-register:focus-visible,
.hal-button-gold {
    color: #000000;
    background: var(--hal-gold);
}

.hal-menu-toggle {
    display: none;
    width: 46px;
    height: 42px;
    padding: 8px;
    border: 1px solid var(--hal-gold);
    background: var(--hal-header-bg);
}

.hal-menu-toggle > span:not(.hal-screen-reader-text) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--hal-gold);
}

/* =========================================================
 * Contextuele Topbar & Bottombar – v2.7.13
 * =========================================================
 * Het theme levert alleen neutrale presentatieruimte. De inhoud en
 * koppellogica worden door zelfstandige plugins aangeleverd.
 * Zonder aangeleverde inhoud wordt geen wrapper gerenderd.
 */
.hal-context-bar {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hal-context-bar-inner {
    width: 100%;
}

/* De Topbar staat in de documentstroom direct onder de absolute/fixed header. */
.hal-context-topbar {
    margin-top: 124px;
}

/* De bestaande 180px bovenruimte van gewone pagina's/berichten blijft visueel
 * gelijk: 124px header-offset + 56px ruimte na een aanwezige Topbar.
 */
.hal-context-topbar + .hal-standard-page {
    padding-top: 56px;
}

/* =========================================================
 * Homepage en Hero – alleen echte themeonderdelen
 * ========================================================= */
.hal-homepage {
    background: var(--hal-page-bg);
    padding-top: 124px;
}

/* v2.7.12 – op brede desktops volgt ook de rechter Hero-afbeelding de centrale containerinset. */
.hal-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    isolation: isolate;
    background: var(--hal-page-bg) var(--hal-hero-image, url('assets/images/hero-car.jpg')) right max(24px, calc((100vw - var(--hal-max)) / 2)) center / auto 100% no-repeat;
    border-bottom: 1px solid var(--hal-border);
}

/* De zwarte overlay is bewust onderdeel van het hero-beeld, niet van de algemene pagina-achtergrond. */
.hal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #000 0%, #000 37%, rgba(0,0,0,.96) 48%, rgba(0,0,0,.48) 68%, rgba(0,0,0,.08) 100%);
}

.hal-hero-inner {
    min-height: 680px;
    display: flex;
    align-items: center;
}

.hal-hero-content { width: min(590px, 48vw); }

.hal-kicker { margin: 0 0 24px; }

/* De gekozen H1-H6/P-tag bepaalt font, grootte en gewicht via de theme-basis. */
.hal-hero-title {
    display: block;
    margin: 0;
}
.hal-hero-title + .hal-hero-title { margin-top: .04em; }

.hal-hero-copy {
    max-width: 570px;
    margin: 34px 0 0;
}

.hal-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 38px;
}

.hal-button {
    min-width: 190px;
    min-height: 58px;
    padding: 0 24px;
    font-size: 17px;
}
.hal-button:hover,
.hal-button:focus-visible { transform: translateY(-2px); }
.hal-button-gold:hover,
.hal-button-gold:focus-visible { background: var(--hal-gold-light); }
.hal-button-outline {
    color: var(--hal-gold);
    background: rgba(0,0,0,.58);
}
.hal-button-outline:hover,
.hal-button-outline:focus-visible {
    color: #000000;
    background: var(--hal-gold);
}

/* Pluginoutput krijgt standaard geen theme-achtergrond of theme-typografie opgedrongen.
 * v2.7.3 kan uitsluitend het buitenste pluginvlak transparant maken wanneer de
 * centrale doorlopende pagina-achtergrond daarvoor expliciet is ingeschakeld.
 */
.hal-home-plugin {
    width: 100%;
    position: relative;
    z-index: 1;
}
.hal-home-plugin > :first-child { margin-top: 0; }
.hal-home-plugin > :last-child { margin-bottom: 0; }

/* v2.7.23 – centrale homepage-stack. De actuele responsive gaps worden via
 * Customizer-waarden als CSS-variabelen toegevoegd. */
.hal-home-plugins {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}
.hal-hero + .hal-home-plugins { margin-top: 24px; }
@media (max-width: 980px) {
    .hal-home-plugins { gap: 20px; }
    .hal-hero + .hal-home-plugins { margin-top: 20px; }
}
@media (max-width: 620px) {
    .hal-home-plugins { gap: 16px; }
    .hal-hero + .hal-home-plugins { margin-top: 16px; }
}

/* =========================================================
 * Gewone WordPress-pagina's en berichten
 * ========================================================= */
.hal-standard-page {
    min-height: 70vh;
    padding: 180px 0 90px;
    background: var(--hal-page-bg);
}

.hal-standard-page .hal-container > article,
.hal-standard-page .hal-entry-content {
    width: 100%;
    max-width: none;
}

.hal-entry-content {
    color: var(--hal-text);
    font-size: 18px;
    line-height: 1.75;
}

/* Gewone tekstblokken moeten na een zwevende afbeelding weer vanzelf de
 * volledige regelbreedte kunnen benutten. Dit vangt ook editor-/block-CSS af
 * die op losse tekstblokken een ongewenste max-width kan zetten. */
.hal-entry-content > :where(p, ul, ol, blockquote, pre, table, h2, h3, h4, h5, h6) {
    width: auto;
    max-width: none;
}

/* v2.7.32 – standaard contentblokken mogen de volledige beschikbare breedte
 * gebruiken. De tekstomloop van v2.7.31 blijft behouden; breedtebeperkingen
 * uit editor-/block-stijlen worden voor gewone tekstblokken geneutraliseerd. */
.hal-entry-content::after {
    content: "";
    display: table;
    clear: both;
}


/* v2.7.37 – theme-eigen uitgelichte afbeelding op losse berichten.
 * De volledige originele afbeelding wordt als IMG gerenderd; er is geen vaste
 * hoogte, aspect-ratio of cover-crop. De figure staat bewust in de content,
 * zodat normale tekstomloop mogelijk blijft. */
.hal-entry-content .hal-single-featured {
    float: right;
    clear: none;
    box-sizing: border-box;
    width: min(38%, 560px);
    max-width: min(38%, 560px);
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    margin: .2em 0 1.35em 18px;
    padding: 8px;
    border: 1px solid var(--hal-border);
    border-radius: 12px;
    background: var(--hal-panel);
}

.hal-entry-content .hal-single-featured img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    border-radius: 8px;
    clip-path: none !important;
}

/* v2.7.36 – volledige bronfoto afdwingen bij links/rechts uitgelijnde contentafbeeldingen.
 * Niet alleen het IMG-element, maar ook het Gutenberg FIGURE/wrapper kan een inline
 * vaste hoogte of aspect-ratio hebben. Die wrapper-crop wordt hier expliciet opgeheven. */
.hal-entry-content figure.alignright,
.hal-entry-content .wp-block-image.alignright,
.hal-entry-content img.alignright {
    float: right;
    clear: none;
    width: min(38%, 560px);
    max-width: min(38%, 560px);
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    clip-path: none !important;
    margin: .2em 0 1.35em 18px;
}

.hal-entry-content figure.alignleft,
.hal-entry-content .wp-block-image.alignleft,
.hal-entry-content img.alignleft {
    float: left;
    clear: none;
    width: min(38%, 560px);
    max-width: min(38%, 560px);
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    clip-path: none !important;
    margin: .2em 18px 1.35em 0;
}

.hal-entry-content figure.alignright > a,
.hal-entry-content figure.alignleft > a,
.hal-entry-content .wp-block-image.alignright > a,
.hal-entry-content .wp-block-image.alignleft > a {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
}

.hal-entry-content figure.alignright img,
.hal-entry-content figure.alignleft img,
.hal-entry-content .wp-block-image.alignright img,
.hal-entry-content .wp-block-image.alignleft img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    clip-path: none !important;
}

.hal-entry-content figure.aligncenter,
.hal-entry-content .wp-block-image.aligncenter,
.hal-entry-content img.aligncenter {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.hal-entry-content p,
.hal-entry-content li,
.hal-entry-content dt,
.hal-entry-content dd,
.hal-entry-content blockquote,
.hal-entry-content figcaption { color: var(--hal-text); }

.hal-entry-content a { color: var(--hal-link); }
.hal-entry-content a:hover,
.hal-entry-content a:focus-visible { color: var(--hal-link-hover); }

/* =========================================================
 * Algemene HTML-formulieren – v2.7.8
 * Bewust lage specificiteit. Dit is uitsluitend de fallback voor
 * gewone HTML-formulieren; zelfstandige formulierplugins blijven leidend.
 * ========================================================= */
.hal-standard-page :where(form label, form legend) {
    color: var(--hal-label);
}

.hal-standard-page :where(
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    textarea,
    select
) {
    background-color: var(--hal-input-bg);
    color: var(--hal-input-text);
    border-color: var(--hal-input-border);
    caret-color: var(--hal-input-text);
}

.hal-standard-page :where(
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    textarea
)::placeholder {
    color: var(--hal-input-placeholder);
    opacity: 1;
}

.hal-standard-page :where(
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="url"]:focus,
    input[type="tel"]:focus,
    input[type="number"]:focus,
    input[type="password"]:focus,
    input[type="search"]:focus,
    input[type="date"]:focus,
    input[type="time"]:focus,
    input[type="datetime-local"]:focus,
    textarea:focus,
    select:focus
) {
    background-color: var(--hal-input-focus-bg);
    color: var(--hal-input-focus-text);
    border-color: var(--hal-input-focus-border);
    outline: 2px solid var(--hal-input-focus-border);
    outline-offset: 1px;
}

.hal-standard-page :where(
    input[readonly],
    textarea[readonly],
    input:disabled,
    textarea:disabled,
    select:disabled
) {
    color: var(--hal-input-text);
    opacity: 1;
}

.hal-standard-page :where(select option) {
    background-color: var(--hal-input-bg);
    color: var(--hal-input-text);
}

.hal-standard-page :where(
    form button:not(.hal-menu-toggle),
    form input[type="button"],
    form input[type="submit"],
    form input[type="reset"]
) {
    background-color: var(--hal-form-button-bg);
    color: var(--hal-form-button-text);
}

.hal-standard-page :where(
    form button:not(.hal-menu-toggle):hover,
    form button:not(.hal-menu-toggle):focus-visible,
    form input[type="button"]:hover,
    form input[type="button"]:focus-visible,
    form input[type="submit"]:hover,
    form input[type="submit"]:focus-visible,
    form input[type="reset"]:hover,
    form input[type="reset"]:focus-visible
) {
    background-color: var(--hal-form-button-hover-bg);
    color: var(--hal-form-button-hover-text);
}

/* =========================================================
 * Herbruikbare HAL-huisstijlclasses
 * ========================================================= */
.hal-goud { color: var(--hal-gold) !important; }
.hal-wit { color: #ffffff !important; }
.hal-goud-kop {
    color: var(--hal-gold) !important;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
}
.hal-goud-kader {
    border: 1px solid var(--hal-gold) !important;
    padding: 1rem;
}

/* =========================================================
 * Modulaire footer
 * ========================================================= */
.hal-site-footer {
    padding: 0;
    border-top: 0;
}
.hal-footer-gold-line { border-top: 1px solid var(--hal-border); }
.hal-footer-bg-black { background: var(--hal-header-bg); }
.hal-footer-bg-deep { background: var(--hal-page-bg); }
.hal-footer-bg-panel { background: linear-gradient(180deg, var(--hal-panel), var(--hal-panel-2)); }

.hal-footer-grid {
    display: grid;
    gap: 42px;
    align-items: start;
    padding-block: 52px;
}
.hal-footer-layout-equal .hal-footer-grid { grid-template-columns: repeat(3, 1fr); }
.hal-footer-layout-wide_center .hal-footer-grid { grid-template-columns: 1fr 2fr 1fr; }
.hal-footer-center-glow .hal-footer-block-2 {
    background: radial-gradient(circle, color-mix(in srgb, var(--hal-gold) 12%, transparent), transparent 67%);
}

.hal-footer-block {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.hal-align-left { text-align: left; }
.hal-align-center { text-align: center; }
.hal-align-right { text-align: right; }
.hal-footer-block.hal-align-left { align-items: flex-start; }
.hal-footer-block.hal-align-center { align-items: center; }
.hal-footer-block.hal-align-right { align-items: flex-end; }
.hal-footer-logo,
.hal-footer-custom-logo {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}
.hal-footer-custom-logo .custom-logo-link {
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
}
.hal-footer-logo img,
.hal-footer-custom-logo img {
    display: block;
    width: min(300px, 100%);
    height: auto;
}
.hal-footer-slogan {
    margin: 12px 0 0;
    color: var(--hal-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hal-footer-image {
    display: inline-block;
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.hal-footer-text {
    color: var(--hal-muted);
    line-height: 1.6;
}
.hal-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hal-footer-menu li + li { margin-top: 8px; }
.hal-footer-menu a {
    color: var(--hal-muted);
    text-decoration: none;
}
.hal-footer-menu a:hover,
.hal-footer-menu a:focus-visible { color: var(--hal-gold); }
.hal-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: inherit;
}
.hal-footer-socials a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--hal-muted);
    border: 1px solid color-mix(in srgb, var(--hal-text) 25%, transparent);
    text-decoration: none;
    transition: .2s;
}
.hal-footer-socials svg { display: block; width: 23px; height: 23px; }
.hal-footer-socials .hal-footer-social-icon { display: block; width: 26px; height: 26px; object-fit: contain; }
.hal-footer-socials a:hover,
.hal-footer-socials a:focus-visible {
    color: var(--hal-gold);
    border-color: var(--hal-gold);
}
.hal-footer-cta { min-width: 0; }
.hal-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-block: 18px;
    border-top: 1px solid color-mix(in srgb, var(--hal-white) 8%, transparent);
    color: var(--hal-muted);
}
.hal-footer-bottom-copy { margin: 0; color: inherit; }
.hal-footer-bottom > div:last-child { text-align: right; }

/* =========================================================
 * Responsive
 * ========================================================= */
@media (max-width: 1240px) {
    .hal-header-inner {
        grid-template-columns: 250px minmax(0, 1fr) auto;
        gap: 18px;
    }
    .hal-brand-link img,
    .custom-logo { width: 250px; }
    .hal-menu { gap: 16px; }
    .hal-header-register {
        min-width: 150px;
        padding-inline: 14px;
        font-size: 15px;
    }
}

@media (max-width: 980px) {
    .hal-site-header { height: 92px; }
    .hal-branding { transform: translateY(var(--hal-logo-top-space-mobile)); }
    .hal-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 0 18px;
    }
    .hal-brand-link img,
    .custom-logo { width: 220px; }
    .hal-menu-toggle {
        display: block;
        justify-self: end;
    }
    .hal-primary-nav {
        display: none;
        position: absolute;
        top: 92px;
        left: 0;
        right: 0;
        padding: 16px 22px 24px;
        background: var(--hal-header-bg);
        border-bottom: 1px solid var(--hal-gold);
    }
    .hal-primary-nav.is-open { display: block; }
    .hal-menu { display: block; min-height: 0; }
    .hal-menu > li { display: block; }
    .hal-menu a { min-height: 0; padding: 14px 0; color: var(--hal-menu-text); background: transparent; -webkit-text-fill-color: currentColor; }
    .hal-menu .sub-menu {
        display: block;
        position: static;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 0 0 0 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .hal-menu .sub-menu a,
    .hal-menu .sub-menu li:hover > a,
    .hal-menu .sub-menu li > a:hover,
    .hal-menu .sub-menu li > a:focus-visible,
    .hal-menu .sub-menu .current-menu-item > a {
        min-height: 0;
        color: var(--hal-menu-text);
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .hal-header-register { display: none; }
    .hal-homepage { padding-top: 92px; }
    .hal-context-topbar { margin-top: 92px; }
    .hal-context-topbar + .hal-standard-page { padding-top: 88px; }
    .hal-hero,
    .hal-hero-inner { min-height: calc(100vh - 92px); }
    .hal-hero {
        background-position: 62% center;
        background-size: cover;
    }
    .hal-hero::before {
        background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.96) 48%, rgba(0,0,0,.45) 100%);
    }
    .hal-hero-content { width: min(620px, 78vw); }

    .hal-footer-layout-equal .hal-footer-grid,
    .hal-footer-layout-wide_center .hal-footer-grid { grid-template-columns: 1fr; }
    .hal-footer-grid { padding-block: 38px; }
    .hal-footer-block {
        align-items: center !important;
        text-align: center !important;
    }
    .hal-footer-logo,
    .hal-footer-custom-logo,
    .hal-footer-custom-logo .custom-logo-link,
    .hal-footer-image {
        margin-inline: auto;
    }
    .hal-footer-logo,
    .hal-footer-custom-logo .custom-logo-link,
    .hal-footer-image {
        width: fit-content;
        max-width: 100%;
    }
    .hal-footer-socials { justify-content: center; }
    .hal-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .hal-footer-bottom > div:last-child { text-align: center; }
}

@media (max-width: 620px) {
    .hal-container { width: min(calc(100% - 36px), var(--hal-max)); }
    .hal-hero { background-position: 66% center; }
    .hal-hero::before { background: rgba(0,0,0,.72); }
    .hal-hero-inner {
        align-items: flex-end;
        padding-block: 80px 48px;
    }
    .hal-hero-content { width: 100%; }
    .hal-hero-actions { gap: 12px; }
    .hal-button {
        width: 100%;
        min-width: 0;
    }
}


/* v2.7.32 – op smalle schermen geen zwevende afbeelding naast tekst. */
@media (max-width: 700px) {
    .hal-entry-content .hal-single-featured {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.35em;
    }

    .hal-entry-content figure.alignright,
    .hal-entry-content figure.alignleft,
    .hal-entry-content .wp-block-image.alignright,
    .hal-entry-content .wp-block-image.alignleft,
    .hal-entry-content img.alignright,
    .hal-entry-content img.alignleft {
        float: none;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* =========================================================
 * v2.7.38 – standaard WordPress-contentondersteuning
 * ========================================================= */
.hal-entry-content img:not(.emoji):not(.wp-smiley),
.hal-entry-content video,
.hal-entry-content svg {
    max-width: 100%;
    height: auto;
}

.hal-entry-content figure,
.hal-entry-content .wp-caption {
    max-width: 100%;
}

.hal-entry-content figure.aligncenter,
.hal-entry-content .wp-caption.aligncenter,
.hal-entry-content .wp-block-image.aligncenter,
.hal-entry-content img.aligncenter {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.hal-entry-content figure.aligncenter > a,
.hal-entry-content .wp-caption.aligncenter > a,
.hal-entry-content .wp-block-image.aligncenter > a {
    display: inline-block;
    max-width: 100%;
}

.hal-entry-content figure.aligncenter,
.hal-entry-content .wp-caption.aligncenter,
.hal-entry-content .wp-block-image.aligncenter {
    text-align: center;
}

.hal-entry-content figure.aligncenter > img,
.hal-entry-content .wp-caption.aligncenter > img,
.hal-entry-content .wp-block-image.aligncenter > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hal-entry-content .alignwide {
    width: min(calc(100vw - 48px), 1600px);
    max-width: none;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
}

.hal-entry-content .alignfull {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
}

.hal-entry-content .wp-caption-text,
.hal-entry-content figcaption,
.hal-entry-content .wp-element-caption {
    margin-top: .45em;
    color: var(--hal-muted);
    font-size: .9em;
    line-height: 1.45;
    text-align: center;
}

.hal-entry-content .gallery,
.hal-entry-content .wp-block-gallery,
.hal-entry-content .blocks-gallery-grid {
    width: 100%;
    max-width: 100%;
}

.hal-entry-content .gallery {
    display: grid;
    gap: 16px;
    margin: 1.5em 0;
}
.hal-entry-content .gallery-columns-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.hal-entry-content .gallery-columns-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.hal-entry-content .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.hal-entry-content .gallery-columns-5,
.hal-entry-content .gallery-columns-6,
.hal-entry-content .gallery-columns-7,
.hal-entry-content .gallery-columns-8,
.hal-entry-content .gallery-columns-9 { grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); }
.hal-entry-content .gallery-item { margin: 0; min-width: 0; }
.hal-entry-content .gallery-item img { display:block; width:100%; height:auto; }

.hal-entry-content iframe,
.hal-entry-content embed,
.hal-entry-content object {
    max-width: 100%;
}

.hal-entry-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}
.hal-entry-content .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}
.hal-entry-content th,
.hal-entry-content td {
    padding: .55em .7em;
    border: 1px solid var(--hal-border);
    vertical-align: top;
}
.hal-entry-content pre {
    max-width: 100%;
    overflow: auto;
}
.hal-entry-content hr,
.hal-entry-content .wp-block-separator {
    border: 0;
    border-top: 1px solid var(--hal-border);
}

@media (max-width: 700px) {
    .hal-entry-content .alignwide {
        width: calc(100vw - 36px);
        max-width: calc(100vw - 36px);
        margin-left: 50%;
        transform: translateX(-50%);
    }
    .hal-entry-content .alignfull {
        width: 100vw;
        max-width: 100vw;
        margin-left: 50%;
        transform: translateX(-50%);
    }
    .hal-entry-content .gallery-columns-3,
    .hal-entry-content .gallery-columns-4,
    .hal-entry-content .gallery-columns-5,
    .hal-entry-content .gallery-columns-6,
    .hal-entry-content .gallery-columns-7,
    .hal-entry-content .gallery-columns-8,
    .hal-entry-content .gallery-columns-9 {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

.hal-footer-socials { flex-wrap:wrap; }
.hal-footer-socials a { width:auto; min-width:42px; padding:8px; }

/* Footer met gouden menunaam en dezelfde center-out underline als het hoofdmenu. */
.hal-footer-menu-panel {
    width:100%; max-width:420px; overflow:hidden;
    border:1px solid color-mix(in srgb,var(--hal-gold) 32%,transparent);
    background:linear-gradient(145deg,color-mix(in srgb,var(--hal-gold) 6%,var(--hal-panel)),var(--hal-panel-2));
    box-shadow:0 12px 28px #00000026;
}
.hal-footer-menu-panel .hal-footer-menu-heading {
    margin:0; padding:13px 20px;
    background:linear-gradient(110deg,var(--hal-gold),var(--hal-gold-light),var(--hal-gold));
    color:#111111; -webkit-text-fill-color:#111111;
    font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
    font-size:22px; line-height:1.25; font-weight:300; letter-spacing:.07em;
    text-transform:uppercase; overflow-wrap:anywhere;
    border-bottom:1px solid color-mix(in srgb,var(--hal-gold-light) 70%,transparent);
}
.hal-footer-menu-panel .hal-footer-menu { padding:8px 18px 12px; width:100%; box-sizing:border-box; }
.hal-footer-menu-panel .hal-footer-menu li { margin:0; padding:0; }
.hal-footer-menu-panel .hal-footer-menu li + li { margin-top:0; border-top:1px solid color-mix(in srgb,var(--hal-gold) 13%,transparent); }
.hal-footer-menu-panel .hal-footer-menu a {
    display:block; padding:13px 6px; min-height:44px; box-sizing:border-box;
    font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
    font-size:18px; font-weight:300; line-height:1.3; letter-spacing:.045em; text-transform:uppercase;
    color:var(--hal-text); -webkit-text-fill-color:var(--hal-text);
    background-image:linear-gradient(var(--hal-gold),var(--hal-gold));
    background-repeat:no-repeat; background-position:50% 100%; background-size:0 2px;
    transition:color 360ms cubic-bezier(.22,.61,.36,1),background-size 420ms cubic-bezier(.22,.61,.36,1);
}
.hal-footer-menu-panel .hal-footer-menu a:hover,
.hal-footer-menu-panel .hal-footer-menu a:focus-visible,
.hal-footer-menu-panel .hal-footer-menu .current-menu-item > a,
.hal-footer-menu-panel .hal-footer-menu .current_page_item > a {
    color:var(--hal-gold-light); -webkit-text-fill-color:var(--hal-gold-light);
    background-size:calc(100% - 12px) 2px;
}
.hal-footer-menu-panel .hal-footer-menu a:focus-visible { outline:2px solid var(--hal-gold); outline-offset:-2px; }
@media(prefers-reduced-motion:reduce){.hal-footer-menu-panel .hal-footer-menu a{transition:none}}

.hal-footer-richtext { width:100%; text-align:inherit; overflow-wrap:anywhere; }
body#hal-site .hal-footer-richtext :is(p,h1,h2,h3,h4,h5,h6,ul,ol,blockquote):not([style*="text-align"]) { text-align:inherit!important; }
body#hal-site .hal-footer-richtext [style*="text-align: center"],body#hal-site .hal-footer-richtext [style*="text-align:center"] { text-align:center!important; }
body#hal-site .hal-footer-richtext [style*="text-align: right"],body#hal-site .hal-footer-richtext [style*="text-align:right"] { text-align:right!important; }
body#hal-site .hal-footer-richtext [style*="text-align: left"],body#hal-site .hal-footer-richtext [style*="text-align:left"] { text-align:left!important; }
body#hal-site .hal-footer-richtext [style*="text-align: justify"],body#hal-site .hal-footer-richtext [style*="text-align:justify"] { text-align:justify!important; }
.hal-footer-richtext > :first-child { margin-top:0; }
.hal-footer-richtext > :last-child { margin-bottom:0; }
.hal-footer-richtext a { color:var(--hal-gold-light); text-decoration:underline; }

/* Footerbreedte en blokpositie staan los van tekstuitlijning. */
.hal-site-footer > .hal-container { width:calc(100% - 56px); max-width:1480px; }
.hal-footer-richtext { max-width:420px; }
body#hal-site .hal-site-footer .hal-footer-menu-heading {
    color:#111111!important; -webkit-text-fill-color:#111111!important; font-weight:300!important;
}
body#hal-site .hal-site-footer .hal-footer-menu a { font-weight:300!important; }
@media(max-width:767px){.hal-site-footer > .hal-container{width:calc(100% - 36px)}}
