/* v179: unedited user photos, full composition in all viewports */
.home-story-gallery .story-photo.v179-photo-card{
  display:flex!important;flex-direction:column!important;align-self:stretch;
  height:auto!important;min-height:350px;overflow:hidden;
  background:#e8eef3;box-shadow:0 12px 35px rgba(0,0,0,.12);
}
.home-story-gallery .story-photo.v179-photo-card::after{display:none!important}
.home-story-gallery .story-photo.v179-photo-card>img{
  display:block;flex:0 0 auto;width:100%;height:268px!important;
  object-fit:contain!important;object-position:center!important;background:#e8eef3;
  transform:none!important;
}
.home-story-gallery .story-photo.v179-photo-card>span{
  position:static!important;inset:auto!important;display:block;flex:1;
  margin:0;min-height:84px;padding:14px 16px 16px;background:#0b3156;
}
.photo-gallery-card.v179-gallery-card .photo-frame{
  aspect-ratio:1/1!important;display:flex;align-items:center;justify-content:center;
  background:#e8eef3;
}
.photo-gallery-card.v179-gallery-card .photo-frame img{
  object-fit:contain!important;object-position:center!important;transform:none!important;
}
@media(max-width:700px){
 .home-story-gallery .story-photo.v179-photo-card{min-height:0;box-shadow:none}
 .home-story-gallery .story-photo.v179-photo-card>img{
   height:clamp(240px,78vw,370px)!important;object-fit:contain!important;
 }
 .photo-gallery-card.v179-gallery-card .photo-frame{
   aspect-ratio:auto!important;height:clamp(250px,85vw,420px)!important;
 }
}
