@charset "utf-8";
/* ============ 新闻/问答详情页样式 ============ */
:root {
    --art-primary: #2563eb;
    --art-primary-dark: #1d4ed8;
    --art-primary-light: #dbeafe;
    --art-purple: #7c3aed;
    --art-red: #ef4444;
    --art-text: #1e293b;
    --art-text-light: #64748b;
    --art-text-mute: #94a3b8;
    --art-bg: #f8fafc;
    --art-bg-2: #f1f5f9;
    --art-card: #ffffff;
    --art-border: #e2e8f0;
    --art-border-light: #f1f5f9;
    --art-shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
    --art-shadow: 0 4px 6px -1px rgba(0,0,0,.05), 0 2px 4px -1px rgba(0,0,0,.03);
    --art-shadow-md: 0 10px 25px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
    --art-shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    --art-grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --art-radius: 12px;
    --art-radius-lg: 20px;
}

body#article { background: var(--art-bg); }

.art-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }

/* ============ 面包屑 ============ */
.art-breadcrumb { padding: 16px 0; font-size: 14px; color: var(--art-text-mute); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.art-breadcrumb a { color: var(--art-text-light); transition: color .2s; }
.art-breadcrumb a:hover { color: var(--art-primary); }
.art-breadcrumb i { font-size: 10px; margin: 0 5px; color: var(--art-text-mute); }
.art-breadcrumb .art-crumb-title { color: var(--art-text); font-weight: 500; }

/* ============ 主体布局 ============ */
.art-main { padding: 0 0 64px; }
.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

/* ============ 文章卡片 ============ */
.art-content { background: var(--art-card); border: 1px solid var(--art-border-light); border-radius: var(--art-radius); padding: 32px 36px; box-shadow: none; min-width: 0; }

/* 文章头部 */
.art-header { padding-bottom: 24px; border-bottom: 1px solid var(--art-border-light); margin-bottom: 28px; }
.art-header-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.art-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--art-bg-2); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--art-text-light); white-space: nowrap; }
.art-tag.hot { background: #fef2f2; color: #dc2626; }
.art-content h1 { font-size: 30px; font-weight: 800; line-height: 1.4; color: var(--art-text); margin-bottom: 20px; letter-spacing: -.3px; }
.art-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--art-text-mute); }
.art-meta span { display: inline-flex; align-items: center; gap: 6px; }
.art-meta i { font-size: 13px; }
.art-share { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.art-share a { width: 28px; height: 28px; border-radius: 50%; background: var(--art-bg-2); color: var(--art-text-light); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: all .2s; }
.art-share a:hover { background: var(--art-primary); color: #fff; transform: translateY(-2px); }

/* 导读框 */
.art-abstract { display: flex; gap: 14px; padding: 20px 24px; background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%); border-left: 4px solid var(--art-primary); border-radius: 0 var(--art-radius) var(--art-radius) 0; margin-bottom: 32px; }
.art-abstract i { color: var(--art-primary); font-size: 18px; margin-top: 3px; flex-shrink: 0; }
.art-abstract p { font-size: 14px; color: var(--art-text-light); line-height: 1.8; }


/* ============ 正文排版 ============ */
.art-body { font-size: 16px; line-height: 1.9; color: #334155; overflow-x: hidden; }
.art-body p { margin-bottom: 20px; }
.art-body a { color: var(--art-primary); text-decoration: none; border-bottom: 1px solid rgba(37,99,235,.25); transition: all .2s; }
.art-body a:hover { color: var(--art-primary-dark); border-bottom-color: var(--art-primary); }
.art-body strong { color: var(--art-text); font-weight: 700; }
.art-body em { font-style: italic; color: var(--art-text); }
.art-body h2, .art-body h3, .art-body h4 { scroll-margin-top: 100px; }
.art-body h2 { position: relative; font-size: 22px; font-weight: 800; color: var(--art-text); margin: 40px 0 20px; padding-left: 16px; }
.art-body h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: var(--art-grad); }
.art-body h3 { position: relative; font-size: 18px; font-weight: 700; color: var(--art-text); margin: 32px 0 16px; padding-left: 14px; }
.art-body h3::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: var(--art-primary); opacity: .8; }
.art-body h4 { font-size: 16px; font-weight: 700; color: var(--art-text); margin: 24px 0 12px; }
.art-body hr { border: none; border-top: 1px dashed var(--art-border); margin: 28px 0; }
.art-body ul, .art-body ol { margin: 0 0 20px; padding-left: 8px; list-style: none; max-width: 100%; box-sizing: border-box; }
/* 防御：富文本编辑器（UEditor 等）常把列表/表格宽度写死成内联 style，会把 grid 左栏撑破导致左右错位，强制回退 */
.art-body ul[style*="width"], .art-body ol[style*="width"], .art-body table[style*="width"] { width: auto !important; max-width: 100% !important; box-sizing: border-box !important; }
.art-body li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.art-body li p{margin-bottom: 0px;}
.art-body ul li::before { content: ''; position: absolute; left: 8px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--art-primary); }
.art-body ol { counter-reset: ol-counter; }
.art-body ol li { counter-increment: ol-counter; }
.art-body ol li::before { content: counter(ol-counter); position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--art-primary-light); color: var(--art-primary-dark); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.art-body blockquote { position: relative; margin: 24px 0; padding: 20px 24px 20px 56px; background: var(--art-bg); border-radius: var(--art-radius); }
.art-body blockquote::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px 0 0 4px; background: var(--art-grad); }
/* CSS 原生引号图标（编辑器输出无 FA 图标时生效） */
.art-body blockquote::after { content: '\201C'; font-family: Georgia, 'Times New Roman', serif; position: absolute; left: 18px; top: 12px; color: var(--art-primary); font-size: 28px; line-height: 1; font-weight: 700; }
.art-body blockquote p { margin: 0; color: var(--art-text-light); font-size: 15px; }

/* ============ 正文溢出防御（兼容 AI/编辑器粘贴的富文本内联样式） ============ */
/* 容器：允许收缩，防止在 grid 左栏内被内容撑破 */
.art-body { min-width: 0; max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
/* 所有子元素默认不超出容器宽度 */
.art-body * { max-width: 100%; box-sizing: border-box; }
/* 图片：强制自适应容器，覆盖 AI 粘贴的固定 width/height 内联样式 */
.art-body img { max-width: 100% !important; height: auto !important; }
/* 行内代码 / 链接 / 长 URL：强制断行，覆盖内联 white-space */
.art-body code, .art-body a { overflow-wrap: break-word !important; word-break: break-all !important; white-space: normal !important; }
/* 代码块：横向滚动兜底，防止长命令溢出 */
.art-body pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap !important; word-break: break-word !important; }
/* 表格：强制不超出容器（覆盖内联 width 等） */
.art-body table { max-width: 100% !important; }
/* 段落 / 列表 / 单元格内文本：允许换行 */
.art-body p, .art-body li, .art-body td, .art-body th, .art-body div, .art-body span, .art-body figcaption { overflow-wrap: break-word; word-break: break-word; }

/* ============ 富文本元素统一美化（覆盖 AI 粘贴的内联样式，与站点主题协调） ============ */
/* 行内代码：浅蓝底 + 主题蓝字，比 AI 默认红色更协调 */
.art-body code {
    background: var(--art-primary-light) !important;
    color: var(--art-primary-dark) !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    font-family: Consolas, Menlo, Monaco, 'Courier New', monospace !important;
    font-size: 0.9em !important;
}
/* 代码块：浅灰底、圆角、主题蓝左边条，横向溢出滚动 */
.art-body pre {
    background: var(--art-bg) !important;
    border: 1px solid var(--art-border) !important;
    border-left: 4px solid var(--art-primary) !important;
    border-radius: 8px !important;
    font-family: Consolas, Menlo, Monaco, 'Courier New', monospace !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    padding: 14px 16px;
}
/* 提示框等 AI 富文本不做颜色覆盖：内容样式不固定，避免依赖具体色值导致失效 */

/* 正文表格 - 纯标签直接子元素（编辑器输出 / 模板统一用） */
/* 采用列自适应布局：表格不强制最小宽度，100% 铺满容器，内容自动换行，杜绝溢出 */
.art-body table { width: 100%; max-width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0; font-size: 14px; color: #334155; margin: 24px 0; border: 1px solid var(--art-border); border-radius: var(--art-radius); background: #fff; overflow: hidden; }
.art-body table th { padding: 14px 18px; border-bottom: 1px solid var(--art-border-light); text-align: left; line-height: 1.6; background: #f0f6ff; font-weight: 700; color: var(--art-primary-dark); white-space: normal; word-break: break-word; border-style:none!important;}
.art-body table td { padding: 14px 18px; border-bottom: 1px solid var(--art-border-light); text-align: left; line-height: 1.6; word-break: break-word; border-style:none!important;}
.art-body table tr:last-child td { border-bottom: none; }
.art-body table tbody tr:nth-child(even) { background: #f8fafc; }
.art-body table tbody tr:hover td { background: #eef4ff; }
.art-body table td:first-child { font-weight: 600; color: var(--art-text); }

/* ============ 正文图片 ============ */
/* 独立图片：直接在 body 下或段落中的图片 */
.art-body > img, .art-body > p > img { max-width: 100%; height: auto; display: block; border-radius: 8px; margin: 20px auto; cursor: zoom-in; }

/* 纯标签 figure（编辑器输出 / 模板统一用） */
.art-body figure { margin: 28px 0; }
.art-body figure img { width: 100%; border: 1px solid var(--art-border); border-radius: var(--art-radius); background: #fff; transition: transform .35s ease; cursor: zoom-in; }
/* AI 富文本常用 <figure><p><img></figure>：去掉包裹 p 的默认段间距，避免图注被顶开 */
.art-body figure p { margin: 0; padding: 0; line-height: 0; }
.art-body figure:hover img { transform: scale(1.01); }
.art-body figure figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--art-text-mute); line-height: 1.6; }

/* 双图并排（保留 .art-figure-row 外层 class 用于布局） */
.art-figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.art-figure-row figure { margin: 0; }
.art-figure-row figure img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--art-radius); border: 1px solid var(--art-border); }

/* 图文并排（保留 .art-img-text 外层 class 用于布局） */
.art-img-text { display: grid; grid-template-columns: 300px 1fr; gap: 28px; margin: 28px 0; padding: 20px; background: var(--art-bg); border: 1px solid var(--art-border); border-radius: var(--art-radius); align-items: center; }
.art-it-img { position: relative; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.art-it-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; border-radius: 0; margin: 0; border: none; }
.art-it-img:hover img { transform: scale(1.04); }
.art-it-body p { margin-bottom: 14px; font-size: 15px; line-height: 1.85; }
.art-it-points { margin: 0; padding: 0; list-style: none; }
.art-it-points li { position: relative; padding: 8px 12px 8px 34px; font-size: 14px; color: var(--art-text-light); line-height: 1.6; border-radius: 8px; transition: background .2s; }
.art-it-points li:hover { background: #fff; }
.art-it-points li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 8px; top: 8px; width: 20px; height: 20px; border-radius: 6px; background: var(--art-primary-light); color: var(--art-primary-dark); font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* ============ 图片放大 Lightbox ============ */
.art-lightbox { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.88); z-index: 100000; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.art-lightbox.show { display: flex; animation: artLbIn .25s ease; }
@keyframes artLbIn { from { opacity: 0; } to { opacity: 1; } }
.art-lightbox-inner { position: relative; max-width: min(92vw, 1100px); max-height: 86vh; }
.art-lightbox-inner img { max-width: 100%; max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.art-lightbox-close { position: absolute; right: -16px; top: -16px; width: 40px; height: 40px; border: none; border-radius: 50%; background: #fff; color: #334155; font-size: 16px; cursor: pointer; box-shadow: var(--art-shadow-md); transition: all .2s; display: flex; align-items: center; justify-content: center; }
.art-lightbox-close:hover { background: var(--art-red); color: #fff; transform: rotate(90deg); }

/* ============ 文章底部标签 ============ */
.art-footer-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 24px 0; margin-top: 36px; border-top: 1px solid var(--art-border-light); }
.art-footer-tags .label { font-size: 14px; color: var(--art-text-mute); }
.art-footer-tags a { padding: 5px 14px; background: var(--art-bg-2); border-radius: 100px; font-size: 13px; color: var(--art-text-light); text-decoration: none; transition: all .2s; white-space: nowrap; }
.art-footer-tags a:hover { background: var(--art-primary-light); color: var(--art-primary-dark); }

/* ============ 上一篇下一篇 ============ */
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--art-border-light); }
.art-nav-item { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; background: var(--art-bg); border: 1px solid var(--art-border); border-radius: var(--art-radius); text-decoration: none; transition: all .2s; min-width: 0; }
.art-nav-item:hover { border-color: var(--art-primary); background: #fff; box-shadow: var(--art-shadow-md); }
.art-nav-item.next { text-align: right; align-items: flex-end; }
.art-nav-label { font-size: 12px; color: var(--art-text-mute); display: inline-flex; align-items: center; gap: 4px; }
.art-nav-item:hover .art-nav-label { color: var(--art-primary); }
.art-nav-title { font-size: 14px; font-weight: 600; color: var(--art-text); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ============ 相关推荐 ============ */
.art-related { padding-top: 24px; border-top: 1px solid var(--art-border-light); }
.art-related-head h2 { font-size: 20px; font-weight: 800; color: var(--art-text); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.art-related-head h2 i { color: var(--art-primary); font-size: 18px; }
.art-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.art-related-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--art-bg); border: 1px solid var(--art-border); border-radius: var(--art-radius); text-decoration: none; transition: all .2s; }
.art-related-card:hover { border-color: var(--art-primary); background: #fff; box-shadow: var(--art-shadow-md); transform: translateY(-2px); }
.arc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--art-primary-light); color: var(--art-primary); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.art-related-card h3 { font-size: 14px; font-weight: 600; color: var(--art-text); line-height: 1.6; flex: 1; }
.art-related-card:hover h3 { color: var(--art-primary-dark); }
.art-related-card span { font-size: 12px; color: var(--art-text-mute); display: inline-flex; align-items: center; gap: 4px; }

/* ============ 侧边栏 ============ */
.art-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.art-side-card { background: var(--art-card); border: 1px solid var(--art-border); border-radius: var(--art-radius); overflow: hidden; }
.side-card-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--art-border-light); }
.side-card-head h3 { font-size: 16px; font-weight: 700; color: var(--art-text); display: flex; align-items: center; gap: 8px; }
.side-card-head h3 i { color: var(--art-red); font-size: 15px; }

/* 文章目录 TOC */
.art-toc-list { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.art-toc-list a { position: relative; display: block; padding: 9px 12px 9px 24px; border-radius: 8px; font-size: 13px; color: var(--art-text-light); line-height: 1.5; text-decoration: none; transition: all .2s; }
.art-toc-list a::before { content: ''; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--art-border); transition: all .2s; }
.art-toc-list a:hover { background: var(--art-bg); color: var(--art-primary); }
.art-toc-list a.active { background: var(--art-primary-light); color: var(--art-primary-dark); font-weight: 600; }
.art-toc-list a.active::before { background: var(--art-primary); }

/* 联系咨询卡片 */
.contact-card { position: relative; overflow: hidden; }
.contact-card-bg { position: absolute; top: 0; left: 0; right: 0; height: 100px; background: var(--art-grad); }
.contact-card-body { position: relative; z-index: 2; padding: 32px 24px 24px; text-align: center; }
.contact-icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--art-primary); margin: 0 auto 16px; box-shadow: var(--art-shadow-md); }
.contact-card-body h3 { font-size: 18px; font-weight: 700; color: var(--art-text); margin-bottom: 8px; }
.contact-card-body > p { font-size: 14px; color: var(--art-text-light); margin-bottom: 16px; }
.contact-tel { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; background: var(--art-bg); border-radius: 10px; font-size: 18px; font-weight: 800; color: var(--art-primary); margin-bottom: 12px; text-decoration: none; transition: all .2s; }
.contact-tel:hover { background: var(--art-primary-light); }
.contact-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; background: var(--art-grad); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all .2s; }
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,.3); color: #fff; }

/* 热门排行 */
.hot-rank-list { padding: 12px; }
.hot-rank-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; transition: background .2s; }
.hot-rank-item:hover { background: var(--art-bg); }
.rank-num { flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--art-bg-2); color: var(--art-text-mute); }
.hot-rank-item:nth-child(1) .rank-num { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.hot-rank-item:nth-child(2) .rank-num { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.hot-rank-item:nth-child(3) .rank-num { background: linear-gradient(135deg, #eab308, #ca8a04); color: #fff; }
.rank-title { flex: 1; font-size: 13px; color: var(--art-text); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color .2s; }
.hot-rank-item:hover .rank-title { color: var(--art-primary); }
.rank-views { flex-shrink: 0; font-size: 12px; color: var(--art-text-mute); }

/* 五折优惠卡片 */
.promo-card { position: relative; overflow: hidden; border: none; }
.promo-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%); }
.promo-bg::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.1); }
.promo-bg::after { content: ''; position: absolute; bottom: -80px; right: 100px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.08); }
.promo-body { position: relative; z-index: 2; padding: 28px 24px; text-align: center; }
.promo-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; background: rgba(255,255,255,.2); border-radius: 100px; font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.promo-body h3 { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.promo-body > p { font-size: 14px; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.promo-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: #fff; color: var(--art-primary-dark); border-radius: 100px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all .2s; }
.promo-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

/* ============ 底部CTA ============ */
.art-cta { padding: 56px 0; background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%); position: relative; overflow: hidden; }
.art-cta::before { content: ''; position: absolute; top: -100px; left: 10%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%); filter: blur(40px); }
.art-cta::after { content: ''; position: absolute; bottom: -150px; right: 5%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.2) 0%, transparent 70%); filter: blur(40px); }
.art-cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1100px; margin: 0 auto; }
.art-cta-text h2 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.art-cta-text h2 .grad { background: linear-gradient(135deg, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.art-cta-text p { font-size: 16px; color: rgba(255,255,255,.85); }
.art-cta-btns { display: flex; gap: 16px; flex-shrink: 0; }
.art-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-size: 16px; font-weight: 700; text-decoration: none; transition: all .2s; }
.art-cta-btn.phone { background: #fff; color: var(--art-primary-dark); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.art-cta-btn.phone:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.art-cta-btn.online { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.art-cta-btn.online:hover { background: rgba(255,255,255,.25); border-color: #fff; transform: translateY(-3px); }

/* ============ 响应式（移动端参照搜狐：纯白底贴边 / 单层边距 / 图片满宽）============ */
@media (max-width: 992px) {
    body#article { background: #fff; }
    .art-layout { grid-template-columns: 1fr; }
    .art-sidebar { position: static; }
    /* 容器去 padding，让 art-content 成为唯一的边距层（避免两层叠加变宽） */
    .art-container { padding: 0; }
    /* 面包屑在容器内、不在 art-content 里：移动端补上与正文一致的左右边距 */
    .art-breadcrumb { padding: 16px; padding-right: 16px;  background: #f1f5f9; }
    /* 正文卡：纯白底、去边框/阴影/圆角，贴边铺满，左右 16px（搜狐标准） */
    .art-content { background: #fff; border: none; border-radius: 0; box-shadow: none; padding: 20px 16px; min-width: 0; }
    .art-header { padding-bottom: 18px; margin-bottom: 22px; }
    .art-content h1 { font-size: 22px; line-height: 1.45; margin-bottom: 14px; }
    .art-meta { gap: 14px; font-size: 13px; }
    .art-meta .art-share { margin-left: auto; }
    /* 正文：移动端字号略大（17px）更易读，行高 1.8 */
    .art-body { font-size: 17px; line-height: 1.8; }
    .art-body p { margin-bottom: 12px; }
    .art-body h2 { font-size: 19px; margin: 28px 0 14px; }
    .art-body h3 { font-size: 17px; margin: 24px 0 12px; }
    .art-body h4 { font-size: 16px; margin: 20px 0 10px; }
    /* 导读紧凑 */
    .art-abstract { padding: 14px 16px; margin-bottom: 24px; }
    .art-abstract p { font-size: 14px; line-height: 1.75; }
    /* 图片：满宽贴边、无圆角、保持原比例（搜狐风格） */
    .art-body > img, .art-body > p > img, .art-body figure img,
    .art-figure-row figure img, .art-it-img img { width: 100%; max-width: 100%; height: auto; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 0; border: none; }
    .art-body figure { margin: 18px 0; }
    .art-body figure figcaption { font-size: 12px; color: var(--art-text-mute); }
    /* 双图/图文并排 → 单列 */
    .art-figure-row { grid-template-columns: 1fr; gap: 18px; }
    .art-img-text { grid-template-columns: 1fr; gap: 16px; padding: 16px; background: #fff; border: none; border-radius: 0; }
    /* 表格：移动端也保持 100% 自适应，内容换行不溢出 */
    .art-body > table { min-width: 0; width: 100%; }
    .art-body > table th, .art-body > table td { padding: 10px 12px; white-space: normal; }
    /* 相关推荐单列 */
    .art-related-grid { grid-template-columns: 1fr; }
    /* CTA：移动端紧凑布局，左右留边距避免按钮贴边 */
    .art-cta { padding: 40px 0; }
    .art-cta-inner { flex-direction: column; text-align: center; gap: 20px; padding: 0 24px; }
    .art-cta-text h2 { font-size: 22px; line-height: 1.4; margin-bottom: 6px; }
    .art-cta-text p { font-size: 14px; line-height: 1.6; }
    .art-cta-btns { gap: 12px; }
}
@media (max-width: 640px) {
    .art-content { padding: 16px 16px; }
    .art-content h1 { font-size: 20px; line-height: 1.45; }
    .art-meta { flex-wrap: wrap; gap: 10px; font-size: 12px; }
    .art-meta .art-share { margin-left: 0; }
    .art-body { font-size: 16px; line-height: 1.8; }
    .art-body p { margin-bottom: 18px; }
    .art-body h2 { font-size: 18px; margin: 24px 0 12px; }
    .art-body h3 { font-size: 16px; margin: 20px 0 10px; }
    .art-abstract { padding: 12px 14px; }
    .art-abstract p { font-size: 13px; line-height: 1.7; }
    .art-nav { grid-template-columns: 1fr; }
    .art-cta-btns { flex-direction: column; width: 100%; gap: 10px; }
    .art-cta-btn { width: 100%; justify-content: center; padding: 13px 24px; font-size: 15px; }
    .art-lightbox { padding: 16px; }
    /* 面包屑隐藏标题省空间 */
    .art-breadcrumb{padding: 8px;font-size: 12px;}
    .art-breadcrumb .art-crumb-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90%; }
}

/* ============================================================================
 * GEO / FAQ 语义结构（view_wenda.htm 专用，均为新增类，不影响其他详情页）
 * ========================================================================== */

/* main 作为 grid 的第一列容器，防止长内容撑破 1fr */
.art-layout-main { min-width: 0; }

/* 前置总结段落：紧跟 h1，给解析器一段可直接引用的结论 */
.art-content > .faq-summary {
    margin: 0 0 28px;
    padding: 18px 22px;
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border-left: 4px solid var(--art-primary);
    border-radius: 0 var(--art-radius) var(--art-radius) 0;
}
.art-content > .faq-summary:empty { display: none; }

/* FAQ 问答块与单组问答：补回包装后可能失效的直接子元素规则 */
.art-body.faq-block .faq-item { min-width: 0; margin: 0; }
.art-body.faq-block .faq-item > h2:first-child { margin-top: 8px; }
.art-body.faq-block .faq-item + .faq-item > h2:first-child { margin-top: 40px; }
.art-body.faq-block .faq-item > p:last-child { margin-bottom: 0; }
.art-body.faq-block .faq-item > img,
.art-body.faq-block .faq-item > p > img {
    max-width: 100%; height: auto; display: block;
    border-radius: 8px; margin: 20px auto; cursor: zoom-in;
}
.art-body.faq-block .faq-item > table { min-width: 0; width: 100%; }

/* 相关推荐标题降为普通文本，避免与正文 FAQ 问题的 h2 抢占标题层级 */
.art-related-head .art-related-title {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 20px; font-size: 20px; font-weight: 800; color: var(--art-text);
}
.art-related-head .art-related-title i { color: var(--art-primary); font-size: 18px; }

@media (max-width: 768px) {
    .art-content > .faq-summary { margin-bottom: 20px; padding: 14px 16px; font-size: 15px; }
    .art-body.faq-block .faq-item > h2:first-child { font-size: 19px; margin: 20px 0 12px; }
    .art-body.faq-block .faq-item + .faq-item > h2:first-child { margin-top: 28px; }
}

/* ============ 参考高引用率页面补充 ============ */
/* h1 已移到 article 顶部、脱离 .art-header，原 .art-header h1 规则不再命中，这里补回 */
.art-content > header.art-article-header > h1 {
    font-size: 30px; font-weight: 800; line-height: 1.4;
    color: var(--art-text); margin: 0 0 20px; letter-spacing: -.3px;
}

/* 紧跟 h1 的一句话答案：朴素样式，不抢正文视觉 */
.art-content > header.art-article-header > .art-lead {
    margin: 0 0 18px;
    padding: 0 0 0 14px;
    border-left: 3px solid var(--art-primary);
    font-size: 16px; line-height: 1.8; color: #475569;
}
.art-content > header.art-article-header > .art-lead:empty { display: none; }

/* 跳转到主要内容：默认移出视口，键盘聚焦时显现 */
.art-skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000001;
    padding: 10px 16px; background: #fff; color: var(--art-primary);
    border: 2px solid var(--art-primary); border-radius: 0 0 8px 0;
    font-size: 14px; text-decoration: none;
}
.art-skip-link:focus { left: 0; }

@media (max-width: 768px) {
    .art-content > header.art-article-header > h1 { font-size: 22px; line-height: 1.45; margin-bottom: 14px; }
    .art-content > header.art-article-header > .art-lead { margin-bottom: 14px; font-size: 15px; }
}


/* ============ 语义骨架对齐（nav/ol、article>header、section aria） ============ */
/* 面包屑 ol/li：归零列表默认样式，用 ::before 画分隔符 */
.art-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; }
.art-breadcrumb li { flex: 0 1 auto; min-width: 0; }
.art-breadcrumb li + li::before { content: '\203A'; margin: 0 8px; color: var(--art-text-mute); }
.art-breadcrumb li[aria-current="page"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* TOC 改为 ul > li > a 后归零列表默认样式 */
ul.art-toc-list { list-style: none; margin: 0; }
.art-toc-list li { min-width: 0; }
/* header / footer 是纯语义容器，不引入任何布局 */
.art-article-header, .art-content-footer { margin: 0; padding: 0; }
