/*
 * Footer WCAG AA — opaque dark panels + #ffffff ink (all link states).
 * Load last in <head> (after premium.css, hc-overrides, disclaimer-contrast).
 */

html:not(.site-a11y-hc) body .footer .footer-item,
html:not(.site-a11y-hc) body .footer .footer-item-post {
  background: #061729 !important;
  background-color: #061729 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html:not(.site-a11y-hc) body .footer h2.text-white,
html:not(.site-a11y-hc) body .footer h3.text-white {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* All footer links — every pseudo-state (beats Bootstrap #83b9e1 + premium accent hover) */
html:not(.site-a11y-hc) body .footer a:any-link,
html:not(.site-a11y-hc) body .footer .footer-item a,
html:not(.site-a11y-hc) body .footer .footer-item-post a,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link,
html:not(.site-a11y-hc) body .footer .footer-item .csr-note,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link,
html:not(.site-a11y-hc) body .footer .footer-item .dropdown-toggle,
html:not(.site-a11y-hc) body .footer .footer-item .current-page-link,
html:not(.site-a11y-hc) body .footer .footer-item a i,
html:not(.site-a11y-hc) body .footer .footer-item-post a i,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link i,
html:not(.site-a11y-hc) body .footer .footer-item .csr-note i,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link i,
html:not(.site-a11y-hc) body .footer .footer-item .current-page-link i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: transparent !important;
  background-image: none !important;
}

html:not(.site-a11y-hc) body .footer a:any-link:hover,
html:not(.site-a11y-hc) body .footer a:any-link:focus-visible,
html:not(.site-a11y-hc) body .footer .footer-item a:hover,
html:not(.site-a11y-hc) body .footer .footer-item a:focus-visible,
html:not(.site-a11y-hc) body .footer .footer-item-post a:hover,
html:not(.site-a11y-hc) body .footer .footer-item-post a:focus-visible,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link:hover,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link:focus-visible,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link:hover,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link:focus-visible,
html:not(.site-a11y-hc) body .footer .footer-item .dropdown-toggle:hover,
html:not(.site-a11y-hc) body .footer .footer-item .dropdown-toggle:focus-visible,
html:not(.site-a11y-hc) body .footer .footer-item a:hover i,
html:not(.site-a11y-hc) body .footer .footer-item a:focus-visible i,
html:not(.site-a11y-hc) body .footer .footer-item-post a:hover i,
html:not(.site-a11y-hc) body .footer .footer-item-post a:focus-visible i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  /* Subtle hover on dark navy — white text stays ≥ 4.5:1 (not light grey box + dark text) */
  background-color: rgba(255, 255, 255, 0.12) !important;
  background-image: none !important;
}

/* Focus ring: white outline on dark (avoid blue-on-blue ~3.46:1 sampling) */
html:not(.site-a11y-hc) body .footer a:focus-visible {
  outline: 2px solid #ffffff !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
}

/* pdf-link must not inherit Bootstrap primary blue */
html:not(.site-a11y-hc) body .footer .footer-item a.pdf-link {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Current page indicator */
html:not(.site-a11y-hc) body .footer .footer-item .current-page-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 5px 8px !important;
  margin: 0 -8px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.site-a11y-hc) body .footer .footer-link-row > [class*="col-"]:nth-child(1) .footer-item p,
html:not(.site-a11y-hc) body .footer .footer-item p.footer-contact-line {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.site-a11y-hc) body .footer .footer-item p.footer-contact-line i,
html:not(.site-a11y-hc) body .footer .footer-item p .fa-map-marker-alt,
html:not(.site-a11y-hc) body .footer .footer-item p .fa-phone-alt,
html:not(.site-a11y-hc) body .footer .footer-item p .fa-envelope {
  color: #efb41d !important;
  -webkit-text-fill-color: #efb41d !important;
}

/* Explore / Information / Useful Links — golden chevrons (a, pdf-link, csr-note, saarthi) */
html:not(.site-a11y-hc) body .footer .footer-item a i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item-post a i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .csr-note i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .dropdown-toggle i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item a i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item-post a i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .csr-note i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .dropdown-toggle i.fa-angle-right::before {
  color: #efb41d !important;
  -webkit-text-fill-color: #efb41d !important;
  background-color: transparent !important;
  background-image: none !important;
}

html:not(.site-a11y-hc) body .footer .footer-item a:hover i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item a:focus-visible i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item-post a:hover i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item-post a:focus-visible i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link:hover i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link:focus-visible i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link:hover i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link:focus-visible i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .dropdown-toggle:hover i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .dropdown-toggle:focus-visible i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item a:hover i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item a:focus-visible i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item-post a:hover i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item-post a:focus-visible i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link:hover i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .pdf-link:focus-visible i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link:hover i.fa-angle-right::before,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link:focus-visible i.fa-angle-right::before {
  color: #efb41d !important;
  -webkit-text-fill-color: #efb41d !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Saarthi pulse — link text stays white; chevron stays golden */
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link.blinking {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link.blinking i.fa-angle-right,
html:not(.site-a11y-hc) body .footer .footer-item .saarthi-link.blinking i.fa-angle-right::before {
  color: #efb41d !important;
  -webkit-text-fill-color: #efb41d !important;
}
