/*
 * ADA / WCAG 2.1 AA Accessibility Fixes — lbelevate28.com
 * Audit date: April 2026 | Enqueued globally via WordPress
 * All rules are selector-scoped to known components and safe to apply site-wide.
 *
 * Violations addressed:
 *   1.4.3  Contrast (Minimum) — filter bar names                 (violations 1–5, 15–52, 63–64)
 *   link-in-text-block — content links must be visually distinct  (violations 31–36, 53–55)
 */

/* =============================================================================
   1.4.3 — Filter Bar Item Contrast
   Problem : #636671 on #e3e3e3 = 4.45:1 — falls just below the 4.5:1 AA threshold
   Fix     : #595959 on #e3e3e3 = 5.74:1 — passes AA for bold 18px text
   ============================================================================= */
.dipi-filter-bar-name {
  color: #595959 !important;
}

/* =============================================================================
   link-in-text-block — Content Links Must Be Visually Distinct From Body Text
   Problem : Links styled #003764 on #000000 body text = 1.73:1 contrast (needs 3:1)
             and have no underline or other non-color visual indicator
   Fix     : Underline ensures links are distinguishable without relying on color alone.
   Targets : .ProsemirrorEditor-link  — Divi rich-text editor links (district pages)
             .et_pb_text_inner a      — plain links inside Divi text modules (about page, etc.)
   Excluded: .et_pb_button, nav links, and any link that already has a component class
   ============================================================================= */
.ProsemirrorEditor-link,
.et_pb_text_inner a:not([class*="et_pb_"]):not(.et_pb_button) {
  text-decoration: underline !important;
}
