/**
 * RLRE FIX03B2 — public media delivery + real card geometry
 * Does not replace the FIX03B media contract. It remediates public file
 * readability and the actual ERE card markup seen in browser QA.
 */

/* Actual Real Estate Papi / ERE card structure observed publicly. */
html body .home-property-single-grid-image {
  width: 100% !important;
  aspect-ratio: 2 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html body .home-property-single-grid-image > .hover14,
html body .home-property-single-grid-image > .hover14 > figure {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html body .home-property-single-grid-image > .hover14 > figure > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 2 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Existing alternate ERE card structure retained as part of the same contract. */
html body .ere-property .property-image {
  aspect-ratio: 2 / 1 !important;
  overflow: hidden !important;
}

html body .ere-property .property-image img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
}
