/* ==========================================================================
   Gatern云机场网 (gaternjc.buzz) - 深度文章与教程专栏专用样式表
   特性：沉浸式阅读排版 · 增强型内链跳跃提示 · 深度SEO语义结构 · 纯原生CSS
   ========================================================================== */

.article-header {
  padding: 40px 0 24px;
}

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

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

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

.article-headline {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
  color: var(--text-main);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.meta-badge {
  background: rgba(251, 146, 60, 0.14);
  color: #fdba74;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

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

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

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 38px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

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

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

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

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

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

/* 内部链接高亮样式 */
.article-content a.internal-link {
  color: var(--color-cyan);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--color-cyan);
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.article-content a.internal-link:hover {
  color: #fff;
  border-bottom-style: solid;
  background: rgba(251, 146, 60, 0.12);
}

/* 提示引用框 */
.callout-box {
  background: rgba(15, 23, 42, 0.85);
  border-left: 4px solid var(--color-cyan);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 0.96rem;
}

.callout-box.tip {
  border-left-color: #38ef7d;
  background: rgba(16, 185, 129, 0.08);
}

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

.callout-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 评测对比表格 */
.table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th {
  background: rgba(10, 16, 33, 0.9);
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  color: var(--color-cyan);
}

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

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

/* 文章内置 CTA 横幅 */
.article-cta-box {
  background: var(--gradient-featured);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0 20px;
  box-shadow: var(--shadow-glow);
}

.article-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.article-cta-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 20px;
}

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

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

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

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

.related-post-item a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: all 0.2s ease;
  display: block;
}

.related-post-item a:hover {
  color: var(--color-cyan);
  padding-left: 4px;
}

.quick-promo-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(251, 146, 60, 0.12) 0%, rgba(234, 88, 12, 0.08) 100%);
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.quick-promo-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-cyan);
  margin: 12px 0 6px;
}

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