/* Collection image galleries, independent of project card styles. */
.glenlake-gallery-section { padding-block: clamp(3rem,6vw,6rem); }
.glenlake-gallery-section .section-heading { margin-bottom: 2rem; }
.glenlake-masonry { columns: 3 260px; column-gap: 16px; }
.glenlake-masonry-item { display:block; width:100%; margin:0 0 16px; padding:0; border:0; background:transparent; cursor:zoom-in; break-inside:avoid; overflow:hidden; line-height:0; border-radius:2px; }
.glenlake-masonry-item img { display:block; width:100%; height:auto; transition:transform .35s ease; }
.glenlake-masonry-item:hover img { transform:scale(1.035); }
.glenlake-masonry-item:focus-visible { outline:3px solid #ad8b51; outline-offset:3px; }
.glenlake-lightbox[hidden] { display:none; }
.glenlake-lightbox { position:fixed; inset:0; z-index:99999; display:flex; flex-direction:column; align-items:center; justify-content:center; background:rgba(8,9,10,.97); color:#fff; padding:55px 48px 36px; }
.glenlake-lightbox-image { max-width:100%; max-height:calc(100vh - 170px); width:auto; height:auto; object-fit:contain; touch-action:pan-x pan-y pinch-zoom; transform-origin:center; }
.glenlake-lightbox-caption { margin-top:16px; text-align:center; font-size:.9rem; line-height:1.5; }
.glenlake-lightbox-caption small { display:block; opacity:.75; }
.glenlake-lightbox button { border:1px solid rgba(255,255,255,.4); color:white; background:rgba(0,0,0,.5); border-radius:50%; cursor:pointer; min-width:44px; min-height:44px; font-size:1.4rem; }
.glenlake-lightbox button:focus-visible { outline:3px solid #d4ac65; }
.glenlake-lightbox-close { position:absolute; right:15px; top:15px; }
.glenlake-lightbox-prev,.glenlake-lightbox-next { position:absolute; top:50%; transform:translateY(-50%); }
.glenlake-lightbox-prev { left:8px; }.glenlake-lightbox-next { right:8px; }
.glenlake-lightbox-zoom { position:absolute; top:15px; right:72px; }
body.glenlake-lightbox-open { overflow:hidden; }
@media(max-width:600px) { .glenlake-masonry { columns:2 140px; column-gap:8px; }.glenlake-masonry-item { margin-bottom:8px; }.glenlake-lightbox { padding:60px 38px 24px; }.glenlake-lightbox-image { max-height:calc(100vh - 180px); } }
@media(prefers-reduced-motion:reduce) { .glenlake-masonry-item img { transition:none; } }
