/* ============================================
   help.css - 帮助中心文章卡片样式
   使用页面：templates/help/index.html
   ============================================ */

/* 帮助文章卡片 */
.help-article-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.help-article-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 封面图 */
.help-card-cover {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: var(--color-bg-tertiary);
}

/* 无封面占位 */
.help-card-cover-placeholder {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary));
    color: var(--color-text-quaternary);
    font-size: 36px;
}

/* 卡片主体 */
.help-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 标题 */
.help-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* 描述 */
.help-card-desc {
    font-size: 12px;
    color: var(--color-text-tertiary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部栏 */
.help-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

/* 分类标签 */
.help-card-category {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
}

/* 统计数据 */
.help-card-stats {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--color-text-quaternary);
}

.help-card-stats span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
