.gallery-video {
  max-width: 640px;
  margin: 0px auto 8px;
}

.photo-gallery.container {
  max-width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

@media (min-width: 768px) {
  .gallery-video {
    margin-bottom: 16px;
  }

  .photo-gallery.container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 1200px) {
  .photo-gallery.container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 576px) {
  .gallery-grid {
    /* grid-template-columns: repeat(2, 1fr); */
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-item img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.modal .carousel-item img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.modal .carousel-control-prev {
  right: unset;
  left: -6px;
}

@media (min-width: 576px) {
  .modal .carousel-control-prev {
    left: -28px;
  }
}

.modal .carousel-control-next {
  left: unset;
  right: -6px;
}

@media (min-width: 576px) {
  .modal .carousel-control-next {
    right: -28px;
  }
}

@media (min-width: 1100px) {
  .modal .modal-lg {
    max-width: 992px;
  }
}
