.banner {
    position: relative;
    width: 100%;
    height: 365px;
    overflow: hidden;
}

.banner .swiper {
    width: 100%;
    height: 100%;
}

.banner .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* 分页器样式 */
.banner .banner-pagination {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.banner .banner-pagination .swiper-pagination-bullet {
    position: relative;
    margin: 0 3px;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #fff;
    border-radius: 0%;
    background: transparent;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s;
}

.banner .banner-pagination .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.banner .banner-pagination .swiper-pagination-bullet-active {
    border-color: #fff;
}

.banner .banner-pagination .swiper-pagination-bullet-active::before {
    background: #fff;
    width: 8px;
    height: 8px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .banner {
        height: 150px;
    }

}
