/* ── 1. 容器 ── */
.section1 {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 560px;
}

/* ── 2. Swiper 铺满 ── */
.Swiper1,
.Swiper1 .swiper-wrapper,
.Swiper1 .swiper-slide {
  width: 100%;
  height: 100%;
}
.Swiper1 .swiper-slide {
  position: relative;
}

/* ── 3. 图片基础样式 ── */
.section1 .bj {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: left top !important;
  z-index: 1;
}
/* 默认全部隐藏，由下面的媒体查询决定显示哪个 */
.media_pc, .media_narrow, .media_short, .media_phone {
  display: none !important;
}

/* ── 4. Banner 图切换 ── */
.media_pc {
  display: block !important;
}

@media (min-width: 768px) and (max-width: 1199px),
  (min-width: 1200px) and (max-height: 860px) {
  .media_pc,
  .media_phone,
  .media_short {
    display: none !important;
  }

  .media_narrow {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .section1 {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }

  .Swiper1,
  .Swiper1 .swiper-wrapper,
  .Swiper1 .swiper-slide {
    height: 100%;
  }

  .media_pc,
  .media_narrow,
  .media_short {
    display: none !important;
  }

  .media_phone {
    display: block !important;
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    min-width: 100%;
    height: 100% !important;
    transform: translateX(-50%);
    object-fit: cover !important;
    object-position: center center !important;
  }

  .section1 .bj {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    min-width: 100%;
    height: 100% !important;
    transform: translateX(-50%);
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* ── 5. 分页器 ── */
.Swiper1 .swiper-pagination {
  bottom: 20px; z-index: 3;
}
.swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 0.6;
  margin: 0 5px;
  border-radius: 50%;
}
.swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
  width: 14px;
}

/* ── 6. 箭头（手机隐藏） ── */
@media (max-width: 767px) {
  .Swiper1 .swiper-button-prev,
  .Swiper1 .swiper-button-next {
    display: none !important;
  }
}

/* ── 7. 分页器（手机缩小） ── */
@media (max-width: 767px) {
  .Swiper1 .swiper-pagination { bottom: 8px !important; }
  .swiper-pagination-bullet { width: 6px; height: 6px; margin: 0 3px; }
  .swiper-pagination-bullet-active { width: 9px; }
}

/* ── 8. 视频弹窗 ── */
.videoBanner {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.video2 { max-width: 90%; max-height: 90%; }
.gb1 {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  cursor: pointer;
}
