/*
Theme Name: Subsite Vormportaal
Theme URI: https://vormportaal.nl
Template: twentytwentyfive
Author: Vormverhaal
Author URI: https://vormverhaal.nl
Description: Subsite Child theme Vormportaal
Tags: Vormportaal, Vormverhaal
Version: 1.0
Updated: 2026-11-11 (sectietitel: 10px hoger)

*/

/* ==========================================================================
   Eigen CSS Subsite Vormportaal
   ========================================================================== */


/*  --------------------------------------------------------------------------
     EIGEN FONTS
    -------------------------------------------------------------------------- */

/* 1. LIGHT (Gewicht 300) */
@font-face {
    font-family: 'Nudica';
    src: url('fonts/nudica-light-webfont.woff2') format('woff2'),
         url('fonts/nudica-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 2. REGULAR (Gewicht 400) */
@font-face {
    font-family: 'Nudica';
    src: url('fonts/nudica-regular-webfont.woff2') format('woff2'),
         url('fonts/nudica-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 3. MEDIUM (Gewicht 500) */
@font-face {
    font-family: 'Nudica';
    src: url('fonts/nudica-medium-webfont.woff2') format('woff2'),
         url('fonts/nudica-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* 4. BOLD (Gewicht 700) */
@font-face {
    font-family: 'Nudica';
    src: url('fonts/nudica-bold-webfont.woff2') format('woff2'),
         url('fonts/nudica-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Standaard teksten (Light) */
body, p, li, span {
    font-family: 'Nudica', sans-serif;
    font-weight: 300;
    letter-spacing: -0.02em;
}

/* Koppen en dikgedrukte teksten (Medium) */
h1, h2, h3, h4, h5, h6, strong {
    font-family: 'Nudica', sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Subtitels of lichtere elementen (Medium) */
.sub-heading {
    font-family: 'Nudica', sans-serif;
    font-weight: 500;
}


/*  --------------------------------------------------------------------------
     Clean login
    -------------------------------------------------------------------------- */

/* Container */
.cleanlogin-container {
    max-width: 100% !important;
    padding: 10px 0 0 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Tekstvelden */
.cleanlogin-container input[type="text"],
.cleanlogin-container input[type="password"],
.cleanlogin-container input[type="email"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 45px !important;
    font-size: 18px !important;
    color: #333 !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* Veld focus */
.cleanlogin-container input:focus {
    outline: none !important;
    border-bottom: 2px solid #000 !important;
}

/* Placeholder */
.cleanlogin-container input::placeholder {
    color: #aaa !important;
    opacity: 1;
}

/* Labels verbergen */
.cleanlogin-container label {
    display: none !important;
}

/* Inlogknop */
.cleanlogin-container input[type="submit"] {
    font-family: inherit !important;
    font-size: var(--wp--preset--font-size--medium) !important;
    font-weight: 400 !important;
    line-height: 1;
    width: auto !important;
    display: inline-block;
    margin: 10px 0 10px 0 !important;
    background-color: #000000;
    color: white;
    padding: 13px 24px 32px 24px !important;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

/* 'Onthouden?' verbergen */
.cleanlogin-container .cleanlogin-field-remember,
.cleanlogin-container .rememberme,
.cleanlogin-container input[name="rememberme"] {
    display: none !important;
}

/* Het pijltje ervoor zetten EN ook klein maken */
.cleanlogin-container [class*="restore"] a::before,
.cleanlogin-container .cleanlogin-form-bottom a::before {
    content: "> ";
    font-size: var(--wp--preset--font-size--small) !important;
    margin-right: 6px;
    display: inline-block;
}


/*  --------------------------------------------------------------------------
     Algemeen
    -------------------------------------------------------------------------- */

/* Recaptcha verbergen */
.grecaptcha-badge { visibility: hidden !important; }

/* Z-index fix voor FooGallery altijd */
header {
    position: relative !important;
    z-index: 9999 !important;
}

h2 {
    margin-bottom: 5px !important;
}

/* Sectietitel (H2 bovenaan een sectie): optisch evenveel ruimte boven als links.
   De lucht boven de hoofdletters (regelhoogte en lettertype) wordt weggesneden, zodat de
   bovenkant van de letters even ver van de rand staat als de linkerkant.
   Daarna nog 10px hoger (--h2-omhoog); pas dat getal aan om hem hoger of lager te zetten. */
:root { --h2-omhoog: 10px; }
.wp-block-group.is-vertical > h2.wp-block-heading:first-child {
    margin-top: calc(-0.4em - var(--h2-omhoog)) !important;   /* benadering voor browsers zonder text-box (o.a. Firefox) */
}
@supports (text-box: trim-start cap alphabetic) {
    .wp-block-group.is-vertical > h2.wp-block-heading:first-child {
        margin-top: calc(-1 * var(--h2-omhoog)) !important;
        text-box: trim-start cap alphabetic;
    }
}

.h3-lijn {
    border-top: 2px solid #000000;
    margin: 35px 0 0 !important;
    padding: 10px 0 0 0;
}

h3 {
    margin-top: 10px !important;
    margin-bottom: -10px !important;
}

p {
    margin-bottom: 10px !important;
}

/* Welkomstpagina wit */
.page-id-2 {
    background-color: #fff !important;
}


/*  --------------------------------------------------------------------------
     Details uitklaplijst
    -------------------------------------------------------------------------- */

details.wp-block-details {
    border-top: 1px solid #000 !important;
    padding: 15px 0 5px 0 !important;
    margin: 0 !important;
    transition: border-width 0.1s ease;
    padding-right: 50px !important;
}

details[open].wp-block-details {
    border-top: 2px solid #000 !important;
}

details.wp-block-details:last-of-type {
    border-bottom: 1px solid #000 !important;
}

details.wp-block-details summary {
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    outline: none !important;
    margin-right: -50px !important;
}

details.wp-block-details summary::-webkit-details-marker {
    display: none !important;
}

details[open].wp-block-details summary {
    font-weight: 500 !important;
}

details.wp-block-details summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 1.5px solid #000;
    border-bottom: 1.5px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 10px;
}

details[open].wp-block-details summary::after {
    transform: rotate(-135deg);
}

details.wp-block-details .wp-block-details-content {
    font-size: var(--wp--preset--font-size--medium) !important;
    padding-top: 15px !important;
    line-height: 1.6 !important;
}


/*  --------------------------------------------------------------------------
     Mobiel menu (max 599px)
    -------------------------------------------------------------------------- */

@media only screen and (max-width: 599px) {
    /* 1. De tekst groot en links (zonder de layout te breken) */
    .menu-item a,
    nav a,
    .main-navigation a {
        font-size: 30px !important;
        font-weight: 500 !important;
        text-align: left !important;
        display: block !important; /* Nodig om text-align te laten werken */
        padding-left: 20px !important;
        width: auto !important; /* Voorkomt dat hij de hele bar opzij duwt */
    }

    /* 2. Fix voor de Admin Bar (voorkomt verschuiven van de header) */
    .admin-bar .header-navigation,
    .admin-bar #site-navigation {
        top: 0 !important;
    }

    /* 3. Zorg dat de lijst-items zelf ook braaf links blijven */
    .menu-item, li {
        text-align: left !important;
        list-style: none !important;
    }
}


/*  --------------------------------------------------------------------------
     Settings menu
    -------------------------------------------------------------------------- */

@keyframes fadeInTablet {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDesktop {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.close-menu-btn {
    display: none;
}

.dropdown-logo {
    max-height: 35px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    align-self: flex-start;
}

.gear-icon {
    width: 26px;
    height: 26px;
    fill: #999;
}

.user-menu-wrapper.active .gear-icon { fill: #000; }

.user-menu-wrapper {
    position: relative;
    display: inline-block;
    width: 50px;
    z-index: 9999;
    vertical-align: middle;
}

.user-menu-button {
    position: absolute;
    top: 15px;
    left: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    z-index: 10;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: left;
    padding: 10px 0;
    z-index: 10000;
}

.user-menu-wrapper.active .user-dropdown {
    display: block !important;
    animation: fadeInTablet 0.2s ease-out;
}

.dropdown-arrow {
    position: absolute;
    top: -10px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.dropdown-header {
    padding: 15px 25px 0 25px;
    display: flex;
    flex-direction: column;
}

.user-greeting {
    font-weight: 500;
    font-size: 18px;
    color: #333;
    margin: 0 0 5px 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

.user-email {
    font-size: 14px;
    color: #777;
    margin: 0 !important;
    line-height: 1.1 !important;
    display: block !important;
}

.dropdown-divider {
    height: 1px;
    background-color: #d1d1d1;
    margin: 0 25px 10px 25px;
}

.dropdown-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu-list li a {
    display: block !important;
    padding: 15px 25px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 15px;
    line-height: 1 !important;
    transition: background 0.2s;
}

.dropdown-menu-list li a:hover {
    background-color: #eee;
}

@media (min-width: 1701px) {
    .user-dropdown {
        right: auto;
        left: 25px;
        transform: translateX(-50%);
    }
    .user-menu-wrapper.active .user-dropdown {
        animation: fadeInDesktop 0.2s ease-out;
    }
    .dropdown-arrow {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .user-dropdown {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
        padding: 20px 60px 0 0 !important;
        box-shadow: none !important;
        display: none;
        flex-direction: column;
        background-color: #ffffff !important;
    }
    .user-menu-wrapper.active .user-dropdown {
        display: flex !important;
        animation: fadeInTablet 0.2s ease-out;
    }
    .dropdown-arrow {
        display: none !important;
    }
    .close-menu-btn {
        display: block !important;
        position: absolute !important;
        top: 30px !important;
        right: 85px !important;
        background: none !important;
        border: none !important;
        font-size: 45px !important;
        line-height: 1 !important;
        color: #333 !important;
        cursor: pointer !important;
        z-index: 10001 !important;
    }
    .dropdown-divider {
        display: block !important;
        height: 1px !important;
        background-color: #d1d1d1 !important;
        border: none !important;
        margin-left: 25px !important;
        margin-right: 25px !important;
        width: auto !important;
    }
}


/*  --------------------------------------------------------------------------
     Schaduw onder header
    -------------------------------------------------------------------------- */

.mijn-custom-header {
    transition: box-shadow 0.4s ease;
    background-color: #ffffff;
    z-index: 100;
    position: relative;
}

.mijn-custom-header.has-shadow {
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1) !important;
}


/*  --------------------------------------------------------------------------
     Hoofdmenu
    -------------------------------------------------------------------------- */

/* 1. BASIS & FOCUS VERWIJDEREN */
#site-navigation a, .menu-item a, nav a {
    position: relative !important;
    text-decoration: none !important;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.2s ease;
    outline: none !important;
}

/* 2. ACTIEVE PAGINA (Bold) */
.current-menu-item > a, .current_page_item > a, .current-menu-ancestor > a {
    font-weight: 500 !important;
    color: #000 !important;
}

/* Label in het menu volgt het gewicht van de link (zodat het actieve item vet wordt) */
.wp-block-navigation-item__label {
    font-weight: inherit;
}

/* FORCEER ACTIEVE STATUS OP HOMEPAGE */
body.home .wp-block-navigation-item:first-child a,
body.home .menu-item-home a {
    font-weight: 500 !important;
    color: #000 !important;
}

body.home .wp-block-navigation-item:first-child a::after,
body.home .menu-item-home a::after {
    width: 100% !important;
    background-color: var(--themakleur, #2172b1) !important;
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 3px;
}

/* 3. DE GEANIMEERDE LIJN (Basis instellingen) */
#site-navigation ul li:not(.menu-button):not(.button) a::after,
.menu-item:not(.wp-block-button__link):not(.btn) a::after,
nav a:not(.elementor-button):not(.button)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--themakleur, #2172b1); /* Themakleur (voor de actieve status) */
    transition: width 0.2s ease-in-out, background-color 0.2s ease;
}

/* 4a. HOVER LIJN (Wordt zwart en 100% breed) */
#site-navigation ul li:not(.menu-button) a:hover::after,
.menu-item:not(.wp-block-button__link) a:hover::after,
nav a:not(.elementor-button):hover::after {
    width: 100% !important;
    background-color: #000000 !important;
}

/* 4b. ACTIEVE LIJN (Blijft blauw en 100% breed) */
.current-menu-item:not(.menu-button) > a::after,
.current_page_item > a::after,
.current-menu-ancestor > a::after {
    width: 100% !important;
    background-color: var(--themakleur, #2172b1) !important;
}

/* 5. OVERRIDE VOOR KNOPPEN (Geen lijnen hier) */
.menu-item.button a::after, .elementor-button::after, .wp-block-button__link::after {
    display: none !important;
}

/* 6. OPTIE (Look & feel → Actief menu-item): themakleur in de tekst, geen balk eronder.
      De class vv-menu-kleur op <body> komt uit de Suite (includes/algemeen.php);
      zonder die class blijft de balk onder het actieve onderdeel staan. */
body.vv-menu-kleur .current-menu-item > a,
body.vv-menu-kleur .current_page_item > a,
body.vv-menu-kleur .current-menu-ancestor > a,
body.vv-menu-kleur.home .wp-block-navigation-item:first-child a,
body.vv-menu-kleur.home .menu-item-home a {
    color: var(--themakleur, #2172b1) !important;
}

body.vv-menu-kleur .current-menu-item > a::after,
body.vv-menu-kleur .current_page_item > a::after,
body.vv-menu-kleur .current-menu-ancestor > a::after,
body.vv-menu-kleur.home .wp-block-navigation-item:first-child a::after,
body.vv-menu-kleur.home .menu-item-home a::after {
    display: none !important;
}


/*  --------------------------------------------------------------------------
     Placeholder plaatje
    -------------------------------------------------------------------------- */

img[src*="placeholder.webp"] {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover;
    display: block;
    filter: grayscale(1) opacity(0.3);
}

.wp-block-image:has(img[src*="placeholder.webp"]) {
    height: 300px;
    overflow: hidden;
}

.wp-block-image:has(img[src*="placeholder.webp"]),
.post-content p:has(img[src*="placeholder.webp"]) {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wp-block-image:has(img[src*="placeholder.webp"])::after {
    content: "Afbeelding volgt nog";
    white-space: pre;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #555;
    text-align: center;
    pointer-events: none;
}


/*  --------------------------------------------------------------------------
     Dropdown homepage
    -------------------------------------------------------------------------- */

/* 1. De hoofdcontainer */
.gce-dropdown-container {
    background: #fff;
    padding: 0 25px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    max-width: 550px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 2. De Custom Dropdown wrapper */
.gce-custom-dropdown {
    position: relative;
    width: 100%;
    margin: 0 0 30px 0;
    cursor: pointer;
    user-select: none;
}

/* 3. Het zichtbare vlak (gesloten) */
.gce-selected-display {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #888;
    font-size: 18px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-radius 0.2s, border-color 0.2s;
    position: relative;
    z-index: 1001;
}

/* Wanneer open: onderkant recht maken en naad verbergen */
.gce-custom-dropdown.is-open .gce-selected-display {
    border-bottom-color: #ffffff;
    border-radius: 8px 8px 0 0;
}

/* 4. De Chevron (pijltje) */
.gce-custom-dropdown::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.3s ease;
    z-index: 1002;
}

.gce-custom-dropdown.is-open::after {
    transform: translateY(-20%) rotate(-135deg);
}

/* 5. De zwevende lijst (geopend) */
.gce-options-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: -1px; /* Zorgt dat borders elkaar overlappen */
    overflow: hidden;
    padding: 5px 0;
}

.gce-custom-dropdown.is-open .gce-options-list {
    display: block;
}

.gce-option.placeholder {
    display: none;
}

/* 7. De individuele opties */
.gce-option {
    padding: 12px 20px;
    font-size: 18px;
    color: #000;
    transition: background 0.2s ease;
}

.gce-option:hover {
    background-color: #f1f1f1;
}

/* 8. Blok titel */
.gce-dropdown-title {
    font-size: 24px;
    margin-bottom: 18px !important;
    color: #000;
}


/*  --------------------------------------------------------------------------
     Download box
    -------------------------------------------------------------------------- */

.custom-download-box {
    display: flex;
    max-width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    text-decoration: none !important;
    color: #000 !important;
    font-weight: 500;
    margin: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.custom-download-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    color: #6f6f6f !important;
}

.custom-download-box .download-label { font-size: 16px; }
.custom-download-box .download-icon { display: flex; align-items: center; color: #6f6f6f; }


/*  --------------------------------------------------------------------------
     Kleurenkaart
    -------------------------------------------------------------------------- */

.passport-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

#brand-grid-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.brand-card {
    height: 160px;
    border: none !important;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: default;
    box-sizing: border-box;
    width: calc((100% - (3 * 20px)) / 4);
    max-width: 200px;
}

@media screen and (max-width: 1552px) {
    .brand-card { width: calc((100% - (2 * 20px)) / 3); }
}

@media screen and (max-width: 1227px) {
    .brand-card { width: calc((100% - 20px) / 2); max-width: none; }
}

@media screen and (max-width: 880px) {
    .brand-card { width: calc((100% - 20px) / 1); max-width: none; }
}

@media screen and (max-width: 600px) {
    #brand-grid-container { gap: 15px; }
    .brand-card { width: 100%; }
}

.color-name {
    position: absolute;
    top: 15px; left: 15px;
    font-size: 14px;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
    font-weight: bold;
    font-family: sans-serif;
}

.hover-info {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10;
}

.brand-card:hover .hover-info { opacity: 1; }

.copy-row {
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: sans-serif;
}

.copy-row:hover { background: rgba(255,255,255,0.15); }


/*  --------------------------------------------------------------------------
     Inhoudsopgave (SimpleTOC)
    -------------------------------------------------------------------------- */

/* 1. Basis styling: hoofditems buiten het kader */
ul.simpletoc-list,
ul.simpletoc-list li,
ul.simpletoc-list a {
    font-size: 15px !important;
    text-decoration: none !important;
    color: #666; /* Inactief submenu item */
    font-weight: 300 !important;
    transition: color 0.2s ease;
    border: none !important;
}

/* 2. Onderdelen BINNEN het witte kader (sub-items) */
ul.simpletoc-list ul li a {
    color: #000 !important; /* Actief sub-submenu item */
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* 3. Hover effect (geen underline) */
ul.simpletoc-list a:hover {
    color: #000 !important; /* Actief sub-submenu item hover */
    text-decoration: none !important;
}

/* 4. Ruimte tussen de hoofditems */
ul.simpletoc-list > li {
    margin-bottom: 25px !important;
}

/* 5. De witte kaart (sub-lijst) */
ul.simpletoc-list ul {
    list-style-type: none !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    background-color: #fff !important; /* Achtergrond sub-submenu */
    border-radius: 10px;
}

/* 6. De sub-lijst tonen wanneer actief */
ul.simpletoc-list li.is-active > ul {
    max-height: 1000px;
    opacity: 1;
    padding: 20px !important;
}

/* 7. Spacing binnen de witte box */
ul.simpletoc-list ul li {
    margin-bottom: 15px !important;
}

ul.simpletoc-list ul li:last-child {
    margin-bottom: 0 !important;
}

/* 8. Actieve status HOOFDITEM */
ul.simpletoc-list > li.is-active > a {
    color: #000 !important; /* Actief submenu item */
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* 9. Klik-lijntjes en focus-borders verwijderen */
ul.simpletoc-list a,
ul.simpletoc-list a:focus,
ul.simpletoc-list a:active {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* 10. Mobiele weergave verbergen */
@media screen and (max-width: 767px) {
    .simpletoc-list-container, .simpletoc-list, #simpletoc-container {
        display: none !important;
    }
}
