.tx_wwdgridgallery_gallery{max-width:100%;margin:40px auto;padding:0;display:flex;flex-wrap:wrap;gap:0}.tx_wwdgridgallery_item{--w:4;--h:3;margin:0;position:relative;height:300px;overflow:hidden;border:2px solid #fff;box-sizing:border-box;background:0 0;flex:0 0 auto;flex-basis:calc(300px * var(--w)/ var(--h));flex-grow:calc(var(--w)/ var(--h))}.tx_wwdgridgallery_item img{width:100%;height:100%;object-fit:cover;display:block;border-top-right-radius:0;border-bottom-left-radius:0;object-position:top}.tx_wwdgridgallery_slider-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:10;border:none;background:rgba(0,0,0,.5);color:#fff;width:40px;height:40px;border-radius:50%;cursor:pointer;display:none}.tx_wwdgridgallery_slider-btn.prev{left:10px}.tx_wwdgridgallery_slider-btn.next{right:10px}.tx_wwdgridgallery_gallery-wrapper{position:relative}@media (max-width:767px){.tx_wwdgridgallery_gallery{max-width:100%;margin:0;padding:0;display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;max-height:75vw}.tx_wwdgridgallery_item{height:auto;min-width:100%;flex:0 0 100%;flex-basis:100%;flex-grow:0;scroll-snap-align:center;border:0}.tx_wwdgridgallery_item img{width:auto;height:100%;object-fit:contain;margin:0 auto}.tx_wwdgridgallery_gallery{scrollbar-width:none}.tx_wwdgridgallery_gallery::-webkit-scrollbar{display:none}}@media (max-width:767px){.tx_wwdgridgallery_slider-btn{display:flex;align-items:center;justify-content:center}}