.swiper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mySwiper::before,
.mySwiper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  pointer-events: none;
  z-index: 5;
}

.mySwiper::before {
  left: 0;
  background: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0));
  width: 20%;
}

.mySwiper::after {
  right: 0;
  background: linear-gradient(to left, rgb(0, 0, 0), rgba(0, 0, 0, 0));
  width: 20%;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.swiper-slide {
  width: 47.3%;
}
.swiper-pagination {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.swiper-pagination span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  opacity: 0.4;
  cursor: pointer;
}
.swiper-pagination span.active {
  opacity: 1;
  background: #ffb901;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 18px;
}

.swiper-button-prev {
  left: 10px;
}
.swiper-button-next {
  right: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
}

.swiper-button-prev::after {
  transform: rotate(135deg);
}

.swiper-button-next::after {
  transform: rotate(-45deg);
}
