/*
 * Dark-mode readability fixes for the legal pages (Cookies, Terms & Conditions,
 * Privacy Policy). These pages use light "info card" components (.contact-info-box,
 * .cookie-consent-box via Bootstrap's .bg-light) that are always light-background —
 * but their heading/paragraph/label text inherits the page's dark-theme (white) text
 * color, making it unreadable on the light card. This forces those cards' text back
 * to a dark, readable color whenever the site is in dark mode.
 */

html.theme-dark .contact-info-box h4,
html.theme-dark .contact-info-box p,
html.theme-dark .contact-info-box strong,
html.theme-dark .cookie-consent-box h4,
html.theme-dark .cookie-consent-box p,
html.theme-dark .cookie-consent-box .form-check-label {
    color: #1f2937 !important;
}

/* Plain links in legal-page body copy (e.g. browser cookie-settings links) render
   as near-black on the dark theme's black page background — lighten them. */
html.theme-dark .terms-of-service-content a {
    color: #7fb2ff;
}

html.theme-dark .terms-of-service-content a:hover {
    color: #a9cbff;
}
