/* ===================================================================
   快冲云网 (kuaichongyun.sbs) 专栏文章样式表 - 纯原生 CSS (零外部依赖)
   =================================================================== */

.article-page-body {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

.article-header-wrapper {
  padding: 60px 0 30px;
  border-bottom: 1px solid rgba(253, 224, 71, 0.14);
  background: radial-gradient(circle at top center, rgba(253, 224, 71, 0.1), transparent 70%);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--text-dim);
}

.article-headline {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.article-header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 主体双栏/单栏布局 */
.article-main-layout {
  padding: 50px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
}

.article-content-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-content-body p {
  margin-bottom: 24px;
}

.article-content-body h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(253, 224, 71, 0.2);
  position: relative;
}

.article-content-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

.article-content-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 32px 0 14px;
}

.article-content-body ul,
.article-content-body ol {
  margin: 0 0 24px 24px;
  padding-left: 10px;
}

.article-content-body li {
  margin-bottom: 10px;
}

.article-content-body strong {
  color: #ffffff;
}

/* 高亮提示框 */
.callout-box {
  background: rgba(253, 224, 71, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 30px 0;
  color: #fef08a;
}

.callout-box.tip {
  border-left-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.08);
}

.callout-box.warning {
  border-left-color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.08);
}

.callout-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 表格样式 */
.article-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.article-table th {
  background: rgba(14, 30, 56, 0.95);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.article-table tr:hover td {
  background: rgba(253, 224, 71, 0.05);
}

/* 文章内置 CTA 引流大横幅 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(14, 38, 74, 0.95), rgba(8, 22, 44, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin: 48px 0;
  box-shadow: 0 0 35px rgba(253, 224, 71, 0.28);
}

.article-cta-box h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.article-cta-box p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 15px;
}

/* 文章侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: sticky;
  top: 94px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  margin-bottom: 12px;
}

.sidebar-list a {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
  display: block;
}

.sidebar-list a:hover {
  color: var(--primary);
}

/* 相关文章推荐网格 */
.related-articles-section {
  padding: 50px 0;
  border-top: 1px solid rgba(253, 224, 71, 0.14);
  margin-top: 50px;
}

.related-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .article-main-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sidebar-card {
    position: static;
  }
}
