.banner-slider{
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}
.banner-slider h2{
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 4px;
}
.banner-slider h3{
  font-size: 32px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 4px;
}
.banner-slider p{
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 4px;
}
.banner-slider .banner-title{
  position: absolute;
  z-index: 1;
  padding-left: clamp(32px, calc(6vw + 10px), 64px);
  padding-top: clamp(32px, calc(5vw + 4px), 84px);
  width: 70%;
}
@media screen and (max-width: 991px) {
  .banner-slider .banner-title{
    padding: 32px 32px 0;
  }
  .banner-slider h2 {
    font-size: 32px;
  }
  .banner-slider h3 {
    font-size: 24px;
  }
  .banner-slider p {
    font-size: 16px;
  }
}
@media screen and (max-width: 787px) {
  .banner-slider .banner-title{
    padding: 12vw 12vw 0;
    width: 100%;
  }
  .banner-slider h2 {
    font-size: 42px;
  }
  .banner-slider h3 {
    font-size: 32px;
  }
  .banner-slider p {
    font-size: 20px;
  }
}
@media screen and (max-width: 575px) {
  .banner-slider .banner-title{
    padding: 12vw 6vw 0;
  }
  .banner-slider h2 {
    font-size: 32px;
  }
  .banner-slider h3 {
    font-size: 24px;
  }
  .banner-slider p {
    font-size: 16px;
  }
}

/* 確保圖片適應容器 */
.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 添加輪播相關樣式 */
.banner-slider .swiper.banner {
  width: 100%;
}

.banner-slider .swiper-slide {
  width: 100%;
  height: auto;
}

.banner-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media screen and (max-width: 787px) {
  .banner-slider .swiper-slide img {
    aspect-ratio: auto;
    object-fit: cover;
    width: 100%;
    height: auto;
  }
}