/* Web list/detail photos only. Drawings, admin and print styles remain untouched. */
#catalog-grid .catalog-card .thumb,
#catalog-grid-en .catalog-card .thumb,
.reference-hero > .reference-photo {
  position:relative!important;
  overflow:hidden!important;
  background:#fff!important;
}
#catalog-grid .catalog-card .thumb > img,
#catalog-grid-en .catalog-card .thumb > img,
.reference-hero > .reference-photo > img {
  object-fit:contain!important;
  object-position:center!important;
  mix-blend-mode:normal!important;
}
#catalog-grid .catalog-card .thumb > img[data-photo-framed="true"],
#catalog-grid-en .catalog-card .thumb > img[data-photo-framed="true"],
.reference-hero > .reference-photo > img[data-photo-framed="true"] {
  position:absolute!important;
  max-width:none!important;
  max-height:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  aspect-ratio:auto!important;
  clip-path:none!important;
}
