.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  justify-items: center;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.gallery[data-style=square] .gallery_item {
  aspect-ratio: 1/1;
}
.gallery[data-style=square] img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery_item {
  position: relative;
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: white;
}

.gallery_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery_item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: white;
}

/*# sourceMappingURL=gallery.css.map */