/**
 * Swiper 轮播样式 - 首页 banner 固定高度 540px（与原项目一致）
 */
.image-slider-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 540px;
  overflow: hidden;
}

.image-slider-container .swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-slider-container .swiper-wrapper,
.image-slider-container .swiper-slide {
  height: 100%;
}
.image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-image {
  width: 100%;
  height: 100%;
  /* object-fit IE11 不支持，用 background 替代时可改用 background-size: cover */
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* 兼容 IE11：无 object-fit 时保证图片填满 */
@supports not (object-fit: cover) {
  .slider-image {
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
  }
}

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

.image {
  width: 100%;
  height: 100%;
}

/* 自定义分页 */
.custom-pagination-container {
  position: relative;
  z-index: 2;
  margin-top: -148px;
}
.custom-pagination {
  display: flex;
  justify-content: center;
}
.custom-bullet {
  width: 12px;
  height: 12px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
}
.custom-bullet-active {
  background: #fff;
}

@media (max-width: 640px) {
  .image-slider-container {
    height: 390px;
  }
 }
