/**
 * RLRE FEATURED & EDITORIAL MEDIA — FIX03B V1
 * Canonical editorial/commercial photography: 1500x750 (2:1).
 * Original source files remain immutable.
 */

/* Article / guide / launch-neighborhood editorial photography.
   The public output filter supplies canonical 1500x750 assets. */
html body.rlre-editorial-article #content .blog-single-content .single-post-content img:not(:where(
  .emoji,.avatar,.wp-smiley,[data-rlre-media-exempt]
)),
html body.rlre-editorial-guide #content .single-content img:not(:where(
  .emoji,.avatar,.wp-smiley,[data-rlre-media-exempt]
)),
html body.rlre-editorial-hub #content .single-content .rlre-launch-hub img:not(:where(
  .emoji,.avatar,.wp-smiley,[data-rlre-media-exempt]
)) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Property archive/search/carousel card imagery.
   Do not affect the single-property gallery/media viewer. */
html body .ere-property .property-image {
  aspect-ratio: 2 / 1 !important;
  overflow: hidden !important;
}

html body .ere-property .property-image > a,
html body .ere-property .property-image .block-center,
html body .ere-property .property-image .block-center-inner {
  display: block !important;
  height: 100% !important;
}

html body .ere-property .property-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* WordPress image figures inherit the same governed width without adding
   artificial margins or changing captions. */
html body.rlre-editorial-article #content .blog-single-content .single-post-content figure.wp-block-image,
html body.rlre-editorial-guide #content .single-content figure.wp-block-image,
html body.rlre-editorial-hub #content .single-content .rlre-launch-hub figure.wp-block-image {
  max-width: 100% !important;
}
