/* s4-dark-text-contrast: force light text on dark page backgrounds */
:root {
  --color-text: #f5f5f5;
  --s4-text-on-dark: #f5f5f5;
  --s4-heading-on-dark: #ffffff;
}
html {
  --color-text: #f5f5f5;
}
body {
  color: #f5f5f5 !important;
}
/* Body copy + content wells */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
article,
article p,
article li,
aside,
aside p,
.dynamic-injection-container,
.dynamic-injection-container p,
main p,
main li,
.intro-showcase p,
.header-box p {
  color: #f5f5f5;
}
/* Headings on dark page content (NOT cookie/consent light panels) */
main h1, main h2, main h3, main h4, main h5, main h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
article h1, article h2, article h3, article h4, article h5, article h6,
aside h1, aside h2, aside h3, aside h4, aside h5, aside h6,
.intro-showcase h1, .intro-showcase h2, .intro-showcase h3,
.header-box h1, .header-box h2, .header-box h3,
.dynamic-injection-container h1, .dynamic-injection-container h2, .dynamic-injection-container h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-image: none !important;
  background-color: transparent !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}
/* Restore readable dark text inside light cookie/consent panels */
.consent-plate,
.consent-plate *,
[class*="cookie-notice"],
[class*="cookie-notice"] *,
.cookie-banner,
.cookie-banner * {
  -webkit-text-fill-color: unset;
}
.consent-plate :is(h1,h2,h3,h4,h5,h6),
[class*="cookie-notice"] :is(h1,h2,h3,h4,h5,h6) {
  color: #0b1c24 !important;
  -webkit-text-fill-color: #0b1c24 !important;
  background: none !important;
}
/* GEO / showcase fine print */
[class*="tc-"] [class*="term"],
[class*="tc-"] [class*="Term"],
.tc-s1-card__terms,
.tc-offer-terms,
.tc-s1-terms,
.tc-terms,
.tc-s1-bn-terms {
  color: #d6d6d6 !important;
}
