/* ============================================================
   אקווה פלוס — נגישות (a11y.css)
   ============================================================ */

/* FAB */
.a11y-fab{
  position:fixed;bottom:24px;right:20px;z-index:960;
  width:56px;height:56px;border-radius:50%;
  background:var(--blue-deep,#0B5F9E);color:#fff;display:grid;place-items:center;
  box-shadow:0 10px 26px rgba(11,95,158,.4);transition:transform .25s;
}
.a11y-fab:hover{transform:scale(1.08)}

/* panel */
.a11y-panel{
  position:fixed;bottom:90px;right:20px;z-index:961;
  width:250px;background:#fff;border:1px solid #E3EAF2;border-radius:16px;
  padding:1rem;box-shadow:0 24px 60px rgba(15,27,45,.25);
  display:flex;flex-direction:column;gap:.4rem;
}
/* keep the HTML hidden attribute working — a display rule otherwise overrides it */
.a11y-panel[hidden]{display:none}
.a11y-panel h2{font-size:1.1rem;margin-bottom:.4rem;color:#0F1B2D;font-family:'Rubik',sans-serif}
.a11y-panel button{
  text-align:start;padding:.6rem .8rem;border-radius:10px;font-family:'Heebo',sans-serif;font-size:.98rem;
  color:#0F1B2D;background:#F7FAFC;border:1px solid #E3EAF2;transition:background .2s,border-color .2s;
}
.a11y-panel button:hover{background:#E9F3FE;border-color:#0E7FE3}
.a11y-reset{color:#dc2626!important}
.a11y-statement{display:block;text-align:center;margin-top:.4rem;font-size:.88rem;color:#0E7FE3;text-decoration:underline}

@media (max-width:760px){
  .a11y-fab{bottom:78px}
  .a11y-panel{bottom:144px}
}

/* ---- applied states ---- */
html.a11y-contrast{filter:contrast(1.25) saturate(1.15)}
html.a11y-contrast body{background:#fff}

html[data-a11y-text="1"] body{font-size:18.5px}
html[data-a11y-text="2"] body{font-size:20px}
html[data-a11y-text="3"] body{font-size:22px}

html.a11y-readable body,
html.a11y-readable h1,html.a11y-readable h2,html.a11y-readable h3,html.a11y-readable h4{
  font-family:Arial,'Heebo',sans-serif!important;letter-spacing:.2px;line-height:1.8
}

html.a11y-links a:not(.btn):not(.brand):not(.float-btn):not(.mbar-btn){
  text-decoration:underline!important;text-underline-offset:3px;font-weight:600
}

html.a11y-nomotion *,html.a11y-nomotion *::before,html.a11y-nomotion *::after{
  animation:none!important;transition:none!important;scroll-behavior:auto!important
}
html.a11y-nomotion .reveal{opacity:1!important;transform:none!important}
