/*
 * LaMi - toegankelijkheidsfixes n.a.v. Swink-rapport (nov 2026)
 * Wordt geladen NA dist/css/style.css (zie library/functions/efg_include_scripts.php).
 * Bewust los van de sass-build gehouden: src/sass loopt niet meer gelijk met dist/css/style.css.
 */

/* --------------------------------------------------------------------------
 * 1. Zichtbare focusindicator overal (1347, 1350, 1398, 1409, 1413, 1435,
 *    1464, 1465, 1526, 1532, 1569, 1599)
 *    Dubbele ring (wit - donker - wit) haalt 3:1 op lichte en donkere achtergronden.
 * ------------------------------------------------------------------------ */
:focus-visible {
    outline: 3px solid #151f26 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 7px #fff !important;
}

/* Klikbare kaarten: de .stretched-link zelf heeft geen afmeting, dus de focus
   wordt getoond op het klikvlak (::after) dat over de hele kaart ligt. */
.stretched-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.stretched-link:focus-visible::after {
    /* binnen de rand tekenen: kaarten hebben overflow:hidden */
    outline: 3px solid #151f26;
    outline-offset: -3px;
    box-shadow: inset 0 0 0 6px #fff;
}

/* YouTube-video's: focus ligt in de (cross-origin) iframe, toon hem op de wrapper (1570) */
.videoWrapper:focus-within {
    outline: 3px solid #151f26;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 7px #fff;
}

/* --------------------------------------------------------------------------
 * 2. Zoom 110% t/m 400% (1227, 1354, 1355, 1396, 1404, 1427-1433, 1463, 1525,
 *    1531, 1539, 1567, 1596, 1603)
 *    Onder 1219px zijn de secundaire navigatie (56px) en de mobiele balk (56px)
 *    position:fixed. De pagina-inhoud begon op 0 en viel eronder weg
 *    (broodkruimelpad, kop "Neem contact op", label boven de homepage-kop).
 * ------------------------------------------------------------------------ */
@media (max-width: 1218.98px) {
    .breadcrumb-container {
        margin-top: 112px;
    }

    /* Huidige pagina in het menu niet alleen via het pijltje aangeven (1227) */
    #top-navi-container .current-menu-item > a,
    #top-navi-container .current-menu-parent > a,
    #main-navi .current-menu-item > a,
    #main-navi .current-menu-parent > a,
    .secundary-nav-wrapper .current-menu-item > a {
        text-decoration: underline !important;
        text-decoration-thickness: 2px !important;
        text-underline-offset: 4px;
        font-weight: 700;
    }
}

/* --------------------------------------------------------------------------
 * 3. Zoekresultaten als echte lijst (1408) - zonder visuele bullets
 * ------------------------------------------------------------------------ */
.search-result-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.search-result-items > li {
    position: relative;
}

/* --------------------------------------------------------------------------
 * 4. Cookiebot
 * ------------------------------------------------------------------------ */
/* 1215 - aantal cookies in tabblad "Details": zwart op #03538F (2,6:1) -> wit (8:1) */
#CybotCookiebotDialog .CybotCookiebotDialogDetailBulkConsentCount {
    color: #fff !important;
}

/* 1422, 1423 - zwevend Cookiebot-icoon bedekt inhoud bij 175%+ zoom.
   Op smalle schermen verbergen; toestemming wijzigen kan via de pagina Cookie policy (footer). */
@media (max-width: 760px) {
    #CookiebotWidget:not(.CookiebotWidget-open) {
        display: none !important;
    }
}
