/* === net-contrast-fix v2 === */
/* Dark footers (velvet / navy / charcoal themes) */
html body .oldd-footer,
html body .oldd-footer p,
html body .oldd-footer a,
html body .oldd-footer li,
html body .oldd-footer span,
html body .oldd-footer h2,
html body .oldd-footer h3,
html body .oldd-footer h4,
html body .oldd-footer .footer-disclaimer,
html body .oldd-footer .oldd-footer-title,
html body .oldd-footer .oldd-footer-tagline,
html body .oldd-footer .oldd-footer-bottom,
html body .oldd-footer .oldd-footer-bottom p,
html body .oldd-footer .oldd-logo-text {
  color: rgba(250, 248, 245, 0.92) !important;
}
html body .oldd-footer h4,
html body .oldd-footer .oldd-footer-title,
html body .oldd-footer .oldd-footer-heading {
  color: #e0b86a !important;
}

/* Dark translucent / solid headers — light nav text */
html body header.cagh-header,
html body header.cagh-header a,
html body header.cagh-header .cagh-logo,
html body header.cagh-header .cagh-nav a,
html body header.cagh-header span,
html body .cagh-header a,
html body .cagh-header .cagh-logo,
html body .cagh-header nav a {
  color: rgba(250, 248, 245, 0.95) !important;
}

/* Common dark header patterns */
html body header[class*="header"] a:not([class*="btn"]):not([class*="cta"]):not([class*="kit"]),
html body .site-header a:not([class*="btn"]):not([class*="cta"]),
html body [class*="-header"] a:not([class*="btn"]):not([class*="cta"]):not([class*="kit"]),
html body [class*="Header"] a:not([class*="btn"]):not([class*="cta"]) {
  /* JS is primary; these help when header bg is known dark via theme */
}

/* Footer generic dark-on-dark safety for common class names */
html body [class*="footer-tagline"],
html body [class*="footer-disclaimer"],
html body [class*="footer-bottom"],
html body [class*="footer-copy"],
html body .footer-disclaimer {
  /* color left to JS after composite bg detection */
}
/* Mobile menus (often dark drawer, dark text left over from desktop theme) */
html body [class*="mobile-nav"] a,
html body [class*="mobile-link"],
html body [class*="mobile-menu"] a,
html body #mobileNav a,
html body .cagh-mobile-nav a,
html body .cagh-mobile-link {
  color: rgba(250, 248, 245, 0.95) !important;
}

/* Generic dark footer links when footer bg is solid dark (JS still primary) */
html body footer a:not([class*="btn"]):not([class*="cta"]),
html body [class*="-footer"] a:not([class*="btn"]):not([class*="cta"]):not([class*="kit"]) {
  /* do not force globally — light footers exist; JS composites */
}
/* === /net-contrast-fix v2 === */
