/* Alternating two- and three-image rows with restrained offsets. */
.photos{grid-template-columns:repeat(12,minmax(0,1fr));gap:55px 24px;padding:30px 2vw 100px;align-items:start;}
.photos figure:nth-child(n){grid-column:span 4;width:100%;margin:0;transform:none;rotate:0deg;justify-self:start;align-self:start;}
.photos figure:nth-child(5n+1){grid-column:1/span 5;}
.photos figure:nth-child(5n+2){grid-column:7/span 5;margin-top:55px;}
.photos figure:nth-child(5n+3){grid-column:1/span 4;margin-top:25px;}
.photos figure:nth-child(5n+4){grid-column:5/span 4;margin-top:60px;}
.photos figure:nth-child(5n){grid-column:9/span 4;margin-top:10px;}
.photos .photo-open img{width:100%;height:auto;max-height:none;object-fit:contain;}
@media(max-width:900px){.photos{grid-template-columns:minmax(0,1fr);gap:32px 18px;padding:20px 0 70px;}.photos figure:nth-child(n){grid-column:span 1;margin:0;}.photos figure:nth-child(even){margin-top:0;}}
