/* YMWW V15 — quality and accessibility corrections (last-loaded cascade).
   This stylesheet intentionally scopes changes to existing real components. */
:root{--ymww-deep:#041827;--ymww-night:#071b2b;--ymww-ivory:#f6f1e8;--ymww-ink:#152a38;--ymww-gold:#deb777}
html{scroll-padding-top:90px}
body{min-width:0}
body :is(img,svg,video){max-width:100%}
body img{height:auto}
body :is(h1,h2,h3){overflow-wrap:break-word}
body :is(h1,h2){text-wrap:balance}
body a:focus-visible,body button:focus-visible,body input:focus-visible,body textarea:focus-visible,body select:focus-visible,[tabindex]:focus-visible{outline:3px solid #eabd77!important;outline-offset:4px}
/* Remove a marketing debug badge which overlays Matthew 24:14 on wide screens. */
.v10-motion-note{display:none!important}
/* Editorial homepage: precise separation of copy, quotation and moving globe. */
.v6-hero .v6-hero-text{z-index:4}
.v6-hero .v6-right-verse{z-index:4;max-width:295px;right:clamp(28px,4vw,75px);top:95px;font-size:clamp(13px,1.02vw,15px);line-height:1.48;pointer-events:none}
.v6-hero .v7-hero-moving-earth{z-index:1;pointer-events:none}
.v6-hero .v6-hero-shade{z-index:2}
.v6-hero .v6-hero-values{z-index:4}
.v6-hero .v6-hero-text h1{overflow-wrap:normal}
.v6-hero .v6-hero-text .v6-hero-sub{max-width:100%}
/* No arbitrary cropped labels or oversized button typography on content pages. */
.v7-interior .v10-inner-banner :is(h1,h2),.v7-interior .v7-legacy-hero :is(h1,h2),.v11-editorial .v11-campus-hero :is(h1,h2){color:#f8f4ed!important;text-shadow:0 2px 16px #01131ec2}
.v7-interior .wrap>section:not([class*='light'])>h2,
.v7-interior .wrap>section:not([class*='light'])>div>h2,
.v7-interior .wrap>section:not([class*='light']) .section-heading>h2{color:#f5f0e8!important}
.v7-interior .wrap .article :is(h2,h3),.v7-interior .wrap .card :is(h2,h3),.v7-interior .wrap .rdv :is(h2,h3){color:#f7f1e8!important}
.v7-interior .wrap .card p,.v7-interior .wrap .article p{color:#cbd7da}
/* Restore dark ink on confirmed light surfaces. */
.v11-editorial :is(.section-cream,.v7-campus-list,.v7-campus-join,.v8-locations,.editorial-team,.training-promo,.mariage-inner,.v11-elder-section,.v6-training) :is(h1,h2,h3){color:#142839!important;text-shadow:none!important}
.v6-team :is(h2,h3), .v6-hero :is(h1,h2){color:#fbf5eb!important}
.v6-hero h1 em{color:#e4bd78!important}
/* Team portraits: consistent crop and clean frame without clipping text. */
.v6-person{isolation:isolate;outline:1px solid rgba(225,190,130,.12);outline-offset:-1px}
.v6-person img{display:block;width:100%;object-fit:cover;object-position:center center;height:221px}
.v6-person-caption{min-height:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:9px 8px}
.v6-person-caption h3{line-height:1.15}
/* Keep the existing shared navigation from V9; prevent overlap on mid-sized laptops. */
.v7-site-header .v6-header-inner{max-width:1600px}
.v7-site-header .v6-brand{overflow:visible}
.v7-site-header nav a{transition:color .15s ease}
.v7-site-header .v6-mobile-nav:not([hidden]){z-index:10000}
.v7-site-header .v6-mobile-nav a{white-space:normal!important;overflow-wrap:anywhere}
/* Long words and tags must not spill outside the page on mobile. */
.v7-campus-card,.v8-globe-details,.v6-training-description,.v10-detail,.v11-campus-info,.v7-intro,.v6-team-intro{min-width:0;overflow-wrap:anywhere}
.v8-globe-details{align-self:center}
/* Treat card actions as professional links, not game badges. */
.v7-campus-card :is(a,button),.v8-globe-details a,.v11-campus-hero a{border-radius:4px!important}
/* Footer legibility and branded social links. */
.ymww-socials-label{color:#efc789!important}
.ymww-socials a{min-height:42px}
/* Keep editorial visuals fluid with stable aspect ratios and avoid content shifts. */
.v6-training-image img,.v6-training-links img{object-fit:cover}
/* Support screen reader / motion preferences and smaller viewports. */
@media(max-width:1480px){.v6-hero .v6-right-verse{right:24px;font-size:13px;max-width:265px}}
@media(max-width:1280px){.v6-hero .v6-right-verse{display:none!important}}
@media(max-width:1160px){.v7-site-header .v6-head-actions{gap:8px}}
@media(max-width:800px){
 .v6-hero .v6-hero-text{max-width:calc(100% - 40px);width:calc(100% - 40px)}
 .v6-hero h1{max-width:100%;white-space:normal!important;overflow-wrap:normal}
 .v6-hero .v6-hero-values{max-width:100%;padding-inline:10px;line-height:1.5}
 .v6-person img{height:auto;aspect-ratio:4/3;object-position:center center}
 .v6-training-stat{display:flex;gap:14px}
 .v7-site-header .v6-header-inner{width:calc(100% - 28px)}
}
@media(max-width:560px){
 .v6-hero .v6-hero-text{top:192px;left:18px}
 .v6-hero h1{font-size:clamp(31px,8.1vw,43px);line-height:1.12}
 .v6-hero .v6-hero-values{font-size:9px;bottom:10px}
 .v6-hero .v6-hero-values span{padding:0 6px}
 .v6-team-inner{gap:10px}
 .v6-person-caption{min-height:59px;padding-inline:4px}
 .v6-person-caption span{letter-spacing:.035em}
 .v6-person-caption h3{font-size:14px}
 .v6-training-stat{flex-wrap:wrap}
 .v6-training-stat small{max-width:none}
 .v7-site-header .v6-brand strong{font-size:12px}
 .ymww-socials{justify-content:center}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
 .v6-hero-bg{animation:none!important}
}

/* Faith page: editorial secondary title on a dark background (previously nearly invisible). */
body.v7-interior.v11-editorial .wrap>h2.v15-secondary-intro-title{color:#f8f2e9!important;font-family:'Libre Baskerville',Georgia,serif!important;font-weight:400;font-size:clamp(31px,4.3vw,58px)!important;line-height:1.17!important;text-shadow:0 2px 18px #02121c80;letter-spacing:-.045em;max-width:900px;margin:0 0 26px!important}

/* Philanthropy: verified information only, no fictitious checkout widgets. */
.v15-giving{background:#f4f0e9;color:#172b3a;font-family:'DM Sans',Arial,sans-serif}
.v15-giving-max{width:min(1200px,calc(100% - 64px));margin:0 auto}
.v15-giving h1,.v15-giving h2,.v15-giving h3{font-family:'Libre Baskerville',Georgia,serif;font-weight:400;line-height:1.16;letter-spacing:-.04em}
.v15-giving h1{font-size:clamp(37px,5.4vw,76px);max-width:1000px;margin:18px 0 30px;color:#f6f0e8}
.v15-giving h1 em{font-style:normal;color:#dfb878}
.v15-giving h2{font-size:clamp(28px,3.4vw,47px);margin:10px 0 27px;color:#142839}
.v15-giving h3{font-size:23px;margin:14px 0;color:#152b3b}
.v15-giving-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.22em;font-weight:700;color:#b98d4e}
.v15-giving-hero{background:linear-gradient(90deg,#031423ec,#041626bd 67%,#091c2f80),url('/assets/img/hero-v6-reference.webp') center 43% / cover;padding:clamp(110px,12vw,180px) 0 clamp(80px,9vw,125px);color:#faf4ea}
.v15-giving-hero p:not(.v15-giving-kicker){max-width:700px;font-size:clamp(17px,1.5vw,21px);line-height:1.7;color:#e5e8ea}
.v15-giving-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px}
.v15-giving-intro{padding:clamp(55px,7vw,100px) 0}
.v15-giving-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.v15-giving-grid article{background:#fffdf9;border-top:2px solid #c19d65;padding:clamp(24px,3vw,40px)}
.v15-giving-grid article span{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#997243}
.v15-giving-grid article p,.v15-giving-confirm p{font-size:15px;line-height:1.8;color:#415465}
.v15-giving-confirm{background:#e9e4db;padding:clamp(55px,7vw,100px) 0}
.v15-giving-confirm-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(30px,5vw,90px);align-items:center}
.v15-giving-confirm .v6-btn{margin-top:16px}
.v15-giving-confirm aside{background:#fffdf8;padding:clamp(25px,3vw,45px);border-left:3px solid #ba915b}
.v15-giving-confirm aside strong{color:#1b2e3b;font-size:18px}
.v15-giving-verse{font-family:Georgia,serif;font-style:italic;color:#5b4c35!important;border-top:1px solid #d6c5a9;padding-top:18px}
.v15-giving-verse small{font:11px 'DM Sans',sans-serif;letter-spacing:.08em;color:#9d7f56}
.v15-privacy-consent{display:flex!important;align-items:flex-start;gap:11px;margin:16px 0 8px;color:#253c49!important;line-height:1.55;font-size:13px!important}
.v15-privacy-consent input{flex:none;width:19px;height:19px;accent-color:#987247;margin-top:1px}
.v15-privacy-hint{font-size:12px;line-height:1.5;color:#516373;padding-bottom:14px}
@media(max-width:850px){.v15-giving-grid,.v15-giving-confirm-grid{grid-template-columns:1fr}.v15-giving-max{width:calc(100% - 34px)}}
