/* Accessibility — on every page, after the old site's own styles (docs/accessibility-audit.md).
   IS 5568 at level AA. Each rule names the finding it answers. */

/* A4 — text dark enough to read: Elementor's default colours of the old site, darker */
body.elementor-kit-3946 {
  --e-global-color-text: #707070;    /* was #7A7A7A, 4.29:1 → 4.95:1 on white */
  --e-global-color-primary: #2A86AD; /* the headings' blue, was #6EC1E4, 2.0:1 → 4.1:1 */
}
/* the header is black: there the old grey already passed (4.59:1) and the darker one would not */
body .elementor-location-header { --e-global-color-text: #7A7A7A; }
body .elementor-posts .elementor-post__excerpt p { color: #707070; } /* was #777, 4.47:1 */
body .elementor-form .elementor-button { color: #000; }              /* on the green, 10.6:1 */
body .elementor-location-footer a { color: #D9467A; }               /* on black, was #C36, 4.2:1 → 5.1:1 */

/* A5 — a link inside text is underlined, not told apart by colour alone */
.elementor-widget-text-editor p a,
.elementor-widget-theme-post-content p a,
.elementor-post__excerpt a,
#breadcrumbs a { text-decoration: underline; }

/* A3 — where the keyboard is, always seen: dark ring with a white edge, on light and dark */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid #1a1a1a !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px #fff !important;
}

/* hidden from the eye, read by a screen reader — clipped, never moved off a right-to-left page */
.gg-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* A2 — the skip link, seen when the keyboard reaches it */
.gg-skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.gg-skip:focus {
  position: fixed; top: 8px; right: 8px; z-index: 100000; padding: 10px 16px;
  background: #fff; color: #1a1a1a; font-size: 18px; text-decoration: underline;
}
#gg-main:focus { outline: none; }

/* A7 — the slider's pause button */
.gg-pause {
  position: absolute; bottom: 12px; left: 12px; z-index: 20; min-width: 44px; min-height: 44px;
  padding: 8px 14px; border: 2px solid #fff; border-radius: 4px;
  background: #1a1a1a; color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
}
.gg-pause:hover, .gg-pause:focus { background: #000; color: #fff; }
