/* Homepage appearance and performance fix v16: isolate from legacy global rules. */
#homeWelcomeFix{background:#113263!important;padding:56px 16px!important;isolation:isolate}
#homeWelcomeFix,#homeWelcomeFix *,#homeWelcomeFix h1,#homeWelcomeFix h2,#homeWelcomeFix h3,#homeWelcomeFix p,#homeWelcomeFix div{color:#fff!important;opacity:1!important;text-shadow:none!important}
#homeWelcomeFix h1,#homeWelcomeFix h2{font-family:Poppins,Arial,sans-serif!important;font-size:clamp(1.6rem,3.1vw,2.7rem)!important;line-height:1.28!important;font-weight:700!important;letter-spacing:-.025em!important}
#homeWelcomeFix p,#homeWelcomeFix .home-welcome-body,#homeWelcomeFix .home-welcome-body *{font-family:Poppins,Arial,sans-serif!important;font-size:clamp(.98rem,1.3vw,1.13rem)!important;line-height:1.85!important;color:#f2f6ff!important;font-weight:400!important}
#homeWelcomeFix .home-welcome-body{max-width:920px;margin:0 auto}
#homeExploreFix{background:linear-gradient(180deg,#fcfafc,#f6f8fb)!important}
#homeExploreFix .home-explore-grid{align-items:stretch!important}
#homeExploreFix .home-preview-card{height:100%;display:flex;flex-direction:column;background:#fff!important;border:1px solid #e7e9ef!important;box-shadow:0 14px 38px rgba(30,33,53,.08)!important;border-radius:20px!important;overflow:hidden!important;transition:transform .25s ease,box-shadow .25s ease}
#homeExploreFix .home-preview-card:hover{transform:translateY(-5px);box-shadow:0 22px 44px rgba(30,33,53,.13)!important}
#homeExploreFix .home-preview-media{height:210px;overflow:hidden;background:#e7e8f0;position:relative}
#homeExploreFix .home-preview-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
#homeExploreFix .home-preview-card:hover img{transform:scale(1.035)}
#homeExploreFix .home-preview-copy{padding:24px!important;display:flex;flex-direction:column;flex:1}
#homeExploreFix .home-preview-copy h3{font-family:'Playfair Display',Georgia,serif!important;color:#251739!important;font-size:1.42rem!important;line-height:1.3!important;opacity:1!important;margin-bottom:12px!important}
#homeExploreFix .home-preview-copy p{font-size:.96rem!important;line-height:1.7!important;color:#526078!important;opacity:1!important;flex:1}
#homeExploreFix .home-preview-copy a{font-size:.92rem!important;color:#a74520!important;font-weight:700!important;align-self:flex-start;text-decoration:none}
#homeExploreFix .home-preview-copy a:hover{text-decoration:underline}
#homeExploreFix .home-preview-title{font-size:clamp(1.65rem,2.8vw,2.65rem)!important;color:#193e75!important;line-height:1.3!important}
#homeExploreFix .home-preview-intro{color:#526078!important;font-size:1rem!important;line-height:1.75!important;max-width:750px;margin:0 auto}
/* slider: override huge 950px fixed height across legacy layers */
body:has(#homeWelcomeFix) .hero-slide img{height:clamp(300px,44vw,650px)!important;width:100%;object-fit:cover}
body:has(#homeWelcomeFix) .carousel-caption{background:rgba(35,21,67,.8);padding:16px 24px;border-radius:14px}
/* Prevent blank-looking team cards if image loads late */
body:has(#homeWelcomeFix) .sister-image-wrap{background:linear-gradient(145deg,#e9e3f3,#c9d2e2)}
body:has(#homeWelcomeFix) img{color:transparent}
@media(max-width:767px){#homeWelcomeFix{padding:44px 16px!important}#homeExploreFix .home-preview-media{height:190px}#homeExploreFix .home-preview-copy{padding:20px!important}}
@media(prefers-reduced-motion:reduce){#homeExploreFix .home-preview-card,#homeExploreFix .home-preview-media img{transition:none!important}}
