.video-carousel {
  position: relative;
  max-width: 850px;
}

@media (max-width: 420px) {
  .video-carousel {
    max-width: 350px;
  }
}

.video-carousel .swiper {
  width: 100%;
  padding: 12px 0 28px;
}

.video-carousel .swiper-slide {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
  transform: scale(0.85);
  opacity: 0.7;
  width: min(360px, 82vw);
}

.video-carousel .swiper-slide-prev,
.video-carousel .swiper-slide-next {
  transform: scale(0.92);
  opacity: 0.9;
  z-index: 2;
}

.video-carousel .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-carousel .ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 177.7777%;
  background: #000;
}

.video-carousel .ratio > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.video-carousel .swiper-button-prev,
.video-carousel .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  background: rgba(34, 34, 34, 0.667);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.video-carousel .swiper-button-prev:after,
.video-carousel .swiper-button-next:after {
  font-size: 18px;
  color: #fff;
}

.video-carousel .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.video-carousel .swiper-pagination-bullet {
  background: #808080;
  opacity: 0.6;
}

.video-carousel .swiper-pagination-bullet-active {
  background: #0ea5e9;
  opacity: 1;
  width: 24px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .video-carousel .swiper-slide {
    width: 78vw;
  }
}
