/* ==========================================================================
   灯塔VPN (dengtajiasu.cfd) - 文章专栏与内页样式表
   增强 SEO 语义与长文排版体验 | 深度内部跳转网络
   ========================================================================== */

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

.article-container {
  max-width: 900px;
  margin: 0 auto;
}

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

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

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

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

.article-header-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.article-main-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 18px;
}

.article-info-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

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

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

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

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

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

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

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 30px 0 14px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  color: #cbd5e1;
}

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

.article-body a.internal-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.article-body a.internal-link:hover {
  color: #7dd3fc;
}

/* 提示呼出框 */
.callout-box {
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  background: rgba(56, 189, 248, 0.06);
}

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

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

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

.callout-content {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 文章内部对比表格 */
.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

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

.comparison-table th {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

/* 文章底部 CTA 转化横幅 */
.article-cta-banner {
  margin: 48px 0;
  padding: 36px 30px;
  background: linear-gradient(135deg, rgba(28, 45, 78, 0.85) 0%, rgba(14, 23, 42, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.article-cta-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

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

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

/* 相关推荐文章网格 */
.related-articles-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.related-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* 文章列表归档页专属样式 */
.articles-index-hero {
  text-align: center;
  padding: 40px 0 50px;
}

.articles-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.articles-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #070b14;
  border-color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .article-main-title { font-size: 25px; }
  .article-body h2 { font-size: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .articles-index-grid { grid-template-columns: 1fr; }
}
