/* ==========================================================================
   文章频道 SEO 组件样式（2026-11-29）
   只新增组件类，不改动 article.css / style.css 已有规则，避免版式冲突
   使用位置：/article/ 、/article/list/{id}/ 、/article/{id}.html
   ========================================================================== */

/* ---------- 1. 面包屑 ---------- */
.seo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #7a8699;
    padding: 14px 0 10px;
    line-height: 1.6;
}
.seo-breadcrumb a {
    color: #566173;
    text-decoration: none;
    transition: color .2s;
}
.seo-breadcrumb a:hover { color: #1a6dff; }
.seo-breadcrumb i {
    font-size: 10px;
    color: #b9c0cc;
}
.seo-breadcrumb .bc-current {
    color: #1f2733;
    font-weight: 600;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 2. 页面标题区（H1 + 栏目说明） ---------- */
.page-head {
    margin: 4px 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff4;
}
.page-head h1 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
    color: #16202c;
    letter-spacing: .2px;
}
.page-head .page-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #6b7688;
}

/* ---------- 3. 相关阅读（内链模块） ---------- */
.related-block {
    margin: 26px 0 8px;
    padding: 18px 20px;
    background: #fafbfd;
    border: 1px solid #eceff4;
    border-radius: 6px;
}
.related-title {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    color: #16202c;
    padding-left: 10px;
    border-left: 3px solid #1a6dff;
    line-height: 1.2;
}
.related-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.related-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #e8ebf2;
}
.related-list li:last-child { border-bottom: 0; }
.related-list li a {
    flex: 1;
    color: #2a3444;
    font-size: 15px;
    line-height: 1.7;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s;
}
.related-list li a:hover { color: #1a6dff; }
.related-date {
    flex: none;
    font-size: 12px;
    color: #9aa3b2;
}

/* ---------- 4. 版权来源（E-E-A-T 信号） ---------- */
.article-source {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #eceff4;
    font-size: 13px;
    color: #8b95a5;
    line-height: 1.8;
    word-break: break-all;
}
.article-source a { color: #6b7688; text-decoration: none; }
.article-source a:hover { color: #1a6dff; }

/* ---------- 5. 分类列表项数徽标 ---------- */
.category-list li a { display: inline-block; }

/* ---------- 6. 正文内分页（仅补间距，不覆盖 article.css 配色） ---------- */
.content-pager { margin: 18px 0 4px; }

/* ---------- 7. 响应式 ---------- */
@media (max-width: 768px) {
    .page-head h1 { font-size: 21px; }
    .page-head .page-desc { font-size: 13px; line-height: 1.75; }
    .related-block { padding: 14px 14px; }
    .related-title { font-size: 16px; }
    .related-list li a { font-size: 14px; }
    .seo-breadcrumb { font-size: 12.5px; padding: 10px 0 8px; }
}

@media (max-width: 480px) {
    .seo-breadcrumb .bc-current { max-width: 46%; }
    .page-head h1 { font-size: 19px; }
}

/* ==========================================================================
   9. 列表页 / 详情页视觉美化（2026-11-29 v2，每页 9 条 · 侧栏 9 条）
   仅作用于文章频道组件类，不覆盖全站通用样式
   ========================================================================== */

/* ---------- 9.1 版心：主栏 + 右侧栏 ---------- */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
    margin-bottom: 36px;
}
.article-main { min-width: 0; }

/* ---------- 9.2 栏目标题条 ---------- */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 14px;
}
.section-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #16202c;
    line-height: 1.4;
}
.section-header h2 i { color: #1a6dff; margin-right: 4px; }
.section-count {
    font-size: 12.5px;
    color: #8b95a5;
    background: #f2f6fd;
    border-radius: 10px;
    padding: 2px 9px;
}

/* ---------- 9.3 文章卡片列表（9 条） ---------- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.article-item {
    display: flex;
    gap: 16px;
    padding: 14px;
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 10px;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.article-item:hover {
    border-color: #d7e3f7;
    box-shadow: 0 8px 22px rgba(24, 49, 92, .08);
    transform: translateY(-2px);
}
.article-thumb {
    flex: none;
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f6fb;
}
.article-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.article-item:hover .article-thumb img { transform: scale(1.04); }
.article-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.article-info h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}
.article-info h3 a {
    color: #1b2330;
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.article-info h3 a:hover { color: #1a6dff; }
.article-summary {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: #7c8798;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #f0f3f8;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: #98a2b2;
}
.article-meta i { margin-right: 4px; }
.read-more {
    margin-left: auto;
    color: #1a6dff;
    text-decoration: none;
    font-size: 12.5px;
    white-space: nowrap;
}
.read-more:hover { text-decoration: underline; }

/* ---------- 9.4 右侧栏 ---------- */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sidebar-box {
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 10px;
    padding: 14px 16px 16px;
    box-shadow: 0 2px 8px rgba(24, 49, 92, .04);
}
.sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding-left: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #16202c;
    line-height: 1.2;
    border-left: 3px solid #1a6dff;
}
.sidebar-title i { color: #1a6dff; }

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.category-list li { margin: 0; }
.category-list li a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    background: #f5f8fd;
    font-size: 13.5px;
    color: #46536a;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background .2s, color .2s;
}
.category-list li a:hover { background: #1a6dff; color: #fff; }
.category-list li.active a { background: #e8f0ff; color: #1a6dff; font-weight: 600; }
.category-list li:first-child { grid-column: 1 / -1; }
.category-list li:first-child a { background: #fff; border: 1px dashed #dbe4f0; color: #6b7688; }

.hot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hot-list li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f3f8;
}
.hot-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hot-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #eef2f8;
    color: #8b95a5;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.hot-rank.rank-1 { background: #ffe9e3; color: #e2503a; }
.hot-rank.rank-2 { background: #fff3e0; color: #e08a13; }
.hot-rank.rank-3 { background: #eaf2ff; color: #2f6fe0; }
.hot-list li a {
    color: #2a3444;
    font-size: 13.5px;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
}
.hot-list li a:hover { color: #1a6dff; }
.hot-views { font-size: 11.5px; color: #a8b1bf; }

/* ---------- 9.5 分页条 ---------- */
.pager-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 8px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(24, 49, 92, .04);
}
.pager-info { font-size: 13px; color: #7c8798; }
.pager-num { color: #1a6dff; font-weight: 700; padding: 0 3px; }
.pager-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pager-btn {
    min-width: 34px;
    height: 32px;
    padding: 0 11px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    color: #46536a;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.pager-btn:hover { border-color: #1a6dff; color: #1a6dff; }
.pager-btn.active {
    background: #1a6dff;
    border-color: #1a6dff;
    color: #fff;
    font-weight: 700;
}
.pager-btn.disabled {
    color: #bcc4d1;
    background: #f7f9fc;
    border-color: #eff2f7;
    cursor: default;
}

/* ---------- 9.6 空态 ---------- */
.empty-tip {
    padding: 56px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #e3e8f0;
    border-radius: 10px;
}
.empty-tip i { font-size: 34px; color: #c8d1de; }
.empty-tip p { margin: 12px 0 0; font-size: 14px; color: #8b95a5; }
.empty-tip a { color: #1a6dff; text-decoration: none; }

/* ---------- 9.7 详情页 ---------- */
.article-content-wrapper {
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 12px;
    padding: 26px 30px 22px;
    box-shadow: 0 2px 10px rgba(24, 49, 92, .05);
}
.article-header {
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px dashed #eceff4;
}
.article-title {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.45;
    font-weight: 700;
    color: #16202c;
    letter-spacing: .2px;
}
.article-content-wrapper .article-meta { border-top: 0; padding-top: 0; margin-top: 0; }
.article-cover { margin: 0 0 18px; }
.article-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.article-body {
    font-size: 16px;
    line-height: 1.95;
    color: #2b3444;
    word-break: break-word;
}
.article-body p { margin: 0 0 15px; }
.article-body h2, .article-body h3 {
    margin: 24px 0 12px;
    color: #16202c;
    line-height: 1.5;
}
.article-body h2 { font-size: 19px; }
.article-body h3 { font-size: 17px; }
.article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
    border-radius: 8px;
}
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 15px; }

.article-tags {
    margin: 18px 0 4px;
    font-size: 13px;
    color: #8b95a5;
}
.article-tags i { color: #1a6dff; margin-right: 4px; }
.article-tags .tag {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 3px 10px;
    background: #f2f6fd;
    color: #4b7bd6;
    border-radius: 12px;
    font-size: 12.5px;
}

.content-pager {
    margin: 20px 0 6px;
    padding: 12px 16px;
    background: #f8fafd;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7688;
}
.content-pager a {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    border: 1px solid #dfe6f0;
    border-radius: 5px;
    color: #46536a;
    text-decoration: none;
}
.content-pager a:hover { border-color: #1a6dff; color: #1a6dff; }
.content-pager .cp-active {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    background: #1a6dff;
    color: #fff;
    border-radius: 5px;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0 6px;
}
.article-nav .nav-item {
    display: block;
    padding: 12px 14px;
    background: #f8fafd;
    border: 1px solid #eceff4;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.article-nav .nav-item:hover { border-color: #cfe0fb; background: #fff; }
.article-nav .nav-label {
    display: block;
    font-size: 12px;
    color: #98a2b2;
    margin-bottom: 5px;
}
.article-nav .nav-title {
    display: block;
    font-size: 13.5px;
    color: #2a3444;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.article-nav .nav-next { text-align: right; }
.article-nav .nav-disabled .nav-title { color: #bcc4d1; }

/* ---------- 9.8 响应式 ---------- */
@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; gap: 18px; }
    .article-sidebar { flex-direction: row; flex-wrap: wrap; }
    .article-sidebar .sidebar-box { flex: 1 1 280px; }
    .article-content-wrapper { padding: 20px 18px 16px; }
}
@media (max-width: 768px) {
    .article-item { gap: 12px; padding: 12px; }
    .article-thumb { width: 118px; height: 84px; }
    .article-info h3 { font-size: 15.5px; }
    .article-summary { -webkit-line-clamp: 2; font-size: 12.5px; }
    .article-meta { gap: 10px; font-size: 12px; }
    .article-title { font-size: 21px; }
    .article-body { font-size: 15.5px; line-height: 1.85; }
    .pager-wrapper { justify-content: center; padding: 12px; }
    .pager-info { width: 100%; text-align: center; }
    .pager-links { justify-content: center; }
    .pager-btn.pager-first, .pager-btn.pager-last { display: none; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav .nav-next { text-align: left; }
}
@media (max-width: 480px) {
    .category-list { grid-template-columns: 1fr; }
    .hot-list li a { font-size: 13px; }
}
/* ==========================================================================
   10. 视觉再优化 v3（2026-11-29）
   依据线上截图修正：页头留白过大、栏目图标颜色与主题冲突、描述行宽过长
   ========================================================================== */

/* ---------- 10.1 面包屑：做成一条轻导航条，收掉与页头的空白 ---------- */
.seo-breadcrumb {
    margin: 0 0 16px;
    padding: 9px 14px;
    background: #f7f9fc;
    border: 1px solid #eef2f8;
    border-radius: 8px;
    font-size: 13px;
    gap: 5px;
}
.seo-breadcrumb i { font-size: 9px; color: #c2c9d6; }
.seo-breadcrumb a { color: #6b7688; }
.seo-breadcrumb .bc-current { color: #2a3444; font-weight: 500; }

/* ---------- 10.2 页头：浅渐变卡 + 左侧色条 + 标题下短横线 ---------- */
.page-head {
    position: relative;
    margin: 0 0 20px;
    padding: 18px 22px 16px;
    background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 72%);
    border: 1px solid #e8eefb;
    border-left: 4px solid #1a6dff;
    border-radius: 10px;
}
.page-head h1 {
    margin: 0;
    font-size: 27px;
    letter-spacing: .3px;
}
.page-head h1::after {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(90deg, #1a6dff, #8ab6ff);
    border-radius: 2px;
}
.page-head .page-desc {
    max-width: 820px;
    margin: 10px 0 0;
    font-size: 13.5px;
    line-height: 1.9;
    color: #7a8699;
}
/* 页头去除原来的下边框（已由色条与卡片替代） */
.page-head { border-bottom: 1px solid #e8eefb; }

/* ---------- 10.3 栏目标题：图标强制主题蓝，左加色条 ---------- */
.section-header {
    margin: 0 0 12px;
    padding-left: 11px;
    border-left: 4px solid #1a6dff;
    border-radius: 2px;
}
.section-header h2 { font-size: 16px; }
.section-header h2 i {
    color: #1a6dff !important;
    font-size: 15px;
}
.section-count { background: #eef4ff; color: #4b7bd6; }

/* ---------- 10.4 卡片：左侧悬停色条 + 缩略图比例收紧 ---------- */
.article-item {
    border-left: 3px solid transparent;
    padding: 13px 14px 13px 12px;
}
.article-item:hover { border-left-color: #1a6dff; }
.article-thumb { width: 184px; height: 126px; }
.article-info h3 a { font-size: 16.5px; }
.article-summary { font-size: 13px; }

/* ---------- 10.5 侧栏卡片：标题做成通栏色带，内容区留白更规整 ---------- */
.sidebar-box {
    padding: 0;
    overflow: hidden;
}
.sidebar-title {
    margin: 0;
    padding: 11px 14px;
    background: linear-gradient(90deg, #f2f7ff, #fbfdff);
    border-left: 0;
    border-bottom: 1px solid #eef2f8;
    font-size: 14.5px;
}
.sidebar-title i { font-size: 14px; }
.sidebar-box > ul {
    margin: 0;
    padding: 12px 14px 14px;
}
.category-list li a { padding: 8px 10px; }
.hot-list li { padding: 9px 0; }

/* ---------- 10.6 详情页：标题加重、meta 用圆点分隔 ---------- */
.article-title {
    font-size: 27px;
    letter-spacing: .3px;
}
.article-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 12px;
    background: linear-gradient(90deg, #1a6dff, #8ab6ff);
    border-radius: 2px;
}
.article-content-wrapper .article-meta { gap: 0; row-gap: 6px; }
.article-content-wrapper .article-meta span { padding: 0 12px; border-left: 1px solid #eef2f8; }
.article-content-wrapper .article-meta span:first-child { padding-left: 0; border-left: 0; }
.article-body a { color: #1a6dff; }

/* ---------- 10.7 空态与分页微调 ---------- */
.empty-tip { border-style: solid; border-color: #eef2f8; }
.pager-wrapper { border-radius: 12px; }

/* ---------- 10.8 移动端覆盖 ---------- */
@media (max-width: 768px) {
    .page-head { padding: 14px 14px 12px; margin-bottom: 16px; }
    .page-head h1 { font-size: 20px; }
    .page-head h1::after { margin-top: 8px; }
    .page-head .page-desc { font-size: 13px; line-height: 1.8; margin-top: 8px; }
    .seo-breadcrumb { margin-bottom: 12px; padding: 8px 10px; }
    .article-thumb { width: 118px; height: 84px; }
    .article-title { font-size: 21px; }
    .article-content-wrapper .article-meta span { padding: 0 8px; }
    .sidebar-title { padding: 10px 12px; }
    .sidebar-box > ul { padding: 10px 12px 12px; }
}
/* ============================================================
   第 11 节 · 内容页「相关服务入口」（2026-11-29）
   用途：正文内链为 0 时的补充，3 条关键词锚文本指向真实功能页
   ============================================================ */
.service-links {
    margin: 26px 0 8px;
    padding: 18px 20px 6px;
    background: #f7fafd;
    border: 1px solid #e3ecf6;
    border-left: 4px solid #1a73c8;
    border-radius: 8px;
}

.service-links-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1a3a63;
    display: flex;
    align-items: center;
}

.service-links-title i {
    margin-right: 7px;
    color: #1a73c8;
    font-size: 14px;
}

.service-links-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-links-list li {
    position: relative;
    padding: 0 0 10px 14px;
    font-size: 14px;
    line-height: 1.7;
}

.service-links-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8fb8e4;
}

.service-links-list a {
    color: #1465b5;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #b9d3ee;
    transition: color .2s, border-color .2s;
}

.service-links-list a:hover {
    color: #0d4f93;
    border-bottom-color: #0d4f93;
}

.service-links-list span {
    margin-left: 8px;
    color: #6f8095;
    font-size: 13px;
}

@media (max-width: 768px) {
    .service-links {
        padding: 15px 15px 4px;
        margin: 20px 0 6px;
    }
    .service-links-list span {
        display: block;
        margin-left: 0;
        color: #8492a6;
    }
}