/* Complete photographs at their own proportions; no matte, blur, crop or zoom.
   Canvas/3D stages, technical SVGs and the historical photo are excluded. */
:is(.facebook-photo,.product-card-photo,.specialist-visual,.situations-image,.fleet-reference-image,.product-view-image)[data-photo-frame]{aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;background:transparent!important}
:is(.facebook-photo,.product-card-photo,.specialist-visual,.situations-image,.fleet-reference-image,.product-view-image)[data-photo-frame]::before,
:is(.facebook-photo,.product-card-photo,.specialist-visual,.situations-image,.fleet-reference-image,.product-view-image)[data-photo-frame]::after{display:none!important;content:none!important}
:is(.facebook-photo,.product-card-photo,.specialist-visual,.situations-image,.fleet-reference-image,.product-view-image)[data-photo-frame]>img{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;transform:none!important;background:transparent!important}
.product-card-photo[data-photo-frame]{display:block;line-height:0}
#showroom .machine-carrier[data-photo-frame]{bottom:auto!important;height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio,1.6)!important;background:transparent!important;border:0}
#showroom .machine-carrier[data-photo-frame]>.machine-cutout{inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
#showroom .machine-carrier>.visual-note{display:none}
#server-product figure:has(>img){background:transparent}
#server-product figure>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;background:transparent}
/* Thumbnails are complete photos as well; their buttons keep usable hit areas. */
.situations-nav img{height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;background:transparent!important}
/* An enlarged portrait follows its intrinsic dimensions, with vertical scroll. */
.natural-photo-dialog img{max-height:none;object-fit:contain;height:auto;background:transparent}

/* The photograph itself now supplies the surrounding material. */
:is(.product-card-photo,.specialist-visual,.situations-image,.fleet-reference-image,.product-view-image)[data-photo-frame][data-photo-format="filled"]{position:relative;aspect-ratio:1.6!important;height:auto!important}
:is(.product-card-photo,.specialist-visual,.situations-image,.fleet-reference-image,.product-view-image)[data-photo-frame][data-photo-format="filled"]>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}

[data-gallery-model="pl30"] .card-gallery-controls,.equipment-sheet:has(#technical-pl30) .situations-nav{display:none}
