
/* ============================================================
   FORCE LIGHT MODE — preserve hand-crafted festive palette
   regardless of user's OS dark mode preference
   ============================================================ */

:root {
  color-scheme: light;
}

/* Restore all dark-mode-flipped vars back to light values */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #fdf8f0 !important;
    --warm-gray: #f5f0eb !important;
    --dark: #1a1a2e !important;
    --text: #2c3e50 !important;
    --text-light: #5a6c7d !important;
    --white: #ffffff !important;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06) !important;
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08) !important;
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12) !important;
  }

  body {
    background: #ffffff !important;
    color: #1a1a1a !important;
  }

  /* Hero hardcoded white text (it lives on a dark gradient) */
  .hero h1, .hero p, .hero-stat-num, .hero-stat-label, .hero-badge,
  .hero-cta-secondary, .hero-stat,
  .cta-banner h2, .cta-banner p,
  .editorial-feature-text h2, .editorial-feature-text p, .editorial-feature-text,
  .editorial-feature-eyebrow, .editorial-feature-includes span,
  .editorial-feature-price, .editorial-feature-price-strike,
  .countdown-bar, .countdown-bar-text, .countdown-bar-num,
  .teaser-bar, .teaser-bar-text, .teaser-bar-num,
  .sister-link h3, .sister-link p,
  .sticky-cta, .sticky-cta-text, .sticky-cta-text strong,
  .footer-brand h3, .footer-brand p,
  .footer-links h4, .footer-links a, .footer-links li,
  .site-footer, .footer-bottom, .footer-bottom span, .footer-bottom a,
  .testimonial-eyebrow {
    color: inherit;
  }

  /* Cards must stay white on white-page-bg */
  .card, .pack-mini, .quick-answer, .questions-box, .q-item,
  .testimonial-ribbon, .trust-strip, .howto, .quiz-widget,
  .toc, .fact-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
  }
  .quick-answer { background: linear-gradient(135deg, #fdf8f0, #ffffff) !important; }
  .testimonial-ribbon { background: linear-gradient(180deg, #fdf8f0 0%, #ffffff 100%) !important; }
  .questions-box { background: #f5f0eb !important; }
  .q-item { background: #ffffff !important; }
  .toc { background: #fdf8f0 !important; }
  .quiz-option { background: #f5f0eb !important; color: #1a1a1a !important; }
  .quiz-option:hover { background: #fdf0ee !important; }
  details p { background: #fdf8f0 !important; }
  .tag { background: #f5f0eb !important; color: #1a1a1a !important; }
  .site-header { background: #ffffff !important; }
  .site-nav a { color: #1a1a1a !important; }

  /* Card text colors */
  .card p { color: #3a3a3a !important; }
  .card h3, .card h3 a { color: #1a1a1a !important; }
  .pack-mini-title, .testimonial-cite-name { color: #1a1a1a !important; }
  .testimonial p { color: #1a1a1a !important; }
  .testimonial-cite-role { color: #5a5a5a !important; }
  .article-content p, .quick-answer, .howto li { color: #1a1a1a !important; }

  /* Restore image opacity to full */
  img { opacity: 1 !important; }
}
