.gallery-grid{display:block;position:relative}.gallery-card{width:calc((100% - 24px)/3);display:block;margin-bottom:14px}.gallery-card:nth-child(3n + 2) .gallery-photo{height:190px}.gallery-card:nth-child(4n) .gallery-photo{height:175px}@media(max-width:540px){.gallery-card{width:calc((100% - 10px)/2)}.gallery-card:nth-child(3n + 2) .gallery-photo{height:180px}}
