.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#accessibility-toggle {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: #fff;
    background: var(--primary, #224099);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

#accessibility-toggle:hover {
    background: #172b69;
}

#accessibility-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    padding: 0;
    background: rgba(23, 32, 51, 0.38);
    border: 0;
    opacity: 0;
    visibility: hidden;
    cursor: default;
    transition:
        opacity 0.15s ease,
        visibility 0.15s ease;
}

#accessibility-backdrop.active {
    opacity: 1;
    visibility: visible;
}

#accessibility-toggle:focus-visible,
#accessibility-menu button:focus-visible {
    outline: 3px solid #ffe500;
    outline-offset: 2px;
}

#accessibility-menu {
    --a11y-reset-bg: #ffe500;
    --a11y-reset-border: #d6bf00;
    --a11y-reset-text: #000;
    --a11y-close-bg: #224099;
    --a11y-close-border: #172b69;
    --a11y-close-text: #fff;
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    width: min(calc(100vw - 1rem), 34rem);
    max-height: min(42rem, 92svh);
    color: #172033;
    background: #fff;
    border: 1px solid #c8d0e2;
    border-radius: 0.75rem;
    box-shadow: 0 0.65rem 1.75rem rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.15s ease,
        visibility 0.15s ease;
}

#accessibility-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: auto;
}

.a11y-panel-header,
.a11y-panel-footer {
    flex: 0 0 auto;
    padding: 1rem;
    border-color: #d7deec;
}

.a11y-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d7deec;
}

.a11y-panel-header h2 {
    margin: 0;
    color: #172b69;
    font-size: 1.35rem;
}

#close-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #172033;
    background: transparent;
    border: 0;
    border-radius: 0.35rem;
    cursor: pointer;
}

#close-menu:hover {
    background: #eef3ff;
}

.a11y-panel-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
}

[data-a11y-panel] {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #d7deec;
}

.a11y-section h3 {
    margin: 0 0 0.85rem;
    color: #172b69;
    font-size: 1.2rem;
    line-height: 1.2;
}

.a11y-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.a11y-section-heading h3 {
    margin: 0;
    font-size: 1.35rem;
}

.a11y-profile-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.a11y-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.a11y-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 6.5rem;
    padding: 0.85rem 0.55rem;
    color: #172b69;
    background: #f8faff;
    border: 1px solid #c8d0e2;
    border-radius: 0.5rem;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.a11y-category-card:hover {
    border-color: #224099;
    background: #eaf0ff;
}

.a11y-category-card svg {
    flex: 0 0 auto;
}

.a11y-subnav-list {
    align-items: stretch;
}

.a11y-control {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    min-height: 2.75rem;
}

.a11y-control + .a11y-control,
.a11y-summary + .a11y-control {
    margin-top: 0.55rem;
}

.a11y-label {
    color: #28364f;
    font-weight: 700;
    line-height: 1.25;
}

.a11y-chip,
.a11y-subnav-back,
.a11y-subnav-card,
.a11y-button,
.a11y-toggle,
.a11y-cursor-cycle,
.a11y-close-action,
.a11y-reset,
.a11y-stepper button,
.a11y-segmented button {
    min-height: 2.25rem;
    color: #172033;
    background: #f4f7fc;
    border: 1px solid #c8d0e2;
    border-radius: 0.35rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.a11y-chip,
.a11y-subnav-back,
.a11y-subnav-card,
.a11y-button,
.a11y-toggle,
.a11y-cursor-cycle,
.a11y-close-action,
.a11y-reset {
    padding: 0.45rem 0.75rem;
}

.a11y-chip:hover,
.a11y-subnav-card:hover,
.a11y-button:hover,
.a11y-toggle:hover,
.a11y-cursor-cycle:hover,
.a11y-close-action:hover,
.a11y-reset:hover,
.a11y-stepper button:hover,
.a11y-segmented button:hover {
    border-color: #224099;
    background: #eaf0ff;
}

.a11y-subnav-back {
    color: #172033;
    background: #fff;
    border-color: #ffe500;
    box-shadow: inset 0 0 0 1px #ffe500;
}

.a11y-subnav-back::before {
    content: "\2190";
    margin-right: 0.3rem;
}

.a11y-subnav-back:hover {
    background: #fff9bf;
    border-color: #d6bf00;
}

.a11y-chip.active,
.a11y-toggle[aria-pressed="true"],
.a11y-segmented button[aria-pressed="true"] {
    color: #fff;
    background: #224099;
    border-color: #224099;
}

.a11y-stepper,
.a11y-segmented {
    display: inline-flex;
    align-items: stretch;
    justify-content: flex-end;
}

.a11y-stepper button,
.a11y-segmented button {
    border-radius: 0;
}

.a11y-stepper button:first-child,
.a11y-segmented button:first-child {
    border-top-left-radius: 0.35rem;
    border-bottom-left-radius: 0.35rem;
}

.a11y-stepper button:last-child,
.a11y-segmented button:last-child {
    border-top-right-radius: 0.35rem;
    border-bottom-right-radius: 0.35rem;
}

.a11y-stepper button + button,
.a11y-stepper output + button,
.a11y-segmented button + button {
    margin-left: -1px;
}

.a11y-stepper button {
    width: 2.35rem;
}

.a11y-stepper output {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    padding: 0 0.5rem;
    color: #172033;
    background: #fff;
    border: 1px solid #c8d0e2;
    font-weight: 700;
}

.a11y-segmented button {
    padding: 0.45rem 0.55rem;
}

.a11y-cursor-control {
    display: inline-flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.a11y-cursor-picker button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    min-height: 3.75rem;
    padding: 0.35rem;
}

.a11y-cursor-cycle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    min-height: 3.75rem;
    padding: 0.35rem;
}

.a11y-cursor-shape-cycle {
    border-radius: 0.35rem;
}

.a11y-cursor-color-cycle {
    border-radius: 999px;
}

.a11y-cursor-swatch {
    display: inline-block;
    width: 42px;
    height: 48px;
    background: #172033;
    clip-path: polygon(9.5% 8.3%, 9.5% 83.3%, 35.7% 62.5%, 52.4% 91.7%, 71.4% 83.3%, 54.8% 56.3%, 90.5% 56.3%);
}

.a11y-cursor-swatch.shape-arrow {
    width: 42px;
    height: 48px;
}

.a11y-cursor-swatch.shape-round {
    width: 48px;
    height: 48px;
    border: 3px solid #000;
    border-radius: 50%;
    clip-path: none;
}

.a11y-cursor-swatch.shape-crosshair {
    width: 48px;
    height: 48px;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 5px 100% no-repeat;
    border: 4px solid currentColor;
    border-radius: 50%;
    color: var(--a11y-cursor-preview-color, #ffe500);
    clip-path: none;
}

.a11y-cursor-swatch.black {
    background: #000;
}

.a11y-cursor-swatch.yellow {
    background: #ffe500;
    filter: drop-shadow(0 0 0.05rem #172033);
}

.a11y-cursor-swatch.red {
    background: #d80000;
    filter: drop-shadow(0 0 0.05rem #172033);
}

.a11y-cursor-swatch.shape-crosshair.black {
    color: #000;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 5px 100% no-repeat;
}

.a11y-cursor-swatch.shape-crosshair.yellow {
    color: #ffe500;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 5px 100% no-repeat;
}

.a11y-cursor-swatch.shape-crosshair.red {
    color: #d80000;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 5px 100% no-repeat;
}

.a11y-belgian-flag {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 2.7rem;
    height: 2.7rem;
    overflow: hidden;
    border: 2px solid #172033;
    border-radius: 50%;
}

.a11y-belgian-flag span:nth-child(1) {
    background: #000;
}

.a11y-belgian-flag span:nth-child(2) {
    background: #ffe500;
}

.a11y-belgian-flag span:nth-child(3) {
    background: #d80000;
}

.a11y-summary {
    margin: 0.65rem 0;
    padding: 0.75rem;
    background: #f8faff;
    border: 1px solid #d7deec;
    border-radius: 0.35rem;
}

.a11y-summary ul {
    margin: 0;
    padding-left: 1.2rem;
}

.a11y-summary a {
    color: #224099;
    font-weight: 700;
}

.a11y-panel-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    border-top: 1px solid #d7deec;
}

.a11y-reset,
.a11y-close-action {
    width: 100%;
}

.a11y-reset {
    color: var(--a11y-reset-text);
    background: var(--a11y-reset-bg);
    border-color: var(--a11y-reset-border);
}

.a11y-close-action {
    color: var(--a11y-close-text);
    background: var(--a11y-close-bg);
    border-color: var(--a11y-close-border);
}

@media (max-width: 36rem) {
    #accessibility-menu {
        right: 0.5rem;
        bottom: 4.5rem;
    }

    .a11y-control {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        align-items: start;
    }

    .a11y-stepper,
    .a11y-cursor-control,
    .a11y-segmented {
        justify-content: stretch;
        width: 100%;
    }

    .a11y-category-card {
        min-height: 5.75rem;
    }

    .a11y-stepper output,
    .a11y-segmented button {
        flex: 1 1 auto;
    }
}

@media (orientation: landscape) and (max-height: 36rem) {
    #accessibility-menu {
        width: min(calc(100vw - 1rem), 58rem);
        max-height: min(30rem, 88svh);
    }

    .a11y-panel-header,
    .a11y-panel-footer,
    .a11y-panel-body {
        padding: 0.75rem;
    }

    .a11y-profile-list,
    .a11y-category-grid {
        gap: 0.5rem;
    }

    .a11y-category-card {
        min-height: 4.9rem;
    }
}

@media (orientation: portrait) {
    #accessibility-menu {
        width: min(calc(100vw - 1rem), 34rem);
        max-height: min(42rem, 92svh);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

body.a11y-reduced-motion *,
body.a11y-reduced-motion *::before,
body.a11y-reduced-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
}

html.a11y-font-scale {
    font-size: var(--a11y-root-font-size, 100%) !important;
}

body.a11y-text-adjust {
    letter-spacing: var(--a11y-letter-spacing, 0) !important;
}

body.a11y-text-adjust main,
body.a11y-text-adjust main * {
    line-height: var(--a11y-line-height, 1.5) !important;
}

body.a11y-align-left main,
body.a11y-align-left main * {
    text-align: left !important;
}

body.a11y-align-center main,
body.a11y-align-center main * {
    text-align: center !important;
}

body.a11y-readable-font,
body.a11y-readable-font * {
    font-family: "Atkinson Hyperlegible", Arial, sans-serif !important;
}

body.a11y-contrast-soft {
    background: #f7f3e8 !important;
}

body.a11y-contrast-soft main,
body.a11y-contrast-soft header,
body.a11y-contrast-soft footer,
body.a11y-contrast-soft section,
body.a11y-contrast-soft article {
    color: #253047 !important;
    background: #f7f3e8 !important;
}

body.a11y-contrast-soft a {
    color: #315f8f !important;
}

body.a11y-contrast-high {
    background: #fff !important;
}

body.a11y-contrast-high main,
body.a11y-contrast-high header,
body.a11y-contrast-high footer,
body.a11y-contrast-high section,
body.a11y-contrast-high article {
    color: #000 !important;
    background: #fff !important;
}

body.a11y-contrast-high a {
    color: #003a9f !important;
}

body.a11y-contrast-very-high,
body.a11y-contrast-very-high main,
body.a11y-contrast-very-high header,
body.a11y-contrast-very-high footer,
body.a11y-contrast-very-high section,
body.a11y-contrast-very-high article {
    color: #fff !important;
    background: #000 !important;
}

body.a11y-contrast-very-high a {
    color: #ffe500 !important;
}

body.a11y-saturation-0 {
    filter: saturate(0);
}

body.a11y-saturation-50 {
    filter: saturate(0.5);
}

body.a11y-saturation-150 {
    filter: saturate(1.5);
}

body.a11y-hide-decorative-images img[alt=""],
body.a11y-hide-decorative-images img[aria-hidden="true"],
body.a11y-hide-decorative-images [role="presentation"] img {
    visibility: hidden !important;
}

body.a11y-underlined-links a {
    text-decoration: underline !important;
    text-decoration-thickness: 0.14em !important;
    text-underline-offset: 0.18em !important;
}

body.a11y-custom-cursor,
body.a11y-custom-cursor * {
    cursor: var(--a11y-cursor-url), auto !important;
}

body.a11y-strong-focus *:focus,
body.a11y-strong-focus *:focus-visible {
    outline: 4px solid #ffe500 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 7px #000 !important;
}
