.cartography-page .cartography-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:85px 8%;align-items:center}.cartography-page .cartography-gallery>figure,.cartography-page .cartography-gallery>figure:nth-child(4),.cartography-page .cartography-gallery>.cartography-wide{grid-column:auto;width:100%;max-width:none;margin:0;padding:22px 8%}.cartography-page .cartography-gallery .photo-enlarge{display:block;width:100%;border:0;background:transparent;padding:0;cursor:zoom-in}.cartography-page .cartography-gallery img{display:block;width:100%;height:560px;max-height:560px;object-fit:contain}.cartography-page .cartography-gallery .cartography-wide{grid-column:1/-1;padding:45px 9%}.cartography-page .cartography-gallery .cartography-wide img{height:auto;max-height:640px}.cartography-page .cartography-gallery figcaption{text-align:center;margin-top:20px;font:12px/1.6 Arial,sans-serif;color:var(--muted)}.cartography-page .variation-large{padding:55px 15%;margin:0}.cartography-page .variation-large .photo-enlarge{display:block;width:100%;border:0;padding:0;background:none;cursor:zoom-in}.cartography-page .variation-large img{width:100%;height:auto;max-height:800px;object-fit:contain}.cartography-page .variation-large figcaption{text-align:center;margin-top:20px}@media(max-width:760px){.cartography-page .cartography-gallery{gap:45px 5%}.cartography-page .cartography-gallery>figure{padding:14px 4%}.cartography-page .cartography-gallery img{height:300px;max-height:300px}.cartography-page .cartography-gallery .cartography-wide{padding:25px 6%}.cartography-page .variation-large{padding:35px 9%}}@media(max-width:480px){.cartography-page .cartography-gallery{grid-template-columns:1fr;gap:50px}.cartography-page .cartography-gallery>figure{padding:15px 9%}.cartography-page .cartography-gallery img{height:auto;max-height:520px}}

/* Phone gallery: full-width works, original proportions and HD zoom retained. */
@media(max-width:760px){
 .cartography-page .cartography-selection{padding-inline:0}
 .cartography-page .cartography-selection .cartography-gallery{grid-template-columns:minmax(0,1fr);column-gap:0;row-gap:50px}
 .cartography-page .cartography-selection .cartography-gallery>figure{grid-column:1/-1;width:100%;max-width:none;margin:0;padding:0}
 .cartography-page .cartography-selection .cartography-gallery img{width:100%;height:auto;max-height:none;object-fit:contain}
 .cartography-page .variation-large{padding:35px 0}
 .cartography-page .variation-large img{width:100%;height:auto;max-height:none}
 .cartography-page .cartography-gallery figcaption,.cartography-page .variation-large figcaption,.cartography-page .work-actions{padding-inline:6%}
}
