.venue-gallery-thumbnail {
    cursor: zoom-in;
  }

  #venueGalleryModal .modal-dialog {
    margin: 0;
    max-width: none;
    height: 100dvh;
  }

  #venueGalleryModal .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.95);
  }

  #venueGalleryModal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }

  #venueGalleryModal .venue-gallery-modal-carousel,
  #venueGalleryModal .carousel-inner,
  #venueGalleryModal .carousel-item {
    width: 100%;
    height: 100%;
  }

  #venueGalleryModal .carousel-item {
    align-items: center;
    justify-content: center;
  }

  #venueGalleryModal .carousel-item.active,
  #venueGalleryModal .carousel-item-next,
  #venueGalleryModal .carousel-item-prev {
    display: flex;
  }

  #venueGalleryModal .venue-gallery-modal-image {
    max-width: 100%;
    max-height: calc(100vh - 2rem);
    object-fit: contain;
    cursor: zoom-out;
  }

  @supports (height: 100dvh) {
    #venueGalleryModal .venue-gallery-modal-image {
      max-height: calc(100dvh - 2rem);
    }
  }

  #venueGalleryModal .venue-gallery-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  #venueGalleryModal .venue-gallery-close:hover {
    color: #fff;
  }

  #venueGalleryModal .venue-gallery-close span {
    display: block;
    line-height: 1;
  }

  #venueGalleryModal .venue-gallery-modal-control {
    width: 4.5rem;
    opacity: 1;
    z-index: 2;
  }

  #venueGalleryModal .venue-gallery-modal-control .carousel-control-prev-icon,
  #venueGalleryModal .venue-gallery-modal-control .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.35);
    background-size: 55% 55%;
  }

  #venueGalleryModal .venue-gallery-modal-indicators {
    bottom: 1.5rem;
    margin-bottom: 0;
  }

  #venueGalleryModal .venue-gallery-modal-indicators li {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
  }

  @media (max-width: 767px) {
    #venueGalleryModal .modal-body {
      padding: 0.5rem;
    }

    #venueGalleryModal .venue-gallery-modal-image {
      max-height: calc(100vh - 1rem);
    }

    #venueGalleryModal .venue-gallery-modal-control {
      width: 3rem;
    }

    #venueGalleryModal .venue-gallery-modal-control .carousel-control-prev-icon,
    #venueGalleryModal .venue-gallery-modal-control .carousel-control-next-icon {
      width: 2.5rem;
      height: 2.5rem;
    }

    #venueGalleryModal .venue-gallery-modal-indicators {
      bottom: 0.75rem;
    }
  }

  @media (max-width: 767px) {
    @supports (height: 100dvh) {
      #venueGalleryModal .venue-gallery-modal-image {
        max-height: calc(100dvh - 1rem);
      }
    }
  }