/* Activity previews share a 4:3 frame. Original files and enlarged views retain their dimensions. */
.ls-home .hp-life-photo{aspect-ratio:4/3!important;height:auto!important;min-height:0!important;max-height:none!important}
.ls-home .hp-life-photo .hp-classroom-track,.ls-home .hp-life-photo .hp-classroom-track>img,.ls-home .hp-life-photo>img{height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:center!important;background:#f1ece2}
.home-activity-columns .hp-upcoming-event>:is(.hp-upcoming-photo,.hp-event-posters),.home-past>.activity-feature .activity-feature-photos,.activity-columns .activity-feature-photos{aspect-ratio:4/3!important;height:auto!important;min-height:0!important}
.home-past>.activity-older-card>img,.activity-columns .activity-older-card>img,.activity-columns .activity-enrol-image{aspect-ratio:4/3!important;height:auto!important;object-fit:cover!important;object-position:center!important}
.ae-gallery-card .ae-card-photos,.ae-history-album-photos button{aspect-ratio:4/3!important;height:auto!important;min-height:0!important}
.ar-gallery img,.ar-related-card>img,.ar-hero-image img,.camp-recap .recap-card img,.kungfu-photo-row img{display:block;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center!important;background:#f1ece2}
.camp-recap .camp-photo-grid>figure>:is(a,button),.exchange-photos figure>button{width:100%;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;background:#f1ece2}
.camp-recap .camp-photo-grid img,.exchange-photos figure>button>img{object-fit:cover!important;object-position:center!important}
.cg-showcase .cg-grid{height:auto!important;grid-template-rows:none!important;grid-auto-rows:auto!important;align-self:start}
.cg-showcase .cg-photo{aspect-ratio:4/3!important;height:auto!important;min-height:0!important}
.cg-showcase .cg-photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;background:#f1ece2}
.painting-gallery a{aspect-ratio:4/3!important;height:auto!important;min-height:0!important;background:#f1ece2}
.painting-gallery a>img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}

/* Fill every activity thumbnail, including the compact registration and history cards. */
.home-activity-columns .hp-upcoming-event .hp-upcoming-photo img,
.home-activity-columns .hp-upcoming-event .hp-event-posters img,
.home-past>.activity-feature .activity-feature-photos img,
.activity-columns .activity-feature-photos img,
.activity-history .ae-gallery-card .ae-card-photos img,
.activity-history .ae-history-album-photos img{object-fit:cover!important;object-position:center!important}
