/* Version: 10.24.0 — WCAG AA contrast overrides (public + CMS + VMS-friendly) */
:root {
  --fl-text: #0f172a;
  --fl-muted: #475569;      /* was #64748b / #868e96 — now ~7.6:1 on white */
  --fl-muted-dark: #94a3b8; /* on dark footers — ~7:1 on #0f172a */
  --fl-link: #1d4ed8;       /* stronger than #2563eb */
  --fl-success-text: #146c2e;
  --fl-danger-text: #b91c1c;
  --fl-placeholder: #767676;
}

/* Public body secondary text */
.text-muted, .muted, .fl-sub, .helper, small, .small,
.project-meta, .form-text, .caption, .breadcrumb,
footer .footer-col-1 p, .contact-detail p, .fl-contact-lead, .fl-contact-hint {
  color: var(--fl-muted) !important;
}

/* Greys that failed AA */
[style*="color:#868e96"], [style*="color: #868e96"],
[style*="color:#999"], [style*="color:#999999"],
[style*="color:#aaa"], [style*="color:#aaaaaa"] {
  color: var(--fl-muted) !important;
}

/* Footer on dark */
footer, footer a, .footer-col-1, .footer-col-1 p, .footer_list a,
footer .map-detail a, .follow_us + * {
  /* keep white links; muted copy */
}
footer p, footer .map-detail a, footer li, footer small {
  color: var(--fl-muted-dark) !important;
}
footer a { color: #e2e8f0 !important; }
footer a:hover { color: #ffffff !important; }

/* Links */
a:not(.btn):not(.fl-btn):not(.stretched-link) {
  /* do not force all anchors — only weak blues */
}
a.text-info, .text-info, .link-info { color: var(--fl-link) !important; }

/* Placeholders */
::placeholder { color: var(--fl-placeholder) !important; opacity: 1; }
input::placeholder, textarea::placeholder { color: var(--fl-placeholder) !important; }

/* Status text on white */
.text-success, .alert-success, .lblsuccess, .trsuccess, #lblsuccess {
  color: var(--fl-success-text) !important;
}
.text-danger, .alert-danger, .lblerror, .trerror, #lblerror {
  color: var(--fl-danger-text) !important;
}

/* Gold/sky never as body text on white */
.text-warning { color: #92400e !important; }
.text-primary { color: var(--fl-link) !important; }

/* CMS */
body.fl-cms .fl-sub, body.fl-cms .fl-muted, body.fl-cms .fl-lead {
  color: var(--fl-muted) !important;
}
body.fl-cms .fl-nav-group h3 {
  color: #e2e8f0 !important;
}
body.fl-cms a { color: var(--fl-link); }

/* VMS muted blue #95aac9 used as text → darker slate */
body .text-muted, .vms .text-muted,
[style*="color:#95aac9"], [style*="color: #95aac9"] {
  color: #4a667f !important;
}
