/* Shared alignment rules for repeated portfolio and product frames. */
.products{gap:24px 28px;align-items:stretch}
.products .product-card{display:grid;grid-template-rows:subgrid;grid-row:span 5;gap:24px;min-width:0}
.products .product-card>a:first-child{display:grid;grid-template-rows:subgrid;grid-row:span 3;min-width:0}
.products .product-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.products .product-card .label,.products .product-card h2,.products .product-card p,.products .product-card .glass{margin:0}
.products .product-card .glass{justify-self:start;align-self:start}
.products .product-card h2{overflow-wrap:anywhere}
.grid>article{min-width:0;grid-column:auto}
.grid>article img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.clean-gallery,.pair,.alma-pair,.lexxa-two{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
.clean-gallery .clean-image:last-child:nth-child(odd){grid-column:auto}
.clean-gallery>.clean-image:only-child:last-child{grid-column:1/-1}
.clean-gallery:has(>.clean-image:nth-child(2)) .clean-image img{width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:contain;background:#0b0c0c}
.pair img,.alma-pair img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#0b0c0c}
.lexxa-two .lexxa-visual{aspect-ratio:4/3}
.lexxa-two .lexxa-visual img{width:100%;height:100%;object-fit:contain}
.opening-images{grid-template-columns:repeat(2,minmax(0,1fr))}
.opening-images figure a{height:auto;aspect-ratio:4/3}
.opening-images figure img{width:100%;height:100%;object-fit:cover}
.era-images img,.selected-work img{height:auto}
.era-images img{aspect-ratio:1;object-fit:cover}
.selected-work img{aspect-ratio:3/2;object-fit:cover}
.chapter-heading>*,.story>*,.intro-bottom>*,.biography>*,.milestone>*,.now-heading>*{min-width:0}
@media(max-width:700px){
 .clean-gallery,.pair,.alma-pair,.lexxa-two,.opening-images{grid-template-columns:minmax(0,1fr)}
 .products{row-gap:22px}
 .products .product-card{row-gap:18px;padding-bottom:30px}
 .opening-side{display:block}
 .opening-images figure a{aspect-ratio:4/3}
 .opening-images figure img{height:100%}
}
