/* CLRBD V36 — final contrast pass for dark sections.
   Loaded after all legacy/theme files so older global heading rules cannot
   turn light-on-dark text black. Card text on white surfaces is untouched. */

/* Homepage: dark editorial / guidance sections. */
.remedy-section .section-heading h2,
.knowledge-section .section-heading h2,
.insights-section .section-heading h2,
.stories-section .section-heading h2,
.consultation-section .consultation-copy h2,
.foreigner-preview-section .foreigner-copy h2,
.join-banner h2,
.page-bottom-cta h2 {
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:0 1px 1px rgba(0,0,0,.18)!important;
}

.remedy-section .section-heading p:not(.eyebrow),
.knowledge-section .section-heading p:not(.eyebrow),
.insights-section .section-heading p:not(.eyebrow),
.stories-section .section-heading p:not(.eyebrow),
.consultation-section .consultation-copy>p:not(.eyebrow),
.foreigner-preview-section .foreigner-copy>p:not(.eyebrow),
.join-banner p:not(.eyebrow),
.page-bottom-cta p:not(.eyebrow) {
  color:#d8dee7!important;
  opacity:1!important;
}

.remedy-section .eyebrow,
.knowledge-section .eyebrow,
.insights-section .eyebrow,
.stories-section .eyebrow,
.consultation-section .eyebrow,
.foreigner-preview-section .eyebrow,
.join-banner .eyebrow,
.page-bottom-cta .eyebrow {
  color:#f3b8bc!important;
  opacity:1!important;
}

/* CTA strips placed on dark gradients. */
.section-lead-cta .section-lead-copy h3,
.section-lead-cta .section-lead-copy small {
  color:#ffffff!important;
  opacity:1!important;
}
.section-lead-cta .section-lead-copy small { color:#f2b2b7!important; }

/* Foreign Part page: the HOW IT WORKS section is dark. */
.foreign-steps .section-heading h2,
.foreign-steps .section-heading h3,
.foreign-steps .step-grid h3 {
  color:#ffffff!important;
  opacity:1!important;
}
.foreign-steps .section-heading p:not(.eyebrow),
.foreign-steps .step-grid p {
  color:#d8e0e9!important;
  opacity:1!important;
}
.foreign-steps .eyebrow { color:#f3b8bc!important; }

/* Footer and dark contact areas. */
.site-footer h2,
.site-footer h3,
.site-footer strong { color:#ffffff!important; }
.site-footer p,
.site-footer span,
.site-footer a { color:#cbd3de!important; }
.site-footer a:hover,
.site-footer .footer-admin { color:#f0c76e!important; }

/* Preserve readable text in the dark modal/overlay header areas. */
.modal-hero h1,
.modal-hero h2,
.modal-hero h3 { color:#ffffff!important; }
.modal-hero p { color:#d5dde7!important; }

/* Local review accessibility: ensure text cannot become visually invisible
   through opacity inherited from legacy animation/reveal rules. */
.knowledge-section .section-heading,
.remedy-section .section-heading,
.foreigner-preview-section .foreigner-copy,
.consultation-section .consultation-copy,
.foreign-steps .section-heading {
  opacity:1!important;
  visibility:visible!important;
}
