/* 客户案例页样式（case.html） */

/* 企业培训案例展示 */
.case-showcase {
    padding: 60px 0 30px 0;
    background: #f6f7fa;
}

.case-showcase .section-head {
    text-align: center;
    margin-bottom: 44px;
}

.case-showcase .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 14px;
}

.case-showcase .section-subtitle {
    font-size: 16px;
    color: #666;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    padding: 36px;
    border-radius: 16px;
    background-color: #fff;
}

.case-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.case-shot {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef3fb;
}

.case-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.case-shot:hover img {
    transform: scale(1.03);
}

.case-story {
    padding: 10px 0;
}

.case-story-title {
    font-size: 28px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 14px;
}

.case-divider {
    width: 40px;
    height: 3px;
    background: #006aed;
    border: none;
    margin: 22px 0 22px;
}

.case-story-body {
    font-size: 16px;
    line-height: 2.0;
    color: #000000;
}

.case-story-body p {
    margin-bottom: 14px;
}

.case-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 44px;
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    list-style: none;
    display: flex;
    gap: 16px;
    transition: transform .35s;
}

.carousel-item {
    flex: 0 0 auto;
    width: calc((100% - 80px) / 6);
}

.case-thumb {
    width: 100%;
    padding: 0;
    border: none;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    cursor: pointer;
    text-align: left;
    transition: box-shadow .3s, transform .3s;
}

.case-thumb figure {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-thumb-title {
    display: block;
    padding: 10px;
    font-size: 15px;
    color: #000;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-item.active .case-thumb {
    background-color:  #2c7aec;
}

.carousel-item.active .case-thumb-title {
    color: #ffffff;
    font-weight: 700;
}

.carousel-arrow {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: none;
    border-radius: 50%;
    background: #2c7aec;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s;
}

.carousel-arrow:hover {
    background: #2c7aec;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .case-showcase {
        padding: 60px 0;
    }

    .case-showcase .section-title {
        font-size: 28px;
    }

    .case-grid {
        gap: 24px;
    }

    .case-story-title {
        font-size: 22px;
    }

    .carousel-item {
        width: calc((100% - 48px) / 4);
    }

    .case-thumb-title {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .case-showcase {
        padding: 48px 0;
    }

    .case-showcase .section-head {
        margin-bottom: 30px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-gallery {
        order: -1;
    }

    .case-story-title {
        font-size: 20px;
    }

    .case-story-body {
        font-size: 14px;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .carousel-track {
        gap: 12px;
    }

    .carousel-item {
        width: 70%;
        max-width: 220px;
    }

    .case-thumb-title {
        font-size: 13px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .case-shot {
        aspect-ratio: 4 / 3;
    }

    .case-thumb-title {
        font-size: 12px;
    }
}

/* ==================== 更多客户 ==================== */
.more-customers {
    padding:30px 0 60px 0;
    background: #f6f7fa;
}

.more-customers .section-head {
    text-align: center;
    margin-bottom: 28px;
}

.more-customers .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.more-customers .section-subtitle {
    font-size: 16px;
    color: #666;
}

.mc-panel {
    background: #fff;
    border-radius: 16px;
    padding: 48px 56px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .05);
}

.mc-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 40px;
    margin: 0;
    padding: 0;
}

.mc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    min-height: 68px;
    border-radius: 8px;
    transition: background .3s, transform .3s;
    border:1px solid #fff;
}

.mc-item:hover {
    border-color: #f8f9fb;
    transform: translateY(-2px);
}

.mc-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    .more-customers {
        padding: 70px 0;
    }

    .more-customers .section-title {
        font-size: 28px;
    }

    .mc-panel {
        padding: 36px 40px;
    }

    .mc-grid {
        gap: 24px 28px;
    }

    .mc-item img {
        max-height: 44px;
    }
}

@media (max-width: 768px) {
    .more-customers {
        padding: 52px 0;
    }

    .more-customers .section-head {
        margin-bottom: 22px;
    }

    .mc-panel {
        padding: 28px;
        border-radius: 12px;
    }

    .mc-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .mc-item {
        min-height: 56px;
        padding: 10px;
    }

    .mc-item img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .mc-panel {
        padding: 22px;
    }

    .mc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mc-item img {
        max-height: 34px;
    }
}
