.scene-gallery{margin:24px 0}.scene-gallery h2{margin-bottom:12px}.scene-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.scene-gallery-thumb{border:1px solid #333;background:#111;padding:0;cursor:zoom-in;overflow:hidden;border-radius:6px;aspect-ratio:3/4}.scene-gallery-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.scene-gallery-thumb:hover img{transform:scale(1.04)}.scene-lightbox{display:none;position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.96);align-items:center;justify-content:center;padding:60px 54px}.scene-lightbox.is-open{display:flex}.scene-lightbox figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.scene-lightbox figure img{max-width:100%;max-height:calc(100dvh - 120px);width:auto;height:auto;object-fit:contain}.scene-lightbox figcaption{color:white;text-align:center;padding:8px}.scene-lightbox button{position:absolute;z-index:2;background:rgba(30,30,30,.8);color:#fff;border:1px solid #666;cursor:pointer;border-radius:50%;display:grid;place-items:center}.scene-lightbox-close{right:16px;top:16px;width:44px;height:44px;font-size:30px}.scene-lightbox-arrow{top:50%;transform:translateY(-50%);width:46px;height:52px;font-size:28px}.scene-lightbox-prev{left:8px}.scene-lightbox-next{right:8px}.gallery-locked{overflow:hidden}@media(max-width:600px){.scene-gallery-grid{gap:6px}.scene-lightbox{padding:58px 42px}.scene-lightbox-arrow{width:38px;height:46px}.scene-lightbox figure img{max-height:calc(100dvh - 125px)}}
/* Isolate gallery from site-wide button, image and grid styles */
.scene-gallery .scene-gallery-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
.scene-gallery .scene-gallery-thumb{display:block!important;position:relative!important;width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:3/4!important;padding:0!important;margin:0!important;background:#161616!important;border:1px solid #333!important;border-radius:8px!important;overflow:hidden!important;box-shadow:none!important}
.scene-gallery .scene-gallery-thumb img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
.scene-lightbox:not(.is-open){display:none!important}
.scene-lightbox.is-open{display:flex!important;position:fixed!important;inset:0!important;z-index:2147483640!important;background:rgba(0,0,0,.96)!important}
.scene-lightbox button{display:grid!important;position:absolute!important;width:46px!important;height:50px!important;padding:0!important;margin:0!important;border-radius:8px!important;background:rgba(35,35,35,.8)!important;color:#fff!important}
.scene-lightbox .scene-lightbox-close{top:12px!important;right:12px!important;transform:none!important}
.scene-lightbox .scene-lightbox-prev{left:8px!important;top:50%!important;transform:translateY(-50%)!important}
.scene-lightbox .scene-lightbox-next{right:8px!important;top:50%!important;transform:translateY(-50%)!important}
@media(max-width:600px){.scene-gallery .scene-gallery-grid{gap:6px!important}.scene-lightbox.is-open{padding:55px 44px!important}}
