/* ========== cases.css — 客户案例页专属样式 ========== */

/* 网格容器布局 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* 卡片基础样式 */
.case-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* 卡片悬停效果 */
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #d1d1d1;
}

/* 图片样式优化 */
.case-label img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.case-card:hover .case-label img {
    filter: grayscale(0%);
}

/* 文字标签样式 */
.case-label {
    font-size: 14px;
    color: #333 !important;
    line-height: 1.6;
    font-weight: 500;
}

/* 序号样式 */
.case-num {
    font-size: 12px;
    margin-bottom: 10px;
    font-family: monospace;
}
