/* 机场捕捉 (jichangcatch.xyz) - 全站核心样式表 */
:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #6366f1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Site Header */
.site-header {
  background-color: #0f172a;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-brand .brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-slogan {
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

/* Navigation */
.site-nav {
  display: flex;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap !important; /* 彻底杜绝文字折行 */
  display: inline-block;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.nav-recommend {
  color: #38bdf8;
  font-weight: 600;
  background-color: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.nav-link.nav-recommend:hover {
  background-color: rgba(56, 189, 248, 0.28);
}

/* Header Right Search */
.header-search {
  position: relative;
  width: 190px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 4px 12px;
  transition: all 0.2s;
}

.search-box:focus-within {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.88rem;
  width: 100%;
}

.search-box:focus-within input {
  color: var(--text-main);
}

.search-box input::placeholder {
  color: #94a3b8;
  font-size: 0.82rem;
}

.search-box button {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box:focus-within button {
  color: var(--primary);
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  width: 320px;
  max-height: 420px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1000;
  color: var(--text-main);
}

.search-dropdown.active {
  display: block;
}

.search-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  display: block;
  color: var(--text-main);
}

.search-item:last-child {
  border-bottom: none;
}

.search-item:hover {
  background-color: var(--primary-light);
}

.search-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.search-item-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.search-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #4f46e5;
  color: #ffffff;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-large {
  padding: 12px 24px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 0.82rem;
}

.btn-aff {
  background-color: #059669;
  color: #ffffff;
}

.btn-aff:hover {
  background-color: #047857;
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 auto 16px auto;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 860px;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #38bdf8;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Section styling */
section {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.category-card.featured-card {
  border-color: #38bdf8;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.card-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.card-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.card-link-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

/* Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin: 20px 0;
}

.data-table {
  width: 100%;
  min-width: 980px; /* 保证展开时内容完整并行不挤压 */
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  white-space: nowrap !important; /* 所有内容全部并行排列 */
}

.data-table th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid var(--border-color);
}

.data-table tr:hover {
  background-color: #f8fafc;
}

.price-badge {
  display: inline-block;
  white-space: nowrap !important;
  background-color: #fef3c7;
  color: #b45309;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.tag-status {
  display: inline-block;
  background-color: #ecfdf5;
  color: #047857;
  font-size: 0.82rem;
  padding: 2px 6px;
  border-radius: 4px;
}

code {
  background-color: #f1f5f9;
  color: #e11d48;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.post-category {
  color: var(--primary);
  font-weight: 600;
}

.post-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.post-title a {
  color: var(--text-main);
}

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

.post-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.post-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 600;
}

/* FAQ Items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

/* Article & Page Layout */
.article-container, .page-container, .category-container, .archive-container {
  padding-top: 30px;
  padding-bottom: 60px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

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

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

.article-main, .page-main {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.article-header, .page-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.article-title, .page-title {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 14px;
}

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

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

/* Callouts */
.callout {
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
  border-left: 4px solid var(--primary);
  background-color: #f0f9ff;
}

.callout-title {
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
  color: #0369a1;
}

.callout-audience {
  border-left-color: #8b5cf6;
  background-color: #f5f3ff;
}

.callout-audience .callout-title {
  color: #6d28d9;
}

.callout-warning {
  border-left-color: #f59e0b;
  background-color: #fffbeb;
}

.callout-warning .callout-title {
  color: #b45309;
}

.callout ul, .callout ol {
  padding-left: 20px;
  font-size: 0.92rem;
  color: #334155;
}

/* Airport Hero Card in Post */
.airport-hero-card {
  border: 2px solid #38bdf8;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  padding: 24px;
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}

.airport-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0f2fe;
  padding-bottom: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.airport-id-badge {
  background-color: var(--primary);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 8px;
}

.airport-hero-title h2 {
  font-size: 1.35rem;
  font-weight: 700;
  display: inline;
}

.price-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #d97706;
}

.airport-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.info-cell .label {
  color: var(--text-muted);
  font-weight: 600;
}

.info-cell .value {
  color: var(--text-main);
  font-weight: 600;
}

.coupon-code {
  font-size: 1.05rem;
  color: #b91c1c;
  background-color: #fee2e2;
  padding: 2px 8px;
}

.cta-note {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 6px;
}

/* TOC Box */
.article-toc-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 24px 0;
}

.toc-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #334155;
}

.toc-list {
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Markdown Content Styling */
.markdown-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #1e293b;
}

.markdown-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  color: #0f172a;
}

.markdown-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #1e293b;
}

.markdown-body p {
  margin-bottom: 16px;
}

.markdown-body ul, .markdown-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.markdown-body li {
  margin-bottom: 6px;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}

.markdown-body th, .markdown-body td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
}

.markdown-body th {
  background-color: #f8fafc;
  font-weight: 700;
}

/* Hub Return Box */
.hub-return-box {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
  border: 1px solid #7dd3fc;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
}

.hub-return-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hub-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 4px;
}

.hub-text p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
}

/* Related Posts */
.related-posts {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.related-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.related-card {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.related-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.related-date {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 50px 0 24px;
  font-size: 0.88rem;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748b;
}

.footer-disclosure p {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav.nav-open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-search {
    width: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .article-main, .page-main {
    padding: 20px 18px;
  }

  .article-title, .page-title {
    font-size: 1.45rem;
  }

  .header-search {
    display: none; /* Hide header search on tiny screens, show in mobile nav if needed or tap search */
  }

  .search-dropdown {
    width: 280px;
    right: -20px;
  }
}

/* === 机场推荐长文专属布局与侧边栏样式 === */
.recommend-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
  margin-top: 24px;
}

.recommend-main-article {
  min-width: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.recommend-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}

.sticky-sidebar-inner {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.sidebar-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.sidebar-tag {
  font-size: 0.72rem;
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.sidebar-toc {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-toc::-webkit-scrollbar {
  width: 5px;
}

.sidebar-toc::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.sidebar-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-link {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #334155;
  transition: all 0.15s;
  text-decoration: none;
  gap: 6px;
}

.toc-link:hover {
  background-color: #f1f5f9;
  color: var(--primary);
  transform: translateX(2px);
}

.toc-top-pick {
  background-color: #fef2f2;
  color: #b91c1c;
  font-weight: 700;
  border-left: 3px solid #ef4444;
}

.toc-rank {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  min-width: 24px;
}

.toc-top-pick .toc-rank {
  color: #ef4444;
}

.toc-name {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-hot {
  font-size: 0.68rem;
  background-color: #fee2e2;
  color: #dc2626;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.badge-recom {
  font-size: 0.68rem;
  background-color: #e0f2fe;
  color: #0284c7;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

/* Sidebar 全球云高转化卡片 */
.sidebar-cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.cta-card-badge {
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.cta-card-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 8px;
}

.cta-card-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
}

.cta-card-coupon code {
  color: #f87171;
  font-weight: 700;
  background: transparent;
  padding: 0;
}

/* 呼吸微动效 */
.btn-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* 全球云在所有文章中的第一位超级吸引力框 */
.qq-super-featured {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 2px solid #0284c7;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 26px 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
  position: relative;
}

.qq-super-featured .badge-top-one {
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

.qq-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.qq-featured-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0369a1;
  margin: 0;
}

.qq-featured-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #b45309;
}

.qq-featured-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.qq-tag {
  background-color: #ffffff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.qq-featured-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 16px;
}

.qq-featured-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 文章中嵌入的 4-6 家机场推荐列表模块 */
.article-curated-airports {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}

.curated-entry {
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 0;
}

.curated-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.curated-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}

.curated-entry-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.curated-entry-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d97706;
}

.curated-entry-body {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 10px;
}

.curated-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 992px) {
  .recommend-layout {
    grid-template-columns: 1fr;
  }
  .recommend-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 24px;
  }
}

/* 全球云官方王牌推荐横幅 (Banner) */
.qq-banner {
  margin: 22px 0 28px 0;
  padding: 22px 26px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 55%, #075985 100%);
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.45);
  position: relative;
  overflow: hidden;
}

.qq-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.qq-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.qq-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fef08a;
  border: 1px solid rgba(254, 240, 138, 0.45);
}

.qq-banner-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 6px;
}

.qq-banner-title {
  margin: 0 0 10px 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qq-banner-desc {
  font-size: 0.94rem;
  line-height: 1.68;
  color: #e0f2fe;
  margin: 0 0 14px 0;
}

.qq-banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.qq-banner-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.qq-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.qq-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
  transition: all 0.2s ease;
}

.qq-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.55);
  filter: brightness(1.08);
}

.qq-banner-coupon-tip {
  font-size: 0.9rem;
  color: #fef08a;
  font-weight: 600;
}

