/* Toegankelijkheidsmenu (Weergave aanpassen): gele knop + lade van rechts */
/* ---------- Weergave aanpassen (toegankelijkheid): gele knop + lade van rechts ---------- */
.ke-a11y-toggle, .ke-a11y-panel, .ke-a11y-panel * { box-sizing: border-box; }
.ke-a11y-toggle {
    position: fixed; right: 16px; bottom: 16px; z-index: 100000;
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0;
    border: 0; border-radius: 14px; background: #E7C84B; color: #1c3d58; cursor: pointer;
    box-shadow: 0 6px 18px rgba(28, 61, 88, .28); transition: transform .15s, background-color .15s;
}
.ke-a11y-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* :focus apart, anders kleurt het basisthema de knop roze na het sluiten van het paneel */
.ke-a11y-toggle:focus { background: #E7C84B; color: #1c3d58; }
.ke-a11y-toggle:hover, .ke-a11y-toggle[aria-expanded="true"] { background: #f0d874; color: #1c3d58; transform: translateY(-2px); }
.ke-a11y-toggle:focus-visible { outline: 3px solid #1c3d58; outline-offset: 3px; }

.ke-a11y-panel {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100001;
    display: flex; flex-direction: column; width: min(380px, 100vw);
    background: #fff; color: #16324b; border-left: 6px solid #E7C84B;
    box-shadow: -18px 0 50px rgba(18, 40, 60, .22);
    font: 500 15px/1.35 "Oxygen", system-ui, sans-serif; text-align: left;
    animation: keA11yIn .22s ease-out;
}
@keyframes keA11yIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.ke-a11y-panel[hidden] { display: none; }
.ke-a11y-head { display: flex; align-items: flex-start; gap: 12px; padding: 24px 20px 16px 24px; border-bottom: 1px solid #e3eaf1; }
.ke-a11y-head > div { flex: 1; }
.ke-a11y-head h2 { margin: 0; font: 700 22px/1.2 "Anek Malayalam", sans-serif; color: #1c3d58; letter-spacing: 0; text-transform: none; }
.ke-a11y-head p { margin: 4px 0 0; font-size: 14px; color: #5a6f84; }
.ke-a11y-panel .ke-a11y-close {
    flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
    border: 1px solid #dce7f1; border-radius: 12px; background: #fff; color: #1c3d58; cursor: pointer;
}
.ke-a11y-panel .ke-a11y-close:hover { background: #f1f4f8; color: #1c3d58; }
.ke-a11y-close svg, .ke-a11y-reset svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ke-a11y-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 16px; }
.ke-a11y-group h3 {
    margin: 18px 0 6px; font: 700 12px/1 "Anek Malayalam", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #5a6f84;
}
.ke-a11y-group ul { list-style: none; margin: 0; padding: 0; }
.ke-a11y-group li { border-bottom: 1px solid #eef2f6; }
.ke-a11y-panel .ke-a11y-row {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 2px; margin: 0;
    border: 0; border-radius: 0; background: none; color: #16324b; font: inherit; text-align: left; cursor: pointer;
}
.ke-a11y-panel button.ke-a11y-row:hover { background: none; color: #2E7BB4; }
.ke-a11y-panel .ke-a11y-row:focus-visible, .ke-a11y-panel button:focus-visible { outline: 3px solid #E7C84B; outline-offset: 2px; }
.ke-a11y-ico { flex: none; display: grid; place-items: center; width: 24px; color: #2E7BB4; }
.ke-a11y-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ke-a11y-label { flex: 1; min-width: 0; }
.ke-a11y-switch { flex: none; position: relative; width: 42px; height: 24px; border-radius: 999px; background: #cfdbe6; transition: background-color .15s; }
.ke-a11y-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.ke-a11y-row[aria-checked="true"] .ke-a11y-switch { background: #2E7BB4; }
.ke-a11y-row[aria-checked="true"] .ke-a11y-switch::after { transform: translateX(18px); background: #E7C84B; }
.ke-a11y-chevron { flex: none; width: 10px; height: 10px; border-right: 2px solid #2E7BB4; border-bottom: 2px solid #2E7BB4; transform: rotate(45deg); transition: transform .15s; margin-right: 6px; }
.ke-a11y-row[aria-expanded="true"] .ke-a11y-chevron { transform: rotate(-135deg); }
.ke-a11y-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 12px; background: #f1f4f8; }
.ke-a11y-panel .ke-a11y-stepper button {
    width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: #fff; color: #1c3d58;
    font: 700 18px/1 "Anek Malayalam", sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(28, 61, 88, .12);
}
.ke-a11y-panel .ke-a11y-stepper button:hover { background: #E7C84B; color: #1c3d58; }
.ke-a11y-panel .ke-a11y-stepper button:disabled { opacity: .4; cursor: default; background: #fff; }
.ke-a11y-stepper output { min-width: 46px; text-align: center; font-weight: 700; font-size: 14px; color: #1c3d58; }
.ke-a11y-structure { margin: 0 0 12px 36px; padding: 6px 12px; border-left: 3px solid #E7C84B; max-height: 220px; overflow-y: auto; }
.ke-a11y-structure ul { list-style: none; margin: 0; padding: 0; }
.ke-a11y-structure li { padding: 4px 0; border: 0; }
.ke-a11y-structure .lvl-h3 { padding-left: 14px; }
.ke-a11y-structure a { color: #2E7BB4; font-weight: 600; text-decoration: none; }
.ke-a11y-structure a:hover { text-decoration: underline; }
.ke-a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid #e3eaf1; font-size: 12px; color: #5a6f84; }
.ke-a11y-panel .ke-a11y-reset {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #2E7BB4; border-radius: 999px;
    background: #fff; color: #2E7BB4; font: 700 13px/1 "Anek Malayalam", sans-serif; cursor: pointer; white-space: nowrap;
}
.ke-a11y-panel .ke-a11y-reset:hover { background: #2E7BB4; color: #fff; }
.ke-a11y-mask {
    position: fixed; inset: 0; z-index: 9997; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.6) calc(var(--y, 50vh) - 50px), transparent calc(var(--y, 50vh) - 50px), transparent calc(var(--y, 50vh) + 50px), rgba(0,0,0,.6) calc(var(--y, 50vh) + 50px));
}
@media (prefers-reduced-motion: reduce) { .ke-a11y-panel { animation: none; } }

html.a11y-line-height body :where(p, li, span, a, td) { line-height: 2 !important; }
html.a11y-text-align body :where(p, li, h1, h2, h3, h4, h5, h6, span, div) { text-align: left !important; }
html.a11y-readable-font body, html.a11y-readable-font body * { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: .02em; }
html.a11y-grayscale body > *:not(.ke-a11y-panel):not(.ke-a11y-toggle) { filter: grayscale(1); }
html.a11y-contrast body > *:not(.ke-a11y-panel):not(.ke-a11y-toggle):not(.ke-a11y-mask) { filter: contrast(1.6); }
html.a11y-highlight-links a { text-decoration: underline !important; outline: 2px solid #E7C84B !important; outline-offset: 1px; }
html.a11y-focus-outline *:focus { outline: 4px solid #E7C84B !important; outline-offset: 2px !important; box-shadow: 0 0 0 7px #2E7BB4 !important; }
html.a11y-hide-images img, html.a11y-hide-images video { visibility: hidden !important; }
html.a11y-hide-images [style*="background-image"], html.a11y-hide-images .elementor-element, html.a11y-hide-images .elementor-element::before, html.a11y-hide-images .elementor-background-overlay { background-image: none !important; }
html.a11y-pause-animations *, html.a11y-pause-animations *::before, html.a11y-pause-animations *::after { animation: none !important; transition: none !important; }
html.a11y-pause-animations .elementor-invisible { visibility: visible !important; opacity: 1 !important; }


/* het thema zet knoppen op Hoofdletters; hier niet */
.ke-a11y-panel, .ke-a11y-panel * { text-transform: none; letter-spacing: normal; }
.ke-a11y-group h3 { text-transform: uppercase; letter-spacing: .08em; }
