/**
 * Text on the brand red (#E11B22) must be solid white: white reaches 4.8:1
 * there, while the translucent tones (60-90 % white) fall to 2.4-4.1:1 and
 * fail WCAG 1.4.3. Backgrounds, borders and the dark scheme keep their tokens.
 */
[class*="bg-primary"] :is(p, li, .description, .subtitle) {
  color: var(--white) !important;
}

/**
 * Small brand-red text on the light grey card background (#F5F5F5) reaches only
 * 4.4:1 (WCAG 1.4.3 needs 4.5:1). A slightly deeper red (#D0171D, 5.0:1) keeps
 * the brand look. The dark scheme already switches these labels to white.
 */
:where(html:not([data-theme="dark"])) :is(.link--two-columns-link-item, .link--one-columns-link-item) .eyebrow {
  color: #d0171d !important;
}
