/* CSS-only thumbnail crops. Full-size photos and embedded watermarks are unchanged. */
#final-gallery .photo{display:block;aspect-ratio:4/3;overflow:hidden;position:relative}
#final-gallery .photo img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:var(--photo-position,50% 50%)}
#final-gallery .photo[data-framing="contain"] img{object-fit:contain}
#lightbox #bigphoto{width:auto;height:auto;max-width:min(1100px,100%);max-height:75vh;object-fit:contain;object-position:50% 50%}
@media(min-width:601px) and (max-width:1000px){#final-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#final-gallery{grid-template-columns:1fr}}
