/* ═══════════════════════════════════════════════════════════════
   PROLIFIC LIFE CHRISTIAN MINISTRIES — Dark / Light Mode System
   /assets/css/darkmode.css   (loaded after style.css)
   ═══════════════════════════════════════════════════════════════ */

/* ── LIGHT-MODE VARIABLE OVERRIDES ─────────────────────────── */
[data-theme="light"] {
  --navy:        #f5f0e8;
  --navy-mid:    #ebe3d0;
  --gold:        #b8791a;
  --gold-light:  #c8892a;
  --gold-pale:   #f0d9a0;
  --crimson:     #8b1a1a;
  --white:       #ffffff;
  --off-white:   #faf7f2;
  --text-dark:   #0f1c38;
  --text-body:   #2a3550;
  --text-muted:  #6b7280;
  --border:      rgba(184,121,26,0.30);
  --shadow:      0 20px 50px rgba(10,22,40,0.08);

  --bg-page:          #faf7f2;
  --bg-card:          #ffffff;
  --bg-card-alt:      #f4ede0;
  --bg-hero-overlay:  rgba(10,22,40,0.60);
  --bg-topbar:        #0a1628;
  --bg-header:        rgba(250,247,242,0.97);
  --bg-footer:        #0a1628;
  --text-nav-link:    #0f1c38;
  --nav-hover-bg:     rgba(184,121,26,0.12);
  --dropdown-bg:      #ffffff;
  --input-bg:         #ffffff;
  --input-border:     rgba(184,121,26,0.35);
  --table-stripe:     #f4ede0;
  --section-alt-bg:   #ede5d4;
  --badge-bg:         #f0d9a0;
  --badge-text:       #7a4a00;
}

/* ── DARK-MODE SEMANTIC TOKENS ──────────────────────────────── */
:root,
[data-theme="dark"] {
  --bg-page:          #0c1726;
  --bg-card:          #102040;
  --bg-card-alt:      #0e1a30;
  --bg-hero-overlay:  rgba(10,22,40,0.55);
  --bg-topbar:        #0a1628;
  --bg-header:        rgba(10,22,40,0.97);
  --bg-footer:        #0a1628;
  --text-nav-link:    rgba(255,255,255,0.85);
  --nav-hover-bg:     rgba(200,146,42,0.10);
  --dropdown-bg:      #0a1628;
  --input-bg:         #132035;
  --input-border:     rgba(200,146,42,0.30);
  --table-stripe:     rgba(200,146,42,0.06);
  --section-alt-bg:   #0e1e38;
  --badge-bg:         rgba(200,146,42,0.15);
  --badge-text:       #e8b84b;
}

[data-theme="dark"] {
  --text-dark:  #e8dfc8;
  --text-body:  #c8bfaa;
  --text-muted: #8a9ab0;
  --off-white:  #0c1726;
  --border:     rgba(200,146,42,0.20);
}

/* ── APPLY TO ELEMENTS ──────────────────────────────────────── */
body {
  background: var(--bg-page) !important;
  color: var(--text-body) !important;
  transition: background 0.35s ease, color 0.35s ease;
}

/* Header */
header {
  background: var(--bg-header) !important;
  transition: background 0.35s;
}

/* Light nav text */
[data-theme="light"] nav ul li a                { color: var(--text-nav-link) !important; }
[data-theme="light"] nav ul li a:hover,
[data-theme="light"] nav ul li a.active         { color: var(--gold) !important; background: var(--nav-hover-bg) !important; }
[data-theme="light"] nav ul li .dropdown        { background: var(--dropdown-bg) !important; border-color: var(--input-border) !important; box-shadow: 0 12px 40px rgba(0,0,0,0.10) !important; }
[data-theme="light"] nav ul li .dropdown li a   { color: var(--text-nav-link) !important; }
[data-theme="light"] .logo-text .church-name    { color: var(--gold) !important; }
[data-theme="light"] .logo-text .tagline        { color: rgba(0,0,0,0.45) !important; }
[data-theme="light"] header                     { box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important; }

/* Top bar always dark */
.top-bar { background: var(--bg-topbar) !important; }

/* Cards */
.card, .post-card, .event-card, .book-card, .sermon-card,
.program-card, .music-card, .ministry-card, .apostle-card,
.blog-card, .page-card, .give-card, .contact-form,
.subscribe-form, .donate-box, .sidebar-widget,
.related-card, .feature-item, .info-box, .stat-box,
.highlight-box, .content-box {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  transition: background 0.3s, border-color 0.3s;
}

/* Inputs */
input, textarea, select {
  background: var(--input-bg) !important;
  color: var(--text-body) !important;
  border-color: var(--input-border) !important;
}
input::placeholder, textarea::placeholder { color: var(--text-muted) !important; }

/* Tables */
table { border-color: var(--border) !important; }
tr:nth-child(even) { background: var(--table-stripe) !important; }

/* Headings */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h4 { color: var(--text-dark) !important; }
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h4  { color: var(--text-dark) !important; }

/* Footer */
footer { background: var(--bg-footer) !important; }
[data-theme="light"] footer,
[data-theme="light"] footer p { color: rgba(255,255,255,0.80) !important; }
[data-theme="light"] footer a { color: #e8b84b !important; }
[data-theme="light"] footer h4,
[data-theme="light"] footer h5 { color: #e8b84b !important; }

/* Badges / tags */
.badge, .tag, .label-tag, .category-tag {
  background: var(--badge-bg) !important;
  color:      var(--badge-text) !important;
}

/* Section alternates */
[data-theme="light"] .section-alt,
[data-theme="light"] .bg-alt { background: var(--section-alt-bg) !important; }
[data-theme="dark"]  .section-alt,
[data-theme="dark"]  .bg-alt { background: var(--section-alt-bg) !important; }

/* HR */
hr { border-color: var(--border) !important; }

/* Blockquote */
[data-theme="light"] blockquote {
  background:    var(--bg-card-alt) !important;
  border-left:   4px solid var(--gold) !important;
  color:         var(--text-body) !important;
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Global smooth transitions */
*, *::before, *::after {
  transition-property: background-color, border-color, color;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}
button, a, .btn-primary { transition-duration: 0.18s !important; }

/* ── THEME TOGGLE BUTTON ────────────────────────────────────── */
#theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-left: 8px;
}
#theme-toggle:hover { background: rgba(200,146,42,0.15); }

#theme-toggle .icon-sun,
#theme-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.25s, transform 0.35s;
  line-height: 1;
  font-size: 1rem;
}

/* dark: show sun, hide moon */
[data-theme="dark"] #theme-toggle .icon-sun  { opacity: 1; transform: scale(1) rotate(0deg); }
[data-theme="dark"] #theme-toggle .icon-moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }

/* light: hide sun, show moon */
[data-theme="light"] #theme-toggle .icon-sun  { opacity: 0; transform: scale(0.5) rotate(90deg); }
[data-theme="light"] #theme-toggle .icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }

/* default (before JS sets attribute) — treat as dark */
#theme-toggle .icon-sun  { opacity: 1; }
#theme-toggle .icon-moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }

@media (max-width: 768px) {
  #theme-toggle { width: 34px; height: 34px; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════════════════════════
   HARDCODED COLOR OVERRIDES — Light & Dark Mode
   Fixes all inline hex/rgba values not using CSS variables
   ═══════════════════════════════════════════════════════════════ */

/* ── BODY / PAGE ─────────────────────────────────────────────── */
[data-theme="light"] body  { background: #faf7f2 !important; color: #2a3550 !important; }
[data-theme="dark"]  body  { background: #0c1726 !important; color: #c8bfaa !important; }

/* ── HEADINGS ────────────────────────────────────────────────── */
[data-theme="light"] h1,[data-theme="light"] h2,[data-theme="light"] h4 { color: #0f1c38 !important; }
[data-theme="dark"]  h1,[data-theme="dark"]  h2,[data-theme="dark"]  h4 { color: #e8dfc8 !important; }
[data-theme="light"] h3 { color: #b8791a !important; }
[data-theme="dark"]  h3 { color: #e8b84b !important; }

/* ── SECTION TITLE ───────────────────────────────────────────── */
[data-theme="light"] .section-title { color: #0f1c38 !important; }
[data-theme="dark"]  .section-title { color: #e8dfc8 !important; }
[data-theme="light"] .section-title.light { color: #ffffff !important; }

/* ── HEADER ──────────────────────────────────────────────────── */
[data-theme="light"] header { background: rgba(250,247,242,0.97) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important; }
[data-theme="dark"]  header { background: rgba(10,22,40,0.97) !important; }

/* ── NAV ─────────────────────────────────────────────────────── */
[data-theme="light"] nav ul li a { color: #0f1c38 !important; }
[data-theme="light"] nav ul li a:hover,
[data-theme="light"] nav ul li a.active { color: #b8791a !important; background: rgba(184,121,26,0.10) !important; }
[data-theme="light"] nav ul.open { background: #ffffff !important; }
[data-theme="light"] nav ul li .dropdown { background: #ffffff !important; box-shadow: 0 12px 40px rgba(0,0,0,0.10) !important; }
[data-theme="light"] nav ul li .dropdown li a { color: #0f1c38 !important; }
[data-theme="light"] .logo-text .church-name { color: #b8791a !important; }
[data-theme="light"] .logo-text .tagline { color: rgba(0,0,0,0.45) !important; }
[data-theme="dark"]  nav ul li a { color: rgba(255,255,255,0.85) !important; }
[data-theme="dark"]  nav ul.open { background: #0a1628 !important; }
[data-theme="dark"]  nav ul li .dropdown { background: #0a1628 !important; }

/* ── SERVICE CARDS ───────────────────────────────────────────── */
[data-theme="light"] .service-card { background: #ffffff !important; border-color: rgba(184,121,26,0.15) !important; }
[data-theme="light"] .service-card h3 { color: #0f1c38 !important; }
[data-theme="light"] .service-card p { color: #6b7280 !important; }
[data-theme="dark"]  .service-card { background: #102040 !important; border-color: rgba(200,146,42,0.15) !important; }
[data-theme="dark"]  .service-card h3 { color: #e8b84b !important; }
[data-theme="dark"]  .service-card p { color: #8a9ab0 !important; }

/* ── ABOUT STRIP ─────────────────────────────────────────────── */
[data-theme="light"] .about-strip { background: #ede5d4 !important; }
[data-theme="light"] .about-strip .section-title { color: #0f1c38 !important; }
[data-theme="light"] .about-text p { color: #2a3550 !important; }
[data-theme="light"] .about-card { background: rgba(255,255,255,0.7) !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .about-card h4 { color: #0f1c38 !important; }
[data-theme="light"] .about-card p { color: #6b7280 !important; }
[data-theme="dark"]  .about-strip { background: #0a1628 !important; }
[data-theme="dark"]  .about-text p { color: rgba(255,255,255,0.72) !important; }
[data-theme="dark"]  .about-card { background: rgba(255,255,255,0.04) !important; }
[data-theme="dark"]  .about-card h4 { color: #ffffff !important; }
[data-theme="dark"]  .about-card p { color: rgba(255,255,255,0.55) !important; }

/* ── SERVICES SECTION BG ─────────────────────────────────────── */
[data-theme="light"] .services { background: #faf7f2 !important; }
[data-theme="dark"]  .services { background: #0e1e38 !important; }

/* ── APOSTLE SECTION ─────────────────────────────────────────── */
[data-theme="light"] .apostle { background: #ffffff !important; }
[data-theme="dark"]  .apostle { background: #0c1726 !important; }
[data-theme="light"] .apostle-bio p { color: #2a3550 !important; }
[data-theme="dark"]  .apostle-bio p { color: #c8bfaa !important; }
[data-theme="light"] .role-pill { background: #faf7f2 !important; color: #0f1c38 !important; border-color: rgba(184,121,26,0.25) !important; }
[data-theme="dark"]  .role-pill { background: rgba(255,255,255,0.06) !important; color: #e8dfc8 !important; border-color: rgba(200,146,42,0.25) !important; }

/* ── MUSIC PREVIEW ───────────────────────────────────────────── */
[data-theme="light"] .music-preview { background: #ede5d4 !important; }
[data-theme="light"] .song-card { background: rgba(0,0,0,0.04) !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .song-card:hover { background: rgba(184,121,26,0.10) !important; }
[data-theme="light"] .song-info h4 { color: #0f1c38 !important; }
[data-theme="light"] .song-info p { color: #6b7280 !important; }
[data-theme="dark"]  .music-preview { background: #0a1628 !important; }
[data-theme="dark"]  .song-card { background: rgba(255,255,255,0.04) !important; }
[data-theme="dark"]  .song-info h4 { color: #ffffff !important; }
[data-theme="dark"]  .song-info p  { color: rgba(255,255,255,0.45) !important; }

/* ── MINISTRY ARMS ───────────────────────────────────────────── */
[data-theme="light"] .ministry-arms { background: #faf7f2 !important; }
[data-theme="light"] .arm-card { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .arm-card h3 { color: #0f1c38 !important; }
[data-theme="light"] .arm-card p  { color: #6b7280 !important; }
[data-theme="dark"]  .ministry-arms { background: #0e1e38 !important; }
[data-theme="dark"]  .arm-card { background: #102040 !important; border-color: rgba(200,146,42,0.15) !important; }
[data-theme="dark"]  .arm-card h3 { color: #e8b84b !important; }
[data-theme="dark"]  .arm-card p  { color: #8a9ab0 !important; }

/* ── EVENTS ──────────────────────────────────────────────────── */
[data-theme="light"] .events { background: #ffffff !important; }
[data-theme="light"] .event-card { border-color: rgba(184,121,26,0.15) !important; background: #ffffff !important; }
[data-theme="light"] .event-body h3 { color: #0f1c38 !important; }
[data-theme="light"] .event-body p  { color: #6b7280 !important; }
[data-theme="light"] .event-cat { background: #f0d9a0 !important; color: #b8791a !important; }
[data-theme="dark"]  .events { background: #0c1726 !important; }
[data-theme="dark"]  .event-card { border-color: rgba(200,146,42,0.15) !important; background: #102040 !important; }
[data-theme="dark"]  .event-body h3 { color: #e8b84b !important; }
[data-theme="dark"]  .event-body p  { color: #8a9ab0 !important; }

/* ── EVENTS PAGE ─────────────────────────────────────────────── */
[data-theme="light"] .event-card-full { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .event-card-body h3 { color: #0f1c38 !important; }
[data-theme="light"] .event-card-body p  { color: #6b7280 !important; }
[data-theme="light"] .register-btn { background: #0f1c38 !important; color: #e8b84b !important; }
[data-theme="dark"]  .event-card-full { background: #102040 !important; }
[data-theme="dark"]  .event-card-body h3 { color: #e8b84b !important; }
[data-theme="dark"]  .event-card-body p  { color: #8a9ab0 !important; }

/* ── PROGRAMS ────────────────────────────────────────────────── */
[data-theme="light"] .program-card { background: rgba(0,0,0,0.03) !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .program-card h3 { color: #0f1c38 !important; }
[data-theme="light"] .program-card p  { color: #6b7280 !important; }
[data-theme="dark"]  .program-card { background: rgba(255,255,255,0.04) !important; }
[data-theme="dark"]  .program-card h3 { color: #ffffff !important; }
[data-theme="dark"]  .program-card p  { color: rgba(255,255,255,0.5) !important; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
[data-theme="light"] .testimonials { background: #faf7f2 !important; }
[data-theme="light"] .testi-card { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .testi-card p { color: #2a3550 !important; }
[data-theme="light"] .testi-card::before { color: #f0d9a0 !important; }
[data-theme="light"] .testi-author .name { color: #0f1c38 !important; }
[data-theme="light"] .testi-author .loc  { color: #6b7280 !important; }
[data-theme="dark"]  .testimonials { background: #0e1e38 !important; }
[data-theme="dark"]  .testi-card { background: #102040 !important; border-color: rgba(200,146,42,0.12) !important; }
[data-theme="dark"]  .testi-card p { color: #c8bfaa !important; }
[data-theme="dark"]  .testi-author .name { color: #e8dfc8 !important; }
[data-theme="dark"]  .testi-author .loc  { color: #8a9ab0 !important; }

/* ── BLOG ────────────────────────────────────────────────────── */
[data-theme="light"] .blog-preview { background: #ffffff !important; }
[data-theme="light"] .blog-card { border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .blog-body { background: #ffffff !important; }
[data-theme="light"] .blog-body h3 { color: #0f1c38 !important; }
[data-theme="light"] .blog-body p  { color: #6b7280 !important; }
[data-theme="light"] .blog-meta { color: #6b7280 !important; }
[data-theme="light"] .post-card { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .post-body h3 { color: #0f1c38 !important; }
[data-theme="light"] .post-body p  { color: #6b7280 !important; }
[data-theme="light"] .post-meta { color: #6b7280 !important; }
[data-theme="light"] .featured-post { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .featured-body h2 { color: #0f1c38 !important; }
[data-theme="light"] .featured-body p  { color: #6b7280 !important; }
[data-theme="dark"]  .blog-preview { background: #0c1726 !important; }
[data-theme="dark"]  .blog-body { background: #102040 !important; }
[data-theme="dark"]  .blog-body h3 { color: #e8b84b !important; }
[data-theme="dark"]  .blog-body p  { color: #8a9ab0 !important; }
[data-theme="dark"]  .post-card { background: #102040 !important; }
[data-theme="dark"]  .post-body h3 { color: #e8b84b !important; }
[data-theme="dark"]  .post-body p  { color: #8a9ab0 !important; }
[data-theme="dark"]  .featured-post { background: #102040 !important; }
[data-theme="dark"]  .featured-body h2 { color: #e8dfc8 !important; }
[data-theme="dark"]  .featured-body p  { color: #8a9ab0 !important; }

/* ── SIDEBAR ─────────────────────────────────────────────────── */
[data-theme="light"] .sidebar-widget { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .widget-title { color: #0f1c38 !important; border-bottom-color: #f0d9a0 !important; }
[data-theme="light"] .search-wrap input { background: #faf7f2 !important; color: #2a3550 !important; border-color: rgba(184,121,26,0.25) !important; }
[data-theme="light"] .cat-list li { border-bottom-color: #f0d9a0 !important; }
[data-theme="light"] .cat-list li a { color: #2a3550 !important; }
[data-theme="light"] .cat-count { background: #f0d9a0 !important; color: #b8791a !important; }
[data-theme="light"] .recent-info h4 { color: #0f1c38 !important; }
[data-theme="light"] .recent-info p  { color: #6b7280 !important; }
[data-theme="light"] .tag { background: #faf7f2 !important; color: #6b7280 !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .page-btn { background: #ffffff !important; color: #6b7280 !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .cat-pill { background: #faf7f2 !important; color: #6b7280 !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .cat-strip { background: #ffffff !important; border-bottom-color: rgba(184,121,26,0.15) !important; }
[data-theme="dark"]  .sidebar-widget { background: #102040 !important; }
[data-theme="dark"]  .widget-title { color: #e8dfc8 !important; }
[data-theme="dark"]  .search-wrap input { background: #132035 !important; color: #c8bfaa !important; }
[data-theme="dark"]  .cat-list li a { color: #c8bfaa !important; }
[data-theme="dark"]  .recent-info h4 { color: #e8dfc8 !important; }
[data-theme="dark"]  .recent-info p  { color: #8a9ab0 !important; }
[data-theme="dark"]  .tag { background: rgba(255,255,255,0.06) !important; color: #8a9ab0 !important; }
[data-theme="dark"]  .page-btn { background: #102040 !important; color: #8a9ab0 !important; }
[data-theme="dark"]  .cat-strip { background: #0c1726 !important; }
[data-theme="dark"]  .cat-pill { background: rgba(255,255,255,0.06) !important; color: #8a9ab0 !important; }

/* ── NEWSLETTER ──────────────────────────────────────────────── */
[data-theme="light"] .newsletter { background: #ede5d4 !important; }
[data-theme="light"] .newsletter-text h2 { color: #0f1c38 !important; }
[data-theme="light"] .newsletter-text p  { color: #6b7280 !important; }
[data-theme="light"] .newsletter-form input { background: rgba(255,255,255,0.8) !important; color: #2a3550 !important; border-color: rgba(184,121,26,0.30) !important; }
[data-theme="light"] .newsletter-form input::placeholder { color: rgba(0,0,0,0.35) !important; }
[data-theme="dark"]  .newsletter { background: #0a1628 !important; }
[data-theme="dark"]  .newsletter-text h2 { color: #ffffff !important; }
[data-theme="dark"]  .newsletter-text p  { color: rgba(255,255,255,0.55) !important; }
[data-theme="dark"]  .newsletter-form input { background: rgba(255,255,255,0.08) !important; color: #ffffff !important; }

/* ── CONTACT ─────────────────────────────────────────────────── */
[data-theme="light"] .contact-info h2 { color: #0f1c38 !important; }
[data-theme="light"] .contact-info > p { color: #6b7280 !important; }
[data-theme="light"] .info-text h4 { color: #0f1c38 !important; }
[data-theme="light"] .info-text p, [data-theme="light"] .info-text a { color: #6b7280 !important; }
[data-theme="light"] .contact-form { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .contact-form h2 { color: #0f1c38 !important; }
[data-theme="light"] .form-group label { color: #0f1c38 !important; }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea { background: #faf7f2 !important; color: #2a3550 !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus { background: #ffffff !important; border-color: #b8791a !important; }
[data-theme="light"] .social-link { background: #faf7f2 !important; color: #6b7280 !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="dark"]  .contact-form { background: #102040 !important; }
[data-theme="dark"]  .contact-info h2 { color: #e8dfc8 !important; }
[data-theme="dark"]  .contact-info > p { color: #8a9ab0 !important; }
[data-theme="dark"]  .info-text h4 { color: #e8dfc8 !important; }
[data-theme="dark"]  .info-text p, [data-theme="dark"] .info-text a { color: #8a9ab0 !important; }
[data-theme="dark"]  .form-group label { color: #e8dfc8 !important; }
[data-theme="dark"]  .form-group input,
[data-theme="dark"]  .form-group select,
[data-theme="dark"]  .form-group textarea { background: #132035 !important; color: #c8bfaa !important; border-color: rgba(200,146,42,0.20) !important; }

/* ── GIVE / DONATE ───────────────────────────────────────────── */
[data-theme="light"] .give-method-card { background: #ffffff !important; border-color: rgba(184,121,26,0.15) !important; }
[data-theme="light"] .give-method-card h3 { color: #0f1c38 !important; }
[data-theme="light"] .give-method-card p  { color: #6b7280 !important; }
[data-theme="light"] .account-box { background: #faf7f2 !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .account-box p { color: #2a3550 !important; }
[data-theme="light"] .account-box span { color: #0f1c38 !important; }
[data-theme="dark"]  .give-method-card { background: #102040 !important; }
[data-theme="dark"]  .give-method-card h3 { color: #e8b84b !important; }
[data-theme="dark"]  .give-method-card p  { color: #8a9ab0 !important; }
[data-theme="dark"]  .account-box { background: #0c1726 !important; }
[data-theme="dark"]  .account-box p { color: #c8bfaa !important; }
[data-theme="dark"]  .account-box span { color: #e8dfc8 !important; }

/* ── SERMONS ─────────────────────────────────────────────────── */
[data-theme="light"] .sermon-card { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .sermon-body h3 { color: #0f1c38 !important; }
[data-theme="light"] .sermon-body p  { color: #6b7280 !important; }
[data-theme="light"] .sermon-body .meta { color: #6b7280 !important; }
[data-theme="dark"]  .sermon-card { background: #102040 !important; }
[data-theme="dark"]  .sermon-body h3 { color: #e8b84b !important; }
[data-theme="dark"]  .sermon-body p  { color: #8a9ab0 !important; }
[data-theme="dark"]  .sermon-body .meta { color: #8a9ab0 !important; }

/* ── BOOKS ───────────────────────────────────────────────────── */
[data-theme="light"] .books-section { background: #ede5d4 !important; }
[data-theme="light"] .book-card { background: rgba(255,255,255,0.6) !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .book-card h4 { color: #0f1c38 !important; }
[data-theme="light"] .book-card p  { color: #6b7280 !important; }
[data-theme="light"] .book-full-card { background: #ffffff !important; border-color: rgba(184,121,26,0.12) !important; }
[data-theme="light"] .book-full-body h3 { color: #0f1c38 !important; }
[data-theme="light"] .book-full-body p  { color: #6b7280 !important; }
[data-theme="light"] .book-btn.preview { background: #faf7f2 !important; color: #0f1c38 !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="dark"]  .books-section { background: linear-gradient(160deg,#0a1628 0%,#1a0505 100%) !important; }
[data-theme="dark"]  .book-card { background: rgba(255,255,255,0.04) !important; }
[data-theme="dark"]  .book-card h4 { color: #ffffff !important; }
[data-theme="dark"]  .book-card p  { color: rgba(255,255,255,0.45) !important; }
[data-theme="dark"]  .book-full-card { background: #102040 !important; }
[data-theme="dark"]  .book-full-body h3 { color: #e8dfc8 !important; }
[data-theme="dark"]  .book-full-body p  { color: #8a9ab0 !important; }

/* ── ABOUT PAGE ──────────────────────────────────────────────── */
[data-theme="light"] .vm-card { background: #ffffff !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .vm-card h3 { color: #0f1c38 !important; }
[data-theme="light"] .vm-card p  { color: #2a3550 !important; }
[data-theme="light"] .belief-card { background: #faf7f2 !important; border-left-color: #b8791a !important; }
[data-theme="light"] .belief-card h4 { color: #0f1c38 !important; }
[data-theme="light"] .belief-card p  { color: #6b7280 !important; }
[data-theme="light"] .activity-item { background: #ffffff !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .activity-item p { color: #2a3550 !important; }
[data-theme="light"] .obj-text h4 { color: #0f1c38 !important; }
[data-theme="light"] .obj-text p  { color: #6b7280 !important; }
[data-theme="dark"]  .vm-card { background: #102040 !important; }
[data-theme="dark"]  .vm-card h3 { color: #e8dfc8 !important; }
[data-theme="dark"]  .vm-card p  { color: #c8bfaa !important; }
[data-theme="dark"]  .belief-card { background: rgba(255,255,255,0.04) !important; }
[data-theme="dark"]  .belief-card h4 { color: #e8dfc8 !important; }
[data-theme="dark"]  .belief-card p  { color: #8a9ab0 !important; }
[data-theme="dark"]  .activity-item { background: rgba(255,255,255,0.03) !important; }
[data-theme="dark"]  .activity-item p { color: #c8bfaa !important; }
[data-theme="dark"]  .obj-text h4 { color: #ffffff !important; }
[data-theme="dark"]  .obj-text p  { color: rgba(255,255,255,0.55) !important; }

/* ── APOSTLE PAGE ────────────────────────────────────────────── */
[data-theme="light"] .apostle-page-bio p { color: #2a3550 !important; }
[data-theme="light"] .apostle-page-bio h3 { color: #0f1c38 !important; }
[data-theme="dark"]  .apostle-page-bio p { color: #c8bfaa !important; }
[data-theme="dark"]  .apostle-page-bio h3 { color: #e8dfc8 !important; }

/* ── MUSIC PAGE ──────────────────────────────────────────────── */
[data-theme="light"] .song-card-full { background: rgba(0,0,0,0.03) !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .song-meta h3 { color: #0f1c38 !important; }
[data-theme="light"] .song-meta .album { color: #6b7280 !important; }
[data-theme="light"] .song-meta .year  { color: #b8791a !important; }
[data-theme="light"] .stream-link { background: rgba(0,0,0,0.05) !important; color: #6b7280 !important; }
[data-theme="light"] .album-card { background: rgba(0,0,0,0.04) !important; border-color: rgba(184,121,26,0.20) !important; }
[data-theme="light"] .album-info h3 { color: #0f1c38 !important; }
[data-theme="light"] .album-info p  { color: #6b7280 !important; }
[data-theme="light"] .filter-btn { background: rgba(0,0,0,0.05) !important; border-color: rgba(0,0,0,0.10) !important; color: #6b7280 !important; }
[data-theme="light"] .platform-btn { background: rgba(0,0,0,0.05) !important; border-color: rgba(0,0,0,0.12) !important; color: #2a3550 !important; }
[data-theme="dark"]  .song-card-full { background: rgba(255,255,255,0.04) !important; }
[data-theme="dark"]  .song-meta h3 { color: #ffffff !important; }
[data-theme="dark"]  .song-meta .album { color: rgba(255,255,255,0.4) !important; }
[data-theme="dark"]  .stream-link { background: rgba(255,255,255,0.07) !important; color: rgba(255,255,255,0.6) !important; }
[data-theme="dark"]  .album-card { background: rgba(255,255,255,0.04) !important; }
[data-theme="dark"]  .album-info h3 { color: #ffffff !important; }
[data-theme="dark"]  .album-info p  { color: rgba(255,255,255,0.4) !important; }
[data-theme="dark"]  .filter-btn { background: rgba(255,255,255,0.06) !important; color: rgba(255,255,255,0.6) !important; }
[data-theme="dark"]  .platform-btn { background: rgba(255,255,255,0.07) !important; color: #ffffff !important; }

/* ── FOOTER ──────────────────────────────────────────────────── */
[data-theme="light"] footer { background: #060e1e !important; }
[data-theme="light"] .footer-about p { color: rgba(255,255,255,0.55) !important; }
[data-theme="light"] .footer-col h4 { color: #e8b84b !important; }
[data-theme="light"] .footer-col ul li a { color: rgba(255,255,255,0.55) !important; }
[data-theme="light"] .footer-col ul li a:hover { color: #e8b84b !important; }
[data-theme="light"] .footer-contact li { color: rgba(255,255,255,0.55) !important; }
[data-theme="light"] .footer-contact li a { color: rgba(255,255,255,0.55) !important; }
[data-theme="light"] .footer-bottom p { color: rgba(255,255,255,0.3) !important; }
[data-theme="light"] .footer-bottom a { color: rgba(255,255,255,0.35) !important; }
[data-theme="light"] .footer-social a { background: rgba(255,255,255,0.06) !important; color: rgba(255,255,255,0.5) !important; }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
[data-theme="light"] .page-hero { background: linear-gradient(160deg,#0a1628 0%,#122244 100%) !important; }
[data-theme="light"] .page-hero h1 { color: #ffffff !important; }
[data-theme="light"] .page-hero p  { color: rgba(255,255,255,0.65) !important; }
[data-theme="light"] .breadcrumb { color: rgba(255,255,255,0.5) !important; }

/* ── FILTER BAR (music / blog) ───────────────────────────────── */
[data-theme="light"] .filter-bar .filter-btn { background: rgba(0,0,0,0.05) !important; border-color: rgba(0,0,0,0.10) !important; color: #6b7280 !important; }
[data-theme="light"] .filter-bar .filter-btn.active,
[data-theme="light"] .filter-bar .filter-btn:hover { background: #b8791a !important; border-color: #b8791a !important; color: #ffffff !important; }

/* ── FEATURED EVENT ──────────────────────────────────────────── */
[data-theme="light"] .featured-event { background: linear-gradient(135deg,#0a1628,#8b1a1a) !important; }
[data-theme="light"] .featured-event h2 { color: #ffffff !important; }
[data-theme="light"] .featured-event p  { color: rgba(255,255,255,0.65) !important; }

/* ── SCRIPTURE BANNER ────────────────────────────────────────── */
[data-theme="light"] .scripture-banner blockquote { color: #ffffff !important; }
[data-theme="dark"]  .scripture-banner blockquote { color: #ffffff !important; }

/* ── TICKER ──────────────────────────────────────────────────── */
[data-theme="light"] .ticker span { color: #0a1628 !important; }
[data-theme="dark"]  .ticker span { color: #0a1628 !important; }

/* ── FLOATING BUTTON ─────────────────────────────────────────── */
[data-theme="light"] .floating-watch { color: #0a1628 !important; }
[data-theme="dark"]  .floating-watch { color: #0a1628 !important; }
[data-theme="light"] .floating-tooltip { background: #0a1628 !important; color: #ffffff !important; }

/* ── IMAGES — subtle light mode brightness ───────────────────── */
[data-theme="light"] img:not(.logo-wrap img):not(.apostle-portrait img):not(.apostle-page-photo img):not(.hero-pastor-col img) {
  filter: brightness(0.97) contrast(1.01);
}

/* ── SECTION LABEL ───────────────────────────────────────────── */
[data-theme="light"] .section-label { color: #b8791a !important; }
[data-theme="dark"]  .section-label { color: #e8b84b !important; }

/* ── SECTION DIVIDER ─────────────────────────────────────────── */
[data-theme="light"] .section-divider { background: linear-gradient(90deg,#b8791a,#c8892a) !important; }

/* ═══════════════════════════════════════════════════════════════
   FINAL FIXES — Hero, Buttons, Stat items, Image bg, All pages
   ═══════════════════════════════════════════════════════════════ */

/* ── HERO — hardcoded background fix ────────────────────────── */
[data-theme="light"] .hero {
  background: linear-gradient(160deg, #d4c9b0 0%, #e8dfc8 40%, #f5edd8 100%) !important;
}
[data-theme="light"] .hero-bg-globe {
  background: radial-gradient(circle at 40% 40%, #b8c8e0, #d4c9b0 70%) !important;
  opacity: 0.35 !important;
}
[data-theme="light"] .hero-bg-grid {
  background-image: linear-gradient(rgba(10,22,40,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10,22,40,0.05) 1px, transparent 1px) !important;
}
[data-theme="light"] .hero-glow {
  background: radial-gradient(circle, rgba(184,121,26,0.18) 0%, transparent 70%) !important;
}
/* Hero text in light mode */
[data-theme="light"] .hero h1,
[data-theme="light"] .hero h2 { color: #0f1c38 !important; }
[data-theme="light"] .hero h1 span,
[data-theme="light"] .hero h2 span { color: #b8791a !important; }
[data-theme="light"] .hero-verse { color: rgba(10,22,40,0.75) !important; border-left-color: #b8791a !important; }
[data-theme="light"] .hero-verse cite { color: #b8791a !important; }
[data-theme="light"] .hero-badge {
  background: rgba(184,121,26,0.12) !important;
  border-color: rgba(184,121,26,0.40) !important;
  color: #7a4a00 !important;
}
[data-theme="light"] .stat-item .num { color: #b8791a !important; }
[data-theme="light"] .stat-item .lbl { color: rgba(10,22,40,0.55) !important; }

/* Dark hero stays exactly as original */
[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #060e1e 0%, #0d1f3c 40%, #1a1200 100%) !important;
}
[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero h2 { color: #ffffff !important; }
[data-theme="dark"] .hero h1 span,
[data-theme="dark"] .hero h2 span { color: #e8b84b !important; }
[data-theme="dark"] .hero-verse { color: rgba(255,255,255,0.65) !important; }
[data-theme="dark"] .stat-item .num { color: #e8b84b !important; }
[data-theme="dark"] .stat-item .lbl { color: rgba(255,255,255,0.5) !important; }

/* ── HERO IMAGE — remove white box in light mode ─────────────── */
[data-theme="light"] .hero-pastor-col img {
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: 0 8px 40px rgba(10,22,40,0.18) !important;
  filter: drop-shadow(0 8px 24px rgba(10,22,40,0.20)) !important;
}
[data-theme="light"] .hero-pastor-col {
  background: transparent !important;
}

/* ── BUTTONS — fix invisible/poor contrast ───────────────────── */
/* btn-outline: visible in both modes */
[data-theme="light"] .btn-outline {
  border-color: #b8791a !important;
  color: #b8791a !important;
  background: transparent !important;
}
[data-theme="light"] .btn-outline:hover {
  background: rgba(184,121,26,0.10) !important;
  color: #7a4a00 !important;
}
[data-theme="dark"] .btn-outline {
  border-color: rgba(200,146,42,0.7) !important;
  color: #e8b84b !important;
  background: transparent !important;
}

/* btn-music */
[data-theme="light"] .btn-music {
  background: linear-gradient(135deg, #0f1c38, #1a2f5a) !important;
  color: #e8b84b !important;
}
[data-theme="dark"] .btn-music {
  background: linear-gradient(135deg, #0a1628, #122244) !important;
  color: #e8b84b !important;
}

/* nav-cta (Give Now) always readable */
[data-theme="light"] .nav-cta { color: #0a1628 !important; }
[data-theme="dark"]  .nav-cta { color: #0a1628 !important; }

/* register-btn */
[data-theme="light"] .register-btn { background: #0f1c38 !important; color: #e8b84b !important; }
[data-theme="dark"]  .register-btn { background: #1a3060 !important; color: #e8b84b !important; }

/* ALL EVENTS button (outline style on light bg) */
[data-theme="light"] .btn-outline,
[data-theme="light"] a.btn-outline { border-color: #b8791a !important; color: #b8791a !important; }

/* ── HERO IMAGE white background (logo/circular image) ───────── */
[data-theme="light"] .hero-pastor-col > div,
[data-theme="light"] .hero-pastor-col > a {
  background: transparent !important;
}

/* ── ABOUT PAGE — objective section dark bg ──────────────────── */
[data-theme="light"] .obj-section,
[data-theme="light"] section.about-obj { background: #ede5d4 !important; }
[data-theme="light"] .obj-text h4 { color: #0f1c38 !important; }
[data-theme="light"] .obj-text p  { color: #4a5568 !important; }
[data-theme="light"] .obj-num { background: #b8791a !important; color: #ffffff !important; }
[data-theme="dark"]  .obj-section,
[data-theme="dark"]  section.about-obj { background: #0a1628 !important; }
[data-theme="dark"]  .obj-text h4 { color: #ffffff !important; }
[data-theme="dark"]  .obj-text p  { color: rgba(255,255,255,0.55) !important; }

/* ── MINISTRIES PAGE ─────────────────────────────────────────── */
[data-theme="light"] .ministries-section,
[data-theme="light"] .programs-section { background: #faf7f2 !important; }
[data-theme="light"] .ministry-card,
[data-theme="light"] .program-card { background: #ffffff !important; border-color: rgba(184,121,26,0.15) !important; }
[data-theme="light"] .ministry-card h3,
[data-theme="light"] .program-card h3 { color: #0f1c38 !important; }
[data-theme="light"] .ministry-card p,
[data-theme="light"] .program-card p  { color: #6b7280 !important; }
[data-theme="dark"]  .ministries-section,
[data-theme="dark"]  .programs-section { background: #0e1e38 !important; }
[data-theme="dark"]  .ministry-card { background: #102040 !important; }
[data-theme="dark"]  .ministry-card h3 { color: #e8b84b !important; }
[data-theme="dark"]  .ministry-card p  { color: #8a9ab0 !important; }

/* ── SERMONS PAGE ────────────────────────────────────────────── */
[data-theme="light"] .sermons-section,
[data-theme="light"] .sermons-page { background: #faf7f2 !important; }
[data-theme="dark"]  .sermons-section,
[data-theme="dark"]  .sermons-page { background: #0c1726 !important; }

/* ── EVENTS PAGE — event-date column ────────────────────────── */
[data-theme="light"] .event-date {
  background: linear-gradient(160deg, #0f1c38, #1a2f5a) !important;
  color: #e8b84b !important;
}
[data-theme="light"] .event-date .day { color: #e8b84b !important; }
[data-theme="light"] .event-date .month { color: rgba(232,184,75,0.8) !important; }
[data-theme="dark"]  .event-date {
  background: linear-gradient(160deg, #0a1628, #122244) !important;
  color: #e8b84b !important;
}

/* event-date-badge (events page cards) */
[data-theme="light"] .event-date-badge { background: #0f1c38 !important; color: #e8b84b !important; }
[data-theme="dark"]  .event-date-badge { background: #0a1628 !important; color: #e8b84b !important; }

/* ── ABOUT PAGE — about-strip section heading ────────────────── */
[data-theme="light"] .about-strip h2,
[data-theme="light"] .about-strip h3,
[data-theme="light"] .about-strip .section-title { color: #0f1c38 !important; }
[data-theme="dark"]  .about-strip h2,
[data-theme="dark"]  .about-strip h3,
[data-theme="dark"]  .about-strip .section-title { color: #e8dfc8 !important; }

/* ── VM CARD crimson top bar stays ──────────────────────────── */
[data-theme="light"] .vm-card.crimson::before { background: linear-gradient(90deg, #8b1a1a, #a02020) !important; }

/* ── GIVE SECTION (crimson bg) — keep in both modes ─────────── */
[data-theme="light"] .give-section .section-title { color: #ffffff !important; }
[data-theme="light"] .give-section p { color: rgba(255,255,255,0.80) !important; }

/* ── BOOKS SECTION dark bg — keep readable ───────────────────── */
[data-theme="light"] .books-section .section-title { color: #e8dfc8 !important; }
[data-theme="light"] .books-section .section-label { color: #e8b84b !important; }
[data-theme="light"] .books-section p { color: rgba(255,255,255,0.65) !important; }

/* ── PRAYER BANNER (dark crimson) — always white text ────────── */
[data-theme="light"] .prayer-banner h2 { color: #ffffff !important; }
[data-theme="light"] .prayer-banner p  { color: rgba(255,255,255,0.75) !important; }

/* ── SCRIPTURE BANNER ────────────────────────────────────────── */
[data-theme="light"] .scripture-banner { background: linear-gradient(135deg, #8b1a1a 0%, #5a0e0e 100%) !important; }

/* ── H3 OVERRIDE — prevent gold headings on light cards ─────── */
[data-theme="light"] .service-card h3,
[data-theme="light"] .arm-card h3,
[data-theme="light"] .event-body h3,
[data-theme="light"] .event-card-body h3,
[data-theme="light"] .blog-body h3,
[data-theme="light"] .post-body h3,
[data-theme="light"] .book-full-body h3,
[data-theme="light"] .sermon-body h3,
[data-theme="light"] .give-method-card h3,
[data-theme="light"] .featured-body h2 { color: #0f1c38 !important; }

/* ── SECTION GENERAL BG FIX ─────────────────────────────────── */
[data-theme="light"] section { background-color: inherit; }

/* ── ABOUT PAGE white section bg ────────────────────────────── */
[data-theme="light"] .apostle,
[data-theme="light"] .blog-preview,
[data-theme="light"] .events { background: #ffffff !important; }

/* ── DARK MODE — ensure no white flash on section-less areas ─── */
[data-theme="dark"] .contact-section { background: #0c1726 !important; }
[data-theme="dark"] .about-section   { background: #0c1726 !important; }
[data-theme="dark"] .sermons-section { background: #0c1726 !important; }
[data-theme="dark"] main, [data-theme="dark"] .main-content { background: #0c1726 !important; }

/* ═══════════════════ PAGE-SPECIFIC DEEP FIXES ═══════════════════ */

/* MINISTRIES — replace gradient right-panel with solid colors */
[data-theme="light"] section .about-grid > div:last-child,
[data-theme="light"] section [style*="linear-gradient(135deg"] {
  background: #e8ddd0 !important;
  color: #b8791a !important;
}
[data-theme="light"] section [style*="linear-gradient(135deg"] i {
}
[data-theme="dark"] section .about-grid > div:last-child,
[data-theme="dark"] section [style*="linear-gradient(135deg"] {
  background: #102040 !important;
}
[data-theme="dark"] section [style*="linear-gradient(135deg"] i {
}

/* MINISTRIES — section bg fix */
[data-theme="light"] section[style*="background:var(--off-white)"],
[data-theme="light"] section[style*="background: var(--off-white)"] { background: #faf7f2 !important; }
[data-theme="light"] section[style*="background:var(--white)"],
[data-theme="light"] section[style*="background: var(--white)"] { background: #ffffff !important; }
[data-theme="light"] section[style*="background:var(--navy)"],
[data-theme="light"] section[style*="background: var(--navy)"] { background: #ede5d4 !important; }
[data-theme="dark"]  section[style*="background:var(--off-white)"],
[data-theme="dark"]  section[style*="background: var(--off-white)"] { background: #0c1726 !important; }
[data-theme="dark"]  section[style*="background:var(--white)"],
[data-theme="dark"]  section[style*="background: var(--white)"] { background: #0e1a30 !important; }
[data-theme="dark"]  section[style*="background:var(--navy)"],
[data-theme="dark"]  section[style*="background: var(--navy)"] { background: #0a1628 !important; }

/* ABOUT — objectives section on navy bg */
[data-theme="light"] .obj-text h4 { color: #0f1c38 !important; }
[data-theme="light"] .obj-text p  { color: #4a5568 !important; }
[data-theme="dark"]  .obj-text h4 { color: #e8dfc8 !important; }

/* ABOUT — inline p text colors (hardcoded via style attr) */
[data-theme="light"] section p[style*="color:var(--text-body)"],
[data-theme="light"] section p[style*="color: var(--text-body)"] { color: #2a3550 !important; }
[data-theme="light"] section p[style*="color:var(--text-muted)"],
[data-theme="light"] section p[style*="color: var(--text-muted)"] { color: #6b7280 !important; }
[data-theme="dark"]  section p[style*="color:var(--text-body)"],
[data-theme="dark"]  section p[style*="color: var(--text-body)"] { color: #c8bfaa !important; }
[data-theme="dark"]  section p[style*="color:var(--text-muted)"],
[data-theme="dark"]  section p[style*="color: var(--text-muted)"] { color: #8a9ab0 !important; }

/* SECTION-TITLE on light bg — override navy color */
[data-theme="light"] .section-title:not(.light) { color: #0f1c38 !important; }
[data-theme="dark"]  .section-title:not(.light) { color: #e8dfc8 !important; }
[data-theme="light"] .section-title.light { color: #ffffff !important; }
[data-theme="dark"]  .section-title.light { color: #ffffff !important; }

/* INDEX hero stats */
[data-theme="light"] .hero .stat-item .num { color: #b8791a !important; }
[data-theme="dark"]  .hero .stat-item .num { color: #e8b84b !important; }

/* INDEX music/books section titles on dark bg */
[data-theme="light"] .music-preview .section-title,
[data-theme="light"] .books-section .section-title { color: #e8dfc8 !important; }
[data-theme="light"] .music-preview p { color: rgba(255,255,255,0.6) !important; }

/* ABOUT beliefs section bg */
[data-theme="light"] section[id="beliefs"] { background: #ffffff !important; }
[data-theme="dark"]  section[id="beliefs"] { background: #0e1a30 !important; }
[data-theme="dark"]  .belief-card h4 { color: #e8dfc8 !important; }
[data-theme="dark"]  .belief-card p  { color: #8a9ab0 !important; }

/* MINISTRIES icon boxes on light */
[data-theme="light"] section div[style*="background:var(--crimson)"],
[data-theme="light"] section div[style*="background:var(--navy)"],
[data-theme="light"] section div[style*="background:var(--gold)"] { opacity: 0.9; }

/* ═══════════════════ GLOBAL MOBILE RESPONSIVENESS ══════════════ */
@media (max-width: 768px) {
  /* Ministries grid */

  /* About objectives */

  /* Sermons grid */

  /* Page hero */

  /* Give buttons stack */
  .give-btns { flex-direction: column; align-items: center; gap: 12px; }
  .give-btns .btn-primary, .give-btns .btn-outline { width: 100%; max-width: 300px; justify-content: center; text-align: center; }

  /* Newsletter */
  .newsletter-inner { flex-direction: column; text-align: center; gap: 20px; }
  .newsletter-form { flex-direction: column; align-items: center; width: 100%; }

  /* Footer */

  /* Music/Song grids */

  /* Events */

  /* Books */

  /* Blog */

  /* Contact */

  /* Give methods */

  /* Apostle */

  /* General padding */
  .about-strip, .services, .apostle, .music-preview, .ministry-arms,

  /* Toggle button position */
  #theme-toggle { margin-left: 4px; }
}

@media (max-width: 480px) {
}
/* ══════════════════════════════════════════════════════
   SAFE SELECTION COLOR — gold tint, no white bg flash
   ══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   HERO LIGHT MODE — warm parchment, NO black boxes
   ══════════════════════════════════════════════════════ */
[data-theme="light"] .hero {
  background: linear-gradient(160deg, #d4c9b0 0%, #e8dfc8 40%, #f0e8d4 100%) !important;
}
[data-theme="light"] .hero h1,
[data-theme="light"] .hero h2 { color: #0f1c38 !important; }
[data-theme="light"] .hero h1 span,
[data-theme="light"] .hero h2 span { color: #b8791a !important; }
[data-theme="light"] .hero-verse {
  border-left-color: #b8791a !important;
}
[data-theme="light"] .hero-verse cite { color: #b8791a !important; }
[data-theme="light"] .hero-badge {
  color: #5a3500 !important;
}
[data-theme="light"] .stat-item .num { color: #b8791a !important; }
[data-theme="light"] .btn-outline {
  color: #7a4a00 !important;
}
[data-theme="light"] .hero .btn-outline {
  color: #5a3500 !important;
}

/* DARK hero — restore original */
[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #060e1e 0%, #0d1f3c 40%, #1a1200 100%) !important;
}
[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero h2 { color: #ffffff !important; }
[data-theme="dark"] .hero h1 span,
[data-theme="dark"] .hero h2 span { color: #e8b84b !important; }
[data-theme="dark"] .stat-item .num { color: #e8b84b !important; }

/* Give Now button — always visible */
[data-theme="light"] .nav-cta {
  color: #0a1628 !important;
}
[data-theme="dark"] .nav-cta {
  color: #0a1628 !important;
}

/* ══════════════════════════════════════════════════════
   ABOUT-STRIP — both modes readable
   ══════════════════════════════════════════════════════ */
[data-theme="light"] .about-strip { background: #122244 !important; }
[data-theme="light"] .about-strip .section-title { color: #ffffff !important; }
[data-theme="light"] .about-strip .section-label { color: #e8b84b !important; }
[data-theme="light"] .about-strip .about-card h4 { color: #ffffff !important; }
[data-theme="dark"]  .about-strip { background: #0a1628 !important; }
[data-theme="dark"]  .about-strip .section-title { color: #e8dfc8 !important; }
[data-theme="dark"]  .about-strip .about-card h4 { color: #ffffff !important; }

/* ══════════════════════════════════════════════════════
   MUSIC PREVIEW — dark bg both modes
   ══════════════════════════════════════════════════════ */
[data-theme="light"] .music-preview { background: #0d1e3a !important; }
[data-theme="light"] .music-preview .section-title { color: #e8dfc8 !important; }
[data-theme="light"] .music-preview .section-label { color: #e8b84b !important; }
[data-theme="light"] .song-info h4 { color: #ffffff !important; }

/* ══════════════════════════════════════════════════════
   BOOKS SECTION — warm parchment light, dark navy dark
   ══════════════════════════════════════════════════════ */
[data-theme="light"] .books-section {
  background: linear-gradient(160deg, #f0e8d8 0%, #e8d5b8 100%) !important;
}
[data-theme="light"] .books-section .section-label { color: #7a4a00 !important; }
[data-theme="light"] .books-section .section-title { color: #0f1c38 !important; }
[data-theme="light"] .books-section .btn-outline { border-color: #b8791a !important; color: #7a4a00 !important; background: transparent !important; }
[data-theme="light"] .books-section .book-card h4 { color: #0f1c38 !important; }
[data-theme="light"] .books-section .book-card p  { color: #6b5a3a !important; }
[data-theme="dark"]  .books-section .section-title { color: #e8dfc8 !important; }
[data-theme="dark"]  .books-section .section-label { color: #e8b84b !important; }
[data-theme="dark"]  .books-section .book-card h4 { color: #ffffff !important; }

/* ══════════════════════════════════════════════════════
   DROPDOWN — light mode white bg
   ══════════════════════════════════════════════════════ */
[data-theme="light"] nav ul li .dropdown { background: #ffffff !important; border: 1px solid rgba(184,121,26,0.20) !important; box-shadow: 0 12px 40px rgba(0,0,0,0.10) !important; }
[data-theme="light"] nav ul li .dropdown li a { color: #0f1c38 !important; }
[data-theme="dark"]  nav ul li .dropdown { background: #0a1628 !important; }

/* ══════════════════════════════════════════════════════
   FINAL CLEAN FIXES v2 — no broken rules
   ══════════════════════════════════════════════════════ */

/* 1. Gold selection — replaces white browser default */
::selection { background: rgba(200,146,42,0.28); color: inherit; }
::-moz-selection { background: rgba(200,146,42,0.28); color: inherit; }

/* 2. Song-info paragraph — remove white bg artifact */

/* 3. About-strip cards — h4 visible both modes */
.about-card h4 { color: #ffffff !important; background: transparent !important; }
[data-theme="light"] .about-strip .about-card h4 { color: #ffffff !important; }

/* 4. About page hero title missing */
[data-theme="light"] .page-hero h1,
[data-theme="light"] .page-hero h2 { color: #ffffff !important; background: transparent !important; }
[data-theme="dark"]  .page-hero h1,
[data-theme="dark"]  .page-hero h2 { color: #ffffff !important; background: transparent !important; }

/* 5. Post/page/blog card titles — dark text on light, cream on dark */
[data-theme="light"] .post-body h3,
[data-theme="light"] .blog-body h3,
[data-theme="light"] .post-card h3,
[data-theme="light"] .featured-body h2,
[data-theme="light"] .recent-info h4 { color: #0f1c38 !important; background: transparent !important; }
[data-theme="dark"]  .post-body h3,
[data-theme="dark"]  .blog-body h3,
[data-theme="dark"]  .post-card h3,
[data-theme="dark"]  .featured-body h2,
[data-theme="dark"]  .recent-info h4 { color: #e8dfc8 !important; background: transparent !important; }

/* 6. Strip transparent bg from all headings/text globally */
h1,h2,h3,h4,h5,h6,p,span,li,a,cite,blockquote,label,td,th {
}
/* Re-allow bg on buttons, badges, pills, inputs, cards */
.btn-primary, .btn-primary span, .nav-cta, .nav-cta span,
.stream-btn, .stream-btn span,
.hero-badge, .event-cat, .blog-cat-badge, .feat-badge,
.sermon-type, .post-cat, .cat-count, .role-pill,
.page-btn, .cat-pill, .tag, .badge, .label-tag,
.apostle-badge, .register-btn,
input, textarea, select, button,
.about-card, .service-card, .arm-card, .testi-card,
.event-card, .blog-card, .post-card, .book-card,
.sermon-card, .give-method-card, .program-card,
.sidebar-widget, .vm-card, .belief-card, .activity-item,
.song-card-full, .album-card, .song-card,
.featured-post, .featured-event, .dropdown,
nav ul li .dropdown,

/* 7. About-strip text paragraphs both modes */

/* 8. Books section — light mode warm parchment */
[data-theme="light"] .books-section {
}
[data-theme="light"] .books-section .section-title { color: #0f1c38 !important; }
[data-theme="light"] .books-section .section-label { color: #7a4a00 !important; }
[data-theme="light"] .books-section .book-card h4 { color: #0f1c38 !important; }
[data-theme="light"] .books-section .book-card p  { color: #5a4020 !important; }
[data-theme="light"] .books-section .btn-outline   { border-color: #b8791a !important; color: #7a4a00 !important; }

/* 9. Music section — keep dark in both modes */
[data-theme="light"] .music-preview { background: #0d1e3a !important; }
[data-theme="light"] .music-preview .section-title { color: #e8dfc8 !important; }
[data-theme="light"] .music-preview .section-label { color: #e8b84b !important; }
[data-theme="light"] .music-preview .music-cta-wrap .btn-outline { color: #e8b84b !important; border-color: rgba(200,146,42,0.6) !important; }

/* 10. Nav-cta always gold */

/* ══════════════════════════════════════════════════════
   ABOUT-STRIP TEXT — force visible both modes
   ══════════════════════════════════════════════════════ */
.about-strip .about-text h3 { color: #ffffff !important; background: transparent !important; }
.about-strip .about-text h4 { color: #ffffff !important; background: transparent !important; }

/* ══════════════════════════════════════════════════════
   ABOUT-STRIP DIRECT FIX — highest specificity
   ══════════════════════════════════════════════════════ */
[data-theme="light"] .about-strip,
[data-theme="light"] section.about-strip {
  background: #0f2044 !important;
}
[data-theme="light"] .about-strip .about-text p,
[data-theme="light"] section.about-strip .about-text p,
[data-theme="light"] .about-strip p {
}
[data-theme="light"] .about-strip .section-title,
[data-theme="light"] .about-strip h3 {
  color: #ffffff !important;
}
[data-theme="light"] .about-strip .section-label {
  color: #e8b84b !important;
}
[data-theme="light"] .about-strip .about-card h4 {
  color: #ffffff !important;
}
[data-theme="light"] .about-strip .about-card p {
}
[data-theme="dark"] .about-strip,
[data-theme="dark"] section.about-strip {
  background: #0a1628 !important;
}
[data-theme="dark"] .about-strip .about-text p,
[data-theme="dark"] section.about-strip .about-text p {
}
/* ══════════════════════════════════════════════════════
   LIGHT MODE ABOUT-STRIP FINAL — maximum specificity
   ══════════════════════════════════════════════════════ */
html[data-theme=light] .about-strip { background: #0f2044 !important; }
html[data-theme=light] .about-strip .about-text p { color: #e8dfc8 !important; }
html[data-theme=light] .about-strip .about-text h3,
html[data-theme=light] .about-strip .section-title { color: #ffffff !important; }
html[data-theme=light] .about-strip .section-label { color: #e8b84b !important; }
html[data-theme=light] .about-strip .about-card h4 { color: #ffffff !important; }

/* ══════════════════════════════════════════════════════
   ABOUT-CARDS LIGHT MODE — dark text on parchment cards
   ══════════════════════════════════════════════════════ */
html[data-theme=light] .about-card {
}
html[data-theme=light] .about-card h4 {
  color: #0f1c38 !important;
}
html[data-theme=light] .about-card p {
  color: #3a4a6a !important;
}
html[data-theme=light] .about-card .icon {
  color: #b8791a !important;
}
html[data-theme=dark] .about-card {
}
html[data-theme=dark] .about-card h4 { color: #ffffff !important; }
html[data-theme=dark] .about-card .icon { color: #e8b84b !important; }

/* ── h3 color per theme ── */
[data-theme="light"] section:not(.scripture-banner):not(.hero):not(.music-preview):not(.newsletter-section) h3 {
  color: var(--navy) !important;
}
[data-theme="dark"] section:not(.scripture-banner):not(.hero):not(.music-preview):not(.newsletter-section) h3 {
  color: #ffffff !important;
}
