/* 简洁图片轮播样式 */

/* 轮播容器 */
.image-swiper {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;

}

/* Swiper包装器 */
.image-swiper .swiper-wrapper {
    height: 100%;
}

/* 轮播项 */
.image-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 图片样式 */
.image-swiper .swiper-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

/* 图片悬停效果 */
.image-swiper .swiper-slide:hover .swiper-image {
    /* transform: scale(1.05); */
}

/* 分页器样式 */
.image-swiper .swiper-pagination {
    bottom: 20px !important;
    z-index: 10;
}

.image-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.image-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* 导航按钮样式 */
.image-swiper .swiper-button-next,
.image-swiper .swiper-button-prev {
    color: #ffffff;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-swiper .swiper-button-next:hover,
.image-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.image-swiper .swiper-button-next:after,
.image-swiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.image-swiper .swiper-button-next {
    right: 20px;
}

.image-swiper .swiper-button-prev {
    left: 20px;
}

/* 加载动画 */
.image-swiper .swiper-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.image-swiper .swiper-slide-active {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .image-swiper {
        height: 50vh;
        min-height: 300px;
    }
    
    .image-swiper .swiper-button-next,
    .image-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
    
    .image-swiper .swiper-button-next:after,
    .image-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .image-swiper .swiper-button-next {
        right: 15px;
    }
    
    .image-swiper .swiper-button-prev {
        left: 15px;
    }
    
    .image-swiper .swiper-pagination {
        bottom: 15px !important;
    }
    
    .image-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px !important;
    }
}

@media (max-width: 480px) {
    .image-swiper {
        height: 40vh;
        min-height: 250px;
    }
    
    .image-swiper .swiper-button-next,
    .image-swiper .swiper-button-prev {
        display: none; /* 手机端隐藏导航按钮 */
    }
    
    .image-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 3px !important;
    }
}

/* 平滑过渡效果 */
.image-swiper .swiper-slide {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 焦点样式 */
.image-swiper:focus-within {
    outline: 2px solid #007bff;
    outline-offset: 4px;
}

/* 无障碍支持 */
.image-swiper .swiper-button-next:focus,
.image-swiper .swiper-button-prev:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.image-swiper .swiper-pagination-bullet:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}