/* 轮播图容器样式 */
.wp-carousel-widget {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* 轮播图幻灯片容器 */
.wp-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

/* 单个幻灯片样式 */
.wp-carousel-slide {
    min-width: 100%;
    position: relative;
}

/* 图片样式 */
.wp-carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* 导航按钮样式 */
.wp-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.wp-carousel-nav:hover {
    background: rgba(255,255,255,0.9);
}

.wp-carousel-prev {
    left: 15px;
}

.wp-carousel-next {
    right: 15px;
}

/* 指示器样式 */
.wp-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.wp-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wp-carousel-indicator.active {
    background: rgba(255,255,255,0.9);
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wp-carousel-slide img {
        height: 300px;
    }
    
    .wp-carousel-nav {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .wp-carousel-slide img {
        height: 250px;
    }
    
    .wp-carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}