  /* 重置默认样式 */
    

        /* 横幅容器：限定宽高、溢出隐藏、相对定位 */
        .banner-wrap {
            width: 100%;
            max-width: 1200px;
            height: 400px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }

        /* 横幅列表：flex布局，通过transform实现滚动 */
        .banner-list {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease; /* 切换过渡动画 */
        }

        /* 单张横幅：占满容器宽度 */
        .banner-item {
            flex: 0 0 100%;
            height: 100%;
        }

        .banner-item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 保持图片比例，填充容器 */
        }

        /* 左右切换按钮 */
        .banner-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(0,0,0,0.5);
            color: #fff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            z-index: 10;
            transition: background 0.3s;
        }

        .banner-btn:hover {
            background: rgba(0,0,0,0.7);
        }

        .prev-btn {
            left: 20px;
        }

        .next-btn {
            right: 20px;
        }

        /* 底部指示器 */
        .banner-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: background 0.3s;
        }

        .indicator.active {
            background: #fff;
        }@charset "utf-8";
/* CSS Document */

