.sg-gallery{--sg-cols:5;display:grid;gap:var(--sg-gap,30px);grid-template-columns:repeat(var(--sg-cols),minmax(0,1fr));justify-content:center;justify-items:center}@media (max-width:1024px){.sg-gallery{--sg-cols:2}}@media (max-width:767px){.sg-gallery{--sg-cols:1;gap:50px}.sg-gallery__item{text-align:center}}.sg-gallery__item{display:flex;flex-direction:column}.sg-gallery__image-wrap{margin-bottom:20px}.sg-gallery__image{display:block;height:auto;max-width:180px;width:100%}.sg-gallery__heading{font-size:24px;margin:0 0 8px;width:180px}.sg-gallery__caption{font-size:16px;max-width:180px}.sg-gallery__caption>:last-child{margin-bottom:0}