From c20883cb4f4bca235fcecb9445db64e9bb428325 Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Wed, 1 Jul 2026 14:50:42 +0700 Subject: [PATCH] fix: override .page-section white text in legal pages via global.css Astro scoped CSS cannot override global rules. Added overrides in global.css for .legal-section, .legal-rail, .legal-content. --- src/styles/global.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 572a638..b496165 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -2761,3 +2761,26 @@ filter: none; } } + +/* ── Legal Pages: override .page-section white text ──────────── */ +.legal-section p, +.legal-section li, +.legal-section em, +.legal-section strong, +.legal-section h2, +.legal-section h3, +.legal-rail p, +.legal-rail li, +.legal-rail h2, +.legal-content p, +.legal-content li, +.legal-content em, +.legal-content strong, +.legal-content h2, +.legal-content h3 { + color: var(--ink) !important; +} + +.legal-section a { + color: var(--red) !important; +}