/* ==========================================================================
   SeeleCloud 希儿云 - 文章阅读专栏独立原生样式表
   极致阅读体验 · SEO 结构化强化 · 快速响应 · 原生无依赖
   ========================================================================== */

.article-header {
  padding: 50px 0 35px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--accent-cyan);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.article-main-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  max-width: 920px;
  margin: 0 auto 20px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding-bottom: 80px;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 45px 40px;
  color: #e2e8f0;
  line-height: 1.85;
  font-size: 1.05rem;
  backdrop-filter: blur(12px);
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary), var(--accent-purple));
  border-radius: 3px;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #38bdf8;
  margin: 28px 0 14px;
}

.article-content p {
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: #ffffff;
}

/* 强调提示卡片 */
.callout-box {
  background: rgba(0, 245, 160, 0.08);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
}

.callout-box.warning {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: var(--accent-amber);
}

.callout-box.tip {
  background: rgba(34, 197, 94, 0.08);
  border-left-color: var(--accent-green);
}

.callout-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 数据对比表格 */
.table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 700;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* 文章内部 CTA 模块 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.12), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin: 35px 0;
}

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

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

/* 侧边栏 Widget */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.widget-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-links li {
  margin-bottom: 12px;
}

.widget-links a {
  font-size: 0.92rem;
  color: var(--text-sub);
  display: block;
  line-height: 1.5;
  transition: var(--transition);
}

.widget-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-content {
    padding: 28px 20px;
  }
  .article-main-title {
    font-size: 1.85rem;
  }
}
