/* Cross-generation public page title audit. */
body main :is(h1, h2, h3, h4, h5, h6, [role="heading"]) {
  color: #000000 !important;
}

/* Keep white titles where the page intentionally places text over a dark surface. */
body main :is(
  .hero,
  .home-hero,
  .sub-hero,
  .sv2-hero,
  .about-hero,
  .about-landing__hero,
  .about-subhero,
  .about-timeline,
  .about-editorial__timeline,
  .outcomes-hero,
  .contact-hero,
  .contact-hero-design,
  .csr-hero,
  .intro-panel,
  .contact-band,
  .dark-section,
  .cta,
  .metrics,
  .solution.county,
  .news-card,
  .scene-chapter,
  .home-business-scene,
  .project-case,
  .case-detail__hero,
  .home-torch-hero
) :is(h1, h2, h3, h4, h5, h6, [role="heading"]) {
  color: #ffffff !important;
}

/* The profile subhero sits on a light paper surface, so its heading must stay black. */
body main.about-profile-page .about-subhero .about-subhero__copy h1 {
  color: #000000 !important;
}

body :is(.site-footer, .about-footer, .footer) :is(h1, h2, h3, h4, h5, h6, [role="heading"]) {
  color: #ffffff !important;
}
