/* =========================================================
   PanditJi Premium v1.0.1 — Text Contrast & Color Polish
   Loaded after the interactive layer. Admin section color
   variables still win; these are safe defaults only.
   ========================================================= */

:root {
  --pj-on-dark-heading: #FFF9EF;
  --pj-on-dark-body: #F7EBD9;
  --pj-on-dark-muted: #E6D0B3;
  --pj-on-light-heading: #2B1512;
  --pj-on-light-body: #4A3832;
  --pj-on-light-muted: #6B5850;
  --pj-link-dark: #F0D492;
  --pj-link-light: #7B2A22;
}

/* Generic readable defaults. Section-specific admin choices are preserved. */
[data-pj-section] {
  --pj-current-heading: var(--section-heading, currentColor);
  --pj-current-text: var(--section-text, currentColor);
  --pj-current-accent: var(--section-accent, var(--pj-gold));
}

/* ---------- DARK / IMAGE-RICH SURFACES ---------- */
.sri-hero,
.fx-live-strip,
.sri-rituals,
.fx-sankalp,
.fx-festival,
.fx-gallery,
.fx-consult,
.fx-consult-strip,
.fx-footer {
  color: var(--section-text, var(--pj-on-dark-body)) !important;
}

.sri-hero h1,
.sri-hero h2,
.sri-hero h3,
.fx-live-strip h1,
.fx-live-strip h2,
.fx-live-strip h3,
.sri-rituals h1,
.sri-rituals h2,
.sri-rituals h3,
.fx-sankalp h1,
.fx-sankalp h2,
.fx-sankalp h3,
.fx-festival h1,
.fx-festival h2,
.fx-festival h3,
.fx-gallery h1,
.fx-gallery h2,
.fx-gallery h3,
.fx-consult h1,
.fx-consult h2,
.fx-consult h3 {
  color: var(--section-heading, var(--pj-on-dark-heading)) !important;
}

.sri-hero p,
.sri-hero li,
.fx-live-strip p,
.fx-live-strip li,
.sri-rituals > .site-container > .sri-ritual-head p,
.fx-sankalp p,
.fx-sankalp li,
.fx-festival p,
.fx-festival li,
.fx-gallery p,
.fx-consult p,
.fx-consult li {
  color: var(--section-text, var(--pj-on-dark-body)) !important;
}

/* Hero */
.sri-hero-eyebrow,
.sri-hero-card-tag,
.sri-hero-card a,
.sri-hero .sri-section-kicker {
  color: var(--section-accent, var(--pj-gold-light)) !important;
}
.sri-hero-trust span { color: var(--section-text, var(--pj-on-dark-body)) !important; }
.sri-hero-card h3 { color: var(--pj-on-dark-heading) !important; }
.sri-hero-card p { color: var(--pj-on-dark-body) !important; }
.sri-hero-card .sri-hero-card-tag { color: var(--pj-gold-light) !important; }

/* Live Muhurat: v1.0.0 changed this strip to dark but inherited old dark text. */
.fx-live-strip .fx-live-item strong,
.fx-live-strip .fx-live-count strong,
.fx-live-strip .fx-live-date strong {
  color: var(--section-heading, var(--pj-on-dark-heading)) !important;
}
.fx-live-strip .fx-live-item small,
.fx-live-strip .fx-live-count small,
.fx-live-strip .fx-live-date small {
  color: var(--section-text, var(--pj-on-dark-muted)) !important;
}
.fx-live-strip .fx-live-divider { color: var(--section-accent, var(--pj-gold)) !important; }
.fx-live-strip .fx-live-status { color: #FFFFFF !important; }
.fx-live-strip .fx-live-button {
  color: var(--section-button-text, var(--pj-wine-1)) !important;
  background: var(--section-button, linear-gradient(180deg,#F6DA82,#D7A64B)) !important;
}

/* Featured sacred rituals */
.sri-ritual-head h2 { color: var(--section-heading, var(--pj-on-dark-heading)) !important; }
.sri-ritual-head p { color: var(--section-text, var(--pj-on-dark-body)) !important; }
.sri-ritual-tab { color: var(--pj-on-dark-body) !important; }
.sri-ritual-tab[aria-selected="true"],
.sri-ritual-tab:hover { color: var(--pj-wine-1) !important; }
.sri-ritual-card h3 { color: var(--pj-on-dark-heading) !important; }
.sri-ritual-card p { color: var(--pj-on-dark-body) !important; }
.sri-ritual-meta span { color: var(--pj-on-dark-muted) !important; }
.sri-ritual-category,
.sri-ritual-actions a { color: var(--pj-gold-light) !important; }

/* Sankalp */
.fx-sankalp-copy h2 { color: var(--section-heading, var(--pj-on-dark-heading)) !important; }
.fx-sankalp-copy p { color: var(--section-text, var(--pj-on-dark-body)) !important; }
.fx-sankalp-points li { color: var(--section-text, var(--pj-on-dark-body)) !important; }
.fx-sankalp-points span { color: var(--section-accent, var(--pj-gold-light)) !important; }

/* Festival */
.fx-festival-copy h2,
.fx-festival-card h3 { color: var(--section-heading, var(--pj-on-dark-heading)) !important; }
.fx-festival-copy p,
.fx-festival-icons,
.fx-festival-card p { color: var(--section-text, var(--pj-on-dark-body)) !important; }

/* Sacred Moments gallery */
.fx-gallery-head h2 { color: var(--section-heading, var(--pj-on-dark-heading)) !important; }
.fx-gallery-head p { color: var(--section-text, var(--pj-on-dark-body)) !important; }
.fx-gallery-tile span { color: #FFF9EF !important; background: rgba(22,7,13,.82) !important; }
.fx-gallery .fx-small-gold { color: var(--pj-wine-1) !important; }

/* Consultation */
.fx-consult h2 { color: var(--section-heading, var(--pj-on-dark-heading)) !important; }
.fx-consult p { color: var(--section-text, var(--pj-on-dark-body)) !important; }
.fx-consult .fx-consult-symbol { color: var(--section-accent, var(--pj-gold-light)) !important; }
.fx-consult .fx-button-dark { color: var(--pj-on-dark-heading) !important; }

/* Footer */
.fx-footer,
.fx-footer p,
.fx-footer li,
.fx-footer span { color: var(--pj-on-dark-body); }
.fx-footer-brandline strong { color: var(--pj-on-dark-heading) !important; }
.fx-footer-brandline small,
.fx-footer-brand p,
.fx-newsletter p,
.fx-footer-bottom,
.fx-footer-bottom a { color: var(--pj-on-dark-muted) !important; }
.fx-footer-col h2 { color: var(--pj-gold-light) !important; }
.fx-footer .footer-menu a,
.fx-footer-email,
.fx-footer-phone { color: var(--pj-on-dark-body) !important; }
.fx-footer .footer-menu a:hover,
.fx-footer-email:hover,
.fx-footer-phone:hover { color: var(--pj-gold-light) !important; }
.fx-footer-bottom a:hover { color: var(--pj-on-dark-heading) !important; }

/* ---------- LIGHT / IVORY SURFACES ---------- */
.sri-guidance,
.sri-journey,
.fx-pandit,
.fx-muhurat,
.fx-explainer,
.fx-international,
.fx-testimonials,
.fx-knowledge,
.fx-faq,
.fx-quick-booking {
  color: var(--section-text, var(--pj-on-light-body)) !important;
}

.sri-guidance h1,
.sri-guidance h2,
.sri-guidance h3,
.sri-journey h1,
.sri-journey h2,
.sri-journey h3,
.fx-pandit h1,
.fx-pandit h2,
.fx-pandit h3,
.fx-muhurat h1,
.fx-muhurat h2,
.fx-muhurat h3,
.fx-explainer h1,
.fx-explainer h2,
.fx-international h1,
.fx-international h2,
.fx-international h3,
.fx-testimonials h1,
.fx-testimonials h2,
.fx-knowledge h1,
.fx-knowledge h2,
.fx-knowledge h3,
.fx-faq h1,
.fx-faq h2,
.fx-quick-booking h1,
.fx-quick-booking h2 {
  color: var(--section-heading, var(--pj-on-light-heading)) !important;
}

.sri-guidance p,
.sri-guidance li,
.sri-journey p,
.sri-journey li,
.fx-pandit p,
.fx-pandit li,
.fx-muhurat p,
.fx-muhurat li,
.fx-explainer > .site-container > p,
.fx-international > .site-container p,
.fx-testimonials p,
.fx-knowledge p,
.fx-faq p,
.fx-quick-booking p {
  color: var(--section-text, var(--pj-on-light-body)) !important;
}

/* Guidance */
.sri-guidance .sri-section-kicker { color: var(--section-accent, var(--pj-wine-3)) !important; }
.sri-guidance-item { color: var(--pj-on-light-heading) !important; }
.sri-guidance-item strong { color: var(--pj-on-light-heading) !important; }
.sri-guidance-item small { color: var(--pj-on-light-muted) !important; }
.sri-guidance-result { color: var(--pj-on-dark-body) !important; }
.sri-guidance-result h3 { color: var(--pj-on-dark-heading) !important; }
.sri-guidance-result p { color: var(--pj-on-dark-body) !important; }
.sri-guidance-result small { color: var(--pj-on-dark-muted) !important; }

/* Journey — dedicated color channels for heading/subheading and card heading/subheading. */
.sri-journey .sri-section-kicker,
.sri-journey .sacred-process__badge { color: var(--section-accent, var(--pj-wine-3)) !important; }
.sri-journey .sacred-process__header h2 { color: var(--section-heading, var(--pj-on-light-heading)) !important; }
.sri-journey .sacred-process__header p { color: var(--section-subtitle-color, var(--section-text, var(--pj-on-light-body))) !important; }
.sri-journey .sacred-process__card h3 { color: var(--section-card-title-color, var(--section-heading, var(--pj-on-light-heading))) !important; }
.sri-journey .sacred-process__card p { color: var(--section-card-text-color, var(--section-text, var(--pj-on-light-body))) !important; }
.sri-journey .sacred-process__step-num,
.sri-journey-num { color: var(--section-step-number-color, var(--section-accent, #9B6523)) !important; }
.sri-journey .sacred-process__card[data-card-text-theme="light"] h3,
.sri-journey .sacred-process__card[data-card-text-theme="auto"][data-card-has-image="1"] h3 {
  color: var(--section-card-title-color, #fff9ef) !important;
}
.sri-journey .sacred-process__card[data-card-text-theme="light"] p,
.sri-journey .sacred-process__card[data-card-text-theme="auto"][data-card-has-image="1"] p {
  color: var(--section-card-text-color, rgba(255,249,239,.92)) !important;
}
.sri-journey .sacred-process__card[data-card-text-theme="dark"] h3 {
  color: var(--section-card-title-color, var(--section-heading, var(--pj-on-light-heading))) !important;
}
.sri-journey .sacred-process__card[data-card-text-theme="dark"] p {
  color: var(--section-card-text-color, var(--section-text, var(--pj-on-light-body))) !important;
}

/* Pandit Ji profile: v1.0.0 changed the section to ivory but retained pale gold text. */
.fx-pandit-copy h2 { color: var(--section-heading, var(--pj-on-light-heading)) !important; }
.fx-pandit-copy h3 { color: var(--section-accent, #7B2A22) !important; }
.fx-pandit-copy > p { color: var(--section-text, var(--pj-on-light-body)) !important; }
.fx-pandit-stats span { color: var(--section-text, var(--pj-on-light-body)) !important; }
.fx-pandit-stats b { color: #7B2A22 !important; border-color: rgba(123,42,34,.22) !important; background: rgba(255,255,255,.8); }
.fx-pandit-quote { color: var(--pj-on-dark-body) !important; }
.fx-pandit-quote p { color: var(--pj-on-dark-heading) !important; }
.fx-pandit-quote small { color: var(--pj-on-dark-muted) !important; }
.fx-pandit-quote > span { color: var(--pj-gold-light) !important; }

/* Muhurat */
.fx-muhurat-head h2,
.fx-muhurat-card h3 { color: var(--section-heading, var(--pj-on-light-heading)) !important; }
.fx-muhurat-head p,
.fx-muhurat-card p,
.fx-muhurat-card small { color: var(--section-text, var(--pj-on-light-muted)) !important; }
.fx-muhurat-card { color: var(--section-text, var(--pj-on-light-body)) !important; }
.fx-date strong { color: #8F2E24 !important; }
.fx-date span { color: #7B5A45 !important; }

/* Havan vs Anushthan: outer section is light, ritual cards are intentionally dark. */
.fx-explainer .fx-section-heading h2 { color: var(--section-heading, var(--pj-on-light-heading)) !important; }
.fx-explainer .fx-section-heading p { color: var(--section-text, var(--pj-on-light-body)) !important; }
.fx-ritual-card { color: var(--pj-on-dark-body) !important; }
.fx-ritual-card h3 { color: var(--pj-on-dark-heading) !important; }
.fx-ritual-card ul,
.fx-ritual-card p,
.fx-ritual-card li { color: var(--pj-on-dark-body) !important; }
.fx-explainer-symbol { color: #8F5A1B !important; }

/* International: v1.0.0 changed the section to light but old world styles remained pale. */
.fx-international .fx-world-stats h2 { color: var(--section-heading, var(--pj-on-light-heading)) !important; }
.fx-international .fx-world-stats > p { color: var(--section-text, var(--pj-on-light-body)) !important; }
.fx-international .fx-stat b { color: #7B2A22 !important; }
.fx-international .fx-stat span { color: var(--pj-on-light-muted) !important; }
.fx-international .fx-world-quote { color: var(--pj-on-dark-body) !important; }
.fx-international .fx-world-quote p { color: var(--pj-on-dark-heading) !important; }
.fx-international .fx-world-quote > span { color: var(--pj-gold-light) !important; }

/* Testimonials / Knowledge / FAQ */
.fx-bottom-card h2,
.fx-bottom-card h3,
.fx-knowledge-grid h3,
.fx-knowledge-grid h3 a,
.fx-faq-list summary { color: var(--section-heading, var(--pj-on-light-heading)) !important; }
.fx-testimonials blockquote p,
.fx-testimonials footer strong,
.fx-bottom-card-head p,
.fx-faq-list .pj-faq-answer,
.fx-faq-list details > p,
.fx-story-empty p { color: var(--section-text, var(--pj-on-light-body)) !important; }
.fx-testimonials footer small { color: var(--pj-on-light-muted) !important; }
.fx-bottom-card-head > a,
.fx-read { color: var(--section-accent, var(--pj-link-light)) !important; }
.fx-bottom-card-head > a:hover,
.fx-read:hover { color: #5A1715 !important; }

/* Buttons keep purposeful contrast instead of inheriting section text. */
[data-pj-section] .button-gold,
[data-pj-section] .sri-book {
  color: var(--section-button-text, var(--pj-wine-1)) !important;
}
.button-outline { color: inherit; }

/* Focus is always visible on both light and dark surfaces. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline-color: var(--pj-gold-light);
}


/* v1.1.8 — Guidance is now a dark cinematic surface. */
.sri-guidance{color:var(--section-text,var(--pj-on-dark-body))!important}
.sri-guidance .sri-section-head h2{color:var(--section-heading,var(--pj-on-dark-heading))!important}
.sri-guidance .sri-section-head p{color:var(--section-text,var(--pj-on-dark-body))!important}
.sri-guidance .sri-section-kicker{color:var(--section-accent,var(--pj-gold-light))!important}
.sri-guidance-item{color:var(--pj-ivory)!important}
.sri-guidance-item strong{color:var(--pj-ivory)!important}
.sri-guidance-item small{color:rgba(255,249,239,.74)!important}
.sri-guidance-item[aria-pressed="true"] strong{color:#fffdf7!important}
.sri-guidance-result{color:var(--pj-on-dark-body)!important}
.sri-guidance-result h3{color:var(--pj-on-dark-heading)!important}
.sri-guidance-result p{color:var(--pj-on-dark-body)!important}
.sri-guidance-result small{color:var(--pj-gold-light)!important}
