/* ===================================================================
   掌中世界机场网 (zzsj.lat) - 深度文章与知识库样式表
   专注长文沉浸式阅读 · 层次化排版 · 结构化 SEO 友好展示
   =================================================================== */

.article-container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

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

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

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

.breadcrumb-separator {
  color: var(--text-light);
  font-size: 0.8rem;
}

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

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

.article-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.article-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-weight: 500;
}

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

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

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: 44px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

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

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

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

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

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

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

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

/* 提示卡片与警示框 */
.callout {
  background: rgba(16, 26, 48, 0.8);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.callout-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* 导流横幅 (CTA Banner) */
.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(157, 78, 221, 0.12) 100%);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 44px 0;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.article-cta-box p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 22px;
  font-size: 0.98rem;
}

/* 对比表格 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

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

.custom-table th {
  background: rgba(13, 21, 39, 0.9);
  padding: 14px 18px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

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

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

/* 文章尾部导航与相关推荐 */
.article-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.related-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

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

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

.related-card:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.related-card h4 {
  font-size: 0.98rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.related-card:hover h4 {
  color: var(--accent-cyan);
}

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

/* 响应式 */
@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.8rem;
  }
  .article-container {
    margin-top: 20px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-cta-box {
    padding: 24px 16px;
  }
}
