/* The EZWAYRENT "Property photos coming soon" image (For Rent properties with no photo,
   EzWayHouses.BLL.Helpers.NoPhotoPlaceholder). It fills its frame edge to edge like a real photo;
   Content/assets/js/no-photo.js picks the image variant and the position per frame so the
   EZWAYRENT logo and the banner text are never cut. Before that script runs (or without it) the
   original is centred, which keeps both visible in the usual 16:11 card frame.
   The generic placeholder and real photos are not affected.

   The page styles force the card photo with ID selectors + !important (e.g. search-type.css
   "#countyPage.search-type-page .feature-item.card .feature-img { object-fit: cover !important }"),
   so each :not(#ez-np-x) below adds ID weight (it never matches anything) to win over them. */

img.ez-nophoto-rent:not(#ez-np-a):not(#ez-np-b) {
    object-fit: cover !important;
    object-position: center center;
}

/* Cards that paint the photo as a CSS background (search results). */
div.ez-nophoto-rent:not(#ez-np-a):not(#ez-np-b) {
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
