* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #eee;
}
section.banner .slider-wrap {
    width: 100%;
    display: flex;
    transition: transform 0.6s ease;
}
section.banner .slide-item {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
section.banner .slide-item img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    object-fit: contain;
}
/* 文字浮层 */
section.banner .slide-text {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
}
section.banner .slide-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}
section.banner .slide-text p {
    font-size: clamp(14px,1.2vw,18px);
    line-height: 1.8;
}

/* 左右箭头 */
section.banner .prev,
section.banner .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.35);
    border: none;
    border-radius: 50%;
    color: #222;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}
section.banner .prev { left: 20px; }
section.banner .next { right: 20px; }
section.banner .prev:hover,
section.banner .next:hover {
    background: rgba(255,255,255,0.75);
}

/* 圆点 */
section.banner .dots-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
section.banner .dots-box span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}
section.banner .dots-box span.active {
    background: #ffffff;
    width: 30px;
    border-radius: 6px;
}

@media screen and (max-width:768px) {
    section.banner .prev, section.banner .next {
        width: 36px;
        height: 36px;
        font-size:16px;
    }
    section.banner .slide-text h2 {
        font-size: clamp(22px,5vw,28px);
    }
}