/* ADA / WCAG 2.1 AA overrides — injected into every page by scripts/ada-fixes.mjs.
 * Keep this file small and specific. Do not change passing colours.
 */

*:focus-visible {
  outline: 3px solid #0a7e8c !important;
  outline-offset: 2px !important;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  z-index: 2147483647;
  text-decoration: none;
  font-weight: 600;
}
.skip-to-content:focus,
.skip-to-content:focus-visible {
  left: 0;
  outline: 3px solid #ffbf00 !important;
}

/* Low-contrast grey remediation — Divi captions + footer links */
.et_pb_caption,
.et_pb_image_caption,
.wp-caption-text {
  color: #595959 !important;
}

#footer-widgets a,
#et-footer-nav a,
#footer-bottom a {
  color: #d6d6d6 !important;
}

/* ============================================================================
 * OPTIONAL-WIDGETS TOGGLE — delete this entire block to re-enable the widgets.
 *
 *   1. Floating "Tel:626-939-5900" popup (Popup Maker popmake-1456) — the
 *      blue pill that sticks just below the header on the right and follows
 *      the viewport as you scroll.
 *
 *   2. WP Review Slider floater — the Google star-rating badge that sits
 *      bottom-right on every page (wprevpro_float_outer).
 *
 * NOT hidden (intentionally visible):
 *   - Top-nav "Tel: 626-939-5900" menu item (menu-item-485)
 *   - "Free MRI Review" left-side tab (wp-contact-slider, wpcs_tab_1171)
 *
 * Hidden items remain in the HTML; remove this block to restore them.
 * ============================================================================ */
#pum-1456,
#popmake-1456,
.wprevpro_float_outer,
[id^="wprevpro_float_outer"] {
  display: none !important;
  visibility: hidden !important;
}
/* ========================== end optional-widgets toggle =================== */

/* Helper used by "read more" link purpose fix (H3) */
.ada-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
