/* Approved homepage photo language, scoped to editorial photographs only.
   Existing captions remain the source of truth; absent credits stay absent. */
.zm-editorial-photo{--photo-accent:var(--orange,#ff4713);position:relative;overflow:visible!important}
.zm-editorial-photo::before{content:''!important;position:absolute!important;z-index:3;left:calc(var(--photo-left,0px) - 3px)!important;top:calc(var(--photo-top,0px) - 3px)!important;right:auto!important;bottom:auto!important;width:84px!important;height:84px!important;border:0!important;border-top:3px solid var(--photo-accent)!important;border-left:3px solid var(--photo-accent)!important;background:none!important;transform:none!important;pointer-events:none}
.zm-editorial-photo>figcaption{position:absolute!important;z-index:4;bottom:var(--photo-bottom,0px)!important;left:var(--photo-left,0px)!important;right:var(--photo-right,0px)!important;display:flex;gap:14px;align-items:flex-start;margin:0!important;padding:15px 18px!important;background:linear-gradient(transparent,#111e 15%)!important;color:#fff!important;font:11px/1.55 Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;max-width:100%;overflow-wrap:anywhere}
.zm-editorial-photo>figcaption:not(:has(.photo-mark))::before{content:'///';flex:0 0 auto;color:var(--photo-accent);font:bold 30px/1 Arial,sans-serif}
.zm-editorial-photo>figcaption .photo-mark{flex:0 0 auto;color:var(--photo-accent);font:bold 30px/1 Arial,sans-serif}
.zm-editorial-photo>figcaption a{color:inherit;text-decoration:underline}
.keep-talent-together{white-space:nowrap}
@media(max-width:700px){.zm-editorial-photo::before{left:calc(var(--photo-left,0px) - 3px)!important;top:calc(var(--photo-top,0px) - 3px)!important;width:55px!important;height:55px!important}.zm-editorial-photo>figcaption{padding:12px!important;gap:10px;font-size:10px!important}.zm-editorial-photo>figcaption:not(:has(.photo-mark))::before,.zm-editorial-photo>figcaption .photo-mark{font-size:25px}}
/* Preserve the existing stories hero's separate caption rail. */
html body.book-kind-stories .book-hero-1 .zm-editorial-photo>figcaption{position:static!important;align-self:end;padding:0 0 18px!important;background:none!important;text-align:left}
.zm-editorial-photo>figcaption{display:flex!important;text-align:left!important}
.zm-caption-copy{min-width:0}
/* Keep the approved corner anchored to the photograph; image crops stay unchanged. */
.zm-editorial-photo{clip-path:none!important}
/* Existing service frames have fixed heights: keep the photo inside that frame. */
.service-review-20261030 .book-hero-photo.zm-editorial-photo>img{height:100%!important}
.zm-editorial-photo.book-hero-photo>.core-color-pixel>img{height:100%!important}
/* Page 38: center the actual photograph, not a wide letterboxed frame.
   Preserve its full 1600x1067 composition and approximately 290px desktop height. */
html body.book-kind-about .book-hero-photo.zm-editorial-photo{width:min(100%,435px)!important;height:auto!important;aspect-ratio:1600/1067;margin:20px auto 0!important;justify-self:center}
html body.book-kind-about .book-hero-photo.zm-editorial-photo>.core-color-pixel{width:100%;height:100%}
/* Page 7: wrap the full, uncropped photograph so the corner and caption touch it. */
html body.book-kind-ownership .book-hero-photo.zm-editorial-photo{width:min(100%,853px)!important;height:auto!important;aspect-ratio:1800/1013;margin-inline:auto!important;justify-self:center}
html body.book-kind-ownership .book-hero-photo.zm-editorial-photo>.core-color-pixel{width:100%;height:100%}
