/* ============================================
   REGEN EQUINE RL -- LIGHT MODE OVERRIDES
   Activated via: html[data-theme="light"]
   ============================================ */

html[data-theme="light"] {
  --dark:        #faf6ef;
  --dark2:       #f0ebe0;
  --dark3:       #e8e0d0;
  --dark4:       #e0d8c5;
  --cream:       #1c1710;
  --cream-dim:   rgba(28,23,16,0.62);
  --muted:       #6a5a3a;
  --gold:        #9a7218;
  --gold-light:  #b8921a;
  --gold-pale:   rgba(154,114,24,0.09);
  --gold-glow:   rgba(154,114,24,0.18);
  --border-gold: rgba(154,114,24,0.22);
  --border-red:  rgba(192,57,43,0.18);
}

/* ── BODY & BASE ── */
html[data-theme="light"] body { background: #faf6ef !important; color: #1c1710 !important; }

/* ── NAV ── */
html[data-theme="light"] nav { background: rgba(250,246,239,0.97) !important; border-bottom-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .nav-links a { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active { color: var(--gold) !important; }
html[data-theme="light"] .nav-btn { border-color: var(--gold) !important; color: var(--gold) !important; }
html[data-theme="light"] .nav-btn:hover { background: var(--gold) !important; color: #faf6ef !important; }
html[data-theme="light"] .nav-hamburger span { background: #1c1710 !important; }
html[data-theme="light"] .nav-drawer { background: rgba(250,246,239,0.99) !important; }
html[data-theme="light"] .nav-drawer a { color: #1c1710 !important; }

/* ── HERO ── */
html[data-theme="light"] .hero {
  background: linear-gradient(145deg, #f5ede0 0%, #eeddd0 30%, #f0e8dc 65%, #faf6ef 100%) !important;
}
html[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse at 20% 60%, rgba(192,57,43,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(154,114,24,0.07) 0%, transparent 50%) !important;
}
html[data-theme="light"] .hero-desc { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .hero-trust { border-top-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .trust-label { color: rgba(28,23,16,0.4) !important; }

/* ── HERO CARD ── */
html[data-theme="light"] .hero-card { background: #fff !important; border-color: rgba(154,114,24,0.22) !important; }
html[data-theme="light"] .credential-list li { color: rgba(28,23,16,0.7) !important; }
html[data-theme="light"] .card-divider { background: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .card-quote { color: rgba(28,23,16,0.5) !important; }

/* ── PAGE HEADERS ── */
html[data-theme="light"] .page-header {
  background: linear-gradient(145deg, #f5ede0 0%, #eeddd0 30%, #f0e8dc 65%, #faf6ef 100%) !important;
}
html[data-theme="light"] .page-header::before {
  background:
    radial-gradient(ellipse at 15% 80%, rgba(192,57,43,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(154,114,24,0.06) 0%, transparent 50%) !important;
}
html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .breadcrumb a { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .page-header p { color: rgba(28,23,16,0.62) !important; }
html[data-theme="light"] .eyebrow { color: var(--gold) !important; }
html[data-theme="light"] .header-desc { color: rgba(28,23,16,0.62) !important; }
html[data-theme="light"] .meta-item { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .meta-item strong { color: rgba(28,23,16,0.65) !important; }

/* ── HEADINGS ── */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4 { color: #1c1710 !important; }

/* ── BLOG/ARTICLE PAGES (use --dark as text color, not background) ── */
html[data-theme="light"] .category-list a { color: #1c1710 !important; }
html[data-theme="light"] .widget-title { color: #1c1710 !important; }
html[data-theme="light"] .recent-post h4 a { color: #1c1710 !important; }
html[data-theme="light"] .filter-btn.active,
html[data-theme="light"] .filter-btn:hover { background: rgba(28,23,16,0.1) !important; color: #1c1710 !important; border-color: rgba(28,23,16,0.3) !important; }
html[data-theme="light"] .cta-widget { background: #f0ebe0 !important; }
html[data-theme="light"] .cta-widget h3 { color: #1c1710 !important; }
html[data-theme="light"] .cta-widget p { color: rgba(28,23,16,0.6) !important; }

/* ── MARQUEE ── */
html[data-theme="light"] .marquee-wrap { background: linear-gradient(to right, #a01828, #c0392b, #a01828) !important; }

/* ── SCIENCE / DARK SECTIONS ── */
html[data-theme="light"] .science { background: #f0ebe0 !important; }
html[data-theme="light"] .section-sub { color: rgba(28,23,16,0.55) !important; }
html[data-theme="light"] .science-visual,
html[data-theme="light"] .wave-diagram { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .science-point p,
html[data-theme="light"] .sci-desc,
html[data-theme="light"] .sci-text p { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .wl-desc { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .wavelength-bar-bg { background: rgba(154,114,24,0.1) !important; }
html[data-theme="light"] .res-intro { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .res-studies p { color: rgba(28,23,16,0.65) !important; }

/* ── SERVICES ── */
html[data-theme="light"] .service-card,
html[data-theme="light"] .svc { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .service-desc,
html[data-theme="light"] .svc p { color: rgba(28,23,16,0.6) !important; }

/* ── PROCESS ── */
html[data-theme="light"] .process { background: #faf6ef !important; }
html[data-theme="light"] .process-steps { background: rgba(154,114,24,0.15) !important; }
html[data-theme="light"] .process-step,
html[data-theme="light"] .pstep { background: #f0ebe0 !important; }
html[data-theme="light"] .step-desc,
html[data-theme="light"] .pstep p { color: rgba(28,23,16,0.6) !important; }

/* ── DEVICE SECTION ── */
html[data-theme="light"] .device { background: #f0ebe0 !important; }
html[data-theme="light"] .device-copy p { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .wave-note { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .spec-item { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .spec-label { color: rgba(28,23,16,0.55) !important; }
html[data-theme="light"] .spec-value { color: #1c1710 !important; }
html[data-theme="light"] .device-note { color: rgba(28,23,16,0.55) !important; background: rgba(154,114,24,0.07) !important; }
html[data-theme="light"] .device-specs { border-color: rgba(154,114,24,0.25) !important; }
html[data-theme="light"] .spec-row { border-color: rgba(154,114,24,0.18) !important; }

/* ── TESTIMONIALS ── */
html[data-theme="light"] .testi { background: #faf6ef !important; }
html[data-theme="light"] .testi-strip { background: #f0ebe0 !important; }
html[data-theme="light"] .stats-row { background: #f0ebe0 !important; border-bottom-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .tcard,
html[data-theme="light"] .t-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .tcard blockquote { color: rgba(28,23,16,0.72) !important; }
html[data-theme="light"] .tcard-name { color: #1c1710 !important; }
html[data-theme="light"] .tcard-date { color: var(--gold) !important; }
html[data-theme="light"] .tcard-tag { color: rgba(28,23,16,0.55) !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .tcard-quote,
html[data-theme="light"] .t-quote { color: rgba(28,23,16,0.7) !important; }
html[data-theme="light"] .tcard-detail,
html[data-theme="light"] .t-detail { color: rgba(28,23,16,0.35) !important; }
html[data-theme="light"] .stat-label { color: rgba(28,23,16,0.42) !important; }
html[data-theme="light"] .section-head h2 { color: #1c1710 !important; }

/* ── FAQ ── */
html[data-theme="light"] .faq-item { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .faq-a { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .faq-q { color: #1c1710 !important; }

/* ── CTA BAND ── */
html[data-theme="light"] .cta-band {
  background: linear-gradient(135deg, #f0ddd0 0%, #ead5c5 45%, #f0ddd0 100%) !important;
  border-top-color: rgba(192,57,43,0.15) !important;
}
html[data-theme="light"] .cta-band p { color: rgba(28,23,16,0.55) !important; }

/* ── CONTACT ── */
html[data-theme="light"] .contact { background: #f0ebe0 !important; }
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .form-input { background: #fff !important; border-color: rgba(154,114,24,0.25) !important; color: #1c1710 !important; }
html[data-theme="light"] .contact-detail { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .contact-item p,
html[data-theme="light"] .contact-item a { color: rgba(28,23,16,0.55) !important; }

/* ── STATS BAND ── */
html[data-theme="light"] .stats-band { background: #f0ebe0 !important; }
html[data-theme="light"] .stat-label { color: rgba(28,23,16,0.4) !important; }

/* ── ABOUT PAGE ── */
html[data-theme="light"] .hero-card-body,
html[data-theme="light"] .hero-card { background: #fff !important; }
html[data-theme="light"] .hero-card-photo { background: #f0ebe0 !important; }
html[data-theme="light"] .photo-label { color: rgba(28,23,16,0.45) !important; }
html[data-theme="light"] .card-name { color: #1c1710 !important; }
html[data-theme="light"] .card-tag { color: rgba(28,23,16,0.65) !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .btn-outline { color: rgba(28,23,16,0.65) !important; border-color: rgba(28,23,16,0.18) !important; }
html[data-theme="light"] .card-facts li { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .prose p { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .prose p strong { color: #1c1710 !important; }
html[data-theme="light"] .pull { background: rgba(154,114,24,0.05) !important; }
html[data-theme="light"] .pull p { color: rgba(28,23,16,0.78) !important; }
html[data-theme="light"] .value-card,
html[data-theme="light"] .why-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .value-text,
html[data-theme="light"] .why-text { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .wave-section { background: #f0ebe0 !important; border-top-color: rgba(154,114,24,0.2) !important; border-bottom-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .wave-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .wave-card-label { color: rgba(28,23,16,0.5) !important; }
html[data-theme="light"] .wave-card h3 { color: #1c1710 !important; }
html[data-theme="light"] .wave-card p { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .depth-label,
html[data-theme="light"] .depth-label b,
html[data-theme="light"] .d-depth-line { color: rgba(28,23,16,0.5) !important; }
html[data-theme="light"] .d-depth-line { border-top-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .values-lead { color: rgba(28,23,16,0.62) !important; }
html[data-theme="light"] .area-text p { color: rgba(28,23,16,0.62) !important; }
html[data-theme="light"] .btn-ghost { color: rgba(28,23,16,0.55) !important; }
html[data-theme="light"] .footer-logo { color: #1c1710 !important; }
.staff-login { color: rgba(250,246,239,0.45); font-size: 0.72rem; text-decoration: none; font-family: sans-serif; letter-spacing: 0.06em; transition: color 0.2s; }
.staff-login:hover { color: rgba(250,246,239,0.75); }
html[data-theme="light"] .staff-login { color: rgba(28,23,16,0.34) !important; }
html[data-theme="light"] .staff-login:hover { color: var(--gold) !important; }
html[data-theme="light"] .mission-band {
  background: linear-gradient(135deg, #f0ddd0 0%, #ead5c5 40%, #f0ddd0 100%) !important;
  border-top-color: rgba(192,57,43,0.12) !important;
  border-bottom-color: rgba(192,57,43,0.12) !important;
}
html[data-theme="light"] .mission-inner p { color: rgba(28,23,16,0.75) !important; }
html[data-theme="light"] .area-map { background: #f0ebe0 !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .area-tag { color: rgba(28,23,16,0.5) !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .area-tag.highlight { color: var(--gold) !important; }
html[data-theme="light"] .sidebar-block { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .sidebar-block-head { background: rgba(154,114,24,0.05) !important; border-bottom-color: rgba(154,114,24,0.15) !important; }
html[data-theme="light"] .fact-key { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .fact-val { color: #1c1710 !important; }
html[data-theme="light"] .cred-note-box { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .trust-badge { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .sidebar-cta {
  background: linear-gradient(135deg, #f0ddd0 0%, #ead5c5 100%) !important;
  border-color: rgba(192,57,43,0.15) !important;
}
html[data-theme="light"] .sidebar-cta p { color: rgba(28,23,16,0.55) !important; }

/* ── SHOP ── */
html[data-theme="light"] .page-header.shop-header { background: linear-gradient(145deg,#f5ede0,#eeddd0,#f0e8dc,#faf6ef) !important; }
html[data-theme="light"] .product-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .product-img { background: linear-gradient(135deg, #f0ebe0, #e8ddd0) !important; }
html[data-theme="light"] .product-name { color: #1c1710 !important; }
html[data-theme="light"] .price-cad { color: #1c1710 !important; }
html[data-theme="light"] .price-usd { color: #1c1710 !important; }
html[data-theme="light"] .currency-bar { background: #f0ebe0 !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .filter-bar { background: #f0ebe0 !important; border-color: rgba(154,114,24,0.15) !important; }
html[data-theme="light"] .filter-btn { color: rgba(28,23,16,0.55) !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .filter-btn.active,
html[data-theme="light"] .filter-btn:hover { color: var(--gold) !important; border-color: var(--gold) !important; }
html[data-theme="light"] .diff-banner { background: linear-gradient(135deg, #f0ddd0, #ead5c5) !important; }
html[data-theme="light"] .diff-banner p { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .services-cta { background: linear-gradient(135deg, #f0ddd0, #ead5c5) !important; }
html[data-theme="light"] .services-cta p { color: rgba(28,23,16,0.55) !important; }

/* ── FAQ PAGE ── */
html[data-theme="light"] .faq-layout { background: #faf6ef !important; }
html[data-theme="light"] .faq-sidebar { background: #f0ebe0 !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .faq-section { background: #fff !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .sidebar-label { color: rgba(28,23,16,0.55) !important; }
html[data-theme="light"] .sidebar-nav a { color: rgba(28,23,16,0.62) !important; background: rgba(154,114,24,0.04) !important; border-color: rgba(154,114,24,0.08) !important; }
html[data-theme="light"] .sidebar-nav a:hover { color: var(--gold) !important; background: rgba(154,114,24,0.08) !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .faq-a li { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .faq-cta { background: linear-gradient(135deg, #f0ddd0, #ead5c5) !important; }
html[data-theme="light"] .faq-cta p { color: rgba(28,23,16,0.55) !important; }
html[data-theme="light"] .condition-row { background: #fff !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .conditions-intro { color: rgba(28,23,16,0.68) !important; }
html[data-theme="light"] .condition-desc,
html[data-theme="light"] .condition-products { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .condition-products strong { color: #1c1710 !important; }
html[data-theme="light"] .disclaimer p { color: rgba(28,23,16,0.48) !important; }
html[data-theme="light"] footer p { color: rgba(28,23,16,0.58) !important; }
html[data-theme="light"] .staff-login { color: rgba(28,23,16,0.34) !important; }
html[data-theme="light"] .staff-login:hover { color: var(--gold) !important; }

/* ── GUIDE PAGE ── */
html[data-theme="light"] .guide-article p { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .guide-article { background: #faf6ef !important; }
html[data-theme="light"] .guide-sidebar { background: transparent !important; }
html[data-theme="light"] .callout { background: rgba(154,114,24,0.06) !important; }
html[data-theme="light"] .callout.red { background: rgba(192,57,43,0.05) !important; }
html[data-theme="light"] .callout p { color: rgba(28,23,16,0.7) !important; }
html[data-theme="light"] .guide-table td { color: rgba(28,23,16,0.65) !important; border-color: rgba(154,114,24,0.1) !important; }
html[data-theme="light"] .guide-table th { color: #1c1710 !important; border-color: rgba(154,114,24,0.14) !important; }
html[data-theme="light"] .wl-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .wl-desc { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .cond-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .cond-desc { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .step-text { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .toc-block,
html[data-theme="light"] .wl-ref,
html[data-theme="light"] .expect-widget,
html[data-theme="light"] .key-stats,
html[data-theme="light"] .product-widget,
html[data-theme="light"] .related-widget,
html[data-theme="light"] .testi-widget { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .toc-head,
html[data-theme="light"] .wl-ref-head,
html[data-theme="light"] .expect-head,
html[data-theme="light"] .widget-head,
html[data-theme="light"] .related-head { background: rgba(154,114,24,0.05) !important; border-color: rgba(154,114,24,0.15) !important; }
html[data-theme="light"] .toc-list li a { color: rgba(28,23,16,0.5) !important; }
html[data-theme="light"] .toc-list li a:hover { color: var(--gold) !important; background: rgba(154,114,24,0.06) !important; border-left-color: var(--gold) !important; }
html[data-theme="light"] .wl-ref-name { color: rgba(28,23,16,0.42) !important; }
html[data-theme="light"] .wl-ref-use { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .expect-text { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .expect-week { background: rgba(154,114,24,0.08) !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .key-stat-label { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .key-stat-val { color: #1c1710 !important; }
html[data-theme="light"] .wp-name { color: #1c1710 !important; }
html[data-theme="light"] .related-title { color: rgba(28,23,16,0.7) !important; }
html[data-theme="light"] .testi-widget-quote { color: rgba(28,23,16,0.7) !important; }
html[data-theme="light"] .testi-widget-name { color: #1c1710 !important; }
html[data-theme="light"] .testi-widget-detail { color: rgba(28,23,16,0.48) !important; }
html[data-theme="light"] .header-card { background: rgba(250,246,239,0.92) !important; border-color: rgba(154,114,24,0.22) !important; }
html[data-theme="light"] .header-card-top { background: rgba(154,114,24,0.06) !important; }
html[data-theme="light"] .header-card-top-title { color: #1c1710 !important; }
html[data-theme="light"] .hc-label { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .hc-val { color: #1c1710 !important; }
html[data-theme="light"] .hc-topic { color: rgba(28,23,16,0.5) !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .ref-list li { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .gfaq-q { color: #1c1710 !important; }
html[data-theme="light"] .gfaq-a { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .gfaq-item { border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .depth-vis { background: #f0ebe0 !important; }
html[data-theme="light"] .sidebar-cta { background: linear-gradient(135deg, #f0ddd0 0%, #ead5c5 100%) !important; border-color: rgba(192,57,43,0.15) !important; }
html[data-theme="light"] .sidebar-cta h3 { color: #1c1710 !important; }
html[data-theme="light"] .sidebar-cta p { color: rgba(28,23,16,0.58) !important; }

/* ── BLOG PAGES ── */
html[data-theme="light"] .featured-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .post-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .post-card-body p { color: rgba(28,23,16,0.6) !important; }
html[data-theme="light"] .post-card-meta { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .sidebar-widget { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .article-body p { color: rgba(28,23,16,0.65) !important; }
html[data-theme="light"] .article-body h2,
html[data-theme="light"] .article-body h3 { color: #1c1710 !important; }
html[data-theme="light"] .article-sidebar { background: #f0ebe0 !important; }
html[data-theme="light"] .article-header {
  background: linear-gradient(145deg, #f5ede0 0%, #eeddd0 30%, #f0e8dc 65%, #faf6ef 100%) !important;
}
html[data-theme="light"] .article-content { background: #faf6ef !important; }
html[data-theme="light"] .research-box { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .protocol-table td { color: rgba(28,23,16,0.65) !important; border-color: rgba(154,114,24,0.1) !important; }
html[data-theme="light"] .post-nav-card { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }

/* ── TESTIMONIALS PAGE ── */
html[data-theme="light"] .featured-testi { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .featured-story { background: #fff !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .featured-label { background: rgba(154,114,24,0.05) !important; border-bottom-color: rgba(154,114,24,0.15) !important; }
html[data-theme="light"] .featured-body blockquote { color: rgba(28,23,16,0.75) !important; }
html[data-theme="light"] .featured-body p { color: rgba(28,23,16,0.55) !important; }
html[data-theme="light"] .featured-name { color: #1c1710 !important; }
html[data-theme="light"] .ftag { color: rgba(28,23,16,0.55) !important; border-color: rgba(154,114,24,0.18) !important; }
html[data-theme="light"] .why-section { background: #f0ebe0 !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .why-section h2,
html[data-theme="light"] .why-text h4 { color: #1c1710 !important; }
html[data-theme="light"] .why-text p { color: rgba(28,23,16,0.55) !important; }
html[data-theme="light"] .testi-cta { background: linear-gradient(135deg, #f0ddd0, #ead5c5) !important; }
html[data-theme="light"] .testi-cta p { color: rgba(28,23,16,0.58) !important; }
html[data-theme="light"] .btn-outline { color: rgba(28,23,16,0.62) !important; border-color: rgba(28,23,16,0.18) !important; }

/* ── FOOTER ── */
html[data-theme="light"] footer { background: #f0ebe0 !important; border-top-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .footer-copy { color: rgba(28,23,16,0.3) !important; }
html[data-theme="light"] .footer-links a { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .disclaimer { background: #f0ebe0 !important; color: rgba(28,23,16,0.3) !important; }

/* ── AI CHAT PANEL ── */
html[data-theme="light"] .ai-chat-panel { background: #faf6ef !important; border-color: rgba(154,114,24,0.22) !important; }
html[data-theme="light"] .chat-messages { background: #faf6ef !important; }
html[data-theme="light"] .chat-msg.bot .msg-bubble { background: rgba(154,114,24,0.08) !important; color: rgba(28,23,16,0.8) !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .chat-input { background: rgba(0,0,0,0.04) !important; color: #1c1710 !important; border-color: rgba(154,114,24,0.2) !important; }
html[data-theme="light"] .chat-input-row { background: rgba(250,246,239,0.9) !important; border-top-color: rgba(154,114,24,0.15) !important; }
html[data-theme="light"] .quick-btn { color: rgba(28,23,16,0.6) !important; border-color: rgba(154,114,24,0.28) !important; }
html[data-theme="light"] .chat-close { color: rgba(28,23,16,0.4) !important; }
html[data-theme="light"] .chat-disc { color: rgba(28,23,16,0.25) !important; border-top-color: rgba(28,23,16,0.06) !important; }

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  background: none; border: 1px solid var(--border-gold);
  color: rgba(250,246,239,0.55); cursor: pointer;
  padding: 0.38rem 0.6rem; font-size: 1rem; line-height: 1;
  transition: all 0.2s; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
html[data-theme="light"] .theme-toggle { color: rgba(28,23,16,0.5); border-color: rgba(154,114,24,0.3); }
html[data-theme="light"] .theme-toggle:hover { color: var(--gold); }

/* ── GLOBAL TEXT ELEMENT CLEANUP (both themes) ── */
p, span, h1, h2, h3, h4, h5, h6, li, label, td, th {
  box-shadow: none !important;
  outline: none;
}
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] li,
html[data-theme="light"] label { background: transparent !important; }

/* ── PLACEHOLDERS ── */
html[data-theme="light"] ::placeholder { color: rgba(28,23,16,0.35) !important; }
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder { color: rgba(28,23,16,0.35) !important; }

/* ── BLOG / ARTICLE PAGES: fix white-text elements ── */
/* Nav logo (blog pages use .logo with color:#fff) */
html[data-theme="light"] .logo { color: #1c1710 !important; }
html[data-theme="light"] .logo em { color: var(--red) !important; }

/* Article header (dark bg becomes white, h1 stays white without this) */
html[data-theme="light"] .article-header { background: #e8e0d0 !important; }
html[data-theme="light"] .article-header h1 { color: #1c1710 !important; }

/* Phase / timeline blocks */
html[data-theme="light"] .phase-header { background: #e0d8c8 !important; }
html[data-theme="light"] .phase-title { color: #1c1710 !important; }

/* Wave / data tables */
html[data-theme="light"] .wave-table th { background: #e0d8c8 !important; color: #1c1710 !important; }

/* Post nav & related posts */
html[data-theme="light"] .post-nav a { color: #1c1710 !important; border-color: rgba(28,23,16,0.15) !important; }
html[data-theme="light"] .related-post h4 a { color: #1c1710 !important; }

/* Sidebar CTA widget (dark bg, white heading) */
html[data-theme="light"] .cta-widget { background: #e8e0d0 !important; }

/* Any remaining element using var(--dark) as text color */
html[data-theme="light"] a[style*="color"],
html[data-theme="light"] .article-body a:not([class]) { color: var(--red) !important; }

/* Catch-all: any var(--dark) text in article/blog content */
html[data-theme="light"] .article-body h2,
html[data-theme="light"] .article-body h3,
html[data-theme="light"] .article-body h4,
html[data-theme="light"] .widget-title,
html[data-theme="light"] .post-nav-title { color: #1c1710 !important; }
