/* ==========================================================================
   custom.css - 针对大前端 DUX 主题的现代化功能与视觉增强
   ========================================================================== */

:root {
  --theme-color: #007bff;
  --theme-color-hover: #0056b3;
  --theme-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局排版与平滑滚动 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0 !important;
}

/* 隐藏旧版固定左上角汉堡图标，改由现代页眉自带的汉堡按钮接管 */
.m-icon-nav {
  display: none !important;
}

/* 顶部品牌与搜索框美化 */
.header .logo a {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.header .brand {
  font-size: 12px;
  line-height: 1.5;
  color: #888;
  margin-top: 4px;
}

/* 搜索栏下拉动画 */
.site-search {
  display: none;
  background: #fdfdfd;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: fadeInDown 0.3s ease;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-search-form {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.site-search-form .search-input {
  width: 100%;
  height: 44px;
  padding: 8px 50px 8px 18px;
  font-size: 15px;
  border: 2px solid #007bff;
  border-radius: 22px;
  outline: none;
  box-sizing: border-box;
  background-color: #fff;
  transition: var(--theme-transition);
}

.site-search-form .search-btn {
  position: absolute;
  right: 5px;
  top: 4px;
  width: 36px;
  height: 36px;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--theme-transition);
}

.site-search-form .search-btn:hover {
  background: #0056b3;
}

/* 文章卡片悬浮与圆角微调 */
.excerpt {
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.excerpt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.excerpt .focus img {
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.excerpt:hover .focus img {
  transform: scale(1.03);
}

.sticky-icon {
  background-color: #ff5722 !important;
  color: #fff !important;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 600;
}

/* 侧边栏小工具优化 */
.widget {
  border-radius: 8px;
  overflow: hidden;
}

.widget h3 {
  font-weight: 700;
  border-left: none;
}

.widget_ui_tags .items a {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 4px 10px;
  background: #f4f5f7;
  color: #555;
  border-radius: 14px;
  font-size: 12px;
  text-decoration: none;
  transition: var(--theme-transition);
}

.widget_ui_tags .items a:hover {
  background: var(--theme-color);
  color: #fff;
  transform: translateY(-1px);
}

.widget_ui_posts ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget_ui_posts ul li:last-child {
  border-bottom: none;
}

.widget_ui_posts ul li .text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.widget_ui_posts ul li .muted {
  font-size: 12px;
  color: #999;
  margin-left: 10px;
}

/* 提示与引用样式增强 (DUX Alerts) */
.alert-box {
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.7;
}

.alert-info {
  background-color: #e8f4fd;
  border-left: 4px solid #1e88e5;
  color: #0d47a1;
}

.alert-warning {
  background-color: #fff8e1;
  border-left: 4px solid #ffb300;
  color: #b78103;
}

.alert-success {
  background-color: #e8f5e9;
  border-left: 4px solid #43a047;
  color: #1b5e20;
}

.alert-danger {
  background-color: #ffebee;
  border-left: 4px solid #e53935;
  color: #b71c1c;
}

/* 测评表格响应式美化与对齐 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border: 1px solid #e1e4e8;
  vertical-align: middle !important;
}

.data-table th {
  background-color: #f7f9fc;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tr:nth-child(even) {
  background-color: #fafbfc;
}

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

.badge-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-tag.fast {
  background-color: #e3f2fd;
  color: #1565c0;
}

.badge-tag.stable {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.badge-tag.cheap {
  background-color: #fff3e0;
  color: #ef6c00;
}

.btn-visit {
  display: inline-block;
  padding: 6px 14px;
  background-color: #007bff;
  color: #fff !important;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--theme-transition);
}

.btn-visit:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

/* 文章版权说明块 */
.post-copyright {
  background: #f9f9f9;
  border-left: 4px solid #007bff;
  padding: 12px 16px;
  margin: 24px 0;
  font-size: 13px;
  color: #666;
  border-radius: 0 6px 6px 0;
  line-height: 1.8;
}

.post-copyright a {
  color: #007bff;
  text-decoration: none;
}

/* 点赞按钮互动动效 */
.post-actions .action-like {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 24px;
  background: #f5f5f5;
  border-radius: 20px;
  color: #666;
  transition: var(--theme-transition);
  text-decoration: none;
}

.post-actions .action-like:hover,
.post-actions .action-like.actived {
  background: #ffebee;
  color: #e53935;
}

.post-actions .action-like.bounce {
  animation: heartPulse 0.4s ease;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* 返回顶部与浮动控制台 */
.rollto-box {
  position: fixed;
  right: 25px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rollto-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555;
  font-size: 18px;
  transition: var(--theme-transition);
  text-decoration: none;
}

.rollto-btn:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  transform: translateY(-2px);
}

.rollto-btn#btn-backtop {
  opacity: 0;
  visibility: hidden;
}

.rollto-btn#btn-backtop.show {
  opacity: 1;
  visibility: visible;
}

.rollto-btn .sun-icon {
  display: none;
}

.rollto-btn .moon-icon {
  display: block;
}

.darking .rollto-btn .sun-icon {
  display: block;
}

.darking .rollto-btn .moon-icon {
  display: none;
}

.darking .rollto-btn {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

/* 弹窗轻提示 (Toast) */
.toast-msg {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(33, 37, 41, 0.9);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 100000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: toastFade 0.3s ease;
}

@keyframes toastFade {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* 移动端汉堡菜单侧滑适配 */
@media (max-width: 768px) {
  .site-navbar.m-active {
    display: block !important;
    position: fixed;
    top: 50px;
    left: 0;
    width: 250px;
    height: calc(100vh - 50px);
    background: #fff;
    z-index: 99999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 15px 0;
    text-align: left;
  }

  .site-navbar.m-active > li {
    display: block !important;
    float: none;
    padding: 0 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .site-navbar.m-active > li > a {
    display: block;
    padding: 12px 0;
    color: #333;
    font-size: 15px;
  }

  .site-navbar.m-active .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    background: #fafafa;
  }

  .site-navbar.m-active .sub-menu li a {
    padding: 8px 0;
    font-size: 13px;
    color: #666;
  }
}


/* ==========================================================================
   机场推荐专题页样式 (Airport Recommendation Enhancement)
   ========================================================================== */

.airport-item-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ebebeb;
  padding: 24px;
  margin: 28px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: var(--theme-transition);
}

.airport-item-card:hover {
  border-color: #007bff;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.08);
}

.airport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f2f5f9;
}

.airport-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #222;
  display: flex;
  align-items: center;
  gap: 8px;
}

.airport-badge {
  background: #e3f2fd;
  color: #0d47a1;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.airport-price-tag {
  font-size: 18px;
  font-weight: 700;
  color: #ff5722;
}

.airport-price-tag small {
  font-size: 13px;
  color: #888;
  font-weight: normal;
}

.promo-code-wrap {
  display: inline-flex;
  align-items: center;
  background: #fff8e1;
  border: 1px dashed #ffa000;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: #b78103;
  margin: 8px 0;
}

.promo-code-wrap code {
  font-weight: bold;
  color: #e65100;
  margin: 0 6px;
  background: none;
  font-size: 14px;
}

.btn-copy-code {
  background: #ffa000;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  margin-left: 6px;
  transition: var(--theme-transition);
}

.btn-copy-code:hover {
  background: #e65100;
}

.airport-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-aff-main {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
  transition: var(--theme-transition);
}

.btn-aff-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.35);
}

.btn-aff-sub {
  background: #f4f5f7;
  color: #444 !important;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--theme-transition);
}

.btn-aff-sub:hover {
  background: #e5e7eb;
}


/* ==========================================================================
   品牌 Logo 与各机场 Logo 图标增强
   ========================================================================== */

.header .logo.logo-image a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 3px 10px rgba(6, 182, 212, 0.35));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header .logo.logo-image a:hover .site-brand-logo {
  transform: scale(1.08) rotate(-4deg);
}

.logo-text-wrap {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  letter-spacing: -0.3px;
}

.darking .logo-title {
  color: #f0f0f0;
}

.logo-sub {
  font-size: 10px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 1px;
  margin-top: 2px;
  text-transform: uppercase;
}

/* 机场卡片专属 Logo */
.airport-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.airport-item-card:hover .airport-avatar {
  transform: scale(1.06);
}

.table-airport-cell {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  vertical-align: middle;
}

.table-airport-logo {
  width: 32px;
  height: 32px;
  min-width: 32px;
  max-width: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  display: inline-block;
}

.table-airport-cell strong {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  line-height: 1;
}

.darking .table-airport-cell strong {
  color: #f0f0f0;
}

.excerpt-airport-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  display: inline-block;
  vertical-align: -4px;
  margin-right: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   全新现代感页眉重构 (Modern Header Redesign - 独立原创质感)
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 68px;
  padding: 0 !important;
  margin-bottom: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s ease;
}

.darking .header {
  background: rgba(15, 23, 42, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3) !important;
}

.header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  padding: 0 20px;
}

/* 隐藏旧版多行副标题标语与旧版浮动 */
.header .brand {
  display: none !important;
}

.header .logo {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header .logo.logo-image a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-brand-logo {
  width: 38px;
  height: 38px;
  min-width: 38px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 3px 10px rgba(37, 99, 235, 0.3));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header .logo a:hover .site-brand-logo {
  transform: scale(1.1) rotate(-5deg);
}

.brand-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
}

.darking .brand-name {
  color: #f8fafc;
}

.brand-highlight {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #0284c7;
  letter-spacing: 0.5px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.darking .brand-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

/* 中间胶囊导航菜单 */
.header-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.header-nav > li {
  position: relative;
}

.header-nav > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.darking .header-nav > li > a {
  color: #94a3b8;
}

.header-nav > li:hover > a {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.darking .header-nav > li:hover > a {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
}

.header-nav > li.active > a {
  background: #2563eb;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

/* 下拉菜单浮层 (Sub-menu) */
.header-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  min-width: 210px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  list-style: none;
  z-index: 1001;
  animation: navDropFade 0.18s ease forwards;
}

/* 关键：悬停桥接隐形层，消除按钮与下拉框之间的空白鼠标失焦断层 */
.header-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

.darking .header-nav .sub-menu {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@keyframes navDropFade {
  from {
    opacity: 0;
    transform: translate(-50%, 4px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.header-nav li:hover .sub-menu,
.header-nav li.is-open .sub-menu {
  display: block;
}

.header-nav .sub-menu li a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.darking .header-nav .sub-menu li a {
  color: #cbd5e1;
}

.header-nav .sub-menu li a:hover {
  background: #f1f5f9;
  color: #2563eb;
  transform: translateX(3px);
}

.darking .header-nav .sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
}

/* 右侧操作区：搜索胶囊 + 暗黑切换 + CTA 按钮 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid transparent;
  padding: 7px 14px;
  border-radius: 20px;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.darking .header-search-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.header-search-pill:hover {
  background: #fff;
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.darking .header-search-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #38bdf8;
  color: #38bdf8;
}

.header-search-pill kbd {
  font-family: inherit;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: #94a3b8;
}

.darking .header-search-pill kbd {
  background: rgba(255, 255, 255, 0.1);
}

.header-theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

.header-theme-btn:hover {
  background: #fff;
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.darking .header-theme-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.darking .header-theme-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

.header-theme-btn .theme-icon {
  display: block;
  transition: transform 0.3s ease;
}

.header-theme-btn:hover .theme-icon {
  transform: rotate(25deg);
}

.header-theme-btn .sun-icon {
  display: none;
}

.header-theme-btn .moon-icon {
  display: block;
}

.darking .header-theme-btn .sun-icon {
  display: block;
}

.darking .header-theme-btn .moon-icon {
  display: none;
}

/* 移动端汉堡按钮优化 */
.m-nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #334155;
  transition: all 0.2s ease;
}

.darking .m-nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

@media (max-width: 960px) {
  .header-nav {
    display: none !important;
  }
  .header-nav.m-active {
    display: block !important;
    position: fixed;
    top: 68px;
    left: 0;
    width: 280px;
    height: calc(100vh - 68px);
    background: #fff;
    z-index: 99999;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    padding: 16px 0;
    text-align: left;
    border-right: 1px solid #e2e8f0;
    animation: drawerSlide 0.25s ease forwards;
  }
  .darking .header-nav.m-active {
    background: #0f172a;
    border-right-color: rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  }
  .header-nav.m-active > li {
    display: block !important;
    float: none;
    padding: 0 16px;
    margin-bottom: 4px;
  }
  .header-nav.m-active > li > a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
  }
  .darking .header-nav.m-active > li > a {
    color: #cbd5e1;
  }
  .header-nav.m-active > li > a:hover,
  .header-nav.m-active > li.active > a {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
  }
  .darking .header-nav.m-active > li > a:hover,
  .darking .header-nav.m-active > li.active > a {
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
  }
  .header-nav.m-active .sub-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 20px;
    background: transparent !important;
    opacity: 1 !important;
  }
  .header-nav.m-active .sub-menu li a {
    padding: 6px 12px;
    font-size: 13px;
    color: #64748b;
  }
  .darking .header-nav.m-active .sub-menu li a {
    color: #94a3b8;
  }
  .header-search-pill span,
  .header-search-pill kbd {
    display: none;
  }
  .header-search-pill {
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  .m-nav-toggle {
    display: flex !important;
  }
}

@keyframes drawerSlide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 600px) {
  .header {
    height: 60px;
  }
  .header-nav.m-active {
    top: 60px;
    height: calc(100vh - 60px);
  }
  .brand-badge {
    display: none;
  }
}

/* 移动端侧滑抽屉增强 */
.m-sidebar-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 100000;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.darking .m-sidebar-drawer {
  background: #0f172a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.m-sidebar-drawer.active {
  left: 0;
}

.m-drawer-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.darking .m-drawer-header {
  border-color: rgba(255, 255, 255, 0.08);
}

.m-drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #64748b;
}

.m-drawer-menu {
  list-style: none;
  padding: 15px 0;
  margin: 0;
}

.m-drawer-menu li a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
}

.darking .m-drawer-menu li a {
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.05);
}

.m-drawer-menu li a:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.darking .m-drawer-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #38bdf8;
}


/* ==========================================================================
   紧急修复：修复 Logo 图标被父级容器 overflow:hidden 与固定 height 截断遮挡问题
   ========================================================================== */
.header .logo,
.header .logo.logo-image,
.logo,
.logo.logo-image {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header .logo a,
.header .logo.logo-image a,
.logo a {
  height: auto !important;
  min-height: 44px !important;
  max-height: none !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  line-height: normal !important;
}

.site-brand-logo,
.header .logo a img.site-brand-logo,
.header .logo.logo-image a img.site-brand-logo {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.brand-text-group {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   首页全宽 FAQ 常见问题答疑模块 (Home Page FAQ Accordion)
   ========================================================================== */
.faq-section {
  margin-top: 30px;
  margin-bottom: 35px;
}

.faq-card-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.darking .faq-card-box {
  background: #14181b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.faq-header {
  text-align: center;
  margin-bottom: 28px;
}

.faq-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #0284c7;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.darking .faq-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #38bdf8;
}

.faq-title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.darking .faq-title {
  color: #f8fafc;
}

.faq-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.darking .faq-subtitle {
  color: #94a3b8;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
  transition: all 0.25s ease;
}

.darking .faq-item {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.07);
}

.faq-item.active {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.darking .faq-item.active {
  background: rgba(37, 99, 235, 0.08);
  border-color: #38bdf8;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.faq-q-num {
  font-size: 13px;
  font-weight: 800;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.darking .faq-q-num {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
  border: none !important;
  padding: 0 !important;
}

.darking .faq-question h3 {
  color: #f1f5f9;
}

.faq-question h3::before {
  display: none !important;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #64748b;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: #2563eb;
}

.darking .faq-item.active .faq-toggle-icon {
  color: #38bdf8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  border-top: 1px dashed #e2e8f0;
  padding-top: 14px;
}

.darking .faq-answer p {
  color: #94a3b8;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.faq-answer strong {
  color: #0f172a;
}

.darking .faq-answer strong {
  color: #f8fafc;
}

.faq-answer a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
}

.darking .faq-answer a {
  color: #38bdf8;
}

@media (max-width: 768px) {
  .faq-card-box {
    padding: 24px 16px;
  }
  .faq-title {
    font-size: 20px;
  }
  .faq-question {
    padding: 14px 14px;
  }
  .faq-question h3 {
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 14px;
  }
  .faq-item.active .faq-answer {
    padding: 0 14px 16px 14px;
  }
}

/* ==========================================================================
   修复：手机端抽屉菜单被推出屏幕、并被灰色遮罩盖住
   原因：dux.css 的旧规则在 body.m-nav-show 时把 body 和 .header 右移 240px；
   同时 .header 的 backdrop-filter + z-index:999 把抽屉菜单困在遮罩(99998)下面。
   ========================================================================== */
@media (max-width: 960px) {
  body.m-nav-show {
    left: 0 !important;
  }
  .m-nav-show .header {
    left: 0 !important;
    margin-right: 0 !important;
    z-index: 100000 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* 修复：手机端「机场Go」文字被挤成竖排（文字区域被压缩到约 26px 宽） */
.header .logo,
.header .logo a,
.brand-text-group {
  flex-shrink: 0 !important;
}
.brand-name,
.brand-badge {
  white-space: nowrap !important;
}

/* 首页主标题区 */
.home-intro {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 16px;
  border-left: 4px solid #2563eb;
}
.home-intro h1 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #1e293b;
  line-height: 1.4;
}
.home-intro p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}
.darking .home-intro { background: #1e293b; }
.darking .home-intro h1 { color: #f1f5f9; }
.darking .home-intro p { color: #94a3b8; }
.home-intro a { color: #2563eb; font-weight: 600; }
.darking .home-intro a { color: #38bdf8; }
@media (max-width: 600px) {
  .home-intro { padding: 14px 16px; }
  .home-intro h1 { font-size: 17px; }
}

/* 首页「热门搜索主题」 */
.hot-topics {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px 20px;
  margin-bottom: 16px;
}
.hot-topics-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #1e293b;
}
.hot-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.topic-card strong {
  font-size: 14px;
  color: #1e293b;
  line-height: 1.4;
}
.topic-card span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
.topic-card:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}
.topic-card:hover strong { color: #2563eb; }
.darking .hot-topics { background: #1e293b; }
.darking .hot-topics-title { color: #f1f5f9; }
.darking .topic-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.darking .topic-card strong { color: #e2e8f0; }
.darking .topic-card span { color: #94a3b8; }
.darking .topic-card:hover { border-color: #38bdf8; }
.darking .topic-card:hover strong { color: #38bdf8; }
@media (max-width: 1100px) {
  .hot-topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hot-topics { padding: 14px 14px 16px; }
  .hot-topics-grid { gap: 8px; }
  .topic-card { padding: 10px 12px; }
}
