/* R3: retain the existing Hero B layout; adapt its photograph to the full image. */
.zh-preview .experience-card [data-media="experience.3.image"]>img{object-fit:cover;object-position:65% center}
.workbench[hidden]{display:none!important}
.zh-preview[data-hero="b"] .hero-copy h1{max-width:900px;text-wrap:balance}
.zh-preview[data-hero="b"] .hero-visual{height:auto!important;aspect-ratio:auto!important}
.zh-preview[data-hero="b"] .hero-visual>.photo-window{aspect-ratio:1672/941!important;height:auto!important;width:100%!important;left:0!important;margin:0!important}
.zh-preview[data-hero="b"] .hero-visual>.photo-window>img{width:100%!important;height:100%!important;left:0!important;top:0!important;object-fit:contain!important;object-position:50% 50%!important}
.zh-preview[data-hero="b"] .hero-info{margin-top:-80px}
.zh-preview .experience .section-heading>.lead{max-width:850px;margin-left:auto;margin-right:auto;line-height:1.9;text-wrap:pretty}
.detail-preview .detail-intro:has([data-media="pain.image"]){display:flex;flex-direction:column;gap:36px;align-items:stretch}
.detail-preview [data-media="pain.image"]{width:100%;max-width:1040px;align-self:center;aspect-ratio:1672/941;height:auto;border-radius:24px;overflow:hidden}
.detail-preview [data-media="pain.image"] img{display:block;width:100%;height:auto;position:static;object-fit:contain}
.detail-preview .detail-intro:has([data-media="pain.image"])>div:last-child{max-width:900px}
.detail-preview .pain-article{display:block;max-width:900px;margin:38px auto}
.detail-preview .pain-article>p,.detail-preview .pain-article section{max-width:none}
.detail-preview .pain-chapter{margin:42px 0;padding:0;background:transparent;border:0;box-shadow:none}
.pain-chapter h2{font-size:clamp(23px,2.2vw,31px);line-height:1.5;margin:0 0 22px}
.pain-chapter h3{font-size:21px;line-height:1.6;margin:30px 0 14px}
.pain-article p,.pain-article li{line-height:1.95;overflow-wrap:anywhere}
.pain-article p{margin:16px 0}
@media(max-width:600px){
 .zh-preview[data-hero="b"] .hero-copy h1{font-size:32px;line-height:1.4;max-width:345px}
 .zh-preview[data-hero="b"] .hero-visual>.photo-window{aspect-ratio:1672/941!important}
 .zh-preview[data-hero="b"] .hero-info{margin-top:-12px}
 .zh-preview[data-hero="b"] .hero-photo-extension .hero-extension-photo{width:550px}
 .zh-preview[data-hero="b"] .hero-photo-extension .photo-window{aspect-ratio:1672/941}
 .detail-preview [data-media="pain.image"]{border-radius:16px}
 .detail-preview .pain-chapter{margin:32px 0}
 .detail-preview .pain-article{margin-top:25px}
}
