/* Yen v10: six user-selected original photographs, consistent 3:2 visual panels. */
/* Hero: full-bleed photograph, no isolated portrait frame or black pillar bars. */
.hero.hero-editorial.hero-v10{position:relative;display:flex;align-items:center;isolation:isolate;background:#172a20;min-height:clamp(590px,53vw,760px);padding:0;overflow:hidden;color:#fff}
.hero-v10 .hero-v10-background{position:absolute;inset:0;display:block;z-index:-2;overflow:hidden}
.hero-v10 .hero-v10-background img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%;display:block;filter:saturate(.95)}
.hero.hero-editorial.hero-v10::after{content:"";position:absolute;inset:0;z-index:-1;display:block;background:linear-gradient(90deg,rgba(12,29,23,.82) 0%,rgba(16,35,27,.73) 27%,rgba(19,35,25,.43) 56%,rgba(20,32,23,.06) 100%);pointer-events:none}
.hero.hero-editorial.hero-v10 .container.hero-layout{width:min(1230px,calc(100% - 100px));min-height:inherit;display:flex;align-items:center;padding:90px 0;gap:0}
.hero.hero-editorial.hero-v10 .hero-content{padding:0;max-width:650px;position:relative;z-index:1}
.hero.hero-editorial.hero-v10 h1{color:#fff;font-size:clamp(48px,5.1vw,78px);line-height:1.3;letter-spacing:-.047em;margin:20px 0 25px;text-shadow:0 2px 20px rgba(0,0,0,.12)}
.hero.hero-editorial.hero-v10 .eyebrow.dark{color:#e1eddc;letter-spacing:.22em}
.hero.hero-editorial.hero-v10 .hero-sub{color:#f6fbf4;font-size:15px;font-weight:650;max-width:610px}
.hero.hero-editorial.hero-v10 .hero-desc{color:#f2f5ec;max-width:535px;font-size:15px;line-height:2.1;opacity:.99}
.hero-v10 .hero-actions{gap:14px;display:flex;flex-wrap:wrap}
.hero-v10 .hero-actions .btn-primary{background:#e7f2e7;color:#16412c;border-color:#e7f2e7}
.hero-v10 .hero-actions .btn-primary:hover{background:#fff;color:#16412c}
.hero-v10 .hero-actions .btn-outline{background:transparent;border-color:rgba(255,255,255,.85);color:#fff}
.hero-v10 .hero-actions .btn-outline:hover{background:#fff;color:#173d29}
.hero.hero-editorial.hero-v10 .hero-notice{margin-top:46px}
.hero.hero-editorial.hero-v10 .hero-notice::before{background:rgba(244,255,242,.8)}
.hero.hero-editorial.hero-v10 .hero-notice span{color:#e9f3e8;letter-spacing:.12em}
/* Shared photo ratio makes all theme panels fully filled without stretching. */
.topic-section-home .topic-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.topic-section-home .topic-grid-four .topic-card{overflow:hidden;border-radius:4px;background:#fff;transition:transform .27s ease,box-shadow .27s ease}
.topic-section-home .topic-grid-four .topic-card img,
.topic-section-home .topic-grid-four .topic-card-v10 img{width:100%!important;height:auto!important;aspect-ratio:3/2;display:block;object-fit:cover!important;object-position:center!important;background:transparent!important;max-height:none!important;filter:none!important}
.topic-section-home .topic-grid-four .topic-card:hover{transform:translateY(-4px)}
.topic-section-home .topic-card-content{padding:26px 30px 30px}
.topic-section-home .topic-card h3{font-size:clamp(23px,2vw,30px);font-weight:700;color:#183d2b}
.se-section .se-image img{width:100%;height:auto!important;aspect-ratio:3/2;object-fit:cover;border:0;box-shadow:0 18px 38px rgba(0,0,0,.13)}
.se-section .se-image{min-width:0}
/* SE explainer: real image woven into educational content */
.se-detail-photo{margin:28px 0 33px;max-width:750px}
.se-detail-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:3px}
.se-detail-photo figcaption{font-size:12px;color:#526b56;padding:12px 0}
/* Services detailed page: consistent full-width images on selected topic cards */
.topic-section-grid .topic-detail-with-photo{padding:0;overflow:hidden;display:flex;flex-direction:column;border-left:1px solid #d4e1d6}
.topic-detail-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center}
.topic-detail-text{padding:25px 29px 30px;display:flex;flex-direction:column;flex:1}
.topic-detail-text p{margin:12px 0 10px}
.topic-detail-text ul{margin-top:auto}
/* Clear hierarchy and accessible focus */
a:focus-visible,.btn:focus-visible{outline:3px solid #b5d6b1;outline-offset:4px}
@media(max-width:1000px){
 .hero.hero-editorial.hero-v10 .container.hero-layout{width:calc(100% - 72px)}
 .hero.hero-editorial.hero-v10 h1{font-size:clamp(47px,6vw,65px)}
 .hero.hero-editorial.hero-v10 .hero-content{max-width:610px}
}
@media(max-width:820px){
 .hero.hero-editorial.hero-v10{min-height:650px;padding:0}
 .hero.hero-editorial.hero-v10 .container.hero-layout{min-height:650px;width:calc(100% - 46px);padding:70px 0}
 .hero.hero-editorial.hero-v10::after{background:linear-gradient(90deg,rgba(11,26,20,.88) 0%,rgba(17,33,25,.68) 65%,rgba(20,32,23,.3) 100%)}
 .hero.hero-editorial.hero-v10 .hero-content{max-width:620px}
 .hero-v10 .hero-v10-background img{object-position:58% center}
 .hero.hero-editorial.hero-v10 h1{font-size:clamp(45px,7.5vw,64px)}
 .topic-section-home .topic-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 .topic-section-home .topic-grid-four .topic-card-content{padding:20px}
 .topic-section-grid .topic-detail-text{padding:22px}
}
@media(max-width:620px){
 .hero.hero-editorial.hero-v10{min-height:655px}
 .hero.hero-editorial.hero-v10 .container.hero-layout{width:calc(100% - 40px);min-height:655px;padding:60px 0 46px;align-items:flex-end}
 .hero.hero-editorial.hero-v10::after{background:linear-gradient(180deg,rgba(13,32,24,.19) 0%,rgba(9,24,19,.72) 33%,rgba(10,26,20,.95) 100%)}
 .hero-v10 .hero-v10-background img{object-position:56% 45%}
 .hero.hero-editorial.hero-v10 h1{font-size:clamp(41px,10vw,55px);line-height:1.3;margin:14px 0 19px}
 .hero.hero-editorial.hero-v10 .hero-sub{font-size:12px;line-height:1.8;margin-bottom:15px}
 .hero.hero-editorial.hero-v10 .hero-desc{font-size:12px;line-height:1.9;margin-bottom:20px}
 .hero.hero-editorial.hero-v10 .eyebrow.dark{font-size:9px;letter-spacing:.14em}
 .hero-v10 .hero-actions{gap:10px}
 .hero-v10 .hero-actions .btn{font-size:12px;padding:11px 16px}
 .hero.hero-editorial.hero-v10 .hero-notice{margin-top:24px}
 .hero.hero-editorial.hero-v10 .hero-notice span{font-size:12px}
 .topic-section-home .topic-grid-four{grid-template-columns:1fr;gap:20px}
 .topic-section-home .topic-grid-four .topic-card img{aspect-ratio:3/2;height:auto!important}
 .se-section .se-image img{height:auto!important;aspect-ratio:3/2}
 .topic-detail-text{padding:20px 23px}
}
@media(prefers-reduced-motion:reduce){.topic-section-home .topic-grid-four .topic-card{transition:none}}

/* Balanced service details: 4 image-led chapters and one intentional quiet text chapter. */
.topic-section-grid #intimacy{background:#eaf3ed;display:flex;flex-direction:column;justify-content:center;padding:clamp(32px,4.8vw,65px)}
.topic-section-grid #lgbtq{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
.topic-section-grid #lgbtq .topic-detail-photo{height:100%;min-height:350px;aspect-ratio:auto;object-fit:cover}
.topic-section-grid #lgbtq .topic-detail-text{justify-content:center;padding:clamp(25px,4.6vw,55px)}
@media(max-width:680px){
 .topic-section-grid #lgbtq{grid-column:auto;display:flex}
 .topic-section-grid #lgbtq .topic-detail-photo{height:auto;min-height:0;aspect-ratio:3/2}
 .topic-section-grid #lgbtq .topic-detail-text{padding:23px}
}
