/* Preserve source detail and avoid enlarging small supplied catalog pictures. */
.product-media{height:258px;padding:28px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;border-bottom:1px solid #d8dfd3;box-sizing:border-box}
.handbook-product .product-media>img{display:block;width:auto;height:auto;max-width:min(100%,var(--source-display-width));max-height:min(100%,var(--source-display-height));object-fit:contain;image-rendering:auto;padding:0;margin:0;border:0;flex:0 1 auto}
.product-media.product-photo-detail{height:auto;aspect-ratio:3/2;padding:0}
.handbook-product .product-photo-detail>img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:50% 53%}
.collection-image:has(img.directory-line-art){display:grid;place-items:center}
.collection-image img.directory-line-art{width:auto;height:auto;max-width:min(100%,223.33px);max-height:91.33px;object-fit:contain;padding:0}
.factory-grid img[src$="factory-forming.jpeg"]{max-width:388.67px;height:auto;aspect-ratio:583/357;object-fit:contain;margin:0 auto;display:block}
.factory-grid figure:has(img[src$="factory-forming.jpeg"]){display:flex;flex-direction:column;justify-content:center;background:#e8ece4;padding:18px}
.factory-grid figure:has(img[src$="factory-forming.jpeg"]) figcaption{align-self:flex-start;margin-top:14px}
.project-hero{height:auto;image-rendering:auto}
@media(max-width:700px){.product-media{height:238px;padding:24px}.product-media.product-photo-detail{height:auto;padding:0}}
