/* ── TOP BAR ── */
.top-bar {
    background: #fff;
    height: 120px;
}
.top-bar__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-bar__inner a{
    display: flex;
    gap: 8px;
}
header img.logo { max-height: 51px; }

.btn-doneer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 121px;
    height: 56px;
    padding: 18px 24px;
    font-family: var(--nav-font);
    font-size: 15px;
    letter-spacing: var(--nav-ls);
    text-transform: uppercase;
    color: #19352B;
    border: 1px solid #19352B;
    border-radius: 56px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.btn-doneer:hover { background: #19352B; color: #fff; }

/* ── NAV BAR ── */
.site-header { background: var(--nav-bg); position: relative; }
.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

/* ── DESKTOP MENU ── */
#hoofdmenu {
    margin: 0; padding: 0; list-style: none;
    display: flex; align-items: stretch; height: 100%;
}
#hoofdmenu > li { position: relative; display: flex; align-items: stretch; }
#hoofdmenu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: var(--nav-height);
    font-family: var(--nav-font);
    font-size: var(--nav-size);
    font-weight: 400;
    line-height: var(--nav-lh);
    letter-spacing: var(--nav-ls);
    text-transform: uppercase;
    color: var(--nav-color);
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
#hoofdmenu > li > a:hover,
#hoofdmenu > li:hover > a { background: var(--nav-hover); }

/* chevron open V — desktop */
#hoofdmenu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    flex-shrink: 0;
}

/* ── DROPDOWN ── */
#hoofdmenu > li > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    min-width: 220px;
    background: var(--nav-bg);
    list-style: none;
    margin: 0; padding: 8px 0;
    z-index: 999;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow:
            -2px 2px 5px var(--nav-bg),
            2px 2px 5px var(--nav-bg),
            0px 2px 5px var(--nav-bg);

}
#hoofdmenu > li:hover > ul.sub-menu { display: block; }
#hoofdmenu > li > ul.sub-menu li:first-child a {
    padding-top: 0!important;
}
#hoofdmenu > li > ul.sub-menu li:last-child a {
    border-bottom: none!important;
    padding-bottom: 0!important;
}
#hoofdmenu > li > ul.sub-menu li a {
    display: block;
    margin: 10px 20px;
    padding: 5px 0 10px 0;
    font-family: var(--nav-font);
    font-size: 16px;
    letter-spacing: var(--nav-ls);
    text-transform: uppercase;
    color: var(--nav-color);
    text-decoration: none;
    transition: background .15s;
    border-bottom: 1px #234B3E solid;
}
#hoofdmenu > li > ul.sub-menu li a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ── SEARCH ── */
.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nav-font);
    font-size: var(--nav-size);
    letter-spacing: var(--nav-ls);
    text-transform: uppercase;
    color: var(--nav-color);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0 0 8px;
    white-space: nowrap;
}

/* ── HAMBURGER ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--nav-color);
    z-index: 1001;
}
.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform .25s, opacity .25s;
}

/* ── MOBILE FULLSCREEN OVERLAY ── */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--nav-bg);
    z-index: 1000;
    overflow-y: auto;
    flex-direction: column;
    padding: 80px 32px 48px;
}
.mobile-overlay.is-open { display: flex; }

/* Close button — lime circle top-right */
.overlay-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #19352B;
    font-size: 22px;
    line-height: 1;
}

/* Mobile menu list */
.mobile-overlay > ul {
    list-style: none;
    margin: 0; padding: 0;
    width: 100%;
}
.mobile-overlay > ul > li {
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.mobile-overlay > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    font-family: var(--nav-font);
    font-size: 28px;
    letter-spacing: var(--nav-ls);
    text-transform: uppercase;
    color: var(--nav-color);
    text-decoration: none;
}
/* active/open item — lime */
.mobile-overlay > ul > li.submenu-open > a { color: var(--accent); }

/* chevron open V — mobile */
.mobile-overlay > ul > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(45deg) translateY(-4px);
    flex-shrink: 0;
    transition: transform .2s;
}
.mobile-overlay > ul > li.submenu-open > a::after {
    transform: rotate(-135deg) translateY(3px);
}

/* submenu */
.mobile-overlay ul.sub-menu {
    list-style: none;
    margin: 0; padding: 0 0 12px 0;
    display: none;
}
.mobile-overlay li.submenu-open > ul.sub-menu { display: block; }
.mobile-overlay ul.sub-menu li {
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-overlay ul.sub-menu li:last-child { border-bottom: none; }
.mobile-overlay ul.sub-menu li a {
    display: block;
    padding: 14px 0 14px 16px;
    font-family: var(--nav-font);
    font-size: 18px;
    letter-spacing: var(--nav-ls);
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    text-decoration: none;
}
.mobile-overlay ul.sub-menu li a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
    .desktop { display: none; }
    .nav-toggle { display: flex; }
    .nav-search-wrap { display: none; }
    /* hide the wp_nav_menu output in the bar on mobile */
    .site-header #hoofdmenu { display: none !important; }
    img.logo.thumb {max-width: calc(44 / 650 * 100vw);}
    img.logo.logotext {max-width: calc(300 / 650 * 100vw);}
    .top-bar__inner{gap:15px;}
    .site-header {z-index: 99};
}

@media (min-width: 768px) {
    .mobile { display: none; }
    .nav-toggle { display: none; }
    .mobile-overlay { display: none !important; }
    #hoofdmenu { display: flex !important; }
}