#gallery-slider {
  width: 100%;
  overflow: hidden;
}

#gallery-slider .swiper-slide,
#gallery-slider .swiperbox {
  height: 100%;
}

#gallery-slider .swiperbox > a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

#gallery-slider .swiperbox picture,
#gallery-slider .swiperbox picture img {
  display: block;
  width: 100%;
  height: 100%;
}

#gallery-slider .swiperbox picture img {
  object-fit: cover;
}

#gallery-slider .swiper-button-next,
#gallery-slider .swiper-button-prev {
  position: relative;
  inset: auto;
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin: 0 8px;
}

.innervideo #gallery-slider .swiper-button-next,
.innervideo #gallery-slider .swiper-button-prev {
  color: #fff;
  border: 1px solid #f6efd6;
  border-radius: 50%;
  background: #f15622;
}

#gallery-slider .swiper-button-next::after,
#gallery-slider .swiper-button-prev::after {
  font-size: 18px;
}

.lg-backdrop {
  z-index: 99998 !important;
}

.lg-outer {
  z-index: 99999 !important;
}

.lg-toolbar {
  position: fixed !important;
  z-index: 100000 !important;
  top: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lg-toolbar .lg-close {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 48px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 639.98px) {
  #gallery-slider .swiper-button-next,
  #gallery-slider .swiper-button-prev {
    width: 36px;
    height: 36px;
    margin: 0 6px;
  }
}
