/* Release 72.2 visual QA: item catalogue art is ALWAYS fully visible. */
/* Do not force contain onto deliberate scenic banners or full bleed character portraits. */
img[src*="/catalogue/"],img[src*="/fieldguide/"],img[src*="/businesses/"],
.mh51-sport-art,.mh51-species-art,.mh51-original-art,.mh52-car-art,
.mh46-store-item .mh46-item-art,.mh51-gallery-card img,.life.collection-card img,
.mh58-card img,.mh58-car-card img,.mh64-equipment-art img,
.mh51-product-art,.mh71-owned-car img{
 object-fit:contain!important;object-position:50% 50%!important;
 max-width:100%;min-width:0;box-sizing:border-box;
 background-color:#102532;
}
/* Asset wrappers get consistent aspect ratio; prevent image distortion when resized. */
.mh51-gallery-card img,.mh51-gallery-card .mh51-original-art,.mh51-species-art,
.mh51-sport-art,.sport-card25 .mh51-sport-art{aspect-ratio:410/300;max-height:none!important}
.mh51-gallery-card,.mh51-item-card,.mh46-store-item,.sport-card25{min-width:0;overflow-wrap:anywhere}
.mh51-gallery-card .mh51-original-art,.sport-card25 .mh51-sport-art{height:auto!important;max-width:100%;max-height:none!important}
/* Prevent oversized controls or label strings pushing content off-screen. */
.mh51-gallery-card h3,.mh71-owned-car h3,.mh46-store-info h3{overflow-wrap:anywhere;hyphens:auto}
.mh51-gallery-card button,.mh46-store-item button{max-width:100%;white-space:normal;text-align:center}
@media(max-width:600px){
 .mh51-gallery-grid{grid-template-columns:minmax(0,1fr)!important}
 .mh51-gallery-card,.mh51-item-card{width:100%;max-width:100%;min-width:0!important}
 .mh51-gallery-card img{width:100%;max-height:none}
}
@media (prefers-reduced-motion:reduce){
 .mh51-gallery-card img,.mh51-sport-art{transition:none!important}
}
