/* ========================================
   合作伙伴页面样式 - 现代化UI设计
   ======================================== */

/* 页面主容器 */
.hezuo {
    padding: 20px 0 100px;
    /* background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); */
    min-height: 600px;
}

/* 页面标题区域 */
.hezuo-header {
    text-align: center;
    margin-bottom: 10px;
}

.hezuo-title-cn {
    font-size: 32px;
    font-weight: 600;
    color: var(--datai-color);
    letter-spacing: 4px;
    margin: 0 0 5px 0;
}

.hezuo-title-en {
    font-size: 16px;
    font-weight: 400;
    color: var(--datai-color);
    /* letter-spacing: 2px; */
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.hezuo-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* 合作伙伴网格布局 - 6列 */
.hezuo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px 24px;
}

/* 合作伙伴卡片 */
.hezuo-card {
    position: relative;
    cursor: pointer;
    text-align: center;
}

/* Logo容器 */
.hezuo-card__logo {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 16px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

.hezuo-card:hover .hezuo-card__logo {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.hezuo-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hezuo-card:hover .hezuo-card__logo img {
    transform: scale(1.05);
}

/* 卡片标题 */
.hezuo-card__title {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.4;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
}

.hezuo-card:hover .hezuo-card__title {
    color: #3b82f6;
}

/* ========================================
   响应式适配
   ======================================== */

/* 大屏幕 (1200px+) - 6列 */
@media (min-width: 1200px) {
    .hezuo-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 32px 24px;
    }
}

/* 中等屏幕 (992px - 1199px) - 5列 */
@media (max-width: 1199px) and (min-width: 992px) {
    .hezuo-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 28px 20px;
    }

    .hezuo-title-cn {
        font-size: 28px;
    }
}

/* 平板 (768px - 991px) - 4列 */
@media (max-width: 991px) and (min-width: 768px) {
    .hezuo {
        padding: 60px 0 80px;
    }

    .hezuo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px 16px;
    }

    .hezuo-header {
        margin-bottom: 40px;
    }

    .hezuo-title-cn {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .hezuo-title-en {
        font-size: 14px;
    }

    .hezuo-card__logo {
        height: 90px;
        padding: 16px 12px;
    }

    .hezuo-card__title {
        font-size: 13px;
    }
}

/* 小平板/大手机 (576px - 767px) - 3列 */
@media (max-width: 767px) and (min-width: 576px) {
    .hezuo {
        padding: 50px 0 60px;
    }

    .hezuo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 12px;
    }

    .hezuo-header {
        margin-bottom: 32px;
    }

    .hezuo-title-cn {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .hezuo-title-en {
        font-size: 13px;
    }

    .hezuo-title-line {
        width: 48px;
    }

    .hezuo-card__logo {
        height: 80px;
        padding: 12px 10px;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .hezuo-card__title {
        font-size: 12px;
    }
}

/* 手机 (< 576px) - 2列 */
@media (max-width: 575px) {
    .hezuo {
        padding: 40px 0 50px;
    }

    .hezuo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
    }

    .hezuo-header {
        margin-bottom: 28px;
    }

    .hezuo-title-cn {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .hezuo-title-en {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hezuo-title-line {
        width: 40px;
        height: 2px;
    }

    .hezuo-card__logo {
        height: 70px;
        padding: 10px 8px;
        border-radius: 6px;
        margin-bottom: 8px;
    }

    .hezuo-card__title {
        font-size: 12px;
    }
}

/* 小手机 (< 375px) - 2列更小 */
@media (max-width: 374px) {
    .hezuo-grid {
        gap: 14px 8px;
    }

    .hezuo-card__logo {
        height: 60px;
        padding: 8px 6px;
    }

    .hezuo-card__title {
        font-size: 11px;
    }
}