.banner {
  width: 100%;
  margin: 20px 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #f6f7fb;
}

.banner .swiper-wrapper,
.banner .swiper-slide {
  width: 100%;
}

.banner .swiper-slide {
  display: flex;
}

.bannerImg {
  width: 100%;
  height: auto;
  display: block;
}

.bannerEmbed {
  width: 100%;
  aspect-ratio: 1536 / 433;
  background: #000;
}

.bannerEmbedFrame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.banner-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(clamp(18px, 5vw, 32px) + 20px);
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.banner-marquee__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: banner-marquee-scroll 22.5s linear infinite;
  will-change: transform;
  filter: blur(0.2px);
  transform: translateZ(0);
}

.banner-marquee__line {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 54px);
  flex: 0 0 auto;
  padding-right: clamp(28px, 3.4vw, 54px);
}

.banner-marquee__line span {
  display: inline-flex;
  align-items: center;
  color: #ff0f8a;
  font-family: var(--main-font);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.16);
}

.banner-pagination.swiper-pagination {
  bottom: 14px !important;
}

.banner-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.66);
  opacity: 1;
}

.banner-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}

.banner-nav {
  width: 34px !important;
  height: 34px !important;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.36);
  color: #ffffff !important;
  backdrop-filter: blur(8px);
  margin-top: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  box-shadow: none !important;
}

.banner-nav.banner-nav-prev {
  left: 12px !important;
}

.banner-nav.banner-nav-next {
  right: 12px !important;
}

.banner-nav::after {
  font-size: 12px !important;
  font-weight: 700;
}

@keyframes banner-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .banner {
    margin: 12px 0 18px;
    border-radius: 12px;
  }

  .banner-marquee {
    bottom: 22px;
  }

  .banner-marquee__track {
    animation-duration: 28s;
    filter: none;
  }

  .banner-marquee__line {
    gap: 22px;
    padding-right: 22px;
  }

  .banner-marquee__line span {
    font-size: 10px;
  }

  .banner-nav {
    display: none !important;
  }
}
