.gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.gallery-grid a{display:block;border-radius:6px;overflow:hidden;box-shadow:0 10px 24px rgba(58,5,0,.12)}
.gallery-grid img{height:200px;width:100%;object-fit:cover;transition:transform .35s ease}
.gallery-grid a:hover{opacity:1}
.gallery-grid a:hover img{transform:scale(1.06)}

@media (max-width:1023px){
  .gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .gallery-grid img{height:150px}
}