/* =========================================================
   Child Support ADA / WCAG Fixes (UPDATED - scoped links)
   ========================================================= */

/* ---------- Color tokens ---------- */
:root{
  --cs-link-blue: #267DAB;
  --cs-gray-text: #5E5E5E;
  --cs-heading-blue: #1080A2;
  --cs-footer-gray: #696969;
  --cs-focus-blue: #0186A2;
}

/* ---------- Screen reader only ---------- */
.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;
}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:10px;
  top:10px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:#ffffff;
  color:#000000;
  z-index:100000;
  text-decoration:none;
}

/* ---------- Global focus indicator ---------- */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex="0"]:focus{
  outline:5px solid var(--cs-focus-blue) !important;
  outline-offset:2px !important;
}

/* =========================================================
   LINKS (SCOPED) - do NOT change header/menu/slider tabs
   ========================================================= */

/* Underline links ONLY inside main content (content pages, search results, FAQs, etc.) */
#maincontent a{
  text-decoration: underline;
}

/* Do not force color changes anywhere (keep brand colors) */
#maincontent a:hover,
#maincontent a:focus{
  text-decoration: underline;
}

/* Explicitly keep header/nav/footer and slider tabs unmodified */
header a,
nav a,
#topbar a,
#mainav a,
#slide-tabs a,
footer a{
  text-decoration: none;
}

/* =========================================================
   Navigation dropdown readability
   ========================================================= */
#mainav ul ul{
  background: rgba(0,0,0,0.95) !important;
}
#mainav ul ul a{
  color:#ffffff !important;
  text-decoration:none !important;
}

/* =========================================================
   Slider / hero caption legibility (opacity only)
   - DO NOT alter slide tab styles or link colors
   ========================================================= */
#slider figure figcaption{
  background: rgba(255,255,255,0.92) !important;
}
#slider figure:hover figcaption,
#slider figure:focus-within figcaption{
  background:#ffffff !important;
}

/* =========================================================
   Headings + muted text contrast
   ========================================================= */
.headings2{
  color: var(--cs-heading-blue) !important;
}

.small-gray,
.muted,
.text-muted,
.quickinfo,
.quickinfo li,
.quickinfo a{
  color: var(--cs-gray-text) !important;
}

/* =========================================================
   Footer contrast
   ========================================================= */
#footer .footer-address,
#footer .footer-address p,
#footer .footer-contact,
#footer .footer-contact p{
  color: var(--cs-footer-gray) !important;
}

/* =========================================================
   Search overlay
   ========================================================= */
.overlay .closebtn{
  background:transparent;
  border:0;
}
.overlay .closebtn:focus{
  outline:5px solid var(--cs-focus-blue) !important;
  outline-offset:2px !important;
}

/* Ensure the search button isn't visually killed by generic button CSS */
.search-btn{
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   FAQ page
   ========================================================= */
/*.faq-category-nav{
  text-align:center;
  font-size:0.95rem;
  margin:0 0 1rem 0;
}
.faq-category-nav ul{
  list-style:none;
  margin:0;
  padding:0;
}
.faq-category-nav li{
  display:inline-block;
  margin:0 0.5rem;
}

.faq-group{
  margin:0;
  padding:0;
}

.faq-group .qa-set{
  margin:0 0 1rem 0;
  padding:0.75rem 1rem;
  border:1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.9);
}

.faq-group dt{
  margin:0 0 0.5rem 0;
  font-weight:700;
}

.faq-group dd{
  margin:0;
}
*/
.lb{
  display:inline-block;
  min-width:1.5rem;
  font-weight:700;
}

/* ---------- Forms ---------- */
label{
  font-weight:600;
}

