/* 行业洞察 / 文章页样式 —— 依赖 style.css 的变量 */

.page-hero {
  padding: 76px 0 60px;
  text-align: center;
  background:
    radial-gradient(900px 460px at 50% -20%, rgba(255, 128, 0, 0.10), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 40px; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { color: var(--text-muted); font-size: 17px; margin: 0 auto; max-width: 620px; }

/* 列表页 */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.post-card h2 { margin: 12px 0 10px; font-size: 21px; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
.post-card p { color: var(--text-muted); margin: 0 0 18px; font-size: 15px; }
.post-meta { display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-size: 13px; }
.read-more { color: var(--primary); font-weight: 600; }

.tag {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}

/* 文章页 */
.article { padding: 56px 0 88px; }
.article-narrow { max-width: 780px; }

.breadcrumb { color: var(--text-muted); font-size: 13px; margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }
.breadcrumb em { font-style: normal; }

.article-title { font-size: 38px; line-height: 1.3; margin: 0 0 18px; font-weight: 800; letter-spacing: -0.02em; }
.article-meta { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }

.article-body { font-size: 17px; line-height: 1.9; color: var(--text); }
.article-body h2 { font-size: 26px; font-weight: 700; margin: 48px 0 18px; letter-spacing: -0.01em; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; }
.article-body h4 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary-deep); }
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.article-body code { background: var(--bg-alt); padding: 2px 6px; border-radius: 5px; font-size: 15px; }

.article-body blockquote {
  margin: 0 0 22px; padding: 16px 22px; background: var(--primary-soft);
  border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0;
  color: var(--text);
}

.table-wrap { overflow-x: auto; margin: 0 0 26px; -webkit-overflow-scrolling: touch; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
.article-body th { background: var(--bg-alt); font-weight: 700; white-space: nowrap; }

/* 文末 CTA */
.cta-card {
  margin-top: 56px; padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--bg-alt);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-copy strong { display: block; font-size: 19px; margin-bottom: 6px; }
.cta-copy span { color: var(--text-muted); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 相关阅读 */
.related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.related h3 { margin: 0 0 20px; font-size: 20px; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-card {
  padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related-cat { display: block; color: var(--text-muted); font-size: 12px; margin-bottom: 8px; }
.related-card strong { font-size: 16px; font-weight: 600; line-height: 1.5; }

@media (max-width: 900px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 30px; }
  .post-list, .related-grid { grid-template-columns: 1fr; }
  .article { padding: 36px 0 64px; }
  .article-title { font-size: 28px; }
  .article-body { font-size: 16.5px; }
  .article-body h2 { font-size: 22px; margin-top: 36px; }
  .cta-card { padding: 24px; }
}
