/* ============================================================
   wcag-c0053-gs-teracy.css
   WCAG 2.1 Level AA override for the C0053-GS-Teracy Kentico template
   (TemplateId 1373, DefaultCssFileName: RPcssMaster_C0053-GS-Teracy).

   Selectors verified against the live base CSS pulled from
   https://www.1000jeffersonapts.com on 2026-05-12.

   This template does NOT use a .template-* wrapper.
   Header is confirmed sticky:
     header { position:fixed; height:80px; top:0; z-index:100 }
   ============================================================ */


/* ------------------------------------------------------------
   WCAG 2.4.7 Focus Visible
   Base: body .FloorPlansV2 #sidebar .button a { outline:none }
   plus Bootstrap's standard .navbar-toggle / .dropdown-toggle
   suppressions.
   ------------------------------------------------------------ */
.navbar-toggle:focus-visible,
.dropdown-toggle:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.FloorPlansV2 #sidebar .button a:focus-visible,
header a:focus-visible,
#innerNav a:focus-visible,
#innerNav #menuElem li a:focus-visible,
.contact-us-enhanced .form-control:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
.footer-widget footer a:focus-visible {
  /* Webkit-style two-ring halo: blue inner ring + white outer ring
     gives focus visibility on both light AND dark backgrounds.
     The `outline` declaration is intentionally omitted — outline
     paints on top of box-shadow and would cover the white ring. */
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #005fcc, 0 0 0 3px #fff;
}


/* ------------------------------------------------------------
   WCAG 2.4.11 Focus Not Obscured
   Base: header { position:fixed; height:80px; top:0 }
   Reserve scroll space matching the measured header + 20px buffer.
   ------------------------------------------------------------ */
html {
  scroll-padding-top: 100px;
}

:focus-visible {
  scroll-margin-top: 100px;
}


/* ------------------------------------------------------------
   WCAG 1.4.11 Non-text Contrast (UI components)
   Base failures:
     .fp2-left-panel-header { border-color:#cfcfcf !important }
     body .fp2-show-available { border-color:#cfcfcf !important }
   #cfcfcf on white â 1.50:1 â fails 3:1 for UI component
   boundaries. Override matches with !important to win.
   ------------------------------------------------------------ */
.fp2-left-panel-header,
.fp2-show-available {
  border-color: #595959 !important;
}

body #contactUsEnhancedContainer .form-control {
  border-bottom: 1px solid #595959 !important;
}


/* ------------------------------------------------------------
   WCAG 1.4.3 Contrast Minimum (text)
   The Teracy master CSS has no failing text-color rules of its
   own (the #d1d1d1 usages are light text on a dark #4a4a4a
   inner-nav background â 8:1, which passes).
   Shared footer-disclosure opacity 0.6 â 0.85.
   ------------------------------------------------------------ */
.footer-widget footer .footer-disclosure {
  opacity: 0.85;
}


/* ------------------------------------------------------------
   WCAG 1.4.1 Use of Color (inline links)
   ------------------------------------------------------------ */
/* Scope: content containers only. Bare `p a` / `li a` / `dd a` selectors were dropped (same Balcony/Aurora/Bliss/Jackson-Square bleed bug — they would underline footer nav, header items, sidebar lists). */
.inner-page-main a,
.inner-page-master a,
.main-content-text a,
.main-content-wrapper a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.btn,
a.button,
a.cta-button,
.btn,
.btn-primary,
header a,
#innerNav a,
#innerNav #menuElem li a,
.cta-header-btn,
.header-CTA-button,
.footer-CTA-Button,
a.more-link,
a.less-link,
.footer-widget footer a {
  text-decoration: none;
}
