/* Home map-rail identity media policy. Cache-busted after rc1.206.
   The catalogue explicitly labels image_kind=logo; square logos are never
   visually cropped into wide photographic cover slots. */
body.rpmx-front-page #rpmx-home-hero #rpmx-home-map-card-rail .rpmx-home-map-card.is-logo-media .rpmx-home-map-card__media{
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;overflow:hidden!important;padding:2px!important;
  box-sizing:border-box!important;
}
body.rpmx-front-page #rpmx-home-hero #rpmx-home-map-card-rail .rpmx-home-map-card.is-logo-media .rpmx-home-map-card__media img{
  display:block!important;
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  box-sizing:border-box!important;
  padding:0!important;margin:0!important;
  border-radius:0!important;
}
body.rpmx-front-page #rpmx-home-hero #rpmx-home-map-card-rail .rpmx-home-map-card.is-logo-media .rpmx-home-map-card__media-shade{
  display:none!important;
}
/* Preserve real photographic covers and their existing presentation.
   Do not change the selected-card geometry, map gestures or rail logic. */
body.rpmx-front-page #rpmx-home-hero #rpmx-home-map-card-rail .rpmx-home-map-card.is-photo-media .rpmx-home-map-card__media img{
  object-fit:cover!important;object-position:center!important;
}