/* Virage Auto v2.21.7 — Responsive full-photo previews.
   Applies to large catalog tiles, the featured carousel and donor cards.
   object-fit: contain uses BOTH the image's original aspect ratio and
   the actual display box, independent of device or screen orientation.
   Do not change List View miniatures or the detail gallery. */

.listing-card .listing-image,
.priority-item .priority-photo,
.donor-card .donor-image {
  position: relative;
  background: radial-gradient(ellipse at center, #282e32 0%, #1c2125 66%, #171b1e 100%);
}

.listing-card .listing-image > img,
.priority-item .priority-photo > img,
.donor-card .donor-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* List View (.live-list-img), gallery thumbnails, admin/media thumbnails
   and the product detail gallery retain their v2.21.6 styling. */
