/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 180px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f8fa;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carousel-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: rgba(255, 255, 255, 1);
    width: 20px;
    border-radius: 3px;
}

/* 左右箭头 - 隐藏 */
.carousel-arrow {
    display: none !important;
}

/* 单张图片时隐藏箭头和指示器 */
.carousel-container.single .carousel-arrow,
.carousel-container.single .carousel-indicators {
    display: none;
}

