/* ==========================================================================
   灯塔VPN (Dengta Cloud) - 深度文章与评测专栏专属样式
   ========================================================================== */

.article-page {
  padding: 40px 0 90px;
}

.article-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑导航 */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

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

.breadcrumbs span.separator {
  color: var(--border-light);
}

.breadcrumbs span.current {
  color: var(--primary);
  font-weight: 500;
}

/* 文章头部 */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.article-tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.article-tag-item {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.article-tag-item.gold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-gold);
  border-color: rgba(251, 191, 36, 0.3);
}

.article-main-title {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

/* 目录引导盒 (TOC) */
.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 38px;
}

.article-toc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-toc-list a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: var(--transition);
}

.article-toc-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* 文章正文富文本排版 */
.article-body {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--primary), var(--accent-gold));
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 28px 0 14px;
}

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

.article-body strong {
  color: #ffffff;
  font-weight: 700;
}

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

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

/* 提示警示框 */
.callout {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin: 28px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.65;
}

.callout-tip {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #bae6fd;
}

.callout-gold {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid var(--border-gold);
  color: #fef08a;
}

.callout-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* 数据对比表格 */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background: var(--bg-card);
}

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

.article-table td {
  padding: 14px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.article-table tr:hover td {
  background: rgba(56, 189, 248, 0.05);
}

/* 转化引导卡片 (In-article CTA Box) */
.article-cta-box {
  background: linear-gradient(135deg, rgba(14, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  margin: 48px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.article-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}

.article-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.article-cta-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 22px;
}

.article-cta-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 相关推荐文章 (Internal Linking Grid) */
.related-section {
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

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

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.related-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 8px;
}

.related-card:hover .related-card-title {
  color: var(--primary);
}

.related-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-meta-row {
    gap: 12px;
  }
}
