/* ==========================================================================
   CTC 金龙鱼机场网 (ctc金龙鱼.top)
   文章详情页独立专属样式 - 极致可读性与内链 SEO 优化
   ========================================================================== */

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

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

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

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

.breadcrumbs-sep {
  color: var(--text-dark);
}

.breadcrumbs-current {
  color: var(--gold-400);
  font-weight: 500;
}

/* 文章主布局：两栏式（左边正文，右边侧边栏/目录） */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

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

.article-lead-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--cyan-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 正文排版 Typography */
.article-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 38px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(52, 211, 153, 0.22);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 22px;
  background: var(--gold-gradient);
  border-radius: 3px;
}

.article-content h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--gold-300);
  margin: 28px 0 12px;
}

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

.article-content strong {
  color: #fff;
  font-weight: 700;
}

.article-content ul, .article-content ol {
  margin: 16px 0 24px 24px;
}

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

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

.article-content a:hover {
  color: var(--gold-400);
}

/* 表格与对比卡片 */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 26px 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.article-table th {
  background: rgba(15, 23, 42, 0.9);
  color: var(--gold-400);
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(52, 211, 153, 0.35);
}

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

.article-table tr:hover td {
  background: rgba(16, 185, 129, 0.06);
}

/* 提示与高亮块 */
.callout {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout-gold {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--text-primary);
}

.callout-cyan {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--text-primary);
}

.callout-icon {
  font-size: 1.3rem;
  min-width: 24px;
}

/* 文中专属 CTA 推广条 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 40px 0;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.article-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.article-cta-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* 侧边栏 Sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: '';
  width: 4px;
  height: 14px;
  background: var(--gold-400);
  border-radius: 2px;
}

.widget-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-link-item {
  font-size: 0.885rem;
  line-height: 1.5;
}

.widget-link-item a {
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.widget-link-item a:hover {
  color: var(--gold-400);
}

.widget-link-bullet {
  color: var(--gold-400);
  font-weight: bold;
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-item {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition);
}

.tag-cloud-item:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

/* 响应式适配 */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-main {
    padding: 24px 16px;
  }
  .article-main-title {
    font-size: 1.65rem;
  }
  .article-content {
    font-size: 0.98rem;
  }
}
