/* ==========================================================================
   AnyLand 机场网 (any-land.sbs) 深度评测与文章专栏样式表
   极致排版 · 高速原生渲染 · 增强阅读体验 · SEO 优化
   ========================================================================== */

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

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

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

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

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

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

.article-main {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 42px 48px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.article-tag-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(249, 168, 212, 0.28);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

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

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

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

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
  position: relative;
}

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

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

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

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

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

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

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

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

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(56, 189, 248, 0.05);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-style: italic;
  color: #94a3b8;
}

/* 提示框组件 */
.callout-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 30px 0;
}

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

.callout-box.warning {
  border-left-color: var(--amber);
  background: rgba(245, 158, 11, 0.05);
}

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

/* 表格样式 */
.content-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
}

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

.content-table th, .content-table td {
  padding: 14px 18px;
  border: 1px solid var(--border-glass);
  text-align: left;
}

.content-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-weight: 700;
}

.content-table td {
  color: var(--text-muted);
}

/* 文章内部转化横幅 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 75, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 44px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

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

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

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

.sidebar-widget {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
}

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

.widget-article-item a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.5;
  transition: var(--transition);
}

.widget-article-item a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.widget-cta-card {
  background: linear-gradient(145deg, rgba(30, 24, 60, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  text-align: center;
}

.widget-cta-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 12px 0 16px;
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-main {
    padding: 28px 24px;
  }
}
