/* Accessibility menu button and panel (bottom corner, the end side in Hebrew) */
.a11y { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px; z-index: 40; }
.a11y__toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1f4e9c;
  color: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
  cursor: pointer;
}
.a11y__toggle svg circle { fill: currentColor; }
.a11y__toggle:focus-visible, .a11y__panel button:focus-visible, .a11y__panel a:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.a11y__panel {
  position: absolute;
  bottom: 62px;
  inset-inline-end: 0;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
  font: 16px/1.4 Arial, sans-serif;
}
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.a11y__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eee; font-size: 20px; cursor: pointer; }
.a11y__option, .a11y__reset {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.a11y__option[aria-pressed='true'] { background: #1f4e9c; border-color: #1f4e9c; color: #fff; }
.a11y__reset { justify-content: center; background: #f2f2f2; }
.a11y__statement { text-align: center; color: #1f4e9c; padding: 6px; }

/* The options themselves */
html.a11y-text-1 body { zoom: 1.15; }
html.a11y-text-2 body { zoom: 1.3; }

html.a11y-contrast {
  --bg: #fff;
  --surface: #fff;
  --sand: #fff;
  --sand-line: #000;
  --line: #000;
  --ink: #000;
  --muted: #1a1a1a;
  --gold: #000;
  --accent: #000;
  --accent-ink: #fff;
  --ok: #0a5c1f;
  --danger: #a10000;
}
html.a11y-contrast .item, html.a11y-contrast .chip, html.a11y-contrast .field input, html.a11y-contrast .search input { border-color: #000; }
html.a11y-contrast .item__stage { background: #fff; outline: 1px solid #000; }
html.a11y-contrast .hero__photo::after { background: rgb(0 0 0 / 0.75); }

html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
html.a11y-links a:focus, html.a11y-links button:focus { outline: 3px solid #f2b705 !important; }

html.a11y-font body, html.a11y-font body *:not(svg):not(path) { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: normal !important; }

html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
