/* SHAFA accessibility display menu (2026-11-24). Button sits at the inline end (left in RTL), above the mobile call bar. */
.shafa-a11y { position: fixed; inset-inline-end: 16px; inset-block-end: 20px; z-index: 70; direction: rtl; font-family: inherit; }
@media (max-width: 781px) { .shafa-a11y { inset-block-end: calc(64px + 1.1rem + 14px + env(safe-area-inset-bottom)); inset-inline-end: 12px; } }
.shafa-a11y__toggle { inline-size: 48px; block-size: 48px; border-radius: 50%; border: 2px solid #fff; background: #0B3D6B; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(8, 31, 57, .28); }
.shafa-a11y__toggle:focus-visible, .shafa-a11y__panel button:focus-visible, .shafa-a11y__panel a:focus-visible { outline: 3px solid #E2B13C; outline-offset: 2px; }
.shafa-a11y__sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shafa-a11y__panel { position: absolute; inset-inline-end: 0; inset-block-end: 58px; inline-size: min(300px, calc(100vw - 24px)); max-block-size: calc(100vh - 180px); overflow: auto; background: #fff; color: #081F39; border: 1px solid #C9D2CE; border-radius: 14px; box-shadow: 0 10px 30px rgba(8, 31, 57, .25); padding: 14px; }
.shafa-a11y__panel[hidden] { display: none; }
.shafa-a11y__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-end: 10px; }
.shafa-a11y__head h2 { font-size: 1.05rem; margin: 0; }
.shafa-a11y__close { inline-size: 44px; block-size: 44px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #081F39; }
.shafa-a11y__list { display: grid; gap: 8px; }
.shafa-a11y__opt, .shafa-a11y__reset { min-block-size: 44px; padding: 8px 12px; text-align: start; border-radius: 10px; border: 1px solid #9AA8A3; background: #F6F8F7; color: #081F39; font: inherit; font-size: .98rem; cursor: pointer; }
.shafa-a11y__opt[aria-pressed="true"] { background: #0B3D6B; color: #fff; border-color: #0B3D6B; }
.shafa-a11y__opt[aria-pressed="true"]::before { content: "✓ "; }
.shafa-a11y__reset { margin-block-start: 10px; inline-size: 100%; background: #fff; }
.shafa-a11y__note { margin: 10px 0 0; font-size: .9rem; }
.shafa-a11y__note a { color: #0B3D6B; text-decoration: underline; }

/* Effects */
html.shafa-a11y-text-1 .wp-site-blocks { zoom: 1.12; }
html.shafa-a11y-text-2 .wp-site-blocks { zoom: 1.25; }
html.shafa-a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
html.shafa-a11y-links .wp-site-blocks a:not([class*="btn"]):not([class*="callbar"]):not([class*="cta"]) { background: #FFF3B0 !important; color: #081F39 !important; }
html.shafa-a11y-readable body, html.shafa-a11y-readable body *:not(svg):not(path):not(circle) { font-family: Arial, "Helvetica Neue", sans-serif !important; }
html.shafa-a11y-readable .wp-site-blocks p, html.shafa-a11y-readable .wp-site-blocks li { line-height: 1.85 !important; letter-spacing: .015em; word-spacing: .08em; }
html.shafa-a11y-noanim *, html.shafa-a11y-noanim *::before, html.shafa-a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.shafa-a11y-contrast .wp-site-blocks, html.shafa-a11y-contrast .wp-site-blocks *:not(img):not(svg):not(path):not(circle) { background-color: #fff !important; background-image: none !important; color: #000 !important; border-color: #000 !important; text-shadow: none !important; box-shadow: none !important; }
html.shafa-a11y-contrast .wp-site-blocks a { color: #0000CC !important; text-decoration: underline !important; }
html.shafa-a11y-contrast .wp-site-blocks [class*="hero"] { background-image: none !important; }
