/* The photograph defines the frame proportions at every viewport width. */
#products .card .card-img{position:relative;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:950/535;overflow:hidden}
#products .card .card-img img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center}
#products .card[data-product="engine"] .card-img img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none}
#product-dialog #detail-img[data-photo-kind="engine"],#ip-model-figure #ip-model-image[data-photo-kind="engine"]{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:950/535;object-fit:contain;object-position:center;background:#e6e4df;transform:none}
/* A stable portrait frame keeps the face in the same position on every screen. */
dialog.news-dialog .news-portrait{width:100%;max-width:280px;justify-self:center}
dialog.news-dialog .news-portrait img,.ip-profile img[data-ip-image="director"]{display:block;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:80% center;transform:none}
dialog.news-dialog .news-portrait img{width:100%;max-height:none}
.news-portrait figcaption{text-align:center}
