/*
 * swiper-lite.css
 * 轻量替代 swiper-bundle.min.css 的最小子集，仅覆盖本项目实际用到的类。
 * - .swiper-banner: 由 app.js 中的原生 carousel 控制（active/prev/next 状态由 JS 切换）
 * - .swiper-c    : 仅作为容器使用，没有 carousel 行为
 * 视觉细节（外边距、缩放、分页圆点尺寸）默认保持由 home.css 控制。
 */

.swiper {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    bottom: 10px;
    left: 0;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #000;
    opacity: 0.2;
    margin: 0 4px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007aff;
}

/*
 * 满宽 banner 变体：仅给需要放大 banner 的页面手动加 .swiper-banner-full，
 * 避免影响其它继续使用 home.css 缩放轮播效果的模板。
 */
.swiper-banner-full {
    margin: 1.12rem 1.12rem;
}

.swiper-banner-full .swiper-slide {
    transform: none;
}

.swiper-banner-full .swiper-slide-next .banner-img,
.swiper-banner-full .swiper-slide-prev .banner-img {
    transform: none;
    opacity: 1;
}

.swiper-banner-full .banner-slide {
    width: 100%;
}

.swiper-banner-full .banner-img {
    display: block;
    width: 100%;
}





