/* ========================================
   轮播图样式文件 - 合并自 index_2.css
   ======================================== */

#jwell-banner .swiper-slide img {
  width: 100%;
}

#jwell-banner .txt {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;
  z-index: 10;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

#jwell-banner .txt .box {
  margin: 50px 15% 0;
  box-sizing: border-box;
}

#jwell-banner .txt h5 {
  color: #fff;
  font-size: 90px;
  font-family: "FuturaBT-Medium";
}

#jwell-banner .txt p {
  margin: 25px 0 0;
  font-size: 36px;
  color: #fff;
  font-family: "FuturaBT-Medium";
}

#jwell-banner .txt .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 30px;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#jwell-banner .txt .btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

#jwell-banner .swiper-button-prev,
#jwell-banner .swiper-button-next {
  display: inline-block;
  width: 50px;
  height: 55px;
  background: none;
  margin-top: -25px;
  text-align: center;
}

#jwell-banner .swiper-button-next::after,
#jwell-banner .swiper-button-prev::after {
  display: none;
}

#jwell-banner .swiper-button-prev i,
#jwell-banner .swiper-button-next i {
  font-size: 30px;
  line-height: 55px;
  color: #fff;
}

#jwell-banner .swiper-pagination-bullets {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
}

#jwell-banner .swiper-pagination-bullet {
  width: 60px;
  height: 6px;
  border: none;
  display: inline-block;
  border-radius: 20px;
  background: #fff;
  opacity: 1;
  margin: 0 3px;
}

#jwell-banner .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* ========================================
   响应式设计
   ======================================== */

@media screen and (max-width: 768px) {
  #jwell-banner .swiper-pagination-bullets {
    bottom: 10px;
  }

  #jwell-banner .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
  }

  #jwell-banner .txt .box {
    margin: 30px 10% 0;
  }

  #jwell-banner .txt h5 {
    font-size: 50px;
  }

  #jwell-banner .txt p {
    font-size: 24px;
  }

  #jwell-banner .txt .btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}