/* Only explicitly selected full-image mode changes the incumbent layout. */
img[data-spoko-display="full"]{object-fit:contain!important;object-position:center!important;transform:none!important;border-radius:0!important}
.hero-photo-wrap:has(img[data-spoko-display="full"]){height:auto!important;min-height:0!important;width:fit-content!important;max-width:100%;margin-left:auto;border-radius:4px!important;overflow:visible!important}
.hero-photo-wrap img[data-spoko-display="full"]{position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(680px,85svh)!important;display:block}
.hero-visual:has(.hero-photo-wrap img[data-spoko-display="full"]){height:auto!important;min-height:0!important}
.hero-photo-wrap:has(img[data-spoko-display="full"]) .photo-microcopy{position:static!important;display:block;text-align:center;margin:8px 0 0}
.hero-inset:has(img[data-spoko-display="full"]),.about-photo:has(img[data-spoko-display="full"]){border-radius:4px!important}
.about-photo img[data-spoko-display="full"],.hero-inset img[data-spoko-display="full"]{width:100%!important;height:100%!important;max-height:100%!important}
@media(max-width:720px){
 .hero-visual:has(.hero-photo-wrap img[data-spoko-display="full"]) .hero-inset{position:relative!important;left:auto!important;bottom:auto!important;width:48%!important;height:auto!important;aspect-ratio:1;margin-top:16px}
}


/* Keep the selected about-photo crop intact instead of clipping its bottom. */
.about-photo:has(img[data-spoko-display="crop"]){height:auto!important;min-height:0!important;aspect-ratio:auto!important}
.about-photo img[data-spoko-display="crop"]{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;transform:none!important}
