/* ============================================================
   私游季 · 全站品牌样式表
   挂载方式: mu-plugins/zhuguang-assets.php
   ============================================================ */

:root {
  --zg-primary: #e8622c;        /* 品牌橘 */
  --zg-primary-dark: #c74e1e;
  --zg-primary-light: #fef3ec;
  --zg-ink: #22272e;            /* 主文字 */
  --zg-ink-soft: #5b6472;       /* 次文字 */
  --zg-line: #e8e4de;           /* 分隔线 */
  --zg-cream: #faf7f2;          /* 米色底 */
  --zg-card: #ffffff;
  --zg-radius: 14px;
  --zg-shadow: 0 6px 24px rgba(34, 39, 46, .07);
  --zg-shadow-hover: 0 12px 32px rgba(34, 39, 46, .13);
}

/* ---------- 基础排版 ---------- */
/* 主题 reset.css 里有全局 a{color:#c36}（玫红），这里统一回品牌色 */
a { color: var(--zg-primary); }
a:hover, a:focus { color: var(--zg-primary-dark); }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, "Segoe UI", sans-serif;
  color: var(--zg-ink);
  line-height: 1.75;
  background: #fff;
  overflow-x: hidden;           /* 防止 hero 等宽块造成横向滚动 */
}
/* 标题统一居中 */
h1, h2, h3, h4 { line-height: 1.35; color: var(--zg-ink); text-align: center; }
h1 { font-size: 2rem; margin: 1.8rem 0 1rem; letter-spacing: .01em; }
h2 { font-size: 1.65rem; margin: 2.4rem 0 1.2rem; letter-spacing: .01em; }
h3 { font-size: 1.15rem; margin: 1.7rem 0 .7rem; }
h4 { font-size: 1.02rem; margin: 1.4rem 0 .5rem; }

.entry-content a:not(.zg-btn) {
  color: var(--zg-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 98, 44, .35);
  transition: all .18s;
}
.entry-content a:not(.zg-btn):hover {
  color: var(--zg-primary-dark);
  border-bottom-color: var(--zg-primary-dark);
}

/* ---------- 页头 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--zg-line);
  box-shadow: 0 1px 0 rgba(34,39,46,.03);
  position: sticky; top: 0; z-index: 99;
}
.site-header .site-branding { max-width: 1180px; margin: 0 auto; padding: 14px 24px; }
.site-title a { color: var(--zg-ink); font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: .04em; }
.site-title a:hover { color: var(--zg-primary); }
.site-description { color: var(--zg-ink-soft); font-size: .82rem; margin: 2px 0 0; }

/* 主导航
   注意：Hello Elementor 输出的容器是 .site-navigation（不是 .main-navigation），
   且主题 reset.css 有全局 a{color:#c36}，所以两套类名都要覆盖 */
.main-navigation ul,
.site-navigation ul.menu {
  display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0;
  padding: 0 24px 12px; max-width: 1180px;
}
.main-navigation li a,
.site-navigation ul.menu li a {
  display: block; padding: 6px 14px; border-radius: 999px;
  color: var(--zg-ink); font-size: .95rem; text-decoration: none; font-weight: 500;
  transition: all .18s;
}
.main-navigation li a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.site-navigation ul.menu li a:hover,
.site-navigation ul.menu li.current-menu-item > a,
.site-navigation ul.menu li.current_page_item > a {
  background: var(--zg-primary-light); color: var(--zg-primary-dark);
}

/* ---------- 内容容器 ----------
   主题 Hello Elementor 用 .site-main 作外层容器（1140px 上限 + 10px 内边距），
   正文由 mu-plugin 包一层 .entry-content。这里只约束正文宽度，不再约束 .site-main，
   否则会把整站版心压到 860px。 */
.entry-content { max-width: 1120px; margin-left: auto; margin-right: auto; }
.page .entry-content { margin: 0 auto; padding: 0 24px 4rem; }

/* ---------- H2 带装饰下划线 ---------- */
.entry-content h2 {
  position: relative; padding-left: 0; padding-bottom: 16px; text-align: center;
}
.entry-content h2::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 56px; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--zg-primary), #f5a623);
}

/* ---------- 表格（行程/价格） ---------- */
.entry-content table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 1.2rem 0 1.6rem; font-size: .93rem;
  background: var(--zg-card); border-radius: var(--zg-radius);
  box-shadow: var(--zg-shadow); overflow: hidden;
  border: 1px solid var(--zg-line);
}
.entry-content thead th {
  background: linear-gradient(135deg, #2d3a4a, #1f2937);
  color: #fff; font-weight: 600; text-align: left;
  padding: 12px 16px; font-size: .9rem; letter-spacing: .03em;
}
.entry-content tbody td { padding: 12px 16px; border-top: 1px solid var(--zg-line); vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: var(--zg-cream); }
.entry-content tbody tr:hover { background: var(--zg-primary-light); }

/* ---------- 列表卡片化 ---------- */
.entry-content ul { padding-left: 0; list-style: none; margin: 1rem 0; }
.entry-content ul li {
  position: relative; padding: 10px 14px 10px 38px; margin: 6px 0;
  background: var(--zg-card); border: 1px solid var(--zg-line);
  border-radius: 10px; box-shadow: 0 2px 8px rgba(34,39,46,.04);
}
.entry-content ul li::before {
  content: "✓"; position: absolute; left: 12px; top: 10px;
  color: var(--zg-primary); font-weight: 700; font-size: .95rem;
}
/* 攻略/产品页行程列表的链接列表弱化边框 */
.entry-content ul li a { font-weight: 600; }

/* ---------- 按钮 ---------- */
.zg-btn, .entry-content .zg-btn {
  display: inline-block; padding: 13px 30px; margin: .8rem 0 1.6rem;
  background: linear-gradient(135deg, var(--zg-primary), #f07a3d);
  color: #fff !important; font-weight: 700; font-size: 1.02rem;
  border-radius: 999px; border: none !important;
  box-shadow: 0 6px 18px rgba(232, 98, 44, .35);
  transition: all .2s; text-decoration: none !important;
}
.zg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 98, 44, .45);
  color: #fff !important;
}
.zg-btn-ghost {
  display: inline-block; padding: 12px 28px; margin: .4rem .5rem .4rem 0;
  background: #fff; color: var(--zg-primary) !important;
  border: 2px solid var(--zg-primary) !important; font-weight: 600;
  border-radius: 999px; text-decoration: none !important; transition: all .2s;
}
.zg-btn-ghost:hover { background: var(--zg-primary-light); }

/* ---------- 首屏 Hero ---------- */
.zg-hero {
  margin: 0 auto 2.8rem; padding: 108px 28px 116px;
  background:
    linear-gradient(180deg, rgba(14, 18, 26, .30), rgba(14, 18, 26, .60)),
    url(hero-china.jpg) center/cover no-repeat;
  border-radius: 24px;
  color: #fff; text-align: center;
  box-shadow: 0 18px 46px rgba(34, 39, 46, .2);
  position: relative; overflow: hidden;
}
.zg-hero h1, .zg-hero h2 {
  color: #fff; margin: 0 0 .7rem; padding-left: 0;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 800; letter-spacing: .03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.zg-hero h2::before { display: none; }
.zg-hero p {
  color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: 640px; margin: 0 auto 1.6rem;
}
.zg-hero .zg-btn {
  background: #fff; color: var(--zg-primary-dark) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.zg-hero .zg-btn:hover { transform: translateY(-2px); }

/* ---------- 目的地卡片网格 ---------- */
.zg-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px; margin: 1.4rem 0 2.4rem; padding: 0; list-style: none;
}
.zg-grid li {
  padding: 0 !important; margin: 0; border: none !important;
  background: none !important; box-shadow: none !important; border-radius: var(--zg-radius) !important;
  overflow: hidden; transition: all .22s;
}
.zg-grid li::before { display: none; }
.zg-grid li:hover { transform: translateY(-5px); box-shadow: var(--zg-shadow-hover) !important; }
.zg-card { display: block; height: 100%; text-decoration: none !important; border: none !important; }
.zg-card-inner {
  padding: 22px 20px 24px; min-height: 250px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center;
}
.zg-card-name {
  font-size: 1.42rem; font-weight: 800; color: #fff; margin: 0 0 6px;
  letter-spacing: .08em; text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.zg-card-sub { font-size: .88rem; color: rgba(255,255,255,.92); margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.zg-card-arrow {
  display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 600;
  color: #fff; border-bottom: none !important;
}
/* 目的地卡片实景照片（图片与本 CSS 同目录）
   注意：必须用 !important 才能覆盖上方 .zg-grid li 的 background:none !important */
.zg-grid li.zg-dest-bj  { background: linear-gradient(180deg, rgba(10,14,22,.12) 35%, rgba(10,14,22,.82)), url(dest-beijing.jpg) center/cover no-repeat !important; }
.zg-grid li.zg-dest-yn  { background: linear-gradient(180deg, rgba(10,14,22,.12) 35%, rgba(10,14,22,.82)), url(dest-yunnan.jpg) center/cover no-repeat !important; }
.zg-grid li.zg-dest-hd  { background: linear-gradient(180deg, rgba(10,14,22,.12) 35%, rgba(10,14,22,.82)), url(dest-east-china.jpg) center/cover no-repeat !important; }
.zg-grid li.zg-dest-zjj { background: linear-gradient(180deg, rgba(10,14,22,.12) 35%, rgba(10,14,22,.82)), url(dest-zhangjiajie.jpg) center/cover no-repeat !important; }
.zg-grid li.zg-dest-xj  { background: linear-gradient(180deg, rgba(10,14,22,.12) 35%, rgba(10,14,22,.82)), url(dest-xinjiang.jpg) center/cover no-repeat !important; }

/* 桌面端五张卡片一行排开 */
@media (min-width: 1080px) {
  .zg-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- 数字步骤 ---------- */
.zg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 1.4rem 0 2rem; }
.zg-step {
  background: var(--zg-card); border: 1px solid var(--zg-line);
  border-radius: var(--zg-radius); padding: 24px 18px; text-align: center;
  box-shadow: 0 2px 10px rgba(34,39,46,.05);
}
.zg-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 10px;
  background: var(--zg-primary-light); color: var(--zg-primary-dark); font-weight: 800; font-size: 1rem;
}
.zg-step-t { font-weight: 700; margin: 0 0 4px; font-size: .98rem; }
.zg-step-d { font-size: .85rem; color: var(--zg-ink-soft); margin: 0; }

/* ---------- 引用/信任条 ---------- */
.zg-trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 1.4rem 0; text-align: center;
}
.zg-trust-item { background: var(--zg-cream); border-radius: 12px; padding: 18px 12px; border: 1px solid var(--zg-line); }
.zg-trust-num { font-size: 1.5rem; font-weight: 800; color: var(--zg-primary); display: block; }
.zg-trust-label { font-size: .85rem; color: var(--zg-ink-soft); }

/* ---------- CTA 横幅 ---------- */
.zg-cta {
  margin: 2.6rem 0 1rem; padding: 40px 32px; text-align: center;
  background: linear-gradient(135deg, #1f2937, #2d3a4a);
  border-radius: 20px; color: #fff;
}
.zg-cta h2 { color: #fff; padding-left: 0; margin: 0 0 .5rem; }
.zg-cta h2::before { display: none; }
.zg-cta p { color: rgba(255,255,255,.85); margin: 0 0 1.2rem; }

/* ---------- FAQ 微调 ---------- */
.entry-content h3 {
  position: relative; padding-left: 0; text-align: center; color: #2d3a4a;
}
.entry-content h3::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--zg-primary); margin-right: 9px; vertical-align: .28em;
}

/* ---------- 页脚 ---------- */
.site-footer { background: #1f2937; color: rgba(255,255,255,.75); margin-top: 3rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #f5a623; }
.site-info { max-width: 1180px; margin: 0 auto; padding: 28px 24px; font-size: .85rem; }

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .zg-hero { padding: 54px 16px 62px; border-radius: 16px; }
  .zg-hero h1, .zg-hero h2 { font-size: 1.42rem; letter-spacing: .01em; }
  .zg-hero p { font-size: .95rem; }
  .zg-card-inner { min-height: 190px; padding: 16px 14px 18px; }
  .zg-card-name { font-size: 1.2rem; }
  .zg-card-sub { font-size: .8rem; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.05rem; }
  .zg-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .zg-steps { grid-template-columns: repeat(2, 1fr); }
  .main-navigation ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
  .entry-content table { font-size: .82rem; }
  .entry-content thead th, .entry-content tbody td { padding: 9px 10px; }
  .zg-cta { padding: 30px 18px; }
  .zg-cta h2 { font-size: 1.28rem; }
}

/* ---------- 超小屏 ---------- */
@media (max-width: 400px) {
  .zg-grid { grid-template-columns: 1fr; }
}

/* ---------- 联系渠道区块（首页） ---------- */
.zg-contact-channels {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin: 1.4rem 0 2.2rem;
}
.zg-channel {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--zg-card); border: 1px solid var(--zg-line);
  border-radius: var(--zg-radius); padding: 26px 18px 22px;
  text-decoration: none !important; box-shadow: 0 2px 10px rgba(34,39,46,.05);
  transition: all .22s; border-bottom: none !important;
}
.zg-channel:hover { transform: translateY(-4px); box-shadow: var(--zg-shadow-hover); }
.zg-channel-logo {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.zg-channel-logo svg { width: 34px; height: 34px; }
.zg-logo-wechat { background: #07C160; }
.zg-logo-whatsapp { background: #25D366; }
.zg-logo-line { background: #06C755; }
.zg-channel-name { font-weight: 700; color: var(--zg-ink); margin: 0 0 4px; font-size: 1.02rem; }
.zg-channel-desc { font-size: .85rem; color: var(--zg-ink-soft); margin: 0; }
.zg-channel-id { font-size: .82rem; color: var(--zg-primary); font-weight: 600; margin-top: 8px; }

/* ---------- 全站悬浮联系按钮 ---------- */
.zg-float-contact {
  position: fixed; right: 18px; bottom: 88px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
}
.zg-float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.18); cursor: pointer;
  position: relative; transition: transform .2s;
  text-decoration: none !important;
}
.zg-float-btn:hover { transform: scale(1.1); }
.zg-float-btn svg { width: 28px; height: 28px; }
.zg-float-btn .zg-float-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: #1f2937; color: #fff; font-size: .78rem; padding: 5px 12px;
  border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.zg-float-btn:hover .zg-float-tip { opacity: 1; }
@media (max-width: 640px) {
  .zg-float-contact { bottom: 72px; right: 10px; gap: 8px; }
  .zg-float-btn { width: 42px; height: 42px; box-shadow: 0 4px 14px rgba(34, 39, 46, .22), 0 0 0 2px #fff; }
}

/* ---------- 悬浮联系按钮统一视觉：墨灰底 + 暖白图标 ----------
   仅改颜色 / 阴影 / 描边；数量、尺寸、位置、间距、圆角、链接与显示逻辑均不变。
   描边用 inset 阴影实现，避免 border 影响 52px / 42px 的既有尺寸。 */
.zg-float-contact .zg-logo-wechat,
.zg-float-contact .zg-logo-whatsapp,
.zg-float-contact .zg-logo-line {
  background: #22272e;
  color: #f7f7f5;
  box-shadow: 0 4px 14px rgba(34, 39, 46, .20), inset 0 0 0 1px rgba(247, 247, 245, .16);
}
.zg-float-contact .zg-logo-wechat:hover,
.zg-float-contact .zg-logo-whatsapp:hover,
.zg-float-contact .zg-logo-line:hover {
  background: #151a22;
  color: #f7f7f5;
}
@media (max-width: 640px) {
  /* 保留窄屏原有的 2px 白色外圈，只叠加新的描边 */
  .zg-float-contact .zg-logo-wechat,
  .zg-float-contact .zg-logo-whatsapp,
  .zg-float-contact .zg-logo-line {
    box-shadow: 0 4px 14px rgba(34, 39, 46, .22), 0 0 0 2px #fff,
                inset 0 0 0 1px rgba(247, 247, 245, .16);
  }
}

/* ---------- 内容区宽度收敛（长行更易读、版心更聚拢） ---------- */
.site-main .entry-content,
.page .entry-content,
.post .entry-content {
  max-width: 1120px; margin-left: auto; margin-right: auto;
}

/* ---------- 页面标题（内页顶部）居中 ---------- */
.page-header, .entry-header { text-align: center; }
.page-header h1, .entry-title { text-align: center; }
/* 首页不显示重复的“首页”标题 */
.home .page-header { display: none; }

/* ---------- 首页攻略区块 ---------- */
.entry-content ul li { text-align: left; }
.entry-content h2 + ul, .entry-content h2 + .zg-grid { margin-top: 1.2rem; }

/* ---------- 正文段落阅读宽度 ---------- */
.entry-content > p { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ（h3 + p 组合）居中留白 ---------- */
.entry-content h3 + p { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- 正文分隔线 ---------- */
.entry-content hr {
  border: none; border-top: 1px solid var(--zg-line);
  max-width: 160px; margin: 2.8rem auto;
}

/* ---------- 正文结尾的行动号召（段落内嵌按钮 → 改为卡片式） ---------- */
.entry-content p:has(> .zg-btn) {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: 600px; margin: 0 auto 3rem; padding: 32px 26px;
  background: var(--zg-cream); border: 1px solid var(--zg-line);
  border-radius: 18px; text-align: center;
  font-size: 1.06rem; font-weight: 700; color: var(--zg-ink);
}
.entry-content p:has(> .zg-btn) .zg-btn { margin: 0; }

/* ---------- 产品页 / 支柱页题图 ---------- */
.zg-tour-hero { margin: 0 0 2.2rem; }
.zg-tour-hero img {
  display: block; width: 100%;
  height: clamp(230px, 32vw, 430px);
  object-fit: cover; object-position: center;
  border-radius: 18px; box-shadow: 0 12px 34px rgba(34, 39, 46, .16);
}

/* ---------- 正文 H1（产品页/支柱页主标题） ---------- */
.entry-content h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  margin: 0 0 .4rem; line-height: 1.32;
}
.entry-content h1::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--zg-primary), #f5a623);
  margin: .9rem auto 0;
}
/* 首页 hero 内的 H1 不加装饰线 */
.zg-hero h1::after { display: none; }
/* 说明：主题默认输出的重复页面标题已由 mu-plugin 的 hello_elementor_page_title 过滤器移除，无需 CSS 隐藏 */

/* ============================================================
   首页专用样式（.zg-home）
   视觉升级：字体层级 / 章节节奏 / 卡片化
   ============================================================ */

:root {
  --zg-font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --zg-font-serif: "Songti SC", "STSongti-SC-Bold", "Noto Serif SC",
    "Source Han Serif SC", "STZhongsong", "SimSun", Georgia, serif;
}

.zg-home {
  max-width: 1080px; margin: 0 auto; padding: 0 24px 5rem;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* 统一盒模型 + 允许网格/弹性子项收缩，避免移动端横向溢出 */
.zg-home, .zg-home *, .zg-home *::before, .zg-home *::after { box-sizing: border-box; }
.zg-home .zg-grid > li,
.zg-home .zg-trust > *,
.zg-home .zg-steps > *,
.zg-home .zg-guides > *,
.zg-home .zg-feats > li { min-width: 0; }
.zg-home img, .zg-home svg { max-width: 100%; }

/* 首页大标题走衬线体，正文保持无衬线 */
.zg-home h1, .zg-home h2 { font-family: var(--zg-font-serif); }

/* ---------- 章节节奏 ---------- */
.zg-sec { margin: 0 0 clamp(58px, 7vw, 92px); }
.zg-sec-head { text-align: center; margin: 0 auto clamp(30px, 3.6vw, 44px); max-width: 680px; }
.zg-eyebrow {
  margin: 0 0 12px; font-size: .73rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--zg-primary);
}
.zg-eyebrow-light { color: #f5a623; }
.zg-home .zg-sec-head h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.05rem); font-weight: 700;
  letter-spacing: .04em; margin: 0; padding-bottom: 22px;
  position: relative;
}
/* 与内页 h2 保持同一视觉语言：标题下方居中渐变短线 */
.zg-home .zg-sec-head h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 56px; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--zg-primary), #f5a623);
}
.zg-sec-sub {
  margin: 20px auto 0; max-width: 580px; font-size: .96rem;
  line-height: 1.9; color: var(--zg-ink-soft); letter-spacing: .01em;
}

/* ---------- Hero ---------- */
.zg-home .zg-hero {
  margin: 0 0 clamp(58px, 7vw, 92px);
  padding: clamp(74px, 10vw, 134px) clamp(24px, 5vw, 76px) clamp(62px, 8vw, 100px);
  border-radius: 26px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12,16,24,.32) 0%, rgba(12,16,24,.55) 58%, rgba(12,16,24,.80) 100%),
    url(hero-china.jpg) center/cover no-repeat;
  box-shadow: 0 24px 60px rgba(20,26,36,.22);
}
.zg-hero-eyebrow {
  margin: 0 0 20px; font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.82); text-align: center;
}
.zg-home .zg-hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem); font-weight: 700; line-height: 1.3;
  letter-spacing: .05em; margin: 0 0 22px;
}
.zg-home .zg-hero-sub {
  max-width: 620px; margin: 0 auto 36px; font-size: clamp(.97rem, 1.5vw, 1.08rem);
  line-height: 1.95; color: rgba(255,255,255,.9); letter-spacing: .01em;
}
.zg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0 0 42px; }
.zg-hero-actions .zg-btn, .zg-home .zg-hero-actions .zg-btn-ghost { margin: 0; }
.zg-home .zg-hero .zg-btn { padding: 15px 36px; font-size: 1.03rem; }
.zg-home .zg-hero .zg-btn-ghost {
  padding: 14px 32px; background: rgba(255,255,255,.08) !important;
  color: #fff !important; border-color: rgba(255,255,255,.55) !important;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.zg-home .zg-hero .zg-btn-ghost:hover { background: rgba(255,255,255,.2) !important; border-color: #fff !important; }
.zg-home .zg-hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px;
  list-style: none; margin: 0; padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.zg-home .zg-hero-trust li {
  position: relative; padding: 0 0 0 18px; margin: 0;
  background: none !important; border: none !important; box-shadow: none !important;
  border-radius: 0 !important; color: rgba(255,255,255,.88);
  font-size: .86rem; letter-spacing: .06em;
}
.zg-home .zg-hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #f5a623;
}

/* ---------- 目的地卡片 ---------- */
.zg-home .zg-grid { gap: 20px; margin: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.zg-home .zg-grid li { border-radius: 18px !important; box-shadow: 0 6px 20px rgba(34,39,46,.1) !important; }
.zg-home .zg-card-inner { min-height: 300px; padding: 26px 20px 28px; }
.zg-home .zg-card-name {
  font-family: var(--zg-font-serif); font-size: 1.62rem; font-weight: 700;
  letter-spacing: .1em; margin: 0 0 10px;
}
.zg-home .zg-card-sub { font-size: .88rem; letter-spacing: .04em; color: rgba(255,255,255,.9); }
.zg-home .zg-card-arrow {
  margin-top: 18px; font-size: .82rem; letter-spacing: .07em;
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px;
}

/* ---------- 信任数字 ---------- */
.zg-home .zg-trust { gap: 16px; margin: 0 0 34px; }
.zg-home .zg-trust-item {
  background: var(--zg-card); border: 1px solid var(--zg-line); border-radius: 18px;
  padding: 32px 16px 26px; box-shadow: 0 4px 18px rgba(34,39,46,.05);
  transition: transform .22s, box-shadow .22s;
}
.zg-home .zg-trust-item:hover { transform: translateY(-4px); box-shadow: var(--zg-shadow-hover); }
.zg-home .zg-trust-num {
  font-family: var(--zg-font-serif); font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1; letter-spacing: .01em;
  color: var(--zg-primary); display: block; margin-bottom: 14px;
}
.zg-home .zg-trust-num em {
  font-style: normal; font-size: .46em; font-weight: 700;
  margin-left: 3px; letter-spacing: .03em; vertical-align: .18em;
}
.zg-home .zg-trust-label { font-size: .88rem; color: var(--zg-ink-soft); letter-spacing: .03em; }

/* ---------- 特色卡片 ---------- */
.zg-home .zg-feats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.zg-home .zg-feats li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 26px 24px; margin: 0; text-align: left;
  background: var(--zg-card); border: 1px solid var(--zg-line) !important;
  border-radius: 16px; box-shadow: 0 2px 10px rgba(34,39,46,.045);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.zg-home .zg-feats li::before { display: none; }
.zg-home .zg-feats li:hover {
  transform: translateY(-3px); box-shadow: var(--zg-shadow-hover);
  border-color: rgba(232,98,44,.32) !important;
}
.zg-feat-ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--zg-primary-light); color: var(--zg-primary-dark);
}
.zg-feat-ico svg { width: 23px; height: 23px; }
.zg-home .zg-feats h3 {
  margin: 2px 0 7px; font-size: 1.02rem; font-weight: 700;
  text-align: left; color: var(--zg-ink); letter-spacing: .02em;
}
.zg-home .zg-feats h3::before { display: none; }
.zg-home .zg-feats p { margin: 0; font-size: .87rem; line-height: 1.82; color: var(--zg-ink-soft); }

/* ---------- 流程步骤 ---------- */
.zg-home .zg-steps { gap: 18px; margin: 0; }
.zg-home .zg-step {
  background: var(--zg-card); border: 1px solid var(--zg-line); border-radius: 18px;
  padding: 32px 22px 28px; box-shadow: 0 3px 14px rgba(34,39,46,.05);
  transition: transform .22s, box-shadow .22s;
}
.zg-home .zg-step:hover { transform: translateY(-4px); box-shadow: var(--zg-shadow-hover); }
.zg-home .zg-step-num {
  width: 44px; height: 44px; margin-bottom: 16px; font-size: 1.05rem;
  font-family: var(--zg-font-serif);
  background: linear-gradient(135deg, var(--zg-primary), #f07a3d);
  color: #fff; box-shadow: 0 6px 16px rgba(232,98,44,.3);
}
.zg-home .zg-step-t { font-size: 1.04rem; font-weight: 700; margin: 0 0 7px; letter-spacing: .02em; }
.zg-home .zg-step-d { font-size: .86rem; line-height: 1.8; }

/* ---------- 攻略卡片 ---------- */
.zg-home .zg-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.zg-guide {
  display: flex; flex-direction: column; padding: 26px 24px 22px;
  background: var(--zg-card); border: 1px solid var(--zg-line) !important;
  border-radius: 18px; box-shadow: 0 3px 14px rgba(34,39,46,.05);
  text-decoration: none !important; transition: transform .24s, box-shadow .24s, border-color .24s;
}
.zg-guide:hover {
  transform: translateY(-5px); box-shadow: var(--zg-shadow-hover);
  border-color: rgba(232,98,44,.32) !important;
}
.zg-guide-tag {
  display: inline-block; align-self: flex-start; margin-bottom: 15px;
  padding: 4px 13px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .07em; color: var(--zg-primary-dark); background: var(--zg-primary-light);
}
.zg-home .zg-guide h3 {
  margin: 0 0 11px; font-size: 1.04rem; font-weight: 700; line-height: 1.58;
  text-align: left; color: var(--zg-ink); letter-spacing: .01em;
}
.zg-home .zg-guide h3::before { display: none; }
.zg-guide p { flex: 1; margin: 0; font-size: .86rem; line-height: 1.82; color: var(--zg-ink-soft); }
.zg-guide-more { margin-top: 18px; font-size: .81rem; font-weight: 700; color: var(--zg-primary); letter-spacing: .05em; }
.zg-home .zg-guides-more { text-align: center; margin: 36px 0 0; }
.zg-home .zg-guides-more .zg-btn-ghost { margin: 0; }

/* ---------- 底部 CTA ---------- */
.zg-home .zg-cta {
  margin: 0; padding: clamp(50px, 6vw, 78px) clamp(24px, 5vw, 64px);
  border-radius: 26px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1b2430 0%, #2c3a4c 100%);
  box-shadow: 0 20px 50px rgba(27,36,48,.24);
}
.zg-home .zg-cta::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,98,44,.38), transparent 68%);
}
.zg-home .zg-cta h2 {
  position: relative; z-index: 1; font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: .04em; color: #fff; margin: 8px 0 16px; padding: 0;
}
.zg-home .zg-cta h2::before { display: none; }
.zg-home .zg-cta p {
  position: relative; z-index: 1; max-width: 540px; margin: 0 auto 32px;
  font-size: .97rem; line-height: 1.92; color: rgba(255,255,255,.82);
}
.zg-home .zg-cta .zg-btn { position: relative; z-index: 1; margin: 0; padding: 15px 38px; font-size: 1.03rem; }

/* ---------- 响应式 ---------- */
@media (min-width: 1080px) {
  .zg-home .zg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .zg-home .zg-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .zg-home .zg-feats { grid-template-columns: minmax(0, 1fr); }
  .zg-home .zg-guides { grid-template-columns: minmax(0, 1fr); }
  .zg-home .zg-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .zg-home { padding: 0 16px 3.5rem; }
  .zg-home .zg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .zg-home .zg-hero { border-radius: 18px; padding: 62px 20px 56px; }
  .zg-home .zg-hero h1 { font-size: 1.72rem; letter-spacing: .03em; }
  .zg-hero-eyebrow { letter-spacing: .12em; font-size: .68rem; }
  .zg-home .zg-hero-trust { gap: 10px 20px; padding-top: 20px; }
  .zg-home .zg-hero-trust li { font-size: .8rem; }
  .zg-home .zg-card-inner { min-height: 210px; padding: 18px 14px 20px; }
  .zg-home .zg-card-name { font-size: 1.26rem; letter-spacing: .09em; }
  .zg-home .zg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zg-home .zg-step { padding: 24px 16px 22px; }
  .zg-home .zg-trust-item { padding: 24px 12px 20px; }
  .zg-home .zg-sec { margin-bottom: 56px; }
}
@media (max-width: 340px) {
  .zg-home .zg-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 精选线路卡 ---------- */
.zg-home .zg-tours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.zg-home .zg-tour {
  display: flex; flex-direction: column;
  background: var(--zg-card);
  border: 1px solid var(--zg-line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34,39,46,.06);
  transition: transform .22s ease, box-shadow .22s ease;
  min-width: 0;
}
.zg-home .zg-tour:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(34,39,46,.13);
}
.zg-home .zg-tour-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.zg-home .zg-tour-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.zg-home .zg-tour:hover .zg-tour-img img { transform: scale(1.05); }
.zg-home .zg-tour-dur {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(34,39,46,.78);
  color: #fff;
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.zg-home .zg-tour-body {
  display: flex; flex-direction: column;
  padding: 18px 18px 16px;
  flex: 1; min-width: 0;
}
.zg-home .zg-tour-meta { margin-bottom: 8px; }
.zg-home .zg-tour-meta em {
  font-style: normal;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  color: var(--zg-primary-dark);
  background: var(--zg-primary-light);
  padding: 3px 10px;
  border-radius: 999px;
}
.zg-home .zg-tour-title {
  font-family: var(--zg-font-serif);
  font-size: 1.16rem; font-weight: 700; letter-spacing: .03em;
  color: var(--zg-ink);
  margin: 0 0 8px;
  display: block;
}
.zg-home .zg-tour-desc {
  font-size: .88rem; line-height: 1.65;
  color: var(--zg-ink-soft);
  margin: 0 0 14px;
}
.zg-home .zg-tour-foot {
  margin-top: auto;
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--zg-line);
  padding-top: 12px;
}
.zg-home .zg-tour-price {
  font-size: 1.2rem; font-weight: 800; color: var(--zg-primary);
  letter-spacing: .01em;
}
.zg-home .zg-tour-price i {
  font-style: normal;
  font-size: .72rem; font-weight: 500; color: var(--zg-ink-soft);
  margin-left: 2px;
}
.zg-home .zg-tour-more {
  font-size: .84rem; font-weight: 600; color: var(--zg-ink-soft);
  transition: color .18s;
}
.zg-home .zg-tour:hover .zg-tour-more { color: var(--zg-primary); }
.zg-home .zg-tours-all {
  text-align: center;
  margin: 30px 0 0;
  font-size: .92rem; color: var(--zg-ink-soft);
}
.zg-home .zg-tours-all a {
  color: var(--zg-primary-dark); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s;
}
.zg-home .zg-tours-all a:hover { border-color: var(--zg-primary-dark); }

/* ---------- 游客评价 ---------- */
.zg-home .zg-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.zg-home .zg-review {
  display: flex; flex-direction: column;
  background: var(--zg-card);
  border: 1px solid var(--zg-line);
  border-radius: 18px;
  padding: 26px 24px 22px;
  margin: 0;
  position: relative;
  box-shadow: 0 4px 14px rgba(34,39,46,.05);
  min-width: 0;
}
.zg-home .zg-review::before {
  content: "\201C";
  position: absolute; top: 6px; right: 20px;
  font-family: var(--zg-font-serif);
  font-size: 4.4rem; line-height: 1;
  color: var(--zg-primary-light);
  pointer-events: none;
}
.zg-home .zg-review-stars {
  color: #e8a33d;
  font-size: 1rem; letter-spacing: .18em;
  margin-bottom: 12px;
}
.zg-home .zg-review blockquote {
  margin: 0 0 16px;
  font-size: .94rem; line-height: 1.85;
  color: var(--zg-ink);
}
.zg-home .zg-review figcaption {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 10px;
  border-top: 1px solid var(--zg-line);
  padding-top: 14px;
}
.zg-home .zg-review figcaption strong {
  font-size: .92rem; color: var(--zg-ink);
}
.zg-home .zg-review figcaption span {
  font-size: .8rem; color: var(--zg-ink-soft);
}

/* ---------- 常见问题 ---------- */
.zg-home .zg-faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.zg-home .zg-faq details {
  background: var(--zg-card);
  border: 1px solid var(--zg-line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.zg-home .zg-faq details[open] {
  border-color: rgba(232,98,44,.35);
  box-shadow: 0 6px 18px rgba(232,98,44,.07);
}
.zg-home .zg-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px;
  font-size: .98rem; font-weight: 600; color: var(--zg-ink);
  -webkit-tap-highlight-color: transparent;
}
.zg-home .zg-faq summary::-webkit-details-marker { display: none; }
.zg-home .zg-faq-plus {
  flex: none;
  position: relative;
  width: 18px; height: 18px;
}
.zg-home .zg-faq-plus::before,
.zg-home .zg-faq-plus::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--zg-primary);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform .22s ease;
}
.zg-home .zg-faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.zg-home .zg-faq details[open] .zg-faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.zg-home .zg-faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: .9rem; line-height: 1.8;
  color: var(--zg-ink-soft);
}

/* ---------- 新区块响应式 ---------- */
@media (max-width: 980px) {
  .zg-home .zg-tours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zg-home .zg-reviews { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .zg-home .zg-tours { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .zg-home .zg-tour-body { padding: 15px 15px 13px; }
  .zg-home .zg-tour-title { font-size: 1.06rem; }
  .zg-home .zg-tour-desc { font-size: .85rem; }
  .zg-home .zg-reviews { gap: 14px; }
  .zg-home .zg-review { padding: 20px 18px 16px; }
  .zg-home .zg-faq summary { padding: 14px 16px; font-size: .93rem; }
  .zg-home .zg-faq details p { padding: 0 16px 14px; font-size: .86rem; }
}

/* ============================================================
   头 部 体 系 / 两 栏 排 版 / 艺 术 字
   —— 由 mu-plugins/zhuguang-assets.php 注入对应 HTML
   ============================================================ */

/* ---------- 字体角色 ----------
   Noto Serif SC / Ma Shan Zheng / Playfair Display 为自托管（uploads/zhuguang/fonts/），
   按 unicode-range 分片，浏览器只下载当前页面用到的字符所在分片。 */
:root {
  --zg-font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    "Segoe UI", Roboto, sans-serif;
  /* 展示衬线：中文标题主力 */
  --zg-font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC",
    "STZhongsong", "SimSun", Georgia, serif;
  --zg-font-display: var(--zg-font-serif);
  /* 毛笔书法：品牌字与艺术字点位 */
  --zg-font-brush: "Ma Shan Zheng", "Songti SC", "STKaiti", "KaiTi", cursive;
  /* 拉丁展示衬线：英文小标与数字 */
  --zg-font-latin: "Playfair Display", "Baskerville", Georgia, "Times New Roman", serif;
  --zg-wrap: 1200px;
}

/* 主题自带页头由 mu-plugin 的自定义头部取代 */
#site-header { display: none !important; }

/* 通用版心 */
.zg-wrap { max-width: var(--zg-wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部公告条 ---------- */
.zg-topbar {
  background: #22272e;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  letter-spacing: .01em;
}
.zg-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 38px; padding-top: 6px; padding-bottom: 6px;
}
.zg-topbar-notice { margin: 0; line-height: 1.5; }
.zg-topbar-links { display: flex; align-items: center; gap: 20px; flex: none; }
.zg-topbar-links a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .18s;
}
.zg-topbar-links a:hover { color: #f5a623; }
.zg-topbar-links svg { width: 14px; height: 14px; }

/* ---------- 品牌行（logo / 搜索 / 联系） ---------- */
.zg-header { background: #fff; border-bottom: 1px solid var(--zg-line); }
.zg-head-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding-top: 16px; padding-bottom: 16px;
}

.zg-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; border: none !important; flex: none; }
.zg-brand-seal {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, #e8622c, #c74e1e);
  color: #fff;
  box-shadow: 0 6px 16px rgba(232, 98, 44, .28);
}
.zg-brand-seal svg { width: 44px; height: 44px; }
.zg-brand-cn {
  display: block;
  font-family: var(--zg-font-brush);
  font-size: 1.78rem; line-height: 1.08;
  color: var(--zg-ink); letter-spacing: .06em;
}
.zg-brand-en {
  display: block;
  font-family: var(--zg-font-latin);
  font-size: .58rem; letter-spacing: .34em;
  color: #a9a29a; margin-top: 3px;
}

.zg-head-search { min-width: 0; max-width: 440px; width: 100%; justify-self: center; }
.zg-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--zg-cream);
  border: 1px solid var(--zg-line);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.zg-search:focus-within { border-color: var(--zg-primary); box-shadow: 0 0 0 4px rgba(232, 98, 44, .1); }
.zg-search input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  font-family: inherit; font-size: .92rem; color: var(--zg-ink);
  padding: 9px 0;
}
.zg-search input::placeholder { color: #aaa39b; }
.zg-search button {
  flex: none; width: 38px; height: 38px;
  display: grid; place-items: center;
  border: none; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--zg-primary), #f07a3d);
  color: #fff;
  transition: transform .18s;
}
.zg-search button:hover { transform: scale(1.06); }
.zg-search button svg { width: 17px; height: 17px; }
.zg-hotwords {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  margin: 8px 0 0; padding-left: 4px;
  font-size: .76rem; line-height: 1.6; color: var(--zg-ink-soft);
}
.zg-hotwords span { color: #aaa39b; }
.zg-hotwords a { color: var(--zg-ink-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.zg-hotwords a:hover { color: var(--zg-primary); border-bottom-color: var(--zg-primary); }

.zg-head-contact { display: flex; align-items: center; gap: 20px; flex: none; }
.zg-cicons { display: flex; gap: 14px; }
.zg-cicon {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--zg-ink-soft); font-size: .7rem; text-decoration: none;
  transition: color .18s, transform .18s;
}
.zg-cicon:hover { color: var(--zg-ink); transform: translateY(-2px); }
.zg-cicon svg { width: 22px; height: 22px; }
.zg-cicon-wechat svg { color: #07c160; }
.zg-cicon-whatsapp svg { color: #25d366; }
.zg-cicon-line svg { color: #06c755; }

.zg-hotline { border-left: 1px solid var(--zg-line); padding-left: 20px; }
.zg-hotline-label { display: block; font-size: .68rem; color: #aaa39b; margin-bottom: 1px; }
.zg-hotline-num {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--zg-font-latin);
  font-size: 1.14rem; font-weight: 700; letter-spacing: .01em;
  color: var(--zg-primary); text-decoration: none; border: none !important;
}
.zg-hotline-num svg { width: 16px; height: 16px; }
.zg-head-cta {
  display: inline-flex; align-items: center;
  padding: 12px 24px; border-radius: 999px;
  border: 2px solid var(--zg-primary) !important;
  color: var(--zg-primary); font-weight: 700; font-size: .94rem;
  text-decoration: none; white-space: nowrap;
  transition: all .2s;
}
.zg-head-cta:hover { background: var(--zg-primary); color: #fff; }

.zg-nav-toggle {
  display: none;
  width: 46px; height: 46px; flex: none;
  place-items: center;
  border: 1px solid var(--zg-line); border-radius: 12px;
  background: #fff; color: var(--zg-ink); cursor: pointer;
}
.zg-nav-toggle svg { width: 22px; height: 22px; }

/* 抽屉关闭键（仅 ≤900 显示；X 由两条伪元素线绘制，纯 CSS） */
.zg-nav-close {
  display: none;
  position: absolute; top: 22px; right: 18px;
  width: 44px; height: 44px;
  place-items: center;
  border: 0; border-radius: 0;
  background: none; color: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
/* 主题 reset.css 的 button:focus / :focus-visible 特异度高于单类，须逐状态显式声明 */
.zg-nav-close:hover,
.zg-nav-close:focus,
.zg-nav-close:active { background: none; border: 0; color: #fff; outline: none; }
.zg-nav-close:focus-visible { background: none; box-shadow: none; outline: 2px solid #c9a86a; outline-offset: 2px; }
.zg-nav-close span { position: relative; display: block; width: 20px; height: 20px; }
.zg-nav-close span::before,
.zg-nav-close span::after {
  content: ""; position: absolute; top: 9px; left: 0;
  width: 20px; height: 2px; background: currentColor;
}
.zg-nav-close span::before { transform: rotate(45deg); }
.zg-nav-close span::after  { transform: rotate(-45deg); }

/* ---------- 主导航（品牌橙实色条 + 下拉） ---------- */
.zg-nav {
  background: linear-gradient(90deg, #d9541f, #e8622c 48%, #ef7a3f);
  box-shadow: 0 2px 12px rgba(199, 78, 30, .2);
  position: sticky; top: 0; z-index: 90;
}
.zg-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.zg-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.zg-menu li { position: relative; margin: 0; }
.zg-menu a { text-decoration: none; }
.zg-menu > li > a {
  display: flex; align-items: center; gap: 7px;
  height: 56px; padding: 0 19px;
  color: #fff; font-size: .96rem; font-weight: 600; letter-spacing: .03em;
  transition: background .18s;
}
.zg-menu > li > a:hover,
.zg-menu > li.current-menu-item > a,
.zg-menu > li.current_page_item > a,
.zg-menu > li.current-menu-ancestor > a,
.zg-menu > li.current_page_ancestor > a { background: rgba(0, 0, 0, .15); }
.zg-menu > li.menu-item-has-children > a::after {
  content: ""; flex: none;
  width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.zg-menu > li.menu-item-has-children:hover > a::after { transform: rotate(45deg) translate(2px, 2px); }

/* 下拉面板 */
.zg-menu .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 95;
  min-width: 330px; margin: 0; padding: 8px;
  list-style: none;
  background: #fff; border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 40px rgba(24, 20, 16, .18);
  border-top: 3px solid #f5a623;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.zg-menu li:hover > .sub-menu,
.zg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.zg-menu .sub-menu a {
  display: block; padding: 10px 14px;
  border-radius: 9px;
  color: var(--zg-ink); font-size: .9rem; font-weight: 500; line-height: 1.5;
  transition: background .16s, color .16s, padding-left .16s;
}
.zg-menu .sub-menu a:hover { background: var(--zg-primary-light); color: var(--zg-primary-dark); padding-left: 19px; }
/* 下拉第一项 = 该目的地总览，做视觉强调 */
.zg-menu .sub-menu > li:first-child > a { font-weight: 700; color: var(--zg-ink); }
.zg-menu .sub-menu > li:first-child > a::after {
  content: ""; display: block; height: 1px; margin-top: 9px;
  background: var(--zg-line);
}
/* 末尾两项的下拉贴右对齐，避免面板冲出右侧 */
.zg-menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }

.zg-nav-cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .5) !important;
  color: #fff; font-size: .88rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.zg-nav-cta:hover { background: rgba(255, 255, 255, .3); color: #fff; }
.zg-nav-cta svg { width: 15px; height: 15px; }

/* ---------- 面包屑 ---------- */
.zg-crumb { background: var(--zg-cream); border-bottom: 1px solid var(--zg-line); }
.zg-crumb ol {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; margin: 0; padding: 12px 0;
  list-style: none; font-size: .83rem;
}
.zg-crumb li { display: flex; align-items: center; gap: 8px; }
.zg-crumb li:not(:first-child)::before { content: "›"; color: #c4bdb4; font-size: .95rem; line-height: 1; }
.zg-crumb a { color: var(--zg-ink-soft); text-decoration: none; }
.zg-crumb a:hover { color: var(--zg-primary); }
.zg-crumb span[aria-current] { color: var(--zg-ink); font-weight: 600; }

/* ---------- 正文两栏 + 侧栏 ---------- */
.zg-layout {
  max-width: var(--zg-wrap);
  margin: 0 auto;
  padding: 34px 24px 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px;
  align-items: start;
}
.zg-main { min-width: 0; }
.zg-layout .entry-content,
.zg-layout .page .entry-content,
.zg-layout .site-main .entry-content,
.zg-layout .post .entry-content { max-width: none; margin: 0; padding: 0; }

.zg-sidebar {
  position: sticky; top: 76px;
  display: flex; flex-direction: column; gap: 20px;
}
.zg-widget {
  background: #fff;
  border: 1px solid var(--zg-line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(34, 39, 46, .045);
}
.zg-widget-title {
  position: relative;
  margin: 0 0 16px; padding: 0 0 12px;
  font-family: var(--zg-font-serif);
  font-size: 1.06rem; font-weight: 700; letter-spacing: .06em;
  text-align: left; color: var(--zg-ink);
  border-bottom: 1px solid var(--zg-line);
}
.zg-widget-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 46px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--zg-primary), #f5a623);
}

/* 顾问卡 */
.zg-widget-advisor {
  background: linear-gradient(160deg, #fff8f3, #fdede0);
  border-color: rgba(232, 98, 44, .22);
  text-align: center;
}
.zg-advisor-seal { display: inline-grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 12px; color: var(--zg-primary); }
.zg-advisor-seal svg { width: 100%; height: 100%; }
.zg-advisor-kicker {
  font-family: var(--zg-font-latin);
  font-size: .62rem; letter-spacing: .26em; color: #b9b0a4;
  margin: 0 0 6px;
}
.zg-advisor-name {
  font-family: var(--zg-font-serif);
  font-size: 1.22rem; font-weight: 700; letter-spacing: .08em;
  color: var(--zg-ink); margin: 0 0 8px;
}
.zg-advisor-desc { font-size: .84rem; line-height: 1.75; color: var(--zg-ink-soft); margin: 0 0 16px; }
.zg-advisor-actions { display: flex; flex-direction: column; gap: 8px; }
.zg-advisor-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.zg-advisor-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(34, 39, 46, .14); }
.zg-advisor-btn svg { width: 17px; height: 17px; }
.zg-advisor-btn-wa { background: #25d366; color: #fff !important; }
.zg-advisor-btn-wx { background: #fff; color: var(--zg-ink) !important; border: 1px solid var(--zg-line) !important; }

/* 热门线路 */
.zg-widget-tours { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.zg-widget-tours li { margin: 0; }
.zg-widget-tours li a {
  display: flex; align-items: center; gap: 12px;
  padding: 7px; border-radius: 12px;
  text-decoration: none; transition: background .18s;
}
.zg-widget-tours li a:hover { background: var(--zg-primary-light); }
.zg-wt-thumb {
  flex: none; width: 76px; height: 58px;
  border-radius: 10px; overflow: hidden;
  background: var(--zg-cream);
}
.zg-wt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zg-wt-body { min-width: 0; }
.zg-wt-body strong {
  display: block; font-size: .87rem; font-weight: 600;
  color: var(--zg-ink); line-height: 1.45;
}
.zg-wt-body em { font-style: normal; font-family: var(--zg-font-latin); font-size: .9rem; font-weight: 700; color: var(--zg-primary); }

/* 目的地胶囊 */
.zg-widget-dests { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.zg-widget-dests li { margin: 0; }
.zg-widget-dests a {
  display: inline-block; padding: 7px 15px;
  border-radius: 999px;
  background: var(--zg-cream); border: 1px solid var(--zg-line) !important;
  color: var(--zg-ink); font-size: .85rem; text-decoration: none;
  transition: all .18s;
}
.zg-widget-dests a:hover { background: var(--zg-primary); border-color: var(--zg-primary) !important; color: #fff; }

/* 最新攻略 */
.zg-widget-posts { margin: 0; padding: 0; list-style: none; }
.zg-widget-posts li { margin: 0; }
.zg-widget-posts li a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--zg-line) !important;
  text-decoration: none;
}
.zg-widget-posts li:last-child a { border-bottom: none !important; }
.zg-wp-num {
  flex: none;
  font-family: var(--zg-font-latin);
  font-size: 1.05rem; font-weight: 700; line-height: 1.4;
  color: var(--zg-primary); opacity: .5;
}
.zg-wp-title { font-size: .87rem; line-height: 1.55; color: var(--zg-ink-soft); transition: color .18s; }
.zg-widget-posts li a:hover .zg-wp-title { color: var(--zg-primary); }

/* 侧栏 CTA */
.zg-widget-cta {
  background: linear-gradient(155deg, #e8622c, #c74e1e);
  border: none;
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(232, 98, 44, .26);
}
.zg-wc-kicker { font-family: var(--zg-font-latin); font-size: .62rem; letter-spacing: .26em; color: rgba(255, 255, 255, .78); margin: 0 0 6px; }
.zg-wc-title { font-family: var(--zg-font-serif); font-size: 1.28rem; font-weight: 700; letter-spacing: .05em; margin: 0 0 8px; color: #fff; }
.zg-wc-desc { font-size: .83rem; line-height: 1.72; color: rgba(255, 255, 255, .88); margin: 0 0 15px; }
.zg-wc-btn {
  display: block; padding: 12px;
  background: #fff; color: var(--zg-primary-dark) !important;
  border: none !important; border-radius: 999px;
  font-weight: 700; font-size: .92rem; text-decoration: none;
  transition: transform .18s;
}
.zg-wc-btn:hover { transform: translateY(-2px); }
.zg-wc-note { font-size: .72rem; color: rgba(255, 255, 255, .7); margin: 10px 0 0; }

/* ---------- 艺术字 ---------- */
/* 大标题走衬线展示体，正文保持无衬线 —— 层级一眼可辨 */
h1, h2 { font-family: var(--zg-font-serif); }
h1 { font-weight: 900; letter-spacing: .03em; }
h2 { font-weight: 700; }
.entry-content h1 { font-weight: 900; font-size: clamp(1.62rem, 3.3vw, 2.3rem); letter-spacing: .03em; }
.entry-content h2 { font-weight: 700; font-size: clamp(1.32rem, 2.5vw, 1.75rem); letter-spacing: .04em; }
.zg-eyebrow, .zg-sec-sub + .zg-eyebrow { font-family: var(--zg-font-latin); }
.zg-eyebrow { letter-spacing: .3em; }
.zg-sec-sub { font-family: var(--zg-font-sans); }
/* 数字与价格走拉丁展示体 */
.zg-tour-price, .zg-trust-num, .zg-step-num, .zg-advisor-num { font-family: var(--zg-font-latin); }

/* 首页 hero：书法水印 + 毛笔强调线 */
.zg-home .zg-hero { position: relative; overflow: hidden; }
.zg-hero-mark {
  position: absolute; top: 50%; right: 40px;
  transform: translateY(-50%);
  font-family: var(--zg-font-brush);
  font-size: 7.4rem; line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .1);
  pointer-events: none; user-select: none;
}
.zg-home .zg-hero h1 { font-weight: 900; letter-spacing: .05em; }
.zg-hl { position: relative; white-space: nowrap; }
.zg-hl::after {
  content: ""; position: absolute; left: -3px; right: -3px; bottom: -10px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M6 15C52 7 120 3 172 5c40 2 76 6 122 12' stroke='%23f5a623' stroke-width='7' stroke-linecap='round' fill='none' opacity='0.85'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* 攻略文章首字下沉 */
.single-post .entry-content > p:first-of-type::first-letter {
  float: left;
  font-family: var(--zg-font-serif);
  font-size: 3.5rem; font-weight: 900; line-height: .9;
  color: var(--zg-primary);
  margin: 6px 12px 0 0;
}

/* ---------- 头部 / 两栏 响应式 ---------- */
@media (max-width: 1120px) {
  .zg-head-main { grid-template-columns: auto 1fr; gap: 18px 24px; }
  .zg-head-search { grid-column: 1 / -1; order: 3; max-width: none; justify-self: stretch; }
  .zg-head-contact { display: none; }
  .zg-nav-toggle { display: grid; justify-self: end; }
  .zg-nav-cta { display: none; }
}
@media (max-width: 1040px) {
  .zg-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 4rem; }
  .zg-sidebar { position: static; }
}
@media (max-width: 900px) {
  /* 导航条降级为空壳（子级 fixed 脱离文档流，自身高度归零），
     菜单容器整体变为右侧滑出抽屉，与首页 / 目的地页 / 线路页三处保持一致 */
  .zg-nav .zg-nav-inner {
    position: fixed; inset: 0 0 0 auto; z-index: 1000;
    width: 86vw; max-width: 360px; margin: 0;
    display: flex; flex-direction: column; align-items: stretch;
    padding: 96px 26px 32px;
    background: #1b222c;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .38s;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .zg-nav.is-open .zg-nav-inner {
    transform: translateX(0);
    visibility: visible;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
  }
  /* 遮罩压在内容之上、页头之下（页头 z 90），抽屉 z 1000 在最上层 */
  body.zg-nav-open::before {
    content: ""; position: fixed; inset: 0; z-index: 89;
    background: rgba(12, 16, 22, .5);
  }
  body.zg-nav-open { overflow: hidden; }
  body.zg-nav-open .zg-float-contact { opacity: 0; pointer-events: none; }
  .zg-nav-close { display: grid; }
  .zg-menu { display: flex; flex-direction: column; align-items: stretch; padding: 0; margin: 0; }
  .zg-menu > li > a {
    height: auto; padding: 13px 4px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }
  .zg-menu > li.menu-item-has-children > a::after { transform: rotate(45deg); }
  .zg-menu li.menu-item-has-children.is-open > a::after { transform: rotate(-135deg); }
  .zg-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none;
    min-width: 0; padding: 4px 0 8px;
    background: rgba(0, 0, 0, .14);
    border-radius: 12px; border-top: none;
    box-shadow: none;
  }
  .zg-menu li.menu-item-has-children.is-open > .sub-menu { display: block; }
  .zg-menu .sub-menu a { color: rgba(255, 255, 255, .92); padding: 10px 16px; }
  .zg-menu .sub-menu a:hover { background: rgba(255, 255, 255, .14); color: #fff; padding-left: 20px; }
  .zg-menu .sub-menu > li:first-child > a { color: #fff; }
  .zg-menu .sub-menu > li:first-child > a::after { background: rgba(255, 255, 255, .25); }
  /* 桌面隐藏的 CTA 在抽屉内恢复，作为底部主行动点 */
  .zg-nav .zg-nav-cta {
    display: flex; margin-top: 24px; justify-content: center;
    background: #c2551f; color: #fff;
  }
  .zg-nav .zg-nav-cta:hover { background: #a9471a; color: #fff; }
  .zg-hero-mark { display: none; }
}
@media (max-width: 640px) {
  /* .zg-wrap{padding:0 16px} 与本元素同优先级且在后方，此处用双类选择器重述抽屉内边距 */
  .zg-nav .zg-nav-inner { padding: 88px 22px 28px; }
}
@media (max-width: 640px) {
  .zg-wrap { padding: 0 16px; }
  .zg-topbar-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 8px; padding-bottom: 8px; }
  .zg-topbar-links { gap: 14px; }
  .zg-head-main { padding-top: 12px; padding-bottom: 12px; gap: 12px 16px; }
  .zg-brand-seal { width: 44px; height: 44px; border-radius: 11px; }
  .zg-brand-seal svg { width: 37px; height: 37px; }
  .zg-brand-cn { font-size: 1.46rem; }
  .zg-brand-en { letter-spacing: .24em; font-size: .54rem; }
  .zg-hotwords { font-size: .72rem; }
  .zg-layout { padding: 22px 16px 3.5rem; gap: 30px; }
  .zg-crumb ol { padding: 10px 0; font-size: .78rem; }
  .single-post .entry-content > p:first-of-type::first-letter { font-size: 2.9rem; }
}

/* ============================================================
   归 档 / 搜 索 列 表 页
   原来只有标题 + 一坨纯文本；改成带分类标签、摘要、阅读全文的卡片网格
   ============================================================ */
.archive .site-main > .page-header,
.search .site-main > .page-header,
.blog .site-main > .page-header {
  max-width: 780px; margin: 44px auto 34px; padding: 0 24px;
}
.archive .site-main > .page-header .entry-title,
.search .site-main > .page-header .entry-title,
.blog .site-main > .page-header .entry-title {
  position: relative;
  margin: 0; padding-bottom: 18px;
  font-family: var(--zg-font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 900; letter-spacing: .05em;
  color: var(--zg-ink); text-align: center;
}
.archive .site-main > .page-header .entry-title::after,
.search .site-main > .page-header .entry-title::after,
.blog .site-main > .page-header .entry-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 64px; height: 4px; border-radius: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--zg-primary), #f5a623);
}
.archive .site-main > .page-header .entry-title span,
.search .site-main > .page-header .entry-title span { color: var(--zg-primary); }

.archive .page-content, .search .page-content, .blog .page-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--zg-wrap);
  margin: 0 auto; padding: 0 24px 5rem;
}

.archive article.post, .search article.post, .blog article.post {
  position: relative;
  display: flex; flex-direction: column;
  margin: 0; padding: 28px 26px 20px;
  background: var(--zg-card);
  border: 1px solid var(--zg-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(34, 39, 46, .05);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.archive article.post::before, .search article.post::before, .blog article.post::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--zg-primary), #f5a623);
  opacity: 0; transition: opacity .22s;
}
.archive article.post:hover, .search article.post:hover, .blog article.post:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 98, 44, .35);
  box-shadow: 0 14px 32px rgba(34, 39, 46, .12);
}
.archive article.post:hover::before, .search article.post:hover::before, .blog article.post:hover::before { opacity: 1; }

/* 角标编号（艺术字：拉丁展示体） */
.zg-ac-num {
  position: absolute; top: 14px; right: 20px;
  font-family: var(--zg-font-latin);
  font-size: 2.5rem; font-weight: 700; line-height: 1;
  color: rgba(232, 98, 44, .13);
  pointer-events: none; user-select: none;
}
/* 缩略图（文章配了特色图才出现）
   用绝对定位让图片无法反向撑高容器 —— 否则整页截图（视口被拉长）时
   aspect-ratio 会被百分比高度盖掉，图会变成竖长条。 */
.zg-ac-thumb {
  order: 2; position: relative; display: block;
  margin: -8px 0 16px;
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 9; min-height: 120px;
  background: var(--zg-cream);
}
.zg-ac-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* 分类标签 */
.zg-ac-cat {
  order: 3; align-self: flex-start;
  margin: 0 0 12px; padding: 4px 11px;
  border-radius: 999px;
  background: var(--zg-primary-light); color: var(--zg-primary-dark);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
}
/* 标题（主题输出，用 order 提到摘要之前） */
.archive article.post > .entry-title,
.search article.post > .entry-title,
.blog article.post > .entry-title {
  order: 4;
  margin: 0 0 10px; padding: 0;
  font-family: var(--zg-font-serif);
  font-size: 1.2rem; font-weight: 700; line-height: 1.5; letter-spacing: .02em;
  text-align: left;
}
.archive article.post > .entry-title a,
.search article.post > .entry-title a,
.blog article.post > .entry-title a { color: var(--zg-ink) !important; text-decoration: none; border: none !important; }
.archive article.post:hover > .entry-title a,
.search article.post:hover > .entry-title a,
.blog article.post:hover > .entry-title a { color: var(--zg-primary-dark) !important; }

.zg-ac-desc {
  order: 5; margin: 0 0 18px;
  font-size: .89rem; line-height: 1.78;
  color: var(--zg-ink-soft); text-align: left;
}
.zg-ac-more {
  order: 6; margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--zg-line);
}
.zg-ac-more a {
  position: static;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .85rem; font-weight: 600;
  color: var(--zg-primary) !important;
  text-decoration: none; border: none !important;
}
.zg-ac-more a::after { content: "→"; transition: transform .18s; }
.zg-ac-more a:hover::after { transform: translateX(4px); }
/* 整卡可点：链接的伪元素铺满卡片（article 为定位祖先） */
.zg-ac-more a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

@media (max-width: 900px) {
  .archive .page-content, .search .page-content, .blog .page-content {
    grid-template-columns: minmax(0, 1fr); gap: 16px;
    padding: 0 16px 4rem;
  }
  .archive .site-main > .page-header, .search .site-main > .page-header { margin: 30px auto 24px; padding: 0 16px; }
  .archive article.post, .search article.post { padding: 24px 20px 18px; }
  .zg-ac-num { font-size: 2rem; top: 12px; right: 16px; }
}

/* ============================================================
   高 端 精 致 化 PASS（2026-09-26 晚 · 追加覆盖层）
   设计语言：深墨导航 · 暖纸底色 · 香槟金细节 · 细线代厚影 · 慢速动效
   （全部为同优先级后置覆盖，整体可回滚；橘色降饱和后只承担「行动」角色）
   ============================================================ */

/* ---------- 1. 令牌重铸 ---------- */
:root {
  --zg-primary: #c2551f;          /* 深陶橘：降饱和，仅用于 CTA 与关键行动 */
  --zg-primary-dark: #9f4416;
  --zg-primary-light: #f9efe7;
  --zg-ink: #23282f;
  --zg-ink-soft: #5f6773;
  --zg-line: #e6dfd4;             /* 更暖的细线 */
  --zg-cream: #f6f1e9;
  --zg-paper: #f7f4ee;            /* 暖纸底色 */
  --zg-gold: #a87f4b;             /* 香槟金：细节与点缀 */
  --zg-gold-dark: #8a6a3b;
  --zg-gold-light: #f3ecdf;
  --zg-nav-ink: #1b222c;          /* 导航深墨 */
  --zg-radius: 12px;
  --zg-shadow: 0 1px 2px rgba(24, 20, 16, .04), 0 10px 30px rgba(24, 20, 16, .05);
  --zg-shadow-hover: 0 2px 4px rgba(24, 20, 16, .05), 0 16px 40px rgba(24, 20, 16, .09);
  --zg-ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. 暖纸底 + 选区金色 ---------- */
body { background: var(--zg-paper); }
::selection { background: rgba(168, 127, 75, .24); color: var(--zg-ink); }

/* ---------- 3. 顶部条 / 导航：促销橘 → 深墨 ---------- */
.zg-topbar { background: #151a22; letter-spacing: .04em; }
.zg-topbar-links a:hover { color: #c9a86a; }

.zg-nav {
  background: var(--zg-nav-ink);
  box-shadow: 0 8px 28px rgba(18, 24, 34, .2);
}
.zg-menu > li > a { font-size: .94rem; font-weight: 500; letter-spacing: .08em; }
.zg-menu > li > a:hover,
.zg-menu > li.current-menu-item > a,
.zg-menu > li.current_page_item > a,
.zg-menu > li.current-menu-ancestor > a,
.zg-menu > li.current_page_ancestor > a {
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 -2px 0 var(--zg-primary);
}
.zg-nav-cta {
  background: transparent; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .38) !important;
  letter-spacing: .05em;
}
.zg-nav-cta:hover { background: rgba(255, 255, 255, .1); }

@media (min-width: 901px) {
  .zg-menu .sub-menu {
    border-top: 2px solid var(--zg-gold);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 24px 60px rgba(18, 14, 10, .16);
  }
  .zg-menu .sub-menu a:hover {
    background: var(--zg-gold-light); color: var(--zg-gold-dark);
  }
}

/* ---------- 4. 品牌行细节 ---------- */
.zg-brand-seal {
  background: var(--zg-primary);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(194, 85, 31, .24);
}
.zg-brand-en { color: var(--zg-gold); }
.zg-search { background: #fff; border-radius: 8px; }
.zg-search:focus-within {
  border-color: rgba(168, 127, 75, .65);
  box-shadow: 0 0 0 3px rgba(168, 127, 75, .14);
}
.zg-search button { background: var(--zg-primary); border-radius: 6px; }
.zg-hotwords a:hover { color: var(--zg-gold-dark); border-bottom-color: var(--zg-gold); }
.zg-head-cta {
  border: 1px solid var(--zg-primary) !important; border-radius: 6px;
  padding: 11px 22px; font-weight: 600; letter-spacing: .05em;
}

/* ---------- 5. 按钮：胶囊渐变 + 光晕 → 矩形实色 + 微影 ---------- */
.zg-btn, .entry-content .zg-btn {
  background: var(--zg-primary);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(140, 60, 20, .22);
  font-weight: 600; letter-spacing: .1em;
}
.zg-btn:hover {
  background: var(--zg-primary-dark);
  box-shadow: 0 4px 14px rgba(140, 60, 20, .28);
  transform: translateY(-1px);
}
.zg-btn-ghost {
  border: 1px solid var(--zg-primary) !important; border-radius: 6px;
  font-weight: 600; letter-spacing: .05em;
}
.zg-btn-ghost:hover { background: var(--zg-primary-light); }
.zg-home .zg-hero .zg-btn-ghost { border-radius: 6px; }

/* ---------- 6. 圆角收敛（大圆角 → 适度） ---------- */
.zg-widget, .zg-guide, .zg-channel { border-radius: 12px; }
.zg-home .zg-trust-item, .zg-home .zg-feats li, .zg-home .zg-step,
.zg-home .zg-tour, .zg-home .zg-review, .zg-home .zg-faq details,
.archive article.post, .search article.post, .blog article.post { border-radius: 12px; }
.zg-cta { border-radius: 16px; }
.zg-home .zg-hero, .zg-home .zg-cta { border-radius: 16px; }
.zg-hero { border-radius: 16px; }
.zg-tour-hero img { border-radius: 14px; }
.zg-ac-thumb { border-radius: 10px; }
.zg-wt-thumb { border-radius: 8px; }
.zg-guide-tag, .zg-ac-cat { border-radius: 4px; }
.zg-home .zg-tour-meta em { border-radius: 4px; }

/* ---------- 7. 投影克制化 + 慢速高级动效 ---------- */
.zg-widget, .zg-guide, .zg-channel { box-shadow: var(--zg-shadow); }
.zg-home .zg-trust-item, .zg-home .zg-feats li, .zg-home .zg-step,
.zg-home .zg-tour, .zg-home .zg-review,
.archive article.post, .search article.post, .blog article.post { box-shadow: var(--zg-shadow); }
.zg-home .zg-grid li {
  box-shadow: 0 1px 2px rgba(24, 20, 16, .05), 0 12px 32px rgba(24, 20, 16, .08) !important;
}
.zg-guide, .zg-channel,
.zg-home .zg-trust-item, .zg-home .zg-feats li, .zg-home .zg-step,
.zg-home .zg-tour, .zg-home .zg-review,
.archive article.post, .search article.post, .blog article.post {
  transition: transform .55s var(--zg-ease), box-shadow .55s var(--zg-ease), border-color .3s ease;
}
.zg-guide:hover, .zg-channel:hover,
.zg-home .zg-trust-item:hover, .zg-home .zg-feats li:hover, .zg-home .zg-step:hover,
.zg-home .zg-tour:hover, .zg-home .zg-review:hover,
.archive article.post:hover, .search article.post:hover, .blog article.post:hover {
  transform: translateY(-3px);
  box-shadow: var(--zg-shadow-hover);
}
.zg-home .zg-tour-img img { transition: transform 1.1s var(--zg-ease); }
.zg-home .zg-tour:hover .zg-tour-img img { transform: scale(1.06); }
.zg-tour-hero img { box-shadow: 0 2px 6px rgba(24, 20, 16, .06), 0 18px 44px rgba(24, 20, 16, .12); }

/* ---------- 8. 装饰线：橙黄渐变条 → 香槟金细线 ---------- */
.entry-content h2::before { width: 40px; height: 2px; border-radius: 0; background: var(--zg-gold); }
.entry-content h1::after { width: 40px; height: 2px; border-radius: 0; background: var(--zg-gold); }
.zg-home .zg-sec-head h2::after { width: 40px; height: 2px; border-radius: 0; background: var(--zg-gold); }
.zg-widget-title::after { width: 34px; height: 2px; border-radius: 0; background: var(--zg-gold); }
.archive .site-main > .page-header .entry-title::after,
.search .site-main > .page-header .entry-title::after,
.blog .site-main > .page-header .entry-title::after {
  width: 40px; height: 2px; border-radius: 0; background: var(--zg-gold);
}
.archive article.post::before, .search article.post::before, .blog article.post::before {
  height: 2px; background: var(--zg-gold);
}

/* ---------- 9. Eyebrow：金色 + 两侧细线（编辑感） ---------- */
.zg-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  color: var(--zg-gold);
}
.zg-eyebrow::before, .zg-eyebrow::after {
  content: ""; width: 34px; height: 1px; background: rgba(168, 127, 75, .55);
}
.zg-eyebrow-light { color: #c9a86a; }

/* ---------- 10. 章节节奏：更大的留白 ---------- */
.zg-sec { margin-bottom: clamp(72px, 9vw, 118px); }
.zg-sec-head { margin-bottom: clamp(36px, 4vw, 52px); }
.zg-home { padding-bottom: 6.5rem; }
.zg-home .zg-sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: .06em; }

/* ---------- 11. 数字：大金衬线（步骤）/ 墨色大数（信任） ---------- */
.zg-home .zg-step-num {
  width: auto; height: auto; margin: 0 0 14px;
  background: none; box-shadow: none; border-radius: 0;
  font-family: var(--zg-font-latin);
  font-size: 2rem; font-weight: 700; line-height: 1;
  color: var(--zg-gold); letter-spacing: .02em;
}
.zg-home .zg-trust-num { color: var(--zg-ink); }
.zg-home .zg-trust-num em { color: var(--zg-gold); }

/* ---------- 12. 标签 / 胶囊：橘 → 金 ---------- */
.zg-guide-tag { background: var(--zg-gold-light); color: var(--zg-gold-dark); }
.zg-home .zg-tour-meta em { background: var(--zg-gold-light); color: var(--zg-gold-dark); }
.zg-ac-cat { background: var(--zg-gold-light); color: var(--zg-gold-dark); }
.zg-home .zg-review-stars { color: var(--zg-gold); }
.zg-home .zg-faq details[open] {
  border-color: rgba(168, 127, 75, .45);
  box-shadow: 0 8px 24px rgba(168, 127, 75, .08);
}
.zg-wp-num { color: var(--zg-gold); opacity: .85; }

/* ---------- 13. 侧栏挂件质感 ---------- */
.zg-widget-cta {
  background: linear-gradient(165deg, #c2551f, #9f4416);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(160, 70, 24, .2);
}
.zg-widget-advisor { background: #fffdf9; border-color: rgba(168, 127, 75, .28); }
.zg-advisor-kicker { color: var(--zg-gold); }

/* ---------- 14. 表格 / 内文卡片 ---------- */
.entry-content table { border-radius: 12px; box-shadow: var(--zg-shadow); }
.entry-content thead th { background: var(--zg-nav-ink); letter-spacing: .08em; font-size: .86rem; }
.entry-content ul li { border-radius: 8px; box-shadow: none; }
.entry-content p:has(> .zg-btn) { background: #fff; border-radius: 12px; }

/* ---------- 15. CTA / 页脚 / 面包屑 ---------- */
.zg-cta { background: #1a212b; border-top: 1px solid rgba(201, 168, 106, .4); }
.zg-home .zg-cta {
  background: linear-gradient(160deg, #171d26 0%, #232c38 100%);
  box-shadow: 0 24px 60px rgba(20, 26, 36, .22);
}
.zg-home .zg-cta::after {
  background: radial-gradient(circle, rgba(201, 168, 106, .16), transparent 70%);
}
.site-footer { background: #171d26; }
.site-footer a:hover { color: #c9a86a; }
.zg-crumb { background: transparent; }

/* ---------- 16. Hero 质感 ---------- */
.zg-hero { box-shadow: 0 24px 60px rgba(16, 21, 30, .24); }
.zg-home .zg-hero {
  box-shadow: 0 30px 70px rgba(16, 21, 30, .28);
  background:
    linear-gradient(180deg, rgba(10, 13, 18, .36) 0%, rgba(10, 13, 18, .58) 55%, rgba(10, 13, 18, .84) 100%),
    url(hero-china.jpg) center/cover no-repeat;
}
.zg-home .zg-hero h1 { letter-spacing: .06em; text-shadow: 0 2px 22px rgba(8, 10, 14, .5); }
.zg-home .zg-hero-trust li::before { background: #c9a86a; }

/* ---------- 17. 笔刷下划线转金 ---------- */
.zg-hl::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M6 15C52 7 120 3 172 5c40 2 76 6 122 12' stroke='%23a87f4b' stroke-width='7' stroke-linecap='round' fill='none' opacity='0.85'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
