.digital-booth-photo-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.digital-booth-photo-gallery .gallery-grid figure:nth-child(n) {
  grid-area: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.digital-booth-photo-gallery .gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 850px) {
  .digital-booth-photo-gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .digital-booth-photo-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
}
