/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none; /* 清除ul默认列表样式 */
}

/* 轮播Banner容器 */
.ws-carousel-banner {
    width: 1360px;
    height: 650px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 图片容器 */
.ws-carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 轮播轨道（ul） */
.ws-carousel-track {
    display: flex;
       width: 1360px;
 height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* 轮播项（li） */
.ws-carousel-item {
    min-width: 100%; /* 每个li占满容器宽度 */
    height: 100%;
    position: relative;
}

.ws-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片自适应容器，保持比例不拉伸 */
    display: block; /* 消除图片底部间隙 */
}

/* 切换按钮 */
.ws-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.ws-carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.ws-prev-btn {
    left: 20px;
}

.ws-next-btn {
    right: 20px;
}

/* 指示器容器 */
.ws-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* 指示器按钮 */
.ws-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 激活状态样式 */
.ws-active {
    background-color: white;
}

/* 响应式调整 */
@media (max-width: 1360px) {

}

@media (max-width: 768px) {
    .ws-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .ws-indicator {
        width: 10px;
        height: 10px;
    }
}