/* ==========================================================================
   文章详情页专有样式（page-article）
   设计取向：大幅面标题 + 大幅面封面 + 单栏阅读节奏，界面元素后退，内容在前。
   只作用于文章详情页；列表页仍使用 page-news.css 的原样。
   色值沿用站点既有变量（深蓝 / 工业青），不引入第二套品牌色。
   ========================================================================== */

/* 阅读容器 ---------------------------------------------------------------- */
.news-layout { grid-template-columns: minmax(0, 1fr) 292px; gap: 72px; }
.article-head { margin-bottom: 0; }

/* 标题区 ------------------------------------------------------------------ */
.article-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 6px 0 22px;
  max-width: 26em;
  color: var(--ink);
}
.article-meta {
  gap: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.article-meta .tag {
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.article-meta time { font-variant-numeric: tabular-nums; }

/* 封面：整幅、不切角、只留一层柔和投影 ------------------------------------ */
.article-cover { margin: 40px 0 0; }
.article-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  max-height: none;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: 0 22px 56px rgba(16, 29, 47, 0.16);
}

/* 正文 -------------------------------------------------------------------- */
.article-body {
  margin-top: 48px;
  max-width: 72ch;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--text);
}
.article-body > p:first-of-type {
  font-size: 1.14rem;
  line-height: 1.85;
  color: var(--ink);
}
.article-body p { margin-bottom: 1.45em; }
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 3.2em 0 1em;
  padding-top: 1.5em;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.article-body h2:first-of-type { margin-top: 2.2em; }
.article-body h3 {
  font-size: 1.14rem;
  font-weight: 600;
  margin: 2.2em 0 0.7em;
  color: var(--ink);
}
.article-body ul,
.article-body ol { padding-left: 1.15em; margin-bottom: 1.5em; }
.article-body li { margin-bottom: 0.7em; }
.article-body li::marker { color: var(--accent); }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.article-body a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* 引用 / 图注 ------------------------------------------------------------- */
.article-body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--ink);
}
.article-body figure { margin: 2.4em 0; }
.article-body figure img { border: 0; border-radius: 0; }
.article-body figcaption { margin-top: 12px; font-size: 0.82rem; color: var(--muted); }

/* 竖幅实拍图：限宽居中，避免一张图占满整屏 -------------------------------- */
.article-body figure.figure--portrait {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.article-body figure.figure--portrait img { width: 100%; height: auto; }
.article-body figure.figure--portrait figcaption { text-align: left; }

/* 表格：去掉外框，只用横向细线分隔 ---------------------------------------- */
.article-body .table-scroll {
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 2.2em 0;
}
.article-body .table-scroll table { min-width: 560px; }
.article-body .table-scroll th,
.article-body .table-scroll td {
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.7;
}
.article-body .table-scroll th {
  background: transparent;
  border-bottom: 1.5px solid var(--line-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: normal;
}
.article-body .table-scroll tr:hover td { background: var(--bg-soft); }

/* 文末引导 ---------------------------------------------------------------- */
.article-tail {
  margin-top: 56px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.8;
}
.article-tail .btn {
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 0.92rem;
}
.article-tail .btn-outline { border-color: var(--brand); }

/* 上一篇 / 下一篇：去掉卡片框，用细线与箭头 --------------------------------- */
.article-pager {
  gap: 32px;
  margin-top: 48px;
}
.article-pager a {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 18px 0 0;
  background: transparent;
  font-size: 0.98rem;
  line-height: 1.6;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.article-pager a:hover { border-top-color: var(--accent); color: var(--accent); }
.article-pager span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* 侧栏：去掉卡片感，改为细线分栏 ------------------------------------------ */
.news-layout aside .side-block {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  padding: 20px 0 0;
  margin-bottom: 32px;
}
.news-layout aside .side-block h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.news-layout aside .side-links li { margin-bottom: 10px; }
.news-layout aside .side-links a { font-size: 0.92rem; line-height: 1.6; }
.news-layout aside .side-cta {
  border-top: 0;
  border-radius: 0;
  background: var(--brand-deep);
  padding: 26px 24px;
  margin-top: 8px;
}
.news-layout aside .side-cta h3 { color: #fff; }
.news-layout aside .side-cta p { color: rgba(255, 255, 255, 0.78); }
.news-layout aside .side-cta .btn { border-radius: 999px; }

/* 面包屑 ------------------------------------------------------------------ */
.article-breadcrumb,
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.02em; }

/* 响应式 ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .news-layout { gap: 40px; }
  .article-cover img { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .article-head h1 { font-size: 1.85rem; letter-spacing: -0.01em; }
  .article-body { margin-top: 32px; font-size: 1.02rem; line-height: 1.85; }
  .article-body > p:first-of-type { font-size: 1.08rem; }
  .article-body h2 { font-size: 1.28rem; margin-top: 2.4em; padding-top: 1.2em; }
  .article-cover { margin-top: 26px; }
  .article-cover img { aspect-ratio: 4 / 3; }
  .article-pager { grid-template-columns: 1fr; gap: 22px; }
  .article-pager .is-next { text-align: left; }
  .article-pager > .is-next:first-child { grid-column: auto; }
}

/* 文末引导：作为文章底部的一块深色区块（呼应整套版式的明暗交替） */
.article-tail {
  margin-top: 56px;
  padding: 30px 32px;
  border-top: 0;
  border-radius: 0;
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.78);
  align-items: center;
}
.article-tail .btn,
.article-tail .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.article-tail .btn:hover,
.article-tail .btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-deep);
}
@media (max-width: 760px) {
  .article-tail { padding: 24px 22px; }
}

/* 文末转化模块：相关产品 / 样品申请 / 文件索取 / 询盘 ----------------------
   所有文章详情页共用，结构一致；语言不同只换文案与联系方式。 */
.article-convert {
  margin-top: 60px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line-strong);
}
.convert-head { max-width: 62ch; margin-bottom: 26px; }
.convert-kicker {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.convert-head h2 {
  margin: 0 0 8px;
  font-size: 1.36rem;
  line-height: 1.32;
  color: var(--ink);
}
.convert-head p { margin: 0; font-size: 0.95rem; line-height: 1.8; color: var(--muted); }
.convert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.convert-card { background: #fff; padding: 22px 24px; }
.convert-card h3 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.convert-card p { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.8; color: var(--text); }
.convert-card p:last-child { margin-bottom: 0; }
.convert-card p.convert-note { font-size: 0.84rem; color: var(--muted); }
.convert-links { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.convert-links li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.convert-links li:first-child { padding-top: 0; }
.convert-links li:last-child { padding-bottom: 0; border-bottom: 0; }
.convert-links a {
  color: var(--brand);
  font-weight: 600;
  transition: color 0.18s ease;
}
.convert-links a:hover,
.convert-links a:focus-visible { color: var(--accent); outline: none; }
.convert-links a:focus-visible { text-decoration: underline; }
.convert-links span { display: block; margin-top: 4px; font-size: 0.83rem; line-height: 1.6; color: var(--muted); }
.convert-card .btn {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.9rem;
  border-color: var(--brand);
  color: var(--brand);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.convert-card .btn:hover,
.convert-card .btn:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.convert-card--contact p a { color: var(--brand); font-weight: 600; }
.convert-card--contact p a:hover,
.convert-card--contact p a:focus-visible { color: var(--accent); }
@media (max-width: 760px) {
  .convert-grid { grid-template-columns: minmax(0, 1fr); }
  .convert-card { padding: 20px; }
  .article-convert { margin-top: 46px; padding-top: 26px; }
}
