/* V14 — typographic contrast and ministry social links. Loaded last on every page. */
:root{--v14-text-on-night:#f7f3ec;--v14-text-muted:#c9d6db;--v14-accent:#e7bd79}
/* Dark editorial backgrounds must never inherit the text color designed for ivory sections. */
body.v7-interior.v11-editorial .wrap > section > :is(h1,h2,h3),
body.v7-interior.v11-editorial .wrap > section > div > :is(h1,h2,h3):not(.light-heading),
body.v7-interior.v11-editorial .wrap .card > :is(h2,h3),
body.v7-interior.v11-editorial .wrap .article :is(h2,h3),
body.v7-interior.v11-editorial .wrap .rdv h3,
body.v7-interior.v11-editorial .wrap .camp h3 {color:var(--v14-text-on-night)!important;}
body.v7-interior.v11-editorial .wrap > section > :is(h1,h2,h3){text-shadow:0 2px 15px rgba(0,0,0,.13)}
/* A section expressly using a dark background keeps light lettering even when V11 forces dark headers. */
body.v11-editorial.v7-interior > section:is(.v7-legacy-hero,.v7-mission-globe,.v7-campus-hero,.v8-sos-hero,.bg-blue-900,.text-white),
body.v11-editorial.v7-interior > section:is(.v7-legacy-hero,.v7-mission-globe,.v7-campus-hero,.v8-sos-hero,.bg-blue-900,.text-white) :is(h1,h2,h3),
body.v11-editorial.v7-interior > section.bg-gradient-to-br.from-blue-900 :is(h1,h2,h3),
body.v11-editorial.v7-interior > section.bg-gradient-to-r.from-blue-900 :is(h1,h2,h3),
body.v11-editorial.v7-interior :is(.v7-legacy-hero,.v7-inner-heading,.v8-sos-hero,.v10-inner-banner) :is(h1,h2,h3),
body.v11-editorial :is(.v7-mission-globe,.v8-sos-hero,.v7-campus-hero,.v10-inner-banner) :is(h1,h2,h3){color:var(--v14-text-on-night)!important;}
/* Keep dark type on true light panels — preserve high contrast in both themes. */
body.v11-editorial :is(.v7-campus-list,.v7-campus-join,.v8-locations,.editorial-team,.training-promo,.mariage-inner,.v11-elder-section) :is(h1,h2,h3){color:#132637!important;text-shadow:none}
body.v11-editorial :is(.v7-campus-list,.v7-campus-join,.v8-locations,.editorial-team,.training-promo,.mariage-inner,.v11-elder-section) :is(.team-person,.v7-card-body) h3{color:#172b3c!important}
/* Social footer: real ministry destinations only; no guessed Facebook address. */
.ymww-socials{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 26px;border-top:1px solid rgba(227,202,153,.2);padding:24px 14px 0;margin:18px auto 0;width:100%;max-width:1240px;font-family:'DM Sans',Inter,Arial,sans-serif;color:#d1d5d8}
.ymww-socials-label{font-size:11px!important;font-weight:700!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:#d7b47c!important;white-space:nowrap}
.ymww-socials a,.ymww-socials a:visited{display:inline-flex!important;align-items:center!important;gap:9px!important;color:#f1ece4!important;font-size:13px!important;font-weight:550!important;letter-spacing:.01em!important;text-decoration:none!important;padding:8px 2px!important;margin:0!important;border-radius:2px!important;background:transparent!important;box-shadow:none!important;line-height:1.4!important}
.ymww-socials a:hover{text-decoration:underline!important;text-underline-offset:4px!important;color:#f1cc92!important}
.ymww-socials svg{width:17px;height:17px;flex:none;fill:currentColor}
.ymww-socials a:focus-visible{outline:2px solid #f0cb89!important;outline-offset:4px!important}
/* A fixed design audit: headings may wrap, but never fade invisibly into the night background. */
body.v7-interior .wrap > section > h2{opacity:1!important;visibility:visible!important}
@media(max-width:680px){.ymww-socials{gap:10px 21px;padding-top:18px;justify-content:flex-start}.ymww-socials-label{flex-basis:100%}}
