.custom-fade-gallery {
  display: grid;
  gap: 48px;
}

@media (max-width: 767px) {
  .custom-fade-gallery {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .custom-fade-gallery {
    gap: 12px;
  }
}

.custom-fade-gallery.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.custom-fade-gallery.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.custom-fade-gallery .gallery-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.custom-fade-gallery .gallery-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.custom-fade-gallery .gallery-item a img{
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.custom-fade-gallery .gallery-item a {
  position: relative;
}

.custom-fade-gallery .gallery-item a:before{
  content: '';
  background: rgba(255, 255, 255, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.custom-fade-gallery .gallery-item a:hover:before {
  opacity: 1;
}

.elementor-swiper-button-next {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: flex-end !important;
  right: 10px !important;
  z-index: 1000;
  cursor: pointer;
}

.elementor-swiper-button-next svg {
  width: 30px;
}

.elementor-swiper-button-prev {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: flex-start !important;
  left: 10px !important;
  z-index: 1000;
  cursor: pointer;
}

.elementor-swiper-button-prev svg {
  width: 30px;
}