/* Shared photographic cover copy, following Sala Master's established treatment. */
.catalog-photo.service-cover-caption:after,.office-portrait-frame:after{display:block;content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(22,27,31,.8));z-index:0;pointer-events:none}
.catalog-photo.service-cover-caption figcaption,.service-cover-copy{position:absolute;left:28px;right:28px;bottom:24px;color:#fff;z-index:1;text-shadow:0 1px 8px #0003}
.catalog-photo.service-cover-caption figcaption span,.service-cover-copy span{display:block;font-size:8px;letter-spacing:.15em;margin-bottom:8px}
.catalog-photo.service-cover-caption figcaption strong,.service-cover-copy strong{display:block;font-size:23px;line-height:1.3;font-weight:450;letter-spacing:-.025em;text-wrap:balance}
.office-portrait-frame{position:relative;isolation:isolate}
@media(max-width:760px){.catalog-photo.service-cover-caption figcaption,.service-cover-copy{left:22px;right:22px;bottom:22px}.catalog-photo.service-cover-caption figcaption strong,.service-cover-copy strong{font-size:22px}}

/* Preserve the collage and the readable map panel. */
.catalog-photo.catalog-presence-photo{height:auto;aspect-ratio:16/9}
.catalog-presence-photo img{object-fit:contain;object-position:center}
.catalog-photo.catalog-presence-photo.service-cover-caption:after{inset:45% 58% 0 0}
.catalog-photo.catalog-presence-photo.service-cover-caption figcaption{left:18px;right:60%;bottom:18px}
.catalog-photo.catalog-presence-photo.service-cover-caption figcaption strong{font-size:20px}
.presence-photo-credit{font-size:10px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.presence-photo-credit a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){.catalog-photo.catalog-presence-photo.service-cover-caption figcaption{left:12px;bottom:12px}.catalog-photo.catalog-presence-photo.service-cover-caption figcaption strong{font-size:16px}.catalog-presence-photo figcaption span{font-size:6px!important}}

/* Matched cover dimensions for the neighboring Mail Care and Presence cards. */
.catalog-photo.catalog-mail-photo,.catalog-photo.catalog-presence-photo{height:auto;aspect-ratio:16/9;min-height:0}
.catalog-photo.catalog-mail-photo img,.catalog-photo.catalog-presence-photo img{display:block;height:100%;width:100%}

/* Media Set: keep both participants visible in the shared cover format. */
.catalog-photo.catalog-media-photo{height:auto;aspect-ratio:16/9;min-height:0}
.catalog-photo.catalog-media-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 36%}

/* Membership artwork already includes its brand and caption. */
.catalog-photo.catalog-membership-art{height:auto;aspect-ratio:16/9;min-height:0;background:#faf7f2}
.catalog-photo.catalog-membership-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.catalog-photo.catalog-membership-art:after{display:none}
