.gallery {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 24px;
  list-style: none;
  padding: 0;
}
.gallery-item {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 300px;
  position: relative;
}
.gallery-item:hover {
  margin-bottom: -4px;
  margin-top: -4px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
