/* Gallery grid + lightbox overlay. */
.lm-gallery { display: grid; gap: 10px; grid-template-columns: repeat(var(--lm-gcols, 3), 1fr); }
.lm-gallery[data-cols="1"]{--lm-gcols:1}.lm-gallery[data-cols="2"]{--lm-gcols:2}.lm-gallery[data-cols="3"]{--lm-gcols:3}
.lm-gallery[data-cols="4"]{--lm-gcols:4}.lm-gallery[data-cols="5"]{--lm-gcols:5}.lm-gallery[data-cols="6"]{--lm-gcols:6}
.lm-gallery-item { display: block; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.lm-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; border-radius: 8px; }
.lm-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(2,6,23,.85); padding: 24px; }
.lm-lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; }
.lm-lightbox-close { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; }
@media(max-width:640px){.lm-gallery{grid-template-columns:repeat(2,1fr)}}
