/* Citizen Property Rwanda — high quality listing photographs (2026-11-12).
   Show the ORIGINAL photo without artificial blur or forced stretching.
   This does not invent pixels missing from an older upload. */

/* Main property carousel: no soft-focus duplicate behind the actual photo. */
.citizen-media-gallery .citizen-media-backdrop {
  display: none !important;
}
.citizen-media-gallery .citizen-media-visual {
  background: #091c32 !important;
  min-width: 0;
}
.citizen-media-gallery .citizen-media-active-photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  filter: none !important;
  transform: none !important;
  image-rendering: auto;
}
.citizen-media-gallery .citizen-media-display,
.citizen-media-gallery .citizen-media-stage {
  min-width: 0;
  max-width: 100%;
}
/* A larger stage remains bounded so listings don't turn into enormous images. */
.citizen-media-gallery--detail .citizen-media-stage {
  height: clamp(270px, 49vw, 610px);
  max-height: 75vh;
  background: #091c32;
}
/* Compact previews stay framed and don't stretch the source. */
.property-cover,
#home .citizen-feature-media {
  min-width: 0;
  overflow: hidden;
  background: #091c32;
}
.property-cover .citizen-media-gallery--card,
#home .citizen-feature-media .citizen-media-gallery--card {
  width: 100%;
  height: 100%;
  min-width: 0;
}
.property-cover img.citizen-media-active-photo,
#home .citizen-feature-media img.citizen-media-active-photo {
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
}
/* Original-resolution fullscreen view; no artificial zoom or crop. */
.citizen-media-fullscreen .citizen-fullscreen-stage {
  overflow: hidden;
  background: #061525;
}
.citizen-media-fullscreen .citizen-fullscreen-stage img {
  object-fit: contain !important;
  object-position: center center !important;
  max-width: 100%;
  max-height: 100%;
  filter: none !important;
  image-rendering: auto;
}
/* Regular property thumbnails and cards keep correct proportions. */
.property-thumbs img,
.citizen-detail-thumb img,
.citizen-media-thumb img,
.citizen-photo-thumb img {
  object-position: center center;
  image-rendering: auto;
}
@media (max-width: 650px) {
  .citizen-media-gallery--detail .citizen-media-stage {
    height: clamp(235px, 66vw, 420px);
    max-height: 65vh;
  }
  .property-cover .citizen-media-gallery--card .citizen-media-stage {
    height: 100%;
  }
}
