/* ==========================================================================
   机场推荐参考站 (jichang-tuijian.blog) - 核心样式表
   视觉定位：浅色预算选刊。豆沙灰外底、白色阅读面、深棕标题、墨绿规则字段
   ========================================================================== */

:root {
  --bg-taupe: #F2EFE9;          /* 豆沙灰外底 */
  --bg-surface: #FCFAF7;        /* 柔和白阅读面 */
  --bg-card: #FFFFFF;           /* 卡片白 */
  --border-light: #E2DDD5;      /* 浅灰边框 */
  --border-rule: #D1C9BD;       /* 分割线 */
  
  --text-title: #382A1E;        /* 深棕标题 */
  --text-body: #4A423A;         /* 暖墨黑正文 */
  --text-muted: #756D63;        /* 次要说明文字 */
  
  --accent-moss: #244133;       /* 墨绿主色/规则字段 */
  --accent-moss-hover: #172D23; /* 墨绿悬停 */
  --accent-moss-light: #EBF2EE; /* 浅墨绿底色 */
  --accent-moss-border: #BCD1C6;/* 浅墨绿边框 */
  
  --accent-warn-bg: #FCF5EB;    /* 暖橙警示/待核验底色 */
  --accent-warn-text: #825816;  /* 暖橙警示文字 */
  --accent-warn-border: #E8D3B2;/* 暖橙边框 */

  --accent-code-bg: #F4EFEB;    /* 优惠码背景 */
  --accent-gold: #B88939;       /* 重点金棕 */

  --font-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(56, 42, 30, 0.05);
  --shadow-md: 0 4px 16px rgba(56, 42, 30, 0.07);
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* 锚点跳转让目标标题停在固定导航下方，额外保留约 24px 空间 */
  overflow-x: hidden;
  max-width: 100vw;
}

/* 锚点精准定位与固定导航防遮挡 (兼容各版本 Safari/WebKit 与 Blink) */
[id] {
  scroll-margin-top: 96px;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-taupe);
  color: var(--text-body);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* 所有带锚点跳转的目标元素留白 */
[id],
h2[id],
h3[id],
section[id],
.airport-article-entry,
.content-block[id] {
  scroll-margin-top: 96px; /* 目标标题停在导航下方，额外保留约 24px 空间 */
}

a {
  color: var(--accent-moss);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-moss-hover);
}

/* ==========================================================================
   页面整体居中与安全边距容器规范
   桌面端最大宽度 1440px，两侧至少保留 32px 安全边距，宽屏下外侧留白自然增加
   ========================================================================== */
.container,
.header-container,
.header-inner,
.layout-container,
.page-container,
.footer-container,
.footer-inner,
.footer-bottom {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* 顶部全站固定导航 */
.site-header {
  background-color: rgba(252, 250, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
}

.header-container,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: block;
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.main-nav a {
  color: var(--text-title);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-moss);
  background-color: var(--accent-moss-light);
}

/* 页眉右侧搜索框 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 0.5rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-trigger-btn:hover {
  border-color: var(--accent-moss);
  color: var(--accent-moss);
  box-shadow: var(--shadow-sm);
}

.search-trigger-btn kbd {
  background-color: var(--bg-taupe);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   页面上下空间规范：
   主内容与顶部导航之间留出约 40—48px (设为 44px)
   页面主体底部保留约 64px
   ========================================================================== */
.layout-container,
.site-main,
.page-container {
  margin-top: 44px;
  margin-bottom: 64px;
}

/* 核心阅读卡片表面 (全站通用主内容卡片) */
.reading-surface,
.page-container {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 6px 32px rgba(56, 42, 30, 0.05);
}

/* ==========================================================================
   正文与侧栏协同布局规范
   桌面端正文与右侧栏间隔约 32px，右侧栏宽度约 300—320px，正文使用剩余空间
   侧栏卡片之间保持 24px 间距，侧栏吸顶时顶部与固定导航保持 24px 距离
   宽度不足时侧栏移到正文下方，保证表格与正文最大可读性
   ========================================================================== */
.layout-with-sidebar,
.main-with-sidebar {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.main-content-area,
.content-main {
  flex: 1;
  min-width: 0; /* 防止子元素撑破 Flex 布局 */
}

.sidebar-area,
.sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-area.is-sticky,
.sidebar-card.is-sticky {
  position: sticky;
  top: 96px; /* 72px 导航 + 24px 留白间距 */
  z-index: 10;
}

.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(56, 42, 30, 0.04);
}

/* 面包屑导航 */
.breadcrumbs,
.breadcrumb {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

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

.breadcrumbs a:hover,
.breadcrumb a:hover {
  color: var(--accent-moss);
  text-decoration: underline;
}

.breadcrumbs span.sep,
.breadcrumb-separator {
  color: var(--border-rule);
}

.breadcrumbs span.current,
.breadcrumb-current {
  color: var(--text-title);
  font-weight: 600;
}

/* 排版与标题层级规范：大标题与说明约 16px，说明与表格/下级模块约 24px */
.page-header {
  margin-bottom: 24px;
}

h1.page-title {
  color: var(--text-title);
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;          /* 标题与说明保持约 16px 留白 */
  letter-spacing: -0.01em;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 24px;          /* 说明与下方表格/内容保持约 24px 留白 */
}

.title-chunk {
  display: inline;
  white-space: nowrap;
}

h2.section-title {
  color: var(--text-title);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-light);
}

h3.sub-title {
  color: var(--text-title);
  font-size: 1.22rem;
  font-weight: 700;
  margin-top: 1.85rem;
  margin-bottom: 0.85rem;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* 首段导读与适合人群卡片 */
.lead-paragraph {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-title);
  background-color: var(--bg-card);
  border-left: 5px solid var(--accent-moss);
  padding: 1.15rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.85rem;
}

.lead-paragraph strong {
  white-space: nowrap;
}

.audience-card {
  background-color: #FAF8F4;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.75rem;
  margin-bottom: 2rem;
  font-size: 0.96rem;
}

.audience-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audience-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 2rem;
}

.audience-list li {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  position: relative;
  padding-left: 1.85rem;
  display: block;
}

.audience-list li::before {
  content: "✔";
  color: var(--accent-moss);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.audience-list li strong {
  white-space: nowrap;          /* 保证标签文字绝不折行拆字，始终单行并行 */
  color: var(--text-title);
  display: inline;
}

/* 目录 (TOC) 样式 - 优化确保图1中所有28个按钮尺寸一致、对齐整齐 */
.toc-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem 2.2rem;
  margin-bottom: 3.25rem;
}

.toc-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 1.15rem;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-grid li {
  display: flex;
  margin: 0;
  padding: 0;
}

.toc-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 52px;                 /* 严格统一等高 */
  min-height: 52px;
  max-height: 52px;
  box-sizing: border-box;
  white-space: nowrap;          /* 单行显示，防止两行导致的错落参差 */
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.75rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  text-decoration: none;
  transition: all 0.2s ease;
}

.toc-grid a:hover {
  background-color: var(--accent-moss-light);
  color: var(--accent-moss);
  border-color: var(--accent-moss-border);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* 二毛风格文章化机场条目排版 (非机械资料卡，纯正长文流) */
.airport-article-entry {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 85px;
}

.airport-article-entry:last-of-type {
  border-bottom: none;
}

.airport-article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.airport-article-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-title);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.airport-seq-badge {
  background-color: var(--accent-moss);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
}

.airport-article-meta {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* 标准数据表格 (价格与套餐) */
.specs-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;              /* 说明与表格约 24px */
  margin-bottom: 24px;
  font-size: 0.94rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.specs-table th,
.data-table th {
  background-color: #F5F1EB;
  color: var(--text-title);
  font-weight: 700;
  text-align: left;
  padding: 13px 16px;           /* 单元格上下内边距约 12—14px，左右约 16px */
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;          /* 表头文字统一单行并行 */
  line-height: 1.6;
}

.specs-table td,
.data-table td {
  padding: 13px 16px;           /* 单元格上下内边距约 12—14px，左右约 16px */
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  line-height: 1.65;
  word-break: break-word;       /* 保持正常字体大小，让长文本合理换行 */
}

/* 窄屏表格使用局部横向滚动，避免撑宽整个页面 */
.table-responsive,
.specs-table-wrapper,
div[style*="overflow-x: auto"] {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
}

.specs-table td strong {
  white-space: nowrap;          /* 价格加粗文字保持单行并行 */
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover {
  background-color: var(--bg-surface);
}

/* 文章提示框与避坑提示 */
.article-callout {
  background-color: #FAF6F0;
  border-left: 5px solid var(--accent-gold);
  padding: 1.35rem 1.65rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 1.05rem;
}

.article-callout h5 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.55rem;
}

/* 按钮操作栏 */
.airport-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px dashed var(--border-light);
}

.btn-cta {
  background-color: var(--accent-moss);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;          /* 保证按钮文字单行并行 */
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(36, 65, 51, 0.28);
}

.btn-cta:hover {
  background-color: var(--accent-moss-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-review-link {
  color: var(--accent-moss);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid var(--accent-moss-border);
  background-color: var(--accent-moss-light);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;          /* 保证按钮文字单行并行，严禁拆字折行 */
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-review-link:hover {
  background-color: var(--accent-moss);
  color: #FFFFFF;
}

/* 优惠码模块 */
.coupon-box {
  background-color: var(--accent-code-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 1.15rem 0;
  font-size: 0.98rem;
  white-space: nowrap;          /* 优惠码横向并行排版 */
}

.coupon-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-moss);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.coupon-status {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* 状态标签 */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 12px;
  white-space: nowrap;          /* 状态标签文字并行，避免折行挤压 */
  flex-shrink: 0;
}

.status-verified {
  background-color: var(--accent-moss-light);
  color: var(--accent-moss);
  border: 1px solid var(--accent-moss-border);
}

.status-unverified {
  background-color: var(--accent-warn-bg);
  color: var(--accent-warn-text);
  border: 1px solid var(--accent-warn-border);
}

/* 机场测评大厅网格 */
.review-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.review-hub-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-moss-border);
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.review-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-title);
  margin: 0;
  white-space: nowrap;          /* 序号与机场名并行 */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-card-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.15rem;
  flex: 1;
}

.review-card-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
}

.review-card-meta span {
  font-size: 0.9rem;
  white-space: nowrap;          /* 起步门槛与价格并行 */
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.review-card-meta .btn-review-link {
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;     /* 适度紧凑，确保与价格并排无挤压、绝不折行 */
  white-space: nowrap;
  flex-shrink: 0;
}

/* 检查清单 */
.checklist-box {
  background-color: #FAF8F4;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.45rem;
  margin: 1.5rem 0;
  font-size: 0.96rem;
}

.checklist-box ol, .checklist-box ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.checklist-box li {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

/* 首页核心导航文章预告卡片组 */
.nav-preview-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 52px 0;               /* 大模块之间保持 48—64px 间距 */
}

.nav-preview-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;           /* 导航预告卡内部边距约 24—28px */
  box-shadow: 0 3px 14px rgba(56, 42, 30, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.content-block {
  margin-top: 52px;              /* 大模块之间保持 48—64px 间距 */
  margin-bottom: 52px;
}

.content-block > h2 {
  margin-bottom: 16px;          /* 标题与说明约 16px */
}

.nav-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 42, 30, 0.08);
  border-color: var(--accent-moss-border);
}

.nav-preview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.nav-preview-tag {
  background-color: var(--accent-moss-light);
  color: var(--accent-moss);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--accent-moss-border);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-preview-meta {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-preview-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.95rem;
  line-height: 1.35;
}

.nav-preview-title a {
  color: var(--text-title);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-preview-title a:hover {
  color: var(--accent-moss);
}

.nav-preview-summary {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.35rem;
}

.nav-preview-highlights {
  background-color: #FAF8F4;
  border-left: 5px solid var(--accent-moss);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.6rem;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.nav-preview-highlights h5 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.65rem;
}

.nav-preview-highlights ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 2rem;
}

.nav-preview-highlights li {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  position: relative;
  padding-left: 1.75rem;
  display: block;
}

.nav-preview-highlights li::before {
  content: "✔";
  color: var(--accent-moss);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.nav-preview-highlights li strong {
  white-space: nowrap;          /* 预告重点标签文字单行并行 */
  color: var(--text-title);
  display: inline;
}

.nav-preview-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px dashed var(--border-light);
}

/* 首页三步指引卡片组 */
.guide-three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.75rem 0 2.25rem;
}

.guide-step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-step-card .step-num {
  font-size: 0.88rem;
  color: var(--accent-moss);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.guide-step-card h3 {
  font-size: 1.35rem;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.guide-step-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.2rem;
  flex: 1;
}

.guide-step-card a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-moss);
  text-decoration: none;
}

.guide-step-card a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .guide-three-cards {
    grid-template-columns: 1fr;
  }
}

/* FAQ 模块展示 */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.faq-answer {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.85;
}

/* 全站页脚 */
.site-footer {
  background-color: #ECE7DF;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 5rem;
  padding: 4rem 1.75rem 3rem;
}

.footer-container {
  width: 94%;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h4, .footer-links h4 {
  font-size: 1.15rem;
  color: var(--text-title);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-moss);
}

.footer-bottom {
  width: 94%;
  max-width: 1480px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 客户端搜索弹窗与浮层 */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(28, 22, 16, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
}

.search-modal-backdrop.active {
  display: flex;
}

.search-modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-light);
  gap: 0.85rem;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-family: var(--font-serif);
  color: var(--text-title);
  background: transparent;
}

.search-close-btn {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

.search-results-list {
  padding: 0.85rem;
  overflow-y: auto;
  list-style: none;
  max-height: 60vh;
}

.search-result-item a {
  display: block;
  padding: 0.85rem 1.15rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}

.search-result-item a:hover,
.search-result-item.selected a {
  background-color: var(--accent-moss-light);
}

.search-result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.35rem;
}

.search-result-snippet {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.search-empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   翻墙工具与客户端专栏样式 (Tools & Clients Directory)
   ========================================================================== */
.tools-os-filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2.25rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.os-filter-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-title);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.os-filter-btn:hover, .os-filter-btn.active {
  background-color: var(--accent-moss);
  color: #FFFFFF;
  border-color: var(--accent-moss);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0 3rem;
}

.client-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;           /* 推荐卡、客户端卡内部边距约 24—28px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(56, 42, 30, 0.04);
}

.client-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 42, 30, 0.08);
  border-color: var(--accent-moss-border);
}

.client-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 18px;          /* 标题、说明等保持 16—24px 间距 */
}

.client-icon-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.client-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: #FAF8F4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.client-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-title);
  margin: 0;
  line-height: 1.25;
}

.client-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.client-os-badges {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.os-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background-color: #F4EFEB;
  color: var(--text-title);
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.client-protocols {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.85rem 0 1rem;
}

.proto-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-moss);
  background-color: var(--accent-moss-light);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--accent-moss-border);
  white-space: nowrap;
}

.client-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;          /* 文字与底部按钮保持 16—24px 足够距离 */
  flex: 1;
}

.client-download-box {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;            /* 卡片内按钮与分割线保留 20px 距离 */
  margin-top: auto;
}

.download-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn-download-primary {
  background-color: var(--accent-moss);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-download-primary:hover {
  background-color: var(--accent-moss-hover);
  color: #FFFFFF;
}

.btn-tutorial-link {
  color: var(--accent-moss);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--accent-moss-border);
  background-color: var(--accent-moss-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-tutorial-link:hover {
  background-color: var(--accent-moss);
  color: #FFFFFF;
}

.tutorial-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2rem 0 3rem;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;           /* 步骤卡片内部边距约 24—28px */
  position: relative;
  border-left: 5px solid var(--accent-moss);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 16px;          /* 标题与说明约 16px */
}

.step-badge {
  background-color: var(--accent-moss);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin: 0;
}

.step-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-body);
}


/* ==========================================================================
   全站固定导航自适应适配 (防止极端分辨率下撑宽视口)
   ========================================================================== */
@media (max-width: 1200px) {
  .brand-subtitle {
    display: none;
  }
  .main-nav {
    gap: 0.45rem;
  }
  .main-nav a {
    font-size: 0.92rem;
    padding: 0.35rem 0.55rem;
  }
  .search-trigger-btn span,
  .search-trigger-btn kbd {
    display: none;
  }
  .search-trigger-btn {
    padding: 0.45rem 0.65rem;
    border-radius: 50%;
  }
}

@media (max-width: 960px) {
  .main-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: calc(100vw - 180px);
    padding: 4px 0;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   响应式调整：严格遵循平板两侧 24px、手机两侧 16px 安全边距规范
   宽度不足时正文与侧栏自适应堆叠
   ========================================================================== */
@media (max-width: 1480px) {
  .container,
  .header-container,
  .header-inner,
  .layout-container,
  .page-container,
  .footer-container,
  .footer-inner,
  .footer-bottom {
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* 平板端规范：两侧保留 24px 安全边距，正文与侧栏宽度不足时侧栏移到正文下方 */
@media (max-width: 1024px) {
  .container,
  .header-container,
  .header-inner,
  .layout-container,
  .page-container,
  .footer-container,
  .footer-inner,
  .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-main,
  .layout-container,
  .page-container {
    margin-top: 36px;
    margin-bottom: 52px;
  }

  .reading-surface,
  .page-container {
    padding: 32px 28px;
  }

  /* 宽度不足时将侧栏移到正文下方，保证表格与正文最大可读性 */
  .layout-container.layout-with-sidebar,
  .layout-with-sidebar,
  .main-with-sidebar {
    flex-direction: column !important;
    gap: 32px;
  }

  .reading-surface,
  .main-content-area,
  .content-main {
    width: 100% !important;
    min-width: 0;
  }

  .reading-sidebar,
  .sidebar-area,
  .sidebar {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    position: static !important;
  }

  .reading-sidebar.is-sticky,
  .sidebar-area.is-sticky,
  .sidebar-card.is-sticky {
    position: static !important;          /* 窄屏取消侧栏吸顶 */
  }

  /* 当侧栏在正文下方时，导读目录采用自适应多列网格，消除大片空白 */
  .sidebar-toc {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px 16px;
  }

  h1.page-title {
    font-size: 1.75rem;
  }

  h2.section-title {
    font-size: 1.35rem;
  }

  .toc-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .audience-list,
  .nav-preview-highlights ul {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }
}

/* 手机端规范：两侧保留 16px 安全边距，卡片内部微调保证阅读舒适 */
@media (max-width: 640px) {
  .container,
  .header-container,
  .header-inner,
  .layout-container,
  .page-container,
  .footer-container,
  .footer-inner,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-main,
  .layout-container,
  .page-container {
    margin-top: 24px;
    margin-bottom: 40px;
  }

  .reading-surface,
  .page-container {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .client-card,
  .nav-preview-card,
  .step-card {
    padding: 20px 18px;
  }

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

  h2.section-title {
    font-size: 1.22rem;
  }

  .header-container,
  .header-inner {
    padding: 0.65rem 0;
  }

  .brand-subtitle {
    display: none;
  }

  .main-nav {
    display: none; /* 移动端精简头部，依靠页面互链或搜索 */
  }

  .search-trigger-btn span,
  .search-trigger-btn kbd {
    display: none;
  }

  .search-trigger-btn {
    padding: 0.45rem 0.65rem;
  }

  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-hub-grid {
    grid-template-columns: 1fr;
  }

  .footer-container,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .airport-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta,
  .btn-review-link,
  .btn-download-primary,
  .btn-tutorial-link {
    justify-content: center;
    width: 100%;
  }

  .tools-os-filter {
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
  }

  .os-filter-btn {
    font-size: 0.88rem;
    padding: 0.35rem 0.85rem;
  }
}

/* ==========================================================================
   客户端专栏深度交互组件：安装包选择器、操作清单与排查向导
   ========================================================================== */

/* 客户端主页详情跳转按钮 */
.btn-detail-link {
  background-color: var(--accent-moss-light);
  color: var(--accent-moss);
  border: 1px solid var(--accent-moss-border);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-detail-link:hover {
  background-color: var(--accent-moss);
  color: #FFFFFF;
  border-color: var(--accent-moss);
}

/* 目录顶部搜索与筛选统计条 */
.tools-filter-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tools-search-input {
  width: 100%;
  max-width: 480px;
  padding: 0.65rem 1rem;
  font-size: 0.98rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text-title);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tools-search-input:focus {
  border-color: var(--accent-moss);
  box-shadow: 0 0 0 3px rgba(36, 65, 51, 0.12);
  background-color: #FFFFFF;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
}

.filter-badge-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-badge-btn:hover,
.filter-badge-btn.active {
  background-color: var(--accent-moss);
  color: #FFFFFF;
  border-color: var(--accent-moss);
}

.tools-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-clear-filter {
  background: none;
  border: none;
  color: var(--accent-moss);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}

/* 安装包选择器交互卡片 (Package Selector) */
.package-selector-card {
  background-color: #FAF8F4;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin: 28px 0;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.selector-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}

.selector-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--text-title);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
}

.selector-select:focus {
  border-color: var(--accent-moss);
}

.matched-package-result {
  background-color: #FFFFFF;
  border: 1px solid var(--accent-moss-border);
  border-left: 5px solid var(--accent-moss);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 18px;
}

.matched-package-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
}

.matched-package-file {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-moss);
  background-color: var(--accent-moss-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.arch-help-box {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.arch-help-box details {
  background-color: var(--bg-card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.arch-help-box summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-moss);
}

/* 交互式操作勾选清单 (Interactive Checklist) */
.checklist-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}

.checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--accent-moss);
  transition: width 0.3s ease;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
  cursor: pointer;
}

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

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--accent-moss);
}

.check-text {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.6;
}

.check-item.done .check-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* 故障排查向导 (Troubleshooting Wizard) */
.wizard-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin: 36px 0;
}

.symptom-btn-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.symptom-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.45;
}

.symptom-btn:hover,
.symptom-btn.active {
  border-color: var(--accent-moss);
  background-color: var(--accent-moss-light);
  color: var(--accent-moss);
}

.solution-panel {
  display: none;
  background-color: #FAF8F4;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 16px;
}

.solution-panel.active {
  display: block;
}

/* ==========================================================================
   测评专栏深度扩写组件：购买判断卡、参数网格与场景选档卡
   ========================================================================== */

/* 开头快速购买判断卡片 (Quick Verdict) */
.quick-verdict-box {
  background-color: #FAF8F4;
  border: 1px solid var(--accent-moss-border);
  border-left: 6px solid var(--accent-moss);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 24px 0 32px;
}

.quick-verdict-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.verdict-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.verdict-item-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.verdict-item-val {
  font-size: 0.95rem;
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.45;
}

.verdict-summary {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
  margin-top: 14px;
}

/* 场景选档网格 (我应该选哪档) */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.scenario-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scenario-card h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.scenario-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

.scenario-badge {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-moss);
  background-color: var(--accent-moss-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--accent-moss-border);
}

/* 节点地区速览徽章 */
.region-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.region-tag {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   侧栏导航与按钮增强规范 (排版稳定)
   ========================================================================== */
.layout-container.layout-with-sidebar,
.layout-with-sidebar,
.main-with-sidebar {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.reading-surface,
.main-content-area,
.content-main {
  flex: 1;
  min-width: 0; /* 防止子元素撑破 Flex 布局 */
}

.reading-sidebar,
.sidebar-area,
.sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reading-sidebar.is-sticky,
.reading-sidebar,
.sidebar-area.is-sticky,
.sidebar-card.is-sticky {
  position: sticky;
  top: 96px; /* 72px 导航 + 24px 留白间距 */
  z-index: 10;
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.85;
}

.sidebar-toc li {
  margin-bottom: 2px;
}

.sidebar-toc a {
  color: var(--text-body);
  text-decoration: none;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.sidebar-toc a:hover {
  color: var(--accent-moss);
  background-color: var(--accent-moss-light);
  padding-left: 12px;
}

/* 按钮通用支持 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-moss);
  color: #FFFFFF !important;
  border: 1px solid var(--accent-moss);
  box-shadow: 0 2px 8px rgba(36, 65, 51, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-moss-hover);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: var(--accent-moss-light);
  color: var(--accent-moss) !important;
  border: 1px solid var(--accent-moss-border);
}

.btn-outline:hover {
  background-color: var(--accent-moss);
  color: #FFFFFF !important;
  border-color: var(--accent-moss);
}

.btn-block {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
