/* ========================================================
   科泰新材料 · 技术专栏与工艺避坑指南 (Articles & Case Studies)
   工业冷峻 · 严谨文献级排版 · 与全站金标原生设计 100% 统一
   ======================================================== */

.articles-page {
  padding-bottom: 72px;
}

/* 专栏列表卡片流 */
.articles-list-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 60px;
}

.article-row-card {
  background: #ffffff;
  border: 1px solid var(--line, #e2e4e8);
  border-radius: 6px;
  padding: 28px 32px;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.article-row-card:hover {
  border-color: var(--text, #1f2429);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.article-cat-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--red, #aa2837);
  background: #fff5f5;
  border: 1px solid #fecaca;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.article-author-badge {
  font-size: 12px;
  color: var(--muted, #64748b);
}

.article-date-badge {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted, #64748b);
  margin-left: auto;
}

.article-row-card h2 {
  font-size: 21px;
  font-weight: 600;
  color: var(--text, #1f2429);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.article-row-card .article-excerpt {
  font-size: 13.5px;
  color: var(--muted, #57606a);
  line-height: 1.7;
  margin: 0 0 16px;
}

.article-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #f0f2f5);
}

.article-read-more {
  font-weight: 600;
  color: var(--red, #aa2837);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========================================================
   文章详情页 (Article Detail View)
   ======================================================== */

.article-detail-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.article-header {
  border-bottom: 1px solid var(--line, #e2e4e8);
  padding-bottom: 28px;
  margin-bottom: 32px;
}

.article-header .eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red, #aa2837);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.article-header h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--text, #1f2429);
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0 0 16px;
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted, #64748b);
}

.article-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-weight: 600;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
}

.article-summary-card {
  background: #f8fafc;
  border: 1px solid var(--line, #e2e4e8);
  border-left: 4px solid var(--text, #1f2429);
  border-radius: 2px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.article-summary-card strong {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text, #1f2429);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.article-summary-card p {
  font-size: 14px;
  color: #334155;
  line-height: 1.75;
  margin: 0;
}

/* 正文排版 */
.article-body {
  font-size: 15px;
  line-height: 1.85;
  color: #24292f;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body .lead-paragraph {
  font-size: 16px;
  line-height: 1.85;
  color: #1f2429;
}

.article-h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text, #1f2429);
  margin: 44px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line, #e2e4e8);
  letter-spacing: -0.02em;
}

.article-h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text, #1f2429);
  margin: 28px 0 12px;
}

.article-list {
  padding-left: 20px;
  margin: 0 0 24px;
}

.article-list li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.article-image-box {
  margin: 28px 0;
  border: 1px solid var(--line, #e2e4e8);
  border-radius: 4px;
  overflow: hidden;
  background: #f8fafc;
}

.article-image-box img {
  width: 100%;
  display: block;
  max-height: 540px;
  object-fit: contain;
  background: #ffffff;
}

.article-image-box figcaption {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted, #64748b);
  border-top: 1px solid var(--line, #e2e4e8);
  font-family: var(--mono);
}

/* 底部引导与转化卡片 */
.article-footer-gateways {
  margin-top: 54px;
  padding-top: 36px;
  border-top: 2px solid var(--line, #e2e4e8);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-tool-gateway {
  background: #fafbfc;
  border: 1px solid var(--line, #e2e4e8);
  border-left: 4px solid var(--red, #aa2837);
  border-radius: 3px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.article-tool-gateway strong {
  font-size: 16px;
  color: var(--text, #1f2429);
  display: block;
  margin-bottom: 4px;
}

.article-tool-gateway p {
  font-size: 13px;
  color: var(--muted, #64748b);
  margin: 0;
}

.article-materials-gateway {
  background: #ffffff;
  border: 1px solid var(--line, #e2e4e8);
  border-radius: 4px;
  padding: 22px 26px;
}

.article-materials-gateway .gateway-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--red, #aa2837);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.article-materials-gateway .materials-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.article-material-tag {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--text, #1f2429);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.article-material-tag:hover {
  background: var(--text, #1f2429);
  color: #ffffff;
  border-color: var(--text, #1f2429);
}
