@media(min-width:1024px){html body main .team-gallery-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:12px!important}html body main .team-gallery-grid>figure{position:relative!important;grid-area:auto/span 2!important;width:100%!important;height:clamp(180px,20vw,275px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:8px!important;background:#f2efe8!important}html body main .team-gallery-grid>figure:nth-child(-n+2){grid-column:span 3!important}html body main .team-gallery-grid>figure img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important}}
@media(min-width:1024px){html body main .team-gallery-grid{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px!important}html body main .team-gallery-grid>figure:nth-child(n){flex:0 0 calc((100% - 25px)/3)!important;width:calc((100% - 25px)/3)!important;height:auto!important;min-height:0!important;aspect-ratio:1.27!important;align-self:flex-start!important;box-sizing:border-box!important}html body main .team-gallery-grid>figure img{position:absolute!important;inset:0!important}}
