/* Restore a comfortable viewport inset without changing header flow. */
.refined-site .header_logo,#header .header_logo{transform:translateX(calc(16px - 2.85% - max(0px, 50vw - 750px)))!important}
.refined-site .pharma-positioning-title{font-size:clamp(36px,3.5vw,60px)!important;line-height:1.45!important;letter-spacing:1px!important}
.refined-site .yh-kv-copy>p{font-size:18px;line-height:1.6;max-width:700px;letter-spacing:1.4px}
#part-02{position:relative;isolation:isolate}
#part-02:after{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,rgba(247,250,252,.97),rgba(247,250,252,.75) 48%,rgba(247,250,252,.3)),var(--product-scene);background-size:cover;background-position:center;opacity:0;transition:opacity .4s ease;pointer-events:none}
#part-02.product-scene-visible:after{opacity:1}
.with-product-scene figure,.with-product-scene .yh-product-image{position:relative;isolation:isolate;overflow:hidden}
.with-product-scene figure:before,.with-product-scene .yh-product-image:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(245,249,252,.52),rgba(245,249,252,.78)),var(--card-scene);background-size:cover;background-position:center;opacity:0;transform:scale(1.06);transition:opacity .35s ease,transform .55s ease;z-index:-1;pointer-events:none}
.with-product-scene:hover figure:before,.with-product-scene:focus-visible figure:before,.with-product-scene:hover .yh-product-image:before,.with-product-scene:focus-visible .yh-product-image:before{opacity:1;transform:scale(1)}
.ref-product-card.with-product-scene:hover,.ref-product-card.with-product-scene:focus-visible{box-shadow:0 12px 28px #002f7420;border-color:#ed6c00}
.with-category-scene{position:relative;isolation:isolate;overflow:hidden}
.with-category-scene:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 40%,#ffffff30),var(--category-scene) right center/cover;opacity:0;transition:opacity .25s ease;z-index:-1}
.with-category-scene:hover:before,.with-category-scene:focus-visible:before{opacity:1}
@media(max-width:991px){.refined-site .pharma-positioning-title{font-size:32px!important}.refined-site .yh-kv-copy>p{font-size:13px;max-width:90%;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){#part-02:after,.with-product-scene figure:before,.with-product-scene .yh-product-image:before{transition:none}}

#part-02:after{background-position:center,center 43%}
.with-product-scene figure:before,.with-product-scene .yh-product-image:before{background-position:center,center 43%;background-image:linear-gradient(rgba(245,249,252,.3),rgba(245,249,252,.5)),var(--card-scene)}

/* Reference composition: sky, distant hills and ground across the complete card. */
.ref-product-card.with-product-scene{position:relative;isolation:isolate;overflow:hidden}
.ref-product-card.with-product-scene:before{content:"";position:absolute;inset:0;background:var(--card-scene) center/cover no-repeat;opacity:0;transition:opacity .35s ease;z-index:-1;pointer-events:none}
.ref-product-card.with-product-scene:hover:before,.ref-product-card.with-product-scene:focus-visible:before{opacity:1}
.ref-product-card.with-product-scene:hover figure,.ref-product-card.with-product-scene:focus-visible figure,.ref-product-card.with-product-scene:hover .ref-product-card-copy,.ref-product-card.with-product-scene:focus-visible .ref-product-card-copy{background:transparent!important}
.ref-product-card.with-product-scene figure:before{display:none!important}
.with-product-scene .yh-product-image:before{background-image:var(--card-scene);background-position:center;background-size:cover}
#part-02:after{background-position:center}

.ref-product-card.with-product-scene:before{background-color:#f4f9fc;background-size:100% auto;background-position:center top}

.ref-product-card.with-product-scene:before{background-color:#f4f9fc;background-size:100% auto;background-position:center top}

.page-index #part-02:after{display:none!important}
.page-index .yh-kv{cursor:default}
