.swiper-wrapper-container {
  width: 100%;
  position: relative;
}

.swiper {
  width: 100%;
  position: relative;
  background-color: #2f2f2f;
  border-radius: 10px;
  max-height: 330px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative; 
}

.swiper-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(0deg, rgb(35 35 35 / 58%) 0%, rgba(209, 40, 110, 0) 100%);
  pointer-events: none; 
  z-index: 1;
}


.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
  z-index: 10;
  color: #3d3d3d;
  background: #fdfdfdba;
  border-radius: 50%;
  box-shadow: 2px 2px 15px 0 #2b2b2b;  
}

.swiper-button-prev svg,
.swiper-button-next svg {
  width: revert-layer;
}

&.swiper-rtl .swiper-button-next,&.swiper-rtl~.swiper-button-next,&~.swiper-button-prev,.swiper-button-prev {
  left: var(--swiper-navigation-sides-offset,10px) !important;
}

&.swiper-rtl .swiper-button-prev,&.swiper-rtl~.swiper-button-prev,&~.swiper-button-next,.swiper-button-next {
  right: var(--swiper-navigation-sides-offset,10px) !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:focus,
.swiper-button-next:focus {
  background: rgb(255 255 255 / 80%);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.swiper-pagination {
  bottom: 20px !important;
  z-index:10;
}

.swiper-pagination-bullet {
  width: 24px;
  height: 24px;
  background: #fff;
  opacity: 0.6;
  transition: all 0.3s ease;
  color: black;
}

.swiper-pagination-bullet:hover,
.swiper-pagination-bullet:focus {
  opacity: 0.9;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.swiper-pagination-bullet-active {
  opacity: 1;  
  width: 24px;
  height: 24px;
}

.swiper-pagination-progressbar {
  background: rgba(255, 255, 255, 0.3);
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #fff;
}

.swiper-autoplay-toggle {
  position: absolute;
  top: 0px;
  left: 10px;
  z-index: 10;
  background: #fdfdfdba;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  box-shadow: 2px 2px 15px 0 #2b2b2b;
}

.swiper-autoplay-toggle:hover,
.swiper-autoplay-toggle:focus {
  background: rgb(189 193 199);
  outline: 2px solid #fff;
  outline-offset: 1px;
  transform: scale(1.1);
}

.swiper-play-icon {
  padding-left: 1px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.swiper-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.swiper-slide:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

.swiper-slide {
  transition: opacity 0.3s ease;
}

.swiper,
.swiper-autoheight .swiper-wrapper {
  max-height: clamp(65px, 20vw, 330px) !important;
}

@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
	top: 90% !important;
    width: 20px;
    height: 20px;   
  }
  .swiper-button-prev svg, .swiper-button-next svg {
    width: 25% !important;
  }
  .swiper-button-prev {
   left: 10px !important;
  }
  .swiper-button-next {
   right: 10px !important;
  }	
  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 6px;
  }
  .swiper-autoplay-toggle {
    width: 20px;
    height: 20px;
  }
  .swiper-play-icon svg {
    padding-right: 2px;
    height: 16px !important;
    width: 16px !important;  
  }
  .swiper-pagination {
    bottom: 5px !important;
  }
  .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
	font-size: 10px !important;
  }
  .swiper-pagination-bullet-active {
    width: 15px;
    height: 15px;
  }    
}

@media (prefers-contrast: high) {
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-autoplay-toggle {
    background: #000;
    border: 2px solid #fff;
  }

  .swiper-pagination-bullet {
    border: 1px solid #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swiper-slide,
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-autoplay-toggle {
    transition: none;
  }
}