/* Owl Carousel 样式 */
.content-carousel {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.content-carousel .item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* 导航按钮样式 */
.content-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.content-carousel .owl-prev,
.content-carousel .owl-next {
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,0.3) !important;
    border-radius: 50% !important;
    text-align: center;
    line-height: 44px;
    color: #fff !important;
    font-size: 24px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.content-carousel .owl-prev:hover,
.content-carousel .owl-next:hover {
    background-color: rgba(0,0,0,0.7) !important;
    transform: scale(1.1);
}

.content-carousel .owl-prev {
    left: 10px;
    position: absolute;
}

.content-carousel .owl-next {
    right: 10px;
    position: absolute;
}

/* 分页指示器样式 */
.content-carousel .owl-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.content-carousel .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.content-carousel .owl-dot.active {
    background: #5aa783;
}

/* 缩略图导航样式 */
.carousel-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.thumb-item {
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumb-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumb-item.active {
    border-color: #5aa783;
    opacity: 1;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-thumbs {
        gap: 6px;
        margin-top: 8px;
    }

    .thumb-item {
        width: 50px;
        height: 35px;
    }

    .content-carousel .item img {
        height: 280px;
    }

    .content-carousel .owl-prev,
    .content-carousel .owl-next {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 20px;
    }
}