/* 赔钱机场对比 - Modern Clean Light Theme (高对比度 / 亮色清爽专业风格) */
:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --border-dark: #cbd5e1;
  --border-glow: #38bdf8;
  --text-primary: #0f172a;    /* 极高对比度纯深黑，阅读最舒适 */
  --text-secondary: #334155;  /* 次级文本，清晰深灰蓝 */
  --text-muted: #64748b;      /* 辅助提示文本 */
  --accent-cyan: #0284c7;     /* 专业海蓝 */
  --accent-blue: #2563eb;     /* 科技蓝 */
  --accent-amber: #d97706;    /* 金橙色（用于价格与高亮） */
  --accent-emerald: #059669;  /* 成功绿 */
  --accent-rose: #e11d48;     /* 警示红 */
  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #d97706 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-word;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #0284c7, #2563eb, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav.main-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: #0284c7;
  background: #f1f5f9;
}
nav.main-nav a.highlight-nav {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0369a1;
  font-weight: 700;
}
nav.main-nav a.highlight-nav:hover {
  background: #bae6fd;
  border-color: #38bdf8;
}

/* Header Search */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-dark);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.search-btn:hover {
  background: #e2e8f0;
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}
.search-btn kbd {
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 48px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  border-radius: 9999px;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  color: #0f172a;
}
.hero p.lead {
  font-size: 1.1rem;
  color: #334155;
  max-width: 820px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: #475569;
  font-weight: 500;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* CTA Group */
.cta-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  text-decoration: none;
  color: #ffffff;
}
.btn-secondary {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  color: #0f172a;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  text-decoration: none;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

/* Cards & Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
  margin: 30px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.card-price {
  text-align: right;
}
.price-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-amber);
}
.price-period {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--border-color);
}
.badge-cyan {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}
.badge-amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.badge-featured {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-weight: 800;
  border: none;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.card-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.65;
}
.spec-list {
  list-style: none;
  margin: 14px 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--border-color);
}
.spec-list li:last-child {
  border-bottom: none;
}
.spec-label {
  color: var(--text-muted);
}
.spec-val {
  color: var(--text-primary);
  font-weight: 600;
}

/* Coupon Box */
.coupon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffbeb;
  border: 1.5px dashed #fcd34d;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
}
.coupon-code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 800;
  color: #b45309;
  font-size: 0.98rem;
}
.copy-btn {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover {
  background: #f59e0b;
  color: #ffffff;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
table.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}
table.comp-table th {
  background: #f1f5f9;
  padding: 14px 16px;
  color: #0f172a;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
table.comp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: #334155;
  font-weight: 500;
}
table.comp-table tr:hover td {
  background: #f8fafc;
}
table.comp-table tr.row-featured {
  background: #f0fdf4 !important;
  border-left: 4px solid #059669;
}
table.comp-table tr.row-featured td {
  color: #0f172a !important;
  font-weight: 600;
}

/* ====== 图2: 单行展开文章式资料卡 (完全重构 · 白底清爽 · 宽敞易读) ====== */
.airport-article-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 28px 0;
}
.airport-article-item {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.airport-article-item:hover {
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.airport-article-item.highlight-top {
  border: 2px solid #0284c7;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.15);
}
.article-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}
.article-item-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.article-item-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  font-weight: 800;
  font-size: 0.9rem;
  color: #0f172a;
}
.article-item-rank.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}
.article-item-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}
.article-item-name:hover {
  color: #0284c7;
}
.article-item-price-wrap {
  text-align: right;
}
.article-item-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-amber);
}
.article-item-traffic {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.article-item-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .article-item-body {
    grid-template-columns: 1fr;
  }
}
.article-item-desc {
  font-size: 0.98rem;
  color: #1e293b;
  line-height: 1.75;
}
.article-item-plans {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.article-item-plans-title {
  font-size: 0.85rem;
  color: var(--accent-amber);
  font-weight: 800;
  margin-bottom: 8px;
}
.article-item-plans ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-item-plans li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: #334155;
  border-bottom: 1px dashed var(--border-color);
}
.article-item-plans li:last-child {
  border-bottom: none;
}
.article-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* ====== 图3: 机场对比索引列表 (/airport-compare/) ====== */
.compare-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px; /* 所有机场之间都有空行 */
  margin: 28px 0;
}
.compare-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  flex-wrap: wrap;
  gap: 16px;
}
.compare-list-card:hover {
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.compare-list-card.highlight-top {
  border: 2px solid #0284c7;
  background: #f0f9ff;
}
.compare-info-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left; /* 文字全部左边对齐 */
}
.compare-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.compare-meta-row {
  font-size: 0.92rem;
  color: #1e293b; /* 彻底清除模糊浅灰，变为深色高清晰文本 */
  font-weight: 600;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.compare-desc-row {
  font-size: 0.88rem;
  color: #334155; /* 纯净深灰蓝，阅读清晰 */
  line-height: 1.5;
  max-width: 780px;
}

/* ====== 图4: 套餐对比多维筛选系统 (/plan-compare/) ====== */
/* 大个、清晰、容易点击操作 */
.plan-filter-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 110px;
  padding-top: 8px;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 间距拉开 */
  flex: 1;
}
/* 大按钮样式 */
.filter-pill {
  background: #f8fafc;
  border: 1.5px solid var(--border-dark);
  color: #1e293b;
  padding: 9px 18px; /* 大号 padding，极易触控 */
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.filter-pill:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}
.filter-pill.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff !important;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.filter-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

/* Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  color: #334155;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover, .tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item.active {
  border-color: #0284c7;
  box-shadow: var(--shadow-md);
}
.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-question:hover {
  color: #0284c7;
}
.faq-icon {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
  color: #64748b;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #0284c7;
}
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.75;
  border-top: 1px solid var(--border-color);
}
.faq-item.active .faq-answer {
  display: block;
}

/* Modal Search */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-modal-backdrop.open {
  display: flex;
}
.search-modal {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 680px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}
.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}
.search-modal-header input {
  flex: 1;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 600;
  outline: none;
}
.close-modal {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.5rem;
  cursor: pointer;
}
.search-results {
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-result-item {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  display: block;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
}
.search-result-item:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  text-decoration: none;
}
.search-res-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.search-res-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Detail Article Container */
.article-container {
  max-width: 920px;
  margin: 30px auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.article-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}
.article-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0284c7;
  margin: 20px 0 10px;
}
.article-content p {
  color: #1e293b;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}
.article-content ul, .article-content ol {
  color: #1e293b;
  margin: 0 0 18px 24px;
  font-size: 0.98rem;
  line-height: 1.7;
}
.article-content li {
  margin-bottom: 8px;
}

.notice-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-right: 1px solid #fde68a;
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.92rem;
  color: #92400e;
}

/* Footer */
footer.site-footer {
  margin-top: auto;
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  padding: 44px 0 28px;
  font-size: 0.88rem;
  color: #475569;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #0f172a;
  font-size: 0.98rem;
  margin-bottom: 14px;
  font-weight: 800;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #475569;
}
.footer-col a:hover {
  color: #0284c7;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Section styling */
section.page-section {
  padding: 36px 0;
}
.section-header {
  margin-bottom: 24px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.section-desc {
  color: #475569;
  font-size: 1rem;
}

/* ============================================================
   移动端全适配优化规范 (Mobile Responsive Design)
   覆盖 900px 平板横屏、768px 平板竖屏、480px / 360px 智能手机全机型
   ============================================================ */

/* 1. 平板与小屏幕 (<= 900px) */
@media (max-width: 900px) {
  /* 导航栏下拉抽屉 */
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    padding: 16px 20px;
    gap: 8px;
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
  }
  nav.main-nav.open {
    display: flex;
  }
  nav.main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: #1e293b;
    font-size: 0.98rem;
    font-weight: 700;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  nav.main-nav a:hover,
  nav.main-nav a.active {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #7dd3fc;
  }

  /* 汉堡按钮 */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    background: #f8fafc;
    color: #0f172a;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  .mobile-toggle:hover {
    background: #e2e8f0;
  }

  /* 大表滑动指示器 */
  .table-wrapper {
    position: relative;
    border-radius: var(--radius-md);
  }
  .table-wrapper::before {
    content: '👈 左右滑动查看完整 8 列参数大表 👉';
    display: block;
    background: #eff6ff;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px dashed #bfdbfe;
  }

  /* 通用网格转单列 */
  .grid-cards {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* 2. 智能手机横竖屏与中小型设备 (<= 768px) */
@media (max-width: 768px) {
  /* 页面容器内边距适配 */
  .container {
    padding: 0 16px;
  }

  /* 头部区域 */
  header.site-header {
    padding: 10px 0;
  }
  .brand-logo img {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .search-btn kbd {
    display: none;
  }

  /* Hero 首屏标题与元信息 */
  .hero {
    padding: 32px 0 24px;
  }
  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }
  .hero .lead {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }
  .hero-meta {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 20px;
  }
  .hero-meta span {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    font-size: 0.82rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
  }
  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .cta-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  /* 标签页横向滑动 */
  .filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    margin: 16px 0;
  }
  .filter-tabs::-webkit-scrollbar {
    height: 4px;
  }
  .filter-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.86rem;
    border-radius: 9999px;
  }

  /* 大表单元格紧凑适配 */
  table.comp-table {
    font-size: 0.84rem;
  }
  table.comp-table th,
  table.comp-table td {
    padding: 10px 12px;
  }

  /* ====== 图2: 单行文章式资料卡移动端适配 (/airport-recommend/) ====== */
  .airport-article-item {
    padding: 18px 16px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
  }
  .article-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .article-item-title-wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .article-item-name {
    font-size: 1.25rem;
  }
  .article-item-price-wrap {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    margin-top: 2px;
  }
  .article-item-price {
    font-size: 1.35rem;
  }
  .article-item-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .article-item-desc {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .article-item-plans {
    padding: 12px 14px;
  }
  .article-item-plans li {
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 4px;
  }
  .article-item-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .coupon-box {
    width: 100%;
    margin: 0;
    padding: 10px 14px;
  }
  .article-item-footer > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .article-item-footer .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 11px 16px;
    font-size: 0.92rem;
    font-weight: 700;
  }

  /* ====== 图3: 独立测评索引列表移动端适配 (/airport-compare/) ====== */
  .compare-list-wrap {
    gap: 16px;
  }
  .compare-list-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 18px 16px;
    gap: 14px;
    border-radius: var(--radius-md);
  }
  .compare-info-col {
    width: 100%;
  }
  .compare-top-row {
    width: 100%;
    gap: 8px;
    align-items: center;
  }
  .compare-top-row a {
    font-size: 1.2rem;
  }
  .compare-meta-row {
    flex-direction: column;
    gap: 5px;
    font-size: 0.88rem;
  }
  .compare-desc-row {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .compare-list-card > div:last-child {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    border-top: 1px solid var(--border-color) !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
  }
  .compare-list-card .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 11px 16px;
    font-size: 0.9rem;
    font-weight: 700;
  }

  /* ====== 图4: 多维筛选器移动端优化 (/plan-compare/) ====== */
  .plan-filter-card {
    padding: 18px 14px;
    margin: 16px 0;
    gap: 18px;
    border-radius: var(--radius-md);
  }
  .filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .filter-label {
    min-width: unset;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 800;
    padding-top: 0;
    border-left: 3px solid #0284c7;
    padding-left: 8px;
  }
  .filter-options {
    width: 100%;
    gap: 8px;
  }
  .filter-pill {
    padding: 8px 14px;
    font-size: 0.84rem;
    flex: 0 0 auto;
  }
  .filter-sort-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }
  #plan-sort-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.92rem;
    border-radius: 8px;
  }

  /* 测评单页适配 */
  .article-container {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }
  .airport-quick-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .article-content h1 {
    font-size: 1.45rem;
    line-height: 1.35;
  }
  .article-content h2 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
  }
  .article-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* FAQ 折叠项 */
  .faq-item {
    margin-bottom: 12px;
    border-radius: 8px;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .faq-answer {
    padding: 0 16px 16px;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* 页脚 */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  footer.site-footer {
    padding: 32px 0 20px;
  }
}

/* 3. 超紧凑小屏机型专用 (<= 480px, 如 iPhone SE / 小型 Android) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .brand-sub {
    display: none;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .search-btn span {
    display: none;
  }
  .search-btn {
    padding: 8px 10px;
    border-radius: 8px;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .section-desc {
    font-size: 0.9rem;
  }

  /* 搜索浮层移动端贴合 */
  .search-modal {
    width: 95% !important;
    max-width: 95% !important;
    margin: 12px auto !important;
    max-height: 85vh;
    border-radius: 12px;
  }
  .search-modal-header {
    padding: 12px 14px;
  }
  #site-search-input {
    font-size: 0.95rem;
  }
  .search-results {
    max-height: calc(85vh - 65px);
    padding: 8px;
  }
  .search-result-item {
    padding: 10px 12px;
  }

  /* 筛选按钮在小屏上的流式折行 */
  .filter-pill {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

