/* 模块入口容器 - 全宽4列网格 */
.hnc-cet4-hub-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5em;
    padding: 0 40px;
    margin: 2em 0;
    width: 100%;
    box-sizing: border-box;
}

/* 卡片样式 - 居中对齐 */
.hnc-hub-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 180px;
    border: 1px solid #e5e7eb;
}

.hnc-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 3px 6px rgba(0, 0, 0, 0.15);
}

/* 图标区域 */
.hnc-hub-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 12px;
    margin-bottom: 0.75em;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

/* 标题 - 居中 */
.hnc-hub-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1em;
    text-align: center;
    width: 100%;
}

/* 描述文字 */
.hnc-hub-card-description {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.4;
    margin-bottom: 1em;
    text-align: center;
}

/* 按钮样式 - 居中 */
.hnc-hub-card-button {
    display: inline-block;
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 0.8em 2em;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.15s ease;
    box-shadow: 
        0 4px 0 #2563eb,
        0 6px 8px rgba(37, 99, 235, 0.25);
    position: relative;
    top: 0;
    margin-top: auto;
}

.hnc-hub-card-button:hover {
    background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
    color: #ffffff;
    top: 2px;
    box-shadow: 
        0 2px 0 #2563eb,
        0 3px 6px rgba(37, 99, 235, 0.2);
}

.hnc-hub-card-button:active {
    top: 4px;
    box-shadow: 
        0 0 0 #2563eb,
        0 1px 3px rgba(37, 99, 235, 0.15);
}

/* 移动端适配 - 2列 */
@media (max-width: 768px) {
    .hnc-cet4-hub-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
        gap: 1em;
    }

    .hnc-hub-card {
        padding: 1em;
        min-height: 150px;
    }
    
    .hnc-hub-card-title {
        font-size: 1rem;
    }
    
    .hnc-hub-card-button {
        font-size: 0.9rem;
        padding: 0.7em 1.5em;
    }
}

/* 超小屏幕 - 1列 */
@media (max-width: 480px) {
    .hnc-cet4-hub-container {
        grid-template-columns: 1fr;
    }
}
