/* Chana Rivka – self-hosted accessibility menu (no third parties, no cookies; settings in localStorage) */
.a11y-btn{position:fixed;inset-inline-end:14px;bottom:14px;z-index:130;width:50px;height:50px;border-radius:50%;border:1px solid #262422;background:#262422;color:#FBF8F2;display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 8px 24px -10px rgba(38,36,34,.45)}
.a11y-btn svg{width:28px;height:28px;display:block}
.a11y-btn:focus-visible,.a11y-panel button:focus-visible,.a11y-panel a:focus-visible{outline:3px solid #A93D10;outline-offset:3px}
.a11y-panel{position:fixed;inset-inline-end:14px;bottom:74px;z-index:131;width:min(320px,calc(100vw - 28px));max-height:calc(100vh - 100px);overflow:auto;background:#FBF8F2;color:#262422;border:1px solid #262422;border-radius:24px;padding:18px 18px 14px;font:400 16px/1.4 'Heebo','Arial Hebrew',Arial,sans-serif;box-shadow:0 18px 50px -18px rgba(38,36,34,.5);direction:rtl;text-align:right}
.a11y-panel[hidden]{display:none}
.a11y-panel h2{font-size:20px;font-weight:500;margin:0 0 12px;line-height:1.2;letter-spacing:0}
.a11y-panel .a11y-row{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.a11y-panel button{font:inherit;color:#262422;background:#FBF8F2;border:1px solid #262422;border-radius:999px;min-height:44px;padding:0 14px;cursor:pointer;flex:1;text-align:center}
.a11y-panel button[aria-pressed="true"]{background:#262422;color:#FBF8F2}
.a11y-panel .a11y-tog{display:block;width:100%;margin-bottom:8px;text-align:right;padding-inline:16px}
.a11y-panel .a11y-tog[aria-pressed="true"]::after{content:" ✓"}
.a11y-panel .a11y-size{flex:0 0 auto;min-width:64px;text-align:center;font-weight:500}
.a11y-panel .a11y-foot{display:flex;gap:8px;margin-top:6px}
.a11y-panel .a11y-foot a{display:block;margin-top:10px;color:#A93D10;text-underline-offset:4px;font-size:15px}
.a11y-panel .a11y-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#FF5A1F;margin-inline-start:4px;vertical-align:middle}
.a11y-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* text size: the site sets sizes in px/clamp, so content regions are zoomed */
html.a11y-z1 main,html.a11y-z1 footer,html.a11y-z1 header{zoom:1.1}
html.a11y-z2 main,html.a11y-z2 footer,html.a11y-z2 header{zoom:1.22}
html.a11y-z3 main,html.a11y-z3 footer,html.a11y-z3 header{zoom:1.36}
html.a11y-z4 main,html.a11y-z4 footer,html.a11y-z4 header{zoom:1.5}
html.a11y-zm main,html.a11y-zm footer,html.a11y-zm header{zoom:.92}

/* high contrast */
html.a11y-contrast body *:not(.a11y-ui):not(.a11y-ui *):not(img):not(svg):not(svg *){color:#000!important;background-color:#fff!important;background-image:none!important;border-color:#000!important;text-shadow:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;opacity:1!important}
html.a11y-contrast body{background:#fff!important;color:#000!important}
html.a11y-contrast svg{color:#000!important}
html.a11y-contrast a{text-decoration:underline!important}
html.a11y-contrast .btn,html.a11y-contrast button:not(.a11y-ui *):not(.a11y-btn){border:2px solid #000!important}

/* highlight links */
html.a11y-links a:not(.a11y-ui *){text-decoration:underline!important;text-decoration-thickness:2px!important;outline:2px dashed #A93D10!important;outline-offset:2px!important}

/* readable font */
html.a11y-font body *:not(.a11y-ui *):not(svg):not(svg *):not(.svg-inline--fa){font-family:Arial,'Segoe UI',Tahoma,sans-serif!important;letter-spacing:normal!important;word-spacing:.06em!important}
html.a11y-font body h1,html.a11y-font body h2,html.a11y-font body h3,html.a11y-font body p,html.a11y-font body li,html.a11y-font body summary,html.a11y-font body a,html.a11y-font body label,html.a11y-font body span:not(.a11y-ui *){font-weight:400!important}
html.a11y-font body p,html.a11y-font body li{line-height:1.8!important}

/* stop animations (the site's own reduced-motion path is also used on reload) */
html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-still .intro{display:none!important}

@media print{.a11y-btn,.a11y-panel{display:none!important}}
