.masonry-4-gallery{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:1rem;max-width:500px}.masonry-4-gallery .masonry-4-item img{border-radius:1rem;display:block;height:100%!important;max-height:180px;object-fit:cover;object-position:center;width:100%}.masonry-4-item1{grid-column:span 2}.masonry-4-item2,.masonry-4-item3{grid-column:span 1}.masonry-4-item4{grid-column:span 2}@media (max-width:768px){.masonry-4-gallery{grid-template-columns:repeat(2,1fr)}.masonry-4-gallery .masonry-4-item img{max-height:160px}.masonry-4-item1{grid-column:span 2}.masonry-4-item2,.masonry-4-item3{grid-column:span 1}.masonry-4-item4{grid-column:span 2}}