/* ===== 知识中心：列表页 + 文章页样式 ===== */
.kb-wrap {
    padding: 48px 0 72px;
    background: #f6f8fb;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.kb-wrap .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.kb-header { text-align: center; margin-bottom: 40px; }
.kb-header h1 {
    font-size: 34px;
    color: #0b2545;
    font-weight: 700;
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.kb-header h1::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    width: 60px; height: 3px;
    background: #ff7a1a;
    transform: translateX(-50%);
    border-radius: 2px;
}
.kb-header p { color: #5f6b7a; font-size: 15px; margin: 0; }

.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.kb-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 4px 16px rgba(11, 37, 69, .05);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.kb-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(11, 37, 69, .12); }
.kb-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b2545;
    text-decoration: none;
    line-height: 1.45;
    margin-bottom: 10px;
}
.kb-card-title:hover { color: #ff7a1a; }
/* 知识中心不显示文章日期：覆盖列表卡片、详情页 meta、归档页日期 */
.kb-card-meta,
.single-post .meta .date,
.single-post .meta .date + li,
article.post .date,
.kb-source { display: none !important; }
.kb-card-excerpt { color: #5f6b7a; font-size: 14px; line-height: 1.7; flex: 1; }
.kb-card-more {
    margin-top: 16px;
    color: #ff7a1a;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.kb-card-more:hover { color: #e8640a; }
.kb-pagination { text-align: center; margin-top: 36px; }
.kb-pagination .page-numbers {
    display: inline-block;
    padding: 7px 14px;
    margin: 0 3px;
    border: 1px solid #dfe5ec;
    border-radius: 6px;
    color: #0b2545;
    text-decoration: none;
}
.kb-pagination .page-numbers.current,
.kb-pagination .page-numbers:hover { background: #ff7a1a; color: #fff; border-color: #ff7a1a; }
.kb-empty { text-align: center; color: #9aa5b1; }

/* 文章详情页 */
body.single-post .kb-source {
    color: #9aa5b1;
    font-size: 13px;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5eaf0;
}
body.single-post .entry-content,
body.single-post .post-content,
body.single-post article .entry-content {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #33404f;
}
body.single-post .entry-content p { margin: 0 0 18px; }
body.single-post .entry-content h2 {
    font-size: 24px;
    color: #0b2545;
    font-weight: 700;
    margin: 32px 0 14px;
    padding-left: 14px;
    border-left: 4px solid #ff7a1a;
}
body.single-post .entry-content h3 { font-size: 19px; color: #0b2545; font-weight: 600; margin: 26px 0 12px; }
body.single-post .entry-content strong { color: #0b2545; }

@media (max-width: 900px) {
    .kb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .kb-grid { grid-template-columns: 1fr; }
    .kb-header h1 { font-size: 28px; }
}
