/* Content photographs retain their natural proportions at every breakpoint. */
.program-image-wrap,.horse-photo,.gallery-item>button>div:first-child,
.gallery-teaser-grid>a,.news-photo-button,.dialog-photo,
#ranch .ranch-photo,.herd-teaser-photo{
  aspect-ratio:auto;height:auto;min-height:0;align-self:start;
}
.program-image-wrap>img,.horse-photo>img,.gallery-item img,
.gallery-teaser-grid img,.news-photo-button img,.dialog-photo img,
#ranch .ranch-photo>img,.herd-teaser-photo>img,.ride-card>.ride-image{
  display:block;position:static;width:100%;height:auto;min-height:0;
  max-height:none;aspect-ratio:auto;object-fit:contain;transform:none;
}
.program-card:hover .program-image-wrap>img,.gallery-item button:hover img,
.gallery-teaser-grid>a:hover img,.news-photo-button:hover img{transform:none}
.horse-grid.horse-slides{align-items:flex-start}
.horse-slides .horse-card-button{flex:none;height:auto}
.gallery-grid,.gallery-teaser-grid{align-items:start}
/* Captions sit outside the photograph so the lower edge remains visible. */
.gallery-teaser-grid>a>span{position:static;background:#30231a;padding:14px 17px}
#ranch .ranch-photo-caption{position:static;margin-top:12px}
.gallery-lightbox-photo>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
