

.a11y-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: #000;
    color: #fff;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 6px 0;
}
.a11y-skip-link:focus,
.a11y-skip-link:active {
    left: 0;
    color: #fff;
    outline: 3px solid #ffd400;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #ffd400 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 2px #000 !important;
}

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

.a11y-toggle-btn {
    position: fixed;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    z-index: 99999;
    background: #ff3e3f;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(255, 62, 63, 0.45);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.a11y-toggle-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #ff3e3f;
    animation: a11y-pulse 2.2s ease-out infinite;
    pointer-events: none;
}
.a11y-toggle-btn:hover,
.a11y-toggle-btn:focus {
    background: #16161a;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}
@keyframes a11y-pulse {
    0%   { transform: scale(1);    opacity: 0.7; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

.a11y-panel {
    position: fixed;
    top: 50%;
    right: 84px;
    transform: translateY(-50%) scale(0.97);
    transform-origin: center right;
    width: 360px;
    max-width: calc(100vw - 104px);
    max-height: 82vh;
    background: #fff;
    color: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    overflow: hidden;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.a11y-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}
.a11y-panel * {
    box-sizing: border-box;
}
.a11y-panel-body {
    max-height: calc(82vh - 58px);
    overflow-y: auto;
}
.a11y-panel-header {
    background: #ff3e3f;
    color: #fff;
    padding: 16px 20px;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.a11y-panel-header h2 {
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}
.a11y-panel-close {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.a11y-panel-close:hover,
.a11y-panel-close:focus {
    background: #fff;
    color: #ff3e3f;
}

.a11y-panel-body {
    padding: 12px 16px 24px;
}

.a11y-section {
    margin: 0 0 18px;
}
.a11y-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    color: #16161a;
    border-bottom: 2px solid #ff3e3f;
    padding-bottom: 5px;
}

.a11y-btn-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.a11y-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 66px;
    background: #f5f5f7;
    color: #1a1a1a;
    border: 1.5px solid #e2e2e6;
    border-radius: 12px;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    line-height: 1.25;
}
.a11y-btn i {
    font-size: 20px;
    color: #ff3e3f;
}
.a11y-btn.is-active i {
    color: #fff;
}
.a11y-btn:hover {
    background: #e9e9e9;
}
.a11y-btn:focus {
    outline: 3px solid #ffd400;
    outline-offset: 2px;
}
.a11y-btn.is-active {
    background: #ff3e3f;
    color: #fff;
    border-color: #ff3e3f;
}

.a11y-reset {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #16161a;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}
.a11y-reset:hover,
.a11y-reset:focus {
    background: #333;
}

.a11y-help {
    font-size: 12px;
    color: #555;
    margin: 0 0 6px;
}
.a11y-help a {
    color: #ff3e3f;
}

.a11y-panel[hidden] {
    display: none;
}

body.a11y-text-1 { font-size: 17px !important; }
body.a11y-text-2 { font-size: 19px !important; }
body.a11y-text-3 { font-size: 22px !important; }

body.a11y-text-1 h1, body.a11y-text-2 h1, body.a11y-text-3 h1 { font-size: 1.6em !important; line-height: 1.2 !important; }
body.a11y-text-1 h2, body.a11y-text-2 h2, body.a11y-text-3 h2 { font-size: 1.35em !important; line-height: 1.25 !important; }
body.a11y-text-1 h3, body.a11y-text-2 h3, body.a11y-text-3 h3 { font-size: 1.2em !important; line-height: 1.3 !important; }
body.a11y-text-1 p,
body.a11y-text-2 p,
body.a11y-text-3 p,
body.a11y-text-1 li,
body.a11y-text-2 li,
body.a11y-text-3 li {
    line-height: 1.6 !important;
}

body.a11y-contrast-high,
body.a11y-contrast-high header,
body.a11y-contrast-high section,
body.a11y-contrast-high footer,
body.a11y-contrast-high nav,
body.a11y-contrast-high div,
body.a11y-contrast-high article,
body.a11y-contrast-high aside,
body.a11y-contrast-high main {
    background: #000 !important;
    background-image: none !important;
    color: #ffeb3b !important;
}
body.a11y-contrast-high h1,
body.a11y-contrast-high h2,
body.a11y-contrast-high h3,
body.a11y-contrast-high h4,
body.a11y-contrast-high h5,
body.a11y-contrast-high h6,
body.a11y-contrast-high p,
body.a11y-contrast-high li,
body.a11y-contrast-high span,
body.a11y-contrast-high address,
body.a11y-contrast-high label {
    color: #ffeb3b !important;
    background: transparent !important;
}
body.a11y-contrast-high a,
body.a11y-contrast-high a:visited {
    color: #00e5ff !important;
    text-decoration: underline !important;
}
body.a11y-contrast-high a:hover,
body.a11y-contrast-high a:focus {
    color: #fff !important;
    background: #ff3e3f !important;
}
body.a11y-contrast-high .btn,
body.a11y-contrast-high button,
body.a11y-contrast-high input,
body.a11y-contrast-high select,
body.a11y-contrast-high textarea {
    background: #000 !important;
    color: #ffeb3b !important;
    border: 2px solid #ffeb3b !important;
}
body.a11y-contrast-high img:not(.a11y-keep-image) {
    filter: grayscale(100%) contrast(1.2);
}
body.a11y-contrast-high .a11y-panel,
body.a11y-contrast-high .a11y-panel * {
    background: #000 !important;
    color: #ffeb3b !important;
}
body.a11y-contrast-high .a11y-panel-header {
    background: #ff3e3f !important;
    color: #fff !important;
}
body.a11y-contrast-high .a11y-btn.is-active {
    background: #ffeb3b !important;
    color: #000 !important;
    border-color: #ffeb3b !important;
}

body.a11y-contrast-invert {
    background: #1a1a1a !important;
    color: #f5f5f5 !important;
}
body.a11y-contrast-invert section,
body.a11y-contrast-invert header,
body.a11y-contrast-invert footer {
    background: #1a1a1a !important;
    color: #f5f5f5 !important;
}
body.a11y-contrast-invert h1,
body.a11y-contrast-invert h2,
body.a11y-contrast-invert h3,
body.a11y-contrast-invert h4,
body.a11y-contrast-invert h5,
body.a11y-contrast-invert h6,
body.a11y-contrast-invert p,
body.a11y-contrast-invert li {
    color: #f5f5f5 !important;
}
body.a11y-contrast-invert a {
    color: #ff7a7c !important;
}

body.a11y-font-readable,
body.a11y-font-readable h1,
body.a11y-font-readable h2,
body.a11y-font-readable h3,
body.a11y-font-readable h4,
body.a11y-font-readable h5,
body.a11y-font-readable h6,
body.a11y-font-readable p,
body.a11y-font-readable li,
body.a11y-font-readable a,
body.a11y-font-readable button,
body.a11y-font-readable input,
body.a11y-font-readable textarea,
body.a11y-font-readable span {
    font-family: Verdana, Tahoma, Arial, sans-serif !important;
    letter-spacing: 0.03em !important;
    word-spacing: 0.06em !important;
}

body.a11y-links-highlight a {
    text-decoration: underline !important;
    background: #fff59d !important;
    color: #000 !important;
    padding: 1px 3px;
    border-radius: 2px;
}

body.a11y-no-motion *,
body.a11y-no-motion *::before,
body.a11y-no-motion *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
}
body.a11y-no-motion .carousel-inner .item {
    transition: none !important;
}

.a11y-reading-guide {
    position: fixed;
    left: 0;
    width: 100%;
    height: 36px;
    background: rgba(255, 235, 59, 0.35);
    border-top: 2px solid #ff3e3f;
    border-bottom: 2px solid #ff3e3f;
    z-index: 99997;
    pointer-events: none;
    display: none;
}
body.a11y-reading-guide-on .a11y-reading-guide {
    display: block;
}

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

.a11y-statement {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px;
}
.a11y-statement h1 {
    color: #ff3e3f;
    margin-bottom: 18px;
}
.a11y-statement h2 {
    margin-top: 28px;
    color: #1a1a1a;
}
.a11y-statement p,
.a11y-statement li {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}
.a11y-statement ul {
    padding-left: 22px;
}
.a11y-statement .a11y-contact-box {
    background: #f7f7f7;
    border-left: 4px solid #ff3e3f;
    padding: 14px 18px;
    margin: 18px 0;
}

@media (max-width: 480px) {
    .a11y-panel {
        right: 3vw;
        left: 3vw;
        width: auto;
        max-width: none;
        max-height: 82vh;
    }
    .a11y-panel-body {
        max-height: calc(82vh - 58px);
    }
    .a11y-toggle-btn {
        right: 8px;
        width: 50px;
        height: 50px;
        font-size: 21px;
    }
}
