.yb-banner-swiper {
  background: linear-gradient(180deg, rgba(2, 6, 11, 0.6) -26.06%, rgba(103, 106, 109, 0.6) 100%);
  width: 100%;
  /* overflow: hidden; */
}

.yb-banner-swiper .splide__track {
  overflow: hidden;
  z-index: 99;
}

button.yb-banner-swiper-button-primary {
  border: 0;
}

.yb-banner-swiper-img {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0px;
  color: transparent;
}

.yb-banner-swiper-li {
  min-height: 648px;
  width: 100vw;
  line-height: 1.4;
  background: linear-gradient(180deg, rgba(2, 6, 11, 0.6) 0%, rgba(103, 106, 109, 0.6) 100%);
}

.yb-banner-swiper .yb-banner-swiper-main {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  position: relative;

}

.yb-banner-swiper .yb-banner-swiper-main> :last-child {
  margin-bottom: 0;
}

.yb-banner-swiper-desktop-video,
.yb-banner-swiper-mobile-video {
  position: absolute;
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  top: 0;
  left: 0;
  object-position: center center;
}

.yb-banner-swiper-desktop-video video,
.yb-banner-swiper-mobile-video video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: center center;
}

.yb-banner-swiper-desktop-image,
.yb-banner-swiper-mobile-image {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  top: 0;
  left: 0;
}

.yb-banner-swiper-desktop-image img,
.yb-banner-swiper-mobile-image img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;

  --image-show-position: 20% 50%;
  -o-object-position: var(--image-show-position, center);
  object-position: var(--image-show-position, center);
}

/* 移动端图片容器 */
.yb-banner-swiper-mobile-video,
.yb-banner-swiper-mobile-image {
  display: none;
  aspect-ratio: 376 / 536;
}

/* 轮播图箭头和分页器样式 */
.yb-banner-swiper__arrows {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: none;
  /* 隐藏箭头容器 */
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0 20px;
}

/* 当只有一张幻灯片时隐藏分页器和箭头 */
.yb-banner-swiper__single-slide .splide__pagination,
.yb-banner-swiper__single-slide .yb-banner-swiper__arrows {
  display: none !important;
}

.yb-banner-swiper__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.yb-banner-swiper__arrow:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 分页器样式 */
.splide__pagination {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

.splide__pagination__page {
  width: 32px;
  height: 8px;
  border-radius: 41px;
  background-color: #A9A9A9;
  opacity: 1;
  margin: 0 6px;
  border: none;
}

.splide__pagination__page.is-active {
  position: relative;
  overflow: hidden;
  width: 100px;
}

.splide__pagination__page.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transform: translateX(-100%);
  animation: fillBackground var(--fill-duration) linear forwards;
}

@keyframes fillBackground {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

/* 375-679px */
@media (max-width: 679px) {
  .splide__pagination {
    bottom: 24px;
  }

  .splide__pagination__page {
    width: 16px;
    height: 4px;
  }

  .splide__pagination__page.is-active {
    width: 64px;
  }
}

/* 680-959px */
@media (min-width: 680px) and (max-width: 959px) {
  .splide__pagination {
    bottom: 32px;
  }

  .splide__pagination__page {
    width: 32px;
    height: 8px;
  }

  .splide__pagination__page.is-active {
    width: 100px;
  }
}

/* 960-1439px */
@media (min-width: 960px) and (max-width: 1439px) {
  .splide__pagination {
    bottom: 16px;
  }

  .splide__pagination__page {
    width: 16px;
    height: 4px;
  }

  .splide__pagination__page.is-active {
    width: 64px;
  }
}

/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
  .splide__pagination {
    bottom: 24px;
  }

  .splide__pagination__page {
    width: 32px;
    height: 6px;
  }

  .splide__pagination__page.is-active {
    width: 100px;
  }
}

/* 1920px+ */
@media (min-width: 1920px) {}

.yb-banner-swiper-description {
  font-size: 16px;
  color: #fff;
  position: relative;
  margin-top: 0;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* 主标题 */
.yb-banner-swiper-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  margin-bottom: 16px;
}

/* 副标题 */
.yb-banner-swiper-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}

.yb-banner-swiper-stat-item {
  text-align: center;
}

/* 数据统计区 */
.yb-banner-swiper-stats {
  margin-bottom: 32px;
  position: relative;
  display: flex;
  gap: 18px;
}


/* 操作按钮区 */
.yb-banner-swiper-cta {
  width: 320px;
  font-weight: 400;
  position: relative;
}

.yb-banner-swiper-cta_content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  width: 100%;
}

.yb-banner-swiper-button-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(254 219 30 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(2 6 11 / var(--tw-text-opacity));
  font-weight: 600;
  text-align: center;
  height: 48px;
  width: 158px;
  line-height: 48px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 60px;
  flex: 1;
}

.yb-banner-swiper-button-secondary {
  height: 48px;
  width: 158px;
  line-height: 48px;
  font-size: 16px;
  color: rgb(255 255 255) !important;
  border-radius: 60px;
  border: 1px solid rgb(255 255 255);
  ;
  cursor: pointer;
  text-align: center;
  flex: 1;
}

.yb-banner-swiper-mobile-cta-container {
  display: none;
}

.yb-banner-swiper-fixed-btns__operate {
  position: fixed;
  top: 0;
  width: 100%;
  -webkit-transition: top 0.3s ease;
  -o-transition: top 0.3s ease;
  transition: top 0.3s ease;
  /* 平滑过渡 */
}

.splide__pagination {
  padding-left: 0;
}

.yb-banner-swiper-stat-value {
  margin: 0 0 5px 0;
}

/*959px以下*/
@media screen and (max-width: 959px) {
  .yb-banner-swiper .yb-banner-swiper-width {
    padding: 0 30px;
  }

  .hidden-mobile {
    display: none;
  }

  .yb-banner-swiper .yb-banner-swiper-main {
    display: flex;
    flex-direction: column;
    height: 928px;
    padding-top: 100px;
    padding-bottom: 88px;
  }

  /*.splide__pagination li .splide__pagination__page{*/
  /*  width: 32px;*/
  /*  height: 8px;*/
  /*  border-radius: 41px;*/
  /*}*/
  .yb-banner-swiper-cta {
    width: 384px;
    margin-bottom: 48px;
  }

  .yb-banner-swiper-mobile-video,
  .yb-banner-swiper-mobile-image {
    display: block;
  }

  .yb-banner-swiper-desktop-video,
  .yb-banner-swiper-desktop-image {
    display: block;
  }

  .yb-banner-swiper-mobile-cta-container {
    display: block;
  }

  .yb-banner-swiper-desktop-video,
  .yb-banner-swiper-desktop-image {
    display: none;
  }

  .yb-banner-swiper-titles {
    width: 100%;
    margin-bottom: 24px;
  }

  .yb-banner-swiper-description {
    font-size: 18px;
    color: #fff;
    position: relative;
  }

  /* 主标题 */
  .yb-banner-swiper-title {
    font-size: 36px;
  }

  /* 副标题 */
  .yb-banner-swiper-subtitle {
    font-size: 18px;
  }

  .yb-banner-swiper-stats {
    margin-bottom: 48px;
  }

  .yb-banner-swiper-subtitle {
    text-align: center;
  }

  .yb-banner-swiper-stats {
    width: 100%;
  }

  .yb-banner-swiper-stat-item {
    width: 33.33%;
  }

  .yb-banner-swiper-stat-value {
    font-size: 24px;
  }

  .yb-banner-swiper-stat-label {
    font-size: 16px;
  }

  .yb-banner-swiper-mobile-cta-container {
    z-index: 50;
    --tw-bg-opacity: 1;
    background-color: rgb(0 0 0 / var(--tw-bg-opacity));
  }


  .yb-banner-swiper-button-primary {
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    line-height: 48px;
    cursor: pointer;
    background-color: rgb(254, 219, 30);
    width: 186px;
    flex: 1;
  }

  .yb-banner-swiper-button-secondary {
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    line-height: 48px;
    cursor: pointer;
    border-radius: 60px;
    width: 186px;
    flex: 1;
  }

  .yb-banner-swiper-desktop-image img,
  .yb-banner-swiper-mobile-image img {
    --image-show-position: 20% 50%;
    -o-object-position: var(--image-show-position, center);
    object-position: var(--image-show-position, center);
  }
}

/*680px以下*/
@media screen and (max-width: 679px) {
  .yb-banner-swiper .yb-banner-swiper-width {
    padding: 0 24px;
  }

  .yb-banner-swiper-stats {
    margin-bottom: 32px;
  }

  .yb-banner-swiper .yb-banner-swiper-main {
    height: 648px;
    padding-top: 64px;
    padding-bottom: 68px;
  }

  /*.splide__pagination li .splide__pagination__page{*/
  /*  width: 16px;*/
  /*  height: 4px;*/
  /*  border-radius: 41px;*/
  /*}*/
  .yb-banner-swiper-cta {
    width: 100%;
    margin-bottom: 32px;
  }

  .yb-subscribe-klaviyo-input-wrapper {
    width: 100% !important;
  }

  .yb-banner-swiper-stats {
    width: 100%;
  }

  .yb-banner-swiper-stat-item {
    width: 33.33%;
  }

  .yb-banner-swiper-stat-value {
    font-size: 16px;
  }

  .yb-banner-swiper-stat-label {
    font-size: 12px;
  }

  .yb-banner-swiper-titles {
    margin-bottom: 32px;
  }

  .yb-banner-swiper-description {
    font-size: 16px;
  }

  /* 主标题 */
  .yb-banner-swiper-title {
    font-size: 30px;
  }

  /* 副标题 */
  .yb-banner-swiper-subtitle {
    font-size: 16px;
  }

  .yb-banner-swiper-button-primary {
    --tw-bg-opacity: 1;
    background-color: rgb(254 219 30 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(2 6 11 / var(--tw-text-opacity));
    font-weight: 600;
    text-align: center;
    height: 48px;
    width: 158px;
    line-height: 48px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 60px;
    flex: 1;
  }

  .yb-banner-swiper-button-secondary {
    height: 48px;
    width: 158px;
    line-height: 48px;
    font-size: 16px;
    color: rgb(255 255 255) !important;
    border-radius: 60px;
    border: 1px solid rgb(255 255 255);
    ;
    cursor: pointer;
    text-align: center;
    flex: 1;
  }
}

/*960px 以上*/
@media screen and (min-width: 960px) and (max-width: 1439px) {
  .yb-banner-swiper .yb-banner-swiper-width {
    width: 900px;
  }
}

@media screen and (min-width: 960px) {
  .yb-banner-swiper-li {
    display: flex;
    flex-direction: column;
    min-height: 360px;
  }

  .yb-banner-swiper .yb-banner-swiper-main {

    padding-top: 38px;
    padding-bottom: 38px;
  }

  .yb-banner-swiper-subscribe_klaviyo {
    width: 630px;
  }

  .yb-banner-swiper-titles {
    margin-bottom: 24px;
  }

  .yb-banner-swiper-description {
    font-size: 12px;
    margin-bottom: 0;
  }

  /* 主标题 */
  .yb-banner-swiper-title {
    font-size: 30px;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  /* 副标题 */
  .yb-banner-swiper-subtitle {
    font-size: 14px;

  }

  .yb-banner-swiper-stats {
    margin-bottom: 24px;
  }

  .yb-banner-swiper-stat-value {
    font-size: 16px;
  }

  .yb-banner-swiper-stat-label {
    font-size: 12px;
  }

  .yb-banner-swiper-cta {
    width: 100%;
    margin-bottom: 24px;
  }

  .yb-banner-swiper-cta>.yb-banner-swiper-cta_content {
    width: 384px;
  }

  /*.splide__pagination li .splide__pagination__page{*/
  /*  width: 32px;*/
  /*  height: 8px;*/
  /*  border-radius: 41px;*/
  /*}*/

}

/*1440px 以上*/
@media screen and (min-width: 1440px) {
  .yb-banner-swiper-li {
    min-height: 540px;
  }

  .yb-banner-swiper .yb-banner-swiper-main {
    padding-top: 49px;
    padding-bottom: 49px;
  }

  .yb-banner-swiper-description {
    font-size: 14px;
  }

  .yb-banner-swiper-titles {
    margin-bottom: 32px;
  }

  /* 主标题 */
  .yb-banner-swiper-title {
    font-size: 40px;
  }

  /* 副标题 */
  .yb-banner-swiper-subtitle {
    font-size: 18px;
  }

  .yb-banner-swiper-stats {
    margin-bottom: 32px;
  }

  .yb-banner-swiper-stat-value {
    font-size: 20px;
  }

  .yb-banner-swiper-stat-label {
    font-size: 14px;
  }

  .yb-banner-swiper-cta {
    margin-bottom: 32px;
  }

}

/*1920px 以上*/
@media screen and (min-width: 1920px) {
  .yb-banner-swiper-li {
    min-height: 720px;
  }

  .yb-banner-swiper .yb-banner-swiper-main {
    padding-top: 108px;
    padding-bottom: 108px;
  }

  .yb-banner-swiper {
    font-size: 16px;
  }

  .yb-banner-swiper-titles {
    margin-bottom: 40px;
  }

  .yb-banner-swiper__basic-size {
    font-size: 16px;
  }

  .yb-banner-swiper-description {
    font-size: 16px;
  }

  /* 主标题 */
  .yb-banner-swiper-title {
    font-size: 48px;
  }

  /* 副标题 */
  .yb-banner-swiper-subtitle {
    font-size: 18px;
  }

  .yb-banner-swiper-stats {
    margin-bottom: 40px;
  }

  .yb-banner-swiper-stat-value {
    font-size: 24px;
  }

  .yb-banner-swiper-stat-label {
    font-size: 16px;
  }

  .yb-banner-swiper-cta {
    margin-bottom: 40px;
  }
}