/* cn-news.css  ->  extracted from template/cn/news.html  @Xeron 20261118 */
/* ====================== 全局变量（与header-footer.css同步，无需修改全局文件） ====================== */
/* ====================== 页面Banner完整样式 xeron-case-banner ====================== */
.xeron-case-banner {
  padding: 0 0 24px;
  position: relative;
  z-index: 1;
}.xeron-case-banner__media img {
  object-fit: cover;
  object-position: 20% center;
}/* 移动端720px 单列适配 */
@media (max-width: 720px) {
  /* Banner移动端 */
  .xeron-case-banner {
    padding-top: 72px;
  }}

.articledetail{

  color: #333;
  line-height: 1.8;
}
/* 双栏布局容器 */
.article-detail {
  max-width: 1440px;
  margin: auto;

  display: flex;
  gap: 40px;
}

/* 左侧主内容 */
.article-main {
  flex: 1;
  min-width: 0;
}

/* 右侧侧边栏 */
.article-sidebar {
  width: 320px;
  flex-shrink: 0;
}

/* 卡片样式 */
.article-card,
.sidebar-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 40px;
  margin-bottom: 30px;
}
.sidebar-card {
  padding: 30px;
  position: sticky;
  top: 40px;
}

/* 面包屑 */
.article-crumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.article-crumb a {
  color: #666;
  text-decoration: none;
}
.article-crumb a:hover {
  color: #132033;
}

/* 文章标题 */
.article-title {
  font-size: 30px;
  font-weight: 700;
  color: #132033;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* 文章信息 */
.article-info {
  color: #999;
  font-size: 14px;
  display: flex;
  gap: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f2f2f2;
  margin-bottom: 30px;
}

/* 文章内容 */
.article-content {
  font-size: 16px;
  color: #444;
}
.article-content p {
  margin-bottom: 24px;
  text-align: justify;
}
.article-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px;
  margin: 10px 0 24px;
  display: block;
}
.article-content h1,
.article-content h2,
.article-content h3 {
  color: #132033;
  margin: 30px 0 15px;
  font-weight: 600;
}

/* 返回列表 */
.back-list {
  text-align: center;
  margin: 20px 0 40px;
}
.back-list a {
  display: inline-block;
  padding: 12px 32px;

  color: #333;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid #e0e0e0;
    background: #fff;
}
.back-list a:hover {
 border-color: #ccd1d9;
    background: #f1f3f7;
}

/* 上一篇下一篇 - 垂直布局 */
/* 上下篇修复样式 */
.article-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 25px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
}
.article-page .page-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.article-page a {
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-page a:hover {
  color: #132033;
}
/* CSS 箭头替代字体图标 */
.article-page .page-item.prev a::before,
.article-page .page-item.next a::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-left: 1.5px solid #132033;
  border-bottom: 1.5px solid #132033;
  flex-shrink: 0;
}
.article-page .page-item.prev a::before {
  transform: rotate(135deg);
}
.article-page .page-item.next a::before {
  transform: rotate(315deg);
}
.article-page .none {
  color: #999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-page .page-item.prev .none::before,
.article-page .page-item.next .none::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-left: 1.5px solid #999;
  border-bottom: 1.5px solid #999;
  flex-shrink: 0;
}
.article-page .page-item.prev .none::before {
  transform: rotate(45deg);
}
.article-page .page-item.next .none::before {
  transform: rotate(-135deg);
}

/* 侧边栏标题 */
.sidebar-title {
  font-size: 18px;
  color: #132033;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 2px solid #f2f2f2;
  margin-bottom: 20px;
}

/* 热门推荐 */
.sidebar-hot {
  list-style: none;
}
.sidebar-hot li {
  padding: 10px 0;
  border-bottom: 1px dashed #f0f0f0;
}
.sidebar-hot li:last-child {
  border: none;
}
.sidebar-hot a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-hot a:hover {
  color: #132033;
  padding-left: 4px;
}

/* 移动端适配 */
@media (max-width: 992px) {
  .article-detail {
    flex-direction: column;
  }
  .article-sidebar {
    width: 100%;
  }
  .sidebar-card {
    position: static;
  }
}
@media (max-width: 768px) {
  .article-detail {
    margin: 30px auto;
  }
  .article-card,
  .sidebar-card {
    padding: 25px;
  }
  .article-title {
    font-size: 24px;
  }
  .related-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   XERON 中文技术博客 · 正文组件样式（2026-11-10 追加）
   作用域 .article-content，兼容 UEditor 只允许 table/td 的限制
   配色适配本模板白底卡片，强调色 XERON 蓝 #236cff
   ============================================================ */
.article-content{font-size:16px;color:#3c4657;line-height:1.85}
.article-content p{margin:0 0 18px;text-align:justify}
.article-content p.lead{font-size:17px;line-height:1.9;color:#26344a;background:#f4f8ff;border-left:3px solid #236cff;border-radius:0 10px 10px 0;padding:16px 20px;margin:0 0 26px}
.article-content h2{font-size:22px;color:#132033;margin:38px 0 16px;padding-left:14px;border-left:3px solid #236cff;line-height:1.4;font-weight:700}
.article-content h3{font-size:18px;color:#182b45;margin:28px 0 12px;font-weight:700}
.article-content strong,.article-content b{color:#132033;font-weight:700}
.article-content a{color:#236cff;text-decoration:none;border-bottom:1px solid rgba(35,108,255,.32)}
.article-content a:hover{color:#0b56d8;border-bottom-color:#0b56d8}
.article-content img{max-width:100% !important;height:auto !important;border-radius:12px;margin:16px auto 24px;display:block;box-shadow:0 8px 26px rgba(20,40,80,.10)}
.article-content ul,.article-content ol{margin:0 0 20px 22px;padding:0}
.article-content li{margin:7px 0;line-height:1.8}
/* 表格通用 */
.article-content table{width:100%;border-collapse:separate;border-spacing:0;margin:20px 0;border:1px solid #e2e8f2;border-radius:12px;overflow:hidden;background:#fff;font-size:14.5px}
.article-content th{background:#eef4ff;color:#1a3c78;font-size:13px;font-weight:700;padding:12px 15px;border-bottom:1px solid #dbe5f5;text-align:left;line-height:1.6}
.article-content td{padding:12px 15px;border-bottom:1px solid #edf1f7;font-size:14.5px;line-height:1.75;color:#455267;vertical-align:top}
.article-content tr:last-child td{border-bottom:none}
.article-content td strong,.article-content td b{color:#1a2c47}
/* 关键结论提示条 */
.article-content table.callout{border:1px solid #bcd6ff;background:#f0f7ff;border-radius:12px}
.article-content table.callout td{padding:16px 20px;border:none;font-size:15px;line-height:1.85;color:#263b5c}
.article-content table.callout td b,.article-content table.callout td strong{color:#1257cc}
/* 要点清单 */
.article-content table.checklist td{padding:12px 16px 12px 42px;position:relative;border-bottom:1px solid #edf1f7}
.article-content table.checklist td::before{content:"\2713";position:absolute;left:16px;top:12px;color:#236cff;font-weight:800}
.article-content table.checklist tr:last-child td{border-bottom:none}
/* 规格表 / 对比表 / FAQ / 内链 */
.article-content table.specs th{background:#236cff;color:#fff;border-bottom:none}
.article-content table.specs tbody tr:nth-child(even) td,
.article-content table.compare tbody tr:nth-child(even) td{background:#fafbfe}
.article-content table.compare th{background:#f2f5fb;color:#41506b}
.article-content table.faq td.qa{color:#1257cc;font-weight:700;width:38%}
.article-content table.links td.topic{color:#6b7a90;white-space:nowrap}
/* 产品卡 */
.article-content table.prodcard{border:1px solid #cfe0ff;background:#f7faff;border-radius:14px}
.article-content table.prodcard td{border:none;vertical-align:middle;padding:16px}
.article-content table.prodcard td.pic{width:250px}
.article-content table.prodcard td.pic img{width:100%;margin:0;border-radius:10px;box-shadow:none;background:#fff}
.article-content table.prodcard .pname{display:block;font-size:19px;font-weight:800;color:#132033;margin-bottom:4px}
.article-content table.prodcard .ptag{display:inline-block;font-size:11px;font-weight:700;color:#1257cc;border:1px solid #b6d0ff;background:#eaf2ff;border-radius:999px;padding:3px 10px;margin-bottom:9px}
.article-content table.prodcard .pspec{display:block;font-size:13px;color:#5c6b82;margin:0 0 10px;line-height:1.7}
.article-content table.prodcard ul{margin:0 0 12px 18px}
.article-content table.prodcard li{font-size:13.5px;line-height:1.7;margin:3px 0}
.article-content table.prodcard li b{color:#1257cc}
.article-content table.prodcard a.cta{display:inline-block;background:#236cff;color:#fff;font-weight:700;font-size:13px;padding:9px 18px;border-radius:9px;text-decoration:none;border:none}
.article-content table.prodcard a.cta:hover{background:#0b56d8;color:#fff;border:none}
/* 结尾行动号召 */
.article-content table.cta{border:1px solid #bcd6ff;background:linear-gradient(120deg,#eef5ff,#f6f1ff);border-radius:14px}
.article-content table.cta td{padding:22px 24px;border:none;text-align:center;font-size:15px;line-height:1.85;color:#2a3b58}
.article-content table.cta td a{display:inline-block;margin-top:10px;background:#236cff;color:#fff;font-weight:700;font-size:14px;padding:11px 26px;border-radius:9px;text-decoration:none;border:none}
.article-content table.cta td a:hover{background:#0b56d8;color:#fff;border:none}
@media (max-width:760px){
  .article-content table{font-size:13px}
  .article-content th,.article-content td{padding:9px 10px;font-size:13px}
  .article-content table.prodcard td.pic{display:block;width:auto;padding:14px}
  .article-content table.prodcard td.pic img{max-height:200px;object-fit:contain}
}
