/* Site-wide link visibility fix for dark / navy sections.
   Browsers turn :visited links the default purple/dark-blue, which becomes
   unreadable inside dark backgrounds. Force gold for inline links in every
   known dark container. The .on-dark utility lets any new dark container
   opt in without touching this file. */

.cta-section a,
.cta-section a:link,
.cta-section a:visited,
.cta-section a:hover,
.cta-section a:active,
.case-study a,
.case-study a:link,
.case-study a:visited,
.case-study a:hover,
.case-study a:active,
.video-testimonial a,
.video-testimonial a:link,
.video-testimonial a:visited,
.video-testimonial a:hover,
.video-testimonial a:active,
.hero a,
.hero a:link,
.hero a:visited,
.hero a:hover,
.hero a:active,
.topbar a,
.topbar a:link,
.topbar a:visited,
.topbar a:hover,
.topbar a:active,
footer a,
footer a:link,
footer a:visited,
footer a:hover,
footer a:active,
.sidebar-cred-card a,
.sidebar-cred-card a:link,
.sidebar-cred-card a:visited,
.sidebar-cred-card a:hover,
.sidebar-cred-card a:active,
.cta-banner a,
.cta-banner a:link,
.cta-banner a:visited,
.cta-banner a:hover,
.cta-banner a:active,
.cta-box a,
.cta-box a:link,
.cta-box a:visited,
.cta-box a:hover,
.cta-box a:active,
.final-cta a,
.final-cta a:link,
.final-cta a:visited,
.final-cta a:hover,
.final-cta a:active,
.sidebar-cta a,
.sidebar-cta a:link,
.sidebar-cta a:visited,
.sidebar-cta a:hover,
.sidebar-cta a:active,
.about-hero a,
.about-hero a:link,
.about-hero a:visited,
.about-hero a:hover,
.about-hero a:active,
.article-hero a,
.article-hero a:link,
.article-hero a:visited,
.article-hero a:hover,
.article-hero a:active,
.site-nav a,
.site-nav a:link,
.site-nav a:visited,
.site-nav a:hover,
.site-nav a:active,
.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active,
.testimonials a,
.testimonials a:link,
.testimonials a:visited,
.testimonials a:hover,
.testimonials a:active,
.book-card-links a,
.book-card-links a:link,
.book-card-links a:visited,
.book-card-links a:hover,
.book-card-links a:active,
.on-dark a,
.on-dark a:link,
.on-dark a:visited,
.on-dark a:hover,
.on-dark a:active {
  color: #C8A951;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Brighten + thicker underline on hover/focus for affordance on dark bgs */
.cta-section a:hover, .cta-section a:focus-visible,
.case-study a:hover, .case-study a:focus-visible,
.video-testimonial a:hover, .video-testimonial a:focus-visible,
.hero a:hover, .hero a:focus-visible,
.topbar a:hover, .topbar a:focus-visible,
footer a:hover, footer a:focus-visible,
.sidebar-cred-card a:hover, .sidebar-cred-card a:focus-visible,
.cta-banner a:hover, .cta-banner a:focus-visible,
.cta-box a:hover, .cta-box a:focus-visible,
.final-cta a:hover, .final-cta a:focus-visible,
.sidebar-cta a:hover, .sidebar-cta a:focus-visible,
.about-hero a:hover, .about-hero a:focus-visible,
.article-hero a:hover, .article-hero a:focus-visible,
.site-nav a:hover, .site-nav a:focus-visible,
.site-footer a:hover, .site-footer a:focus-visible,
.testimonials a:hover, .testimonials a:focus-visible,
.book-card-links a:hover, .book-card-links a:focus-visible,
.on-dark a:hover, .on-dark a:focus-visible {
  color: #E2C36B;
  text-decoration-thickness: 2px;
}

/* Visible keyboard focus ring on dark surfaces */
.cta-section a:focus-visible,
.case-study a:focus-visible,
.video-testimonial a:focus-visible,
.hero a:focus-visible,
.topbar a:focus-visible,
footer a:focus-visible,
.sidebar-cred-card a:focus-visible,
.cta-banner a:focus-visible,
.cta-box a:focus-visible,
.final-cta a:focus-visible,
.sidebar-cta a:focus-visible,
.about-hero a:focus-visible,
.article-hero a:focus-visible,
.site-nav a:focus-visible,
.site-footer a:focus-visible,
.testimonials a:focus-visible,
.book-card-links a:focus-visible,
.on-dark a:focus-visible {
  outline: 2px solid #C8A951;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Buttons inside dark sections should keep their own colors and never underline */
.cta-section a.btn,
.cta-section a.btn:visited,
.case-study a.btn,
.case-study a.btn:visited,
.hero a.btn,
.hero a.btn:visited,
footer a.btn,
footer a.btn:visited,
.cta-banner a.btn, .cta-banner a.btn:visited,
.cta-box a.btn, .cta-box a.btn:visited,
.final-cta a.btn, .final-cta a.btn:visited,
.sidebar-cta a.btn, .sidebar-cta a.btn:visited,
.about-hero a.btn, .about-hero a.btn:visited,
.site-nav a.btn, .site-nav a.btn:visited,
.site-footer a.btn, .site-footer a.btn:visited,
.hero a.btn-primary, .hero a.btn-primary:visited,
.site-nav a.btn-primary, .site-nav a.btn-primary:visited,
.cta-banner a.btn-primary, .cta-banner a.btn-secondary,
.final-cta a.btn-primary, .final-cta a.btn-secondary,
.cta-box a.btn-primary, .cta-box a.btn-secondary,
.on-dark a.btn,
.on-dark a.btn:visited,
.sidebar-cred-card a.btn,
.sidebar-cred-card a.btn:visited,
.cta-section a.cta-button, .cta-section a.cta-button:visited,
.cta-section a.cta-button-large, .cta-section a.cta-button-large:visited,
.case-study a.cta-button, .case-study a.cta-button:visited,
.case-study a.cta-button-large, .case-study a.cta-button-large:visited,
.hero a.cta-button, .hero a.cta-button:visited,
.hero a.cta-button-large, .hero a.cta-button-large:visited,
footer a.cta-button, footer a.cta-button:visited,
.cta-banner a.cta-button, .cta-banner a.cta-button:visited,
.cta-banner a.cta-button-large, .cta-banner a.cta-button-large:visited,
.cta-box a.cta-button, .cta-box a.cta-button:visited,
.cta-box a.cta-button-large, .cta-box a.cta-button-large:visited,
.final-cta a.cta-button, .final-cta a.cta-button:visited,
.final-cta a.cta-button-large, .final-cta a.cta-button-large:visited,
.final-cta a.cta-btn, .final-cta a.cta-btn:visited,
.cta-box a.cta-btn, .cta-box a.cta-btn:visited,
.sidebar-cta a.cta-btn, .sidebar-cta a.cta-btn:visited,
.article-hero a.cta-btn, .article-hero a.cta-btn:visited,
.hero a.cta-btn, .hero a.cta-btn:visited,
.sidebar-cta a.cta-button, .sidebar-cta a.cta-button:visited,
.about-hero a.cta-button, .about-hero a.cta-button:visited,
.about-hero a.cta-button-large, .about-hero a.cta-button-large:visited,
.article-hero a.cta-button, .article-hero a.cta-button:visited,
.site-nav a.cta-button, .site-nav a.cta-button:visited,
.site-footer a.cta-button, .site-footer a.cta-button:visited,
.testimonials a.cta-button, .testimonials a.cta-button:visited,
.testimonials a.cta-link, .testimonials a.cta-link:visited,
.on-dark a.cta-button, .on-dark a.cta-button:visited,
.on-dark a.cta-button-large, .on-dark a.cta-button-large:visited,
.sidebar-cred-card a.cta-button, .sidebar-cred-card a.cta-button:visited {
  color: inherit;
  text-decoration: none;
}

.cta-section a.btn-primary,
.case-study a.btn-primary,
.hero a.btn-primary,
.cta-banner a.btn-primary,
.final-cta a.btn-primary,
.cta-box a.btn-primary,
.cta-section a.btn-primary:visited,
.case-study a.btn-primary:visited,
.hero a.btn-primary:visited,
.cta-banner a.btn-primary:visited,
.final-cta a.btn-primary:visited,
.cta-box a.btn-primary:visited,
.cta-section a.btn-gold,
.case-study a.btn-gold,
.hero a.btn-gold,
.cta-section a.btn-gold:visited,
.case-study a.btn-gold:visited,
.hero a.btn-gold:visited,
.cta-section a.cta-button,
.case-study a.cta-button,
.hero a.cta-button,
.cta-section a.cta-button:visited,
.case-study a.cta-button:visited,
.hero a.cta-button:visited {
  color: #1D3557;
}

/* .cta-btn and .btn-amber now use the standard gold background (2026-06-11
   amber retirement) — navy text per SOP, never white-on-gold. */
.hero a.cta-btn,
.hero a.cta-btn:link,
.hero a.cta-btn:visited,
.hero a.cta-btn:hover,
.hero a.cta-btn:active,
.hero a.cta-btn:focus,
.hero a.btn-amber,
.hero a.btn-amber:link,
.hero a.btn-amber:visited,
.hero a.btn-amber:hover,
.hero a.btn-amber:active,
.hero a.btn-amber:focus {
  color: #1D3557 !important;
  text-decoration: none !important;
}

/* Gold-button text escape for ALL dark containers (2026-06-11): .btn-primary,
   .nav-cta and .btn-amber are gold-background buttons sitewide — force navy
   text and no underline so the dark-container gold-link rule above never
   produces gold-on-gold or underlined buttons. */
.about-hero a.btn-primary, .about-hero a.btn-primary:link, .about-hero a.btn-primary:visited, .about-hero a.btn-primary:hover, .about-hero a.btn-primary:active,
.article-hero a.btn-primary, .article-hero a.btn-primary:link, .article-hero a.btn-primary:visited, .article-hero a.btn-primary:hover, .article-hero a.btn-primary:active,
.sidebar-cta a.btn-primary, .sidebar-cta a.btn-primary:link, .sidebar-cta a.btn-primary:visited, .sidebar-cta a.btn-primary:hover, .sidebar-cta a.btn-primary:active,
.cta-section a.btn-primary:hover, .cta-section a.btn-primary:active,
.cta-banner a.btn-primary:hover, .cta-banner a.btn-primary:active,
.final-cta a.btn-primary:hover, .final-cta a.btn-primary:active,
.cta-box a.btn-primary:hover, .cta-box a.btn-primary:active,
.hero a.btn-primary:hover, .hero a.btn-primary:active,
footer a.btn-primary, footer a.btn-primary:link, footer a.btn-primary:visited, footer a.btn-primary:hover, footer a.btn-primary:active,
.site-footer a.btn-primary, .site-footer a.btn-primary:link, .site-footer a.btn-primary:visited, .site-footer a.btn-primary:hover, .site-footer a.btn-primary:active,
.testimonials a.btn-primary, .testimonials a.btn-primary:link, .testimonials a.btn-primary:visited, .testimonials a.btn-primary:hover, .testimonials a.btn-primary:active,
.on-dark a.btn-primary, .on-dark a.btn-primary:link, .on-dark a.btn-primary:visited, .on-dark a.btn-primary:hover, .on-dark a.btn-primary:active,
.site-nav a.nav-cta, .site-nav a.nav-cta:link, .site-nav a.nav-cta:visited, .site-nav a.nav-cta:hover, .site-nav a.nav-cta:active,
.topbar a.nav-cta, .topbar a.nav-cta:link, .topbar a.nav-cta:visited, .topbar a.nav-cta:hover, .topbar a.nav-cta:active,
.on-dark a.btn-amber, .on-dark a.btn-amber:link, .on-dark a.btn-amber:visited, .on-dark a.btn-amber:hover, .on-dark a.btn-amber:active,
.cta-section a.btn-amber, .cta-section a.btn-amber:link, .cta-section a.btn-amber:visited, .cta-section a.btn-amber:hover, .cta-section a.btn-amber:active,
.final-cta a.btn-amber, .final-cta a.btn-amber:link, .final-cta a.btn-amber:visited, .final-cta a.btn-amber:hover, .final-cta a.btn-amber:active {
  color: #1D3557;
  text-decoration: none;
}

.cta-section a.btn-outline,
.case-study a.btn-outline,
.hero a.btn-outline,
.cta-section a.btn-outline:visited,
.case-study a.btn-outline:visited,
.hero a.btn-outline:visited {
  color: #fff;
}
