/* Soft Soft · blue-contrast-soft · 2026-09-24 PT
   CureRays Institute (curerays.org) ONLY — do not ship to clinic Netlify.

   Problem: global `a { color: var(--blue) }` (#243090) paints brand-blue
   links onto navy article heroes (#1A2468) at ~1.27:1. Same on-dark
   breadcrumb tokens (#C9CCEC / #9CA1D2) leak onto light grounds
   (provider dashboard) at ~1.5:1.

   Fix: white/near-white text on navy fills; navy links on light breadcrumbs.
   Soft Soft brand hues unchanged. No logo / ribbon / chrome structure edits.
*/

/* ---- 1) Navy article heroes: readable text + links ---- */
.article-hero .lead {
  color: #F0F2FA !important; /* was --blue-on-dark #C9CCEC */
}
.article-hero .lead strong,
.article-hero .lead b {
  color: #FFFFFF !important;
}
.article-hero a:not(.btn) {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.article-hero a:not(.btn):hover,
.article-hero a:not(.btn):focus-visible {
  color: #FFE8DF !important; /* soft orange-tint near-white */
}

/* Breadcrumbs inside navy heroes */
.article-hero .breadcrumb {
  color: #E8ECF8 !important; /* was --blue-on-dark-soft #9CA1D2 */
}
.article-hero .breadcrumb a {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-hero .breadcrumb a:hover,
.article-hero .breadcrumb a:focus-visible {
  color: #FFE8DF !important;
}

/* ---- 2) Breadcrumbs on LIGHT grounds (not navy heroes) ---- */
/* Override unscoped site.css on-dark breadcrumb tokens when the trail
   sits on paper / bg-alt (e.g. provider/dashboard). Higher-specificity
   article-hero rules above win on navy heroes. */
.breadcrumb {
  color: var(--muted, #686E82);
}
.breadcrumb a {
  color: var(--blue, #243090);
  text-decoration: none;
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--navy, #1A2468);
  text-decoration: underline;
}

/* ---- 3) Other navy/blue fills: naked links must not stay brand-blue ---- */
.prefooter-cta a:not(.btn),
.subscribe-band a:not(.btn),
.band--navy a:not(.btn),
.site-footer a:not(.btn) {
  /* footer already #DDE0F5; reinforce white-ish for any override gaps */
  color: #F0F2FA;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prefooter-cta a:not(.btn),
.subscribe-band a:not(.btn),
.band--navy a:not(.btn) {
  color: #FFFFFF !important;
}
.prefooter-cta a:not(.btn):hover,
.subscribe-band a:not(.btn):hover,
.band--navy a:not(.btn):hover {
  color: #FFE8DF !important;
}

/* Footer links already light; keep them clearly above navy */
.site-footer a {
  color: #E8ECF8 !important;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #FFFFFF !important;
}
