@media(max-width:800px){
#gallery #galleryGrid.gallery-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important}
#gallery #galleryGrid .gallery-item{width:100%!important;min-width:0!important;max-width:none!important;aspect-ratio:1/1!important;height:auto!important;padding:0!important;overflow:hidden!important}
#gallery #galleryGrid .gallery-item img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
#ozg-view{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;background:rgba(0,0,0,.97)!important;z-index:2147483640!important;align-items:center!important;justify-content:center!important;padding:0!important;box-sizing:border-box!important}
#ozg-view.open{display:flex!important}
#ozg-view>img{position:absolute!important;left:0!important;top:0!important;width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;object-fit:contain!important;object-position:center!important;pointer-events:none!important}
#ozg-view .ozg-close{position:absolute!important;top:max(16px,env(safe-area-inset-top))!important;right:16px!important;z-index:2!important}
#ozg-view .ozg-prev,#ozg-view .ozg-next{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important}
#ozg-view .ozg-prev{left:4px!important}#ozg-view .ozg-next{right:4px!important}
#ozg-view .ozg-counter{position:absolute!important;bottom:max(18px,env(safe-area-inset-bottom))!important;left:50%!important;transform:translateX(-50%)!important;z-index:2!important}
}
