/* ===== נגישות — תשתית משותפת לכל העמודים ===== */
.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}
.skip-link{
  position:fixed;top:-120px;inset-inline-start:12px;z-index:300;
  background:#E8A72B;color:#0A0A09!important;padding:14px 22px;
  font:500 16px/1 Heebo,Arial,sans-serif;text-decoration:underline;
}
.skip-link:focus{top:12px}

/* ===== כפתור ותפריט ההתאמות ===== */
.a11y-toggle{
  position:fixed;z-index:195;bottom:20px;inset-inline-end:20px;
  width:52px;height:52px;border-radius:50%;cursor:pointer;
  background:#EDE9E1;color:#0A0A09;border:2px solid #0A0A09;
  display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.45);
}
.a11y-toggle svg{width:30px;height:30px}
.a11y-toggle:focus-visible{outline:3px solid #E8A72B!important;outline-offset:3px}
.a11y-panel{
  position:fixed;z-index:196;bottom:84px;inset-inline-end:20px;
  width:min(320px,calc(100vw - 28px));max-height:calc(100vh - 110px);overflow:auto;
  background:#0E0E0C;color:#EDE9E1;border:1px solid rgba(237,233,225,.45);
  padding:18px;box-shadow:0 18px 50px rgba(0,0,0,.6);
  font-family:Heebo,Arial,sans-serif;
}
.a11y-panel[hidden]{display:none}
.a11y-panel h2{font:700 18px/1.3 Heebo,Arial,sans-serif;margin:0 0 14px}
.a11y-panel .a11y-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.a11y-panel .a11y-size{display:flex;gap:6px;align-items:center}
.a11y-panel button{
  font:500 15px/1.2 Heebo,Arial,sans-serif;cursor:pointer;min-height:44px;
  background:transparent;color:#EDE9E1;border:1px solid rgba(237,233,225,.55);border-radius:2px;padding:8px 12px;
}
.a11y-panel button:hover{border-color:#E8A72B;color:#E8A72B}
.a11y-panel .a11y-opt{width:100%;text-align:start;display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.a11y-panel .a11y-opt[aria-pressed="true"]{background:#E8A72B;color:#0A0A09;border-color:#E8A72B}
.a11y-panel .a11y-opt[aria-pressed="true"]::after{content:"✓";font-weight:700}
.a11y-panel .a11y-reset{width:100%;margin-top:4px}
.a11y-panel .a11y-statement{display:block;margin-top:14px;text-align:center;color:#E8A72B;text-decoration:underline}
.a11y-panel .a11y-close{position:absolute;top:10px;inset-inline-end:10px;min-height:40px;padding:4px 12px}
.a11y-panel output{min-width:3.2em;text-align:center}
.a11y-panel :focus-visible{outline:3px solid #E8A72B!important;outline-offset:2px}
@media (max-width:860px){
  .a11y-toggle{bottom:84px;inset-inline-end:12px;width:48px;height:48px}
  .a11y-panel{bottom:140px;inset-inline-end:12px}
}

/* ===== הגדלת טקסט — כל העיצוב בפיקסלים, לכן מגדילים את התצוגה כולה, כמו זום של הדפדפן ===== */
html.a11y-text-1 body{zoom:1.125}
html.a11y-text-2 body{zoom:1.25}
html.a11y-text-3 body{zoom:1.5}

/* ===== עצירת אנימציות ===== */
html.a11y-no-motion *,html.a11y-no-motion *::before,html.a11y-no-motion *::after{
  animation-play-state:paused!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-no-motion [style*="animation:rise"],html.a11y-no-motion [style*="animation:flick"]{animation:none!important;opacity:1!important;transform:none!important}
html.a11y-no-motion .reveal{opacity:1!important;transform:none!important}

/* ===== הדגשת קישורים ===== */
html.a11y-links a{text-decoration:underline!important;text-underline-offset:4px;text-decoration-thickness:2px!important}
html.a11y-links a:not([style*="background:#E8A72B"]):not([data-row]){outline:1px dashed currentColor;outline-offset:2px}

/* ===== גופן קריא — במקום הגופן הצר של הכותרות ===== */
html.a11y-font [style*="Karantina"]{font-family:Heebo,Arial,sans-serif!important;font-weight:800!important;line-height:1.12!important;letter-spacing:0!important}
html.a11y-font body,html.a11y-font [style*="font:300"]{font-weight:400!important}

/* ===== ניגודיות גבוהה ===== */
html.a11y-contrast [style*="color:rgba(237,233,225"]{color:#FFFFFF!important}
html.a11y-contrast [style*="color:rgba(18,19,15"]{color:#000000!important}
html.a11y-contrast [style*="border"][style*="rgba(237,233,225"]{border-color:rgba(255,255,255,.75)!important}
html.a11y-contrast [style*="border"][style*="rgba(18,19,15"]{border-color:#000!important}
html.a11y-contrast [style*="border"][style*="rgba(10,10,9"]{border-color:#000!important}
html.a11y-contrast body{color:#fff}
html.a11y-contrast [style*="opacity:.7"],html.a11y-contrast [style*="opacity:.78"],html.a11y-contrast [style*="opacity:.8"]{opacity:1!important}
html.a11y-contrast [style*="color:#7D5510"]{color:#3D2800!important}
html.a11y-contrast .rv-card figcaption span,html.a11y-contrast .rv-status{color:#000!important}
html.a11y-contrast .rv-track{background:#000;border-color:#000}
html.a11y-contrast [aria-hidden="true"][style*="mix-blend-mode"]{display:none}
html.a11y-contrast input::placeholder{color:rgba(255,255,255,.75)}

@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1!important;transform:none!important}
}

/* בהגדלה גדולה במסך צר — לאפשר לכותרת הראשית לקטון כדי שלא תיחתך */
html.a11y-text-2 h1,html.a11y-text-3 h1{font-size:clamp(28px,12.5cqw,132px)!important}
