@charset "utf-8";
/* ==========================================================================
   中國山河錄 · 全站樣式
   設計基調：水墨青綠 + 印章朱紅 + 宣紙米白，襯線標題，雜誌式排版
   ========================================================================== */

:root {
  --ink: #10201d;
  --ink-2: #1b322c;
  --jade: #1f4a42;
  --jade-l: #2f6a5e;
  --seal: #a8322a;
  --seal-l: #c0473a;
  --gold: #b08848;
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --line: #e2dbcd;
  --txt: #26292a;
  --txt-2: #5d615e;
  --txt-3: #8b8d87;
  --white: #fff;
  --shadow-s: 0 1px 3px rgba(16, 32, 29, .06), 0 4px 14px rgba(16, 32, 29, .05);
  --shadow-m: 0 4px 12px rgba(16, 32, 29, .08), 0 18px 44px rgba(16, 32, 29, .10);
  --shadow-l: 0 10px 30px rgba(16, 32, 29, .12), 0 40px 90px rgba(16, 32, 29, .14);
  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", "MingLiU", Georgia, "Times New Roman", serif;
  --sans: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --r: 10px;
  --r-l: 16px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }

/* ---------------------------------------------------------- 头部 */
.hd {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 243, 236, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hd-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 74px; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand svg { width: 34px; height: 34px; flex: 0 0 auto; }
.brand svg path { fill: none; stroke: var(--jade); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.brand-en { font-size: 10.5px; letter-spacing: .22em; color: var(--txt-3); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav > a { font-size: 15px; color: var(--txt-2); position: relative; padding: 6px 0; white-space: nowrap; }
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--seal); transition: right .28s ease;
}
.nav > a:hover, .nav > a.on { color: var(--ink); }
.nav > a:hover::after, .nav > a.on::after { right: 0; }

/* 語言切換：繁 / 簡 分段開關。當前語言實心底不可點，另一側為可點連結。
   字形用襯線「繁/簡」單字，寬度只有 ~62px，不擠壓導航。 */
.langsw {
  display: inline-flex; align-items: center; gap: 2px; margin-left: 8px;
  padding: 3px; border-radius: 999px; vertical-align: middle;
  background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: inset 0 1px 2px rgba(16, 32, 29, .05);
}
.langsw .lw-on,
.langsw .lw-to {
  display: grid; place-items: center; min-width: 27px; height: 25px;
  border-radius: 999px; font-family: var(--serif); font-size: 14px;
  font-weight: 700; line-height: 1; text-decoration: none; transition: .2s;
}
.langsw .lw-on {
  color: #fff; background: linear-gradient(150deg, var(--jade-l), var(--jade));
  box-shadow: 0 1px 4px rgba(31, 74, 66, .3); cursor: default;
}
.langsw .lw-to { color: var(--txt-3); background: transparent; }
.langsw .lw-to:hover { color: var(--jade); background: rgba(31, 74, 66, .1); }
.langsw .lw-to:focus-visible { outline: 2px solid var(--jade-l); outline-offset: 1px; }

.burger { display: none; }

/* 多语言导航收敛：西文/俄文/日泰文导航词比中文长很多，固定 1240 容器放不下。
   通过 html[lang] 按语种收紧间距与字号（中文 zh 页不受影响）。 */
html[lang="ko"] .nav, html[lang="ja"] .nav, html[lang="th"] .nav,
html[lang="ru"] .nav, html[lang="fr"] .nav, html[lang="vi"] .nav,
html[lang="es"] .nav, html[lang="it"] .nav, html[lang="de"] .nav,
html[lang="en"] .nav { gap: 15px; }
html[lang="ko"] .nav > a, html[lang="ko"] .nav-item > a,
html[lang="ja"] .nav > a, html[lang="ja"] .nav-item > a,
html[lang="th"] .nav > a, html[lang="th"] .nav-item > a,
html[lang="ru"] .nav > a, html[lang="ru"] .nav-item > a,
html[lang="fr"] .nav > a, html[lang="fr"] .nav-item > a,
html[lang="vi"] .nav > a, html[lang="vi"] .nav-item > a,
html[lang="es"] .nav > a, html[lang="es"] .nav-item > a,
html[lang="it"] .nav > a, html[lang="it"] .nav-item > a,
html[lang="de"] .nav > a, html[lang="de"] .nav-item > a,
html[lang="en"] .nav > a, html[lang="en"] .nav-item > a { font-size: 13.5px; letter-spacing: 0; }
html[lang="ja"] .brand-cn, html[lang="ko"] .brand-cn,
html[lang="th"] .brand-cn, html[lang="ru"] .brand-cn,
html[lang="fr"] .brand-cn, html[lang="vi"] .brand-cn,
html[lang="es"] .brand-cn, html[lang="it"] .brand-cn,
html[lang="de"] .brand-cn, html[lang="en"] .brand-cn { font-size: 18px; }

/* 下拉容器（.nav-item 必須在基礎層就定位，桌面/移動共用） */
.nav-item { position: relative; display: inline-flex; align-items: center; }
/* hover 橋接：.mega-3 / .mega-4 用 fixed 定位 top:74px，nav-item 底邊與菜單頂邊之間
   有一段死區，鼠標經過時 hover 中斷 → 菜單立刻消失。用 nav-item 的偽元素把死區補滿。
   絕對定位，不參與 inline-flex 佈局，不影響導航項寬度。 */
.nav-item::after { content: ""; position: absolute; left: -40px; right: -40px; top: 100%; height: 28px; }
.nav-item > a { font-size: 15px; color: var(--txt-2); position: relative; padding: 6px 0; white-space: nowrap; }
.nav-item > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--seal); transition: right .28s ease;
}
.nav-item > a:hover, .nav-item > a.on { color: var(--ink); }
.nav-item > a:hover::after, .nav-item > a.on::after { right: 0; }
.arw { display: inline-block; width: 0; height: 0; margin-left: 5px; vertical-align: 2px;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; opacity: .55; }

.mega {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 14px; min-width: 300px; padding: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: 0 18px 48px rgba(20, 32, 30, .16); z-index: 80;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover > .mega, .nav-item:focus-within > .mega { display: block; }
.mega-l { display: block; padding: 9px 12px; border-radius: var(--r-s); }
.mega-l:hover { background: var(--paper); }
.mega-l b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); font-family: var(--serif); letter-spacing: .02em; }
.mega-l em { display: block; font-style: normal; font-size: 12.5px; color: var(--txt-3); margin-top: 3px; }
.mega-2 { display: none; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 560px; }
.nav-item:hover > .mega-2, .nav-item:focus-within > .mega-2 { display: grid; }
.mega-3 {
  display: none; position: fixed; top: 74px; left: 50%; transform: translateX(-50%);
  width: min(1140px, 94vw); grid-template-columns: repeat(5, 1fr); gap: 14px;
  padding: 20px 24px 24px; margin-top: 0; border-radius: 0 0 var(--r-l) var(--r-l); border-top: 0;
}
.mega-3::before { display: block; top: -28px; height: 28px; }
.nav-item:hover > .mega-3, .nav-item:focus-within > .mega-3 { display: grid; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-t { display: block; font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--jade); padding: 6px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mega-s { display: block; font-size: 13.5px; color: var(--txt-2); padding: 5px 8px; border-radius: 6px; }
.mega-s:hover { background: var(--paper); color: var(--ink); }
.mega-all {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 8px; padding: 11px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s);
  font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
  /* 省份下拉有 24 列、面板内部滚动，吸底保证「查看全部」始终可见 */
  position: sticky; bottom: 0; z-index: 3;
}
.mega-all em { font-style: normal; color: var(--gold); font-size: 14px; transition: transform .2s; }
.mega-all:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.mega-all:hover em { transform: translateX(4px); }

/* 下拉底部並排的兩個「查看全部」：包一層 row，sticky 吸底挪到 row 上，
   .mega-all 自身改為 static + flex:1 才能並排等寬（原 grid-column:1/-1 會各佔整行） */
.mega-all-row {
  grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 8px; padding: 8px 0 2px;
  background: var(--white); position: sticky; bottom: 0; z-index: 3;
}
.mega-all-row .mega-all { flex: 1 1 0; min-width: 0; margin-top: 0; position: static; }
.mega-all-2 { color: var(--jade); border-color: rgba(28, 92, 78, .28); }
.mega-all-2 em { color: var(--jade); }
.mega-all-2:hover { background: var(--jade); color: #fff; border-color: var(--jade); }
.mega-all-2:hover em { color: #fff; }

/* 抽屜：桌面端必須隱藏（只在 860px 以下的媒體查詢裡寫過 display:none，桌面會常駐成第二條導航） */
.drawer { display: none; }
.dw-t { font-size: 12px; letter-spacing: .16em; color: var(--seal); font-weight: 700; margin: 18px 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------- 首屏 Hero */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(9, 22, 20, .88) 0%, rgba(9, 22, 20, .62) 45%, rgba(9, 22, 20, .28) 100%);
}
.hero-in { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 96px 24px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .8);
  font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.18; letter-spacing: .02em;
  max-width: 15em; text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 40em; margin: 22px 0 34px; }

.hsearch { display: flex; max-width: 620px; background: rgba(255, 255, 255, .96); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-m); }
.hsearch input {
  flex: 1; border: 0; background: transparent; padding: 0 20px; font-size: 15.5px; font-family: var(--sans); color: var(--txt); outline: none;
}
.hsearch button {
  border: 0; border-radius: 999px; background: var(--seal); color: #fff; font-size: 15px;
  padding: 12px 30px; cursor: pointer; font-family: var(--sans); transition: .2s;
}
.hsearch button:hover { background: var(--seal-l); }
.hero-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags a {
  color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; padding: 5px 15px; font-size: 13.5px; transition: .2s;
}
.hero-tags a:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }

.hero-stats { display: flex; gap: 44px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1.2; }
.hero-stats div span { font-size: 13px; color: rgba(255, 255, 255, .7); letter-spacing: .08em; }

/* ---------------------------------------------------------- 通用区块 */
.sec { padding: 78px 0 0; }
.sec:last-of-type { padding-bottom: 90px; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-hd h2 { font-size: clamp(24px, 3vw, 34px); color: var(--ink); }
.sec-hd .eyebrow { display: block; font-size: 12px; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.sec-hd p { color: var(--txt-2); margin: 8px 0 0; max-width: 46em; font-size: 15px; }
.sec-more { color: var(--jade); font-size: 14.5px; border-bottom: 1px solid var(--jade); padding-bottom: 2px; white-space: nowrap; }
.sec-more:hover { color: var(--seal); border-color: var(--seal); }

.eyebrow { font-size: 12px; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; }

/* 目的地卡片 */
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dcard {
  position: relative; display: block; border-radius: var(--r-l); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-s); transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s;
  aspect-ratio: 3 / 4;
}
.dcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .3, 1); }
.dcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 18, .88) 4%, rgba(8, 20, 18, .28) 46%, rgba(8, 20, 18, 0) 72%);
}
.dcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.dcard:hover img { transform: scale(1.07); }
.dcard-b { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 20px; color: #fff; }
.dcard-b h3 { font-size: 22px; margin-bottom: 6px; }
.dcard-b p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .74); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcard-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(255, 255, 255, .92);
  color: var(--jade); font-size: 11.5px; letter-spacing: .1em; padding: 4px 11px; border-radius: 999px;
}

/* 线路卡片 */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rcard {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s, border-color .35s;
}
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: transparent; }
.rcard-m { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.rcard-m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .3, 1); }
.rcard:hover .rcard-m img { transform: scale(1.06); }
.rcard-days {
  position: absolute; left: 14px; top: 14px; background: rgba(16, 32, 29, .82); color: #fff;
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em;
}
.rcard-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.rcard-b h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; line-height: 1.45; }
.rcard-b h3 a:hover { color: var(--seal); }
.rcard-d { font-size: 14px; color: var(--txt-2); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard-f { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 14px; }
.price { font-family: var(--serif); color: var(--seal); font-size: 22px; font-weight: 700; white-space: nowrap; }
.price em { font-style: normal; font-size: .66em; font-weight: 400; margin-right: 1px; }
.price i { font-style: normal; font-size: 13px; color: var(--txt-3); font-family: var(--sans); font-weight: 400; }
.rcard-go { font-size: 13.5px; color: var(--jade); white-space: nowrap; }
.rcard-go:hover { color: var(--seal); }

/* 主题卡 */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard {
  position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--ink);
  min-height: 220px; display: flex; align-items: flex-end; padding: 26px;
  box-shadow: var(--shadow-s); transition: transform .35s, box-shadow .35s;
}
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 18, .85), rgba(8, 20, 18, .2)); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.tcard-b { position: relative; z-index: 2; color: #fff; }
.tcard-b h3 { font-size: 22px; margin-bottom: 6px; }
.tcard-b p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .76); }

/* 文章卡（攻略 / FAQ） */
.agrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.acard {
  display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px; transition: .3s;
}
.acard:hover { border-color: var(--jade); box-shadow: var(--shadow-s); }
.acard-m { flex: 0 0 132px; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.acard-m img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.acard-b h3 { font-size: 17.5px; color: var(--ink); margin-bottom: 6px; line-height: 1.5; }
.acard-b h3 a:hover { color: var(--seal); }
.acard-b p { margin: 0; font-size: 13.5px; color: var(--txt-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ 折叠 */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 22px; font-family: var(--serif); font-size: 17.5px; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q::after { content: "+"; font-family: var(--sans); color: var(--jade); font-size: 22px; line-height: 1; flex: 0 0 auto; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 22px 20px; color: var(--txt-2); font-size: 15px; border-top: 1px dashed var(--line); padding-top: 16px; }
.faq-item.open .faq-a { display: block; }

/* ---------------------------------------------------------- 面包屑 / 页头 */
.crumb { font-size: 13.5px; color: var(--txt-3); padding: 22px 0 0; }
.crumb a { color: var(--txt-2); }
.crumb a:hover { color: var(--seal); }
.crumb span { margin: 0 8px; color: var(--line); }
.crumb em { font-style: normal; color: var(--ink); }

.phead { padding: 30px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.phead h1 { font-size: clamp(28px, 3.6vw, 42px); color: var(--ink); margin: 12px 0 14px; }
.phead-sub { color: var(--jade); font-size: 16px; margin: 0 0 10px; }
.phead-intro { color: var(--txt-2); max-width: 52em; margin: 0; font-size: 15px; }

.vol-tag {
  display: inline-block; font-size: 11.5px; letter-spacing: .24em; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px; padding: 3px 12px; text-transform: uppercase;
}

/* ---------------------------------------------------------- 详情页 */
.art { padding-bottom: 80px; }
.pgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.pmedia { position: sticky; top: 100px; }
.pmain { margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-m); }
.pmain img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.img-credit { padding: 9px 14px; font-size: 12px; line-height: 1.6; color: var(--txt-3);
  background: var(--paper-2); border-top: 1px solid var(--line); }
.img-credit:empty { display: none; }

.pinfo h1 { font-size: clamp(26px, 3vw, 38px); color: var(--ink); line-height: 1.3; margin-bottom: 14px; }
.pinfo-sub { color: var(--txt-2); font-size: 15.5px; margin-bottom: 22px; }

.price-card {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; border-radius: var(--r-l); padding: 24px 26px; margin-bottom: 22px;
}
.price-lab { font-size: 12.5px; letter-spacing: .2em; color: var(--gold); margin: 0 0 6px; text-transform: uppercase; }
.price-num { margin: 0; font-family: var(--serif); }
.price-num em { font-style: normal; font-size: 20px; color: #fff; margin-right: 2px; }
.price-num b { font-size: 40px; font-weight: 700; letter-spacing: .01em; }
.price-num span { font-size: 13.5px; color: rgba(255, 255, 255, .65); margin-left: 8px; }
.price-perks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .8); }
.price-perks li::before { content: "✓"; color: var(--gold); margin-right: 6px; }

.pquick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 22px; }
.pq-item { background: var(--white); padding: 14px 16px; font-size: 14.5px; color: var(--txt); }
.pq-item i { display: block; font-style: normal; font-size: 12px; color: var(--txt-3); letter-spacing: .1em; margin-bottom: 3px; }

.pbtns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 26px; font-size: 15px; transition: .25s; }
.btn-primary { background: var(--seal); color: #fff; }
.btn-primary:hover { background: var(--seal-l); }
.btn-ghost { border: 1px solid var(--jade); color: var(--jade); }
.btn-ghost:hover { background: var(--jade); color: #fff; }
.pbtn-note { font-size: 12.5px; color: var(--txt-3); margin: 12px 0 0; }

.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 44px; margin-top: 62px; align-items: start; }

.art-hd { border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin: 0 0 28px; }
.art-hd h2 { font-size: 24px; color: var(--ink); }
.art-lead {
  font-size: 18px; line-height: 1.95; color: var(--txt-2);
  margin: -8px 0 32px; padding: 16px 20px;
  background: linear-gradient(180deg, rgba(201,169,110,.08), rgba(201,169,110,0));
  border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0;
}

.art-body { font-size: 16.5px; color: var(--txt); }
.art-body h2 { font-size: 25px; color: var(--ink); margin: 46px 0 16px; padding-left: 14px; border-left: 4px solid var(--gold); }
.art-body h3 { font-size: 19.5px; color: var(--jade); margin: 30px 0 12px; }
.art-body p { margin: 0 0 18px; }
.art-body ul, .art-body ol { margin: 0 0 20px; }
.art-body li { margin-bottom: 8px; }
.art-body img { border-radius: var(--r); margin: 22px 0; }
.art-body blockquote { margin: 24px 0; padding: 16px 22px; background: var(--paper-2); border-left: 3px solid var(--gold); color: var(--txt-2); }
/* 正文中的比较表格（「怎麼選」线路对比） */
.tbl-wrap { margin: 16px 0 34px; }
table.tbl {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 14.5px; line-height: 1.6;
  background: #fffdf8;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-s);
}
table.tbl thead th {
  background: var(--ink-2); color: #f3efe6;
  font-family: var(--serif); font-weight: 600; font-size: 13.5px; letter-spacing: .1em;
  padding: 12px 15px; text-align: left; white-space: nowrap;
}
table.tbl thead th + th { border-left: 1px solid rgba(243, 239, 230, .12); }
table.tbl thead th:nth-child(2), table.tbl thead th:nth-child(3), table.tbl thead th:nth-child(4) { text-align: center; }
table.tbl td {
  padding: 12px 15px; border-top: 1px solid var(--line);
  vertical-align: middle; color: var(--txt);
}
table.tbl tbody tr:nth-child(even) td { background: rgba(239, 234, 224, .38); }
table.tbl tbody tr:hover td { background: var(--paper-2); }
table.tbl td.c-num { text-align: center; white-space: nowrap; }
table.tbl td.c-route a { color: var(--jade); font-weight: 600; text-decoration: none; }
table.tbl td.c-route a:hover { color: var(--jade-l); text-decoration: underline; text-underline-offset: 3px; }
table.tbl td.c-price em { font-style: normal; color: var(--seal); font-weight: 700; }
table.tbl td.c-price i { font-style: normal; color: var(--txt-3); font-size: 12.5px; }
table.tbl td.c-level span {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  background: rgba(31, 74, 66, .09); color: var(--jade); font-size: 12.5px; white-space: nowrap;
}
table.tbl td.c-month, table.tbl td.c-city { color: var(--txt-2); }
@media (max-width: 720px) {
  .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 26px; }
  table.tbl { min-width: 660px; font-size: 13.5px; }
  table.tbl thead th, table.tbl td { padding: 10px 12px; }
}

/* 正文中的推荐卡片（脚本注入的 .rec-grid） */
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 18px 0 30px; }
.rec-card {
  display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--white); transition: .3s;
}
.rec-card:hover { border-color: var(--jade); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.rec-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rec-name { display: block; padding: 12px 14px 2px; font-family: var(--serif); font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.rec-meta { display: block; padding: 0 14px 14px; font-size: 13px; color: var(--txt-3); }

/* ---------------------------------------------------------- 每日行程 */
.tripdays { margin: 0 0 46px; }
.td-hd { margin-bottom: 20px; }
.td-t { font-size: 24px; color: var(--ink); margin: 0 0 8px; }
.td-num { display: block; font-size: 12px; letter-spacing: .24em; color: var(--gold); margin-bottom: 8px; text-transform: uppercase; }
.td-note { margin: 0; font-size: 13.5px; color: var(--txt-3); }
.td-list { list-style: none; margin: 0; padding: 0; }
.td-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin-bottom: 12px; overflow: hidden; }
.td-item-hd { display: flex; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; user-select: none; }
.td-day {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 13px;
}
.td-day b { font-size: 19px; margin-left: 1px; }
.td-title { flex: 1; font-family: var(--serif); font-size: 17.5px; font-weight: 700; color: var(--ink); }
.td-toggle { flex: 0 0 auto; width: 11px; height: 11px; border-right: 2px solid var(--jade); border-bottom: 2px solid var(--jade); transform: rotate(45deg); transition: transform .3s; margin-top: -4px; }
.td-item.open .td-toggle { transform: rotate(-135deg); margin-top: 4px; }
.td-item-bd { display: none; padding: 4px 20px 20px; border-top: 1px dashed var(--line); }
.td-item.open .td-item-bd { display: block; }
.td-dest { margin: 14px 0; font-size: 15px; color: var(--txt); }
.td-dest em { font-style: normal; color: var(--txt-3); font-size: 12.5px; letter-spacing: .1em; margin-right: 10px; }
.td-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 16px; }
.td-f { background: var(--paper); border-radius: 8px; padding: 10px 14px; }
.td-f dt { font-size: 12px; color: var(--txt-3); letter-spacing: .08em; margin-bottom: 2px; }
.td-f dd { margin: 0; font-size: 14px; color: var(--txt); }
.td-detail { font-size: 15.5px; color: var(--txt-2); line-height: 1.9; }
.td-lab { display: block; font-size: 12px; letter-spacing: .16em; color: var(--gold); margin-bottom: 8px; text-transform: uppercase; }

/* 途经景点：上图片 + 下名称，点击图片放大（燈箱見 .lb-*） */
.td-spots { margin: 0 0 16px; }
.td-spot-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 14px; list-style: none; margin: 10px 0 0; padding: 0;
}
.td-spot { min-width: 0; }
.td-spot-pic {
  display: block; position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: 8px; background: var(--paper-2);
}
/* 用 padding-top 撑 3:4 比例（兼容不支持 aspect-ratio 的内核） */
.td-spot-pic::before { content: ""; display: block; padding-top: 133.33%; }
.td-spot-pic img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.td-spot-pic:hover { border-color: var(--jade); }
.td-spot-pic:hover img { transform: scale(1.07); }
.td-spot-zoom {
  position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16, 32, 29, .62); color: #fff; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.td-spot-zoom::before { content: "+"; }
.td-spot-pic:hover .td-spot-zoom { opacity: 1; }
.td-spot-name {
  display: block; margin-top: 7px; text-align: center; font-family: var(--serif);
  font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.45;
  transition: color .25s;
}
.td-spot-name:hover { color: var(--seal); }
/* 无配图的景点：flex 拉伸占满卡片行高，与图片卡严格等高 */
.td-spot-txt { display: flex; }
.td-spot-txt span {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 200px; padding: 10px; border: 1px dashed var(--line); border-radius: 8px;
  background: var(--paper); font-family: var(--serif); font-size: 13.5px; font-weight: 700;
  color: var(--jade); line-height: 1.5;
}

/* 图片灯箱（每日行程景点放大） */
.lb-mask {
  position: fixed; inset: 0; z-index: 9999; background: rgba(10, 18, 16, .9);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.lb-mask[hidden] { display: none; }
.lb-box { margin: 0; max-width: min(92vw, 880px); display: flex; flex-direction: column; align-items: center; }
.lb-img {
  display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto;
  object-fit: contain; background: var(--white); border-radius: 8px; box-shadow: var(--shadow-l);
}
.lb-cap {
  margin-top: 14px; color: #f2eee5; font-family: var(--serif); font-size: 15px;
  letter-spacing: .06em; text-align: center;
}
.lb-close, .lb-nav {
  position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff;
  cursor: pointer; line-height: 1; border-radius: 50%; transition: background .25s;
  font-family: var(--sans);
}
.lb-close { top: 22px; right: 26px; width: 42px; height: 42px; font-size: 28px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 20px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .26); }

/* 参数卡 */
.facts-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 26px; margin: 0 0 34px; box-shadow: var(--shadow-s); }
.facts-lab { display: block; font-size: 12px; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.fact-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.fact { background: var(--white); padding: 12px 16px; }
.fact-k { display: block; font-size: 12.5px; color: var(--txt-3); letter-spacing: .06em; }
.fact-v { display: block; font-size: 15px; color: var(--ink); }

/* 费用说明 */
.pnotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 34px; }
.pnote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.pnote h3 { font-size: 17px; color: var(--ink); margin-bottom: 12px; }
.pnote-body { font-size: 14.5px; color: var(--txt-2); }
.pnote-body ul { margin: 0; padding-left: 1.2em; }
.pnote-body li { margin-bottom: 6px; }

.tags-inline { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags-inline li a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; font-size: 13.5px; color: var(--txt-2); background: var(--white); }
.tags-inline li a:hover { border-color: var(--jade); color: var(--jade); }

.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 14.5px; }
.pager a { color: var(--txt-2); }
.pager a:hover { color: var(--seal); }
.pager .lab { display: block; font-size: 12px; color: var(--txt-3); }
.pager .next { text-align: right; }

/* ---------------------------------------------------------- 侧栏 */
.side { position: sticky; top: 100px; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px 24px; margin-bottom: 22px; }
.side-box h3 { font-size: 17px; color: var(--ink); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px dashed var(--line); padding: 11px 0; display: flex; align-items: flex-start; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { font-size: 14.5px; color: var(--txt-2); flex: 1 1 auto; min-width: 0; }
.side-list a:hover { color: var(--seal); }
.side-list .n { flex: 0 0 20px; display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; background: var(--paper-2); color: var(--txt-3); border-radius: 4px; font-size: 11.5px; margin: 2px 9px 0 0; }
.side-list li:nth-child(1) .n, .side-list li:nth-child(2) .n, .side-list li:nth-child(3) .n { background: var(--seal); color: #fff; }

.side-cta { background: var(--ink); color: #fff; border-radius: var(--r-l); padding: 24px; }
.side-cta h3 { color: #fff; border-bottom-color: rgba(255, 255, 255, .18); }
.side-cta p { font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.side-cta .btn { width: 100%; }

/* ---------------------------------------------------------- 搜索结果 / 标签页 */
.result-hd { padding: 40px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.result-hd h1 { font-size: 28px; color: var(--ink); margin-bottom: 8px; }
.result-hd p { color: var(--txt-2); margin: 0; font-size: 15px; }
.empty { padding: 60px 0; text-align: center; color: var(--txt-3); }

.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 40px; }
.tagcloud a { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 17px; font-size: 14px; color: var(--txt-2); }
.tagcloud a:hover { background: var(--jade); border-color: var(--jade); color: #fff; }

/* ---------------------------------------------------------- 页脚 */
.ft { background: var(--ink); color: rgba(255, 255, 255, .72); margin-top: 80px; }
.ft-in { max-width: var(--wrap); margin: 0 auto; padding: 62px 24px 30px; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft-brand .brand-cn { color: #fff; font-size: 24px; }
.ft-brand p { font-size: 14px; color: rgba(255, 255, 255, .6); margin: 14px 0 0; max-width: 30em; line-height: 1.8; }
.ft-col h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .18em; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; font-weight: 600; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin-bottom: 9px; }
.ft-col a { font-size: 14px; color: rgba(255, 255, 255, .68); }
.ft-col a:hover { color: #fff; }
.ft-bot { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.ft-bot a { color: rgba(255, 255, 255, .55); }

/* ---------------------------------------------------------- 移动端 */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .hd-in { gap: 16px; padding: 0 18px; }
  .nav > a, .nav-item > a { font-size: 14px; }
  .brand-en { display: none; }
}
@media (max-width: 1000px) {
  .nav > a:nth-child(5), .nav > a:nth-child(6) { display: none; }
  .mega-2 { min-width: 460px; }
  .mega-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .dgrid { grid-template-columns: repeat(3, 1fr); }
  .pgrid, .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .pmedia, .side { position: static; }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger {
    display: block; margin-left: auto; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 0;
  }
  .burger span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; transition: .3s; }
  .burger.on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.on span:nth-child(2) { opacity: 0; }
  .burger.on span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .drawer {
    display: none; position: fixed; inset: 74px 0 0; background: var(--paper); z-index: 55;
    padding: 20px 24px 40px; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .drawer.on { display: block; }
  .drawer a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); font-family: var(--serif); }
  .dgrid, .rgrid, .tgrid, .agrid, .rec-grid, .pnotes { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 520px; }
  .td-facts { grid-template-columns: repeat(2, 1fr); }
  .td-spot-list { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
  .lb-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 24px; }
  .lb-nav { width: 38px; height: 38px; font-size: 17px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .fact-row { grid-template-columns: 1fr; }
  .sec { padding-top: 56px; }
}
@media (max-width: 560px) {
  .dgrid, .rgrid, .tgrid, .agrid, .rec-grid, .pnotes { grid-template-columns: 1fr; }
  .dcard { aspect-ratio: 4 / 3; }
  .hero-stats { gap: 26px; }
  .ft-top { grid-template-columns: 1fr; }
  .acard { flex-direction: column; }
  .acard-m { flex: none; }
}

/* ---------------------------------------------------------- 表单 */
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 30px 32px; box-shadow: var(--shadow-s); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.one { grid-template-columns: 1fr; }
.form-box label { display: block; font-size: 13px; color: var(--txt-2); margin-bottom: 6px; }
.form-box input, .form-box select, .form-box textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px;
  font-size: 15px; font-family: var(--sans); color: var(--txt); background: var(--paper); outline: none; transition: .2s;
}
.form-box input:focus, .form-box textarea:focus { border-color: var(--jade); background: #fff; }
.form-box textarea { min-height: 120px; resize: vertical; }
.form-sub { margin-top: 8px; }
.form-sub button { border: 0; border-radius: 999px; background: var(--seal); color: #fff; font-size: 15.5px; padding: 14px 40px; cursor: pointer; font-family: var(--sans); }
.form-sub button:hover { background: var(--seal-l); }
.form-note { font-size: 12.5px; color: var(--txt-3); margin: 14px 0 0; }

/* 联系页信息块 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.info-list li b { display: block; font-size: 12.5px; letter-spacing: .1em; color: var(--txt-3); font-weight: 400; margin-bottom: 3px; }

@media (max-width: 860px) {
  .form-row, .contact-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- 分页条 */
.pagebar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.pagebar span { font-size: 13.5px; }
.pagebar a { display: inline-block; min-width: 34px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--txt-2); font-size: 13.5px; text-align: center; text-decoration: none; transition: .2s; }
.pagebar a:hover { border-color: var(--jade); color: var(--jade); background: var(--paper); }
.page-status { color: var(--txt-3); margin-right: 6px; }
.page-numbar { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.page-numbar a, .page-index a, .page-pre a, .page-next a, .page-last a { white-space: nowrap; }
.page-num-current, .pagebar .page-num-current a { background: var(--jade) !important; border-color: var(--jade) !important; color: #fff !important; }

/* ---------------------------------------------------------- 8 列省份下拉 */
.mega-4 {
  display: none; position: fixed; top: 74px; left: 50%; transform: translateX(-50%);
  width: min(1140px, 94vw); grid-template-columns: repeat(4, 1fr); gap: 12px 18px;
  padding: 20px 24px 24px; margin-top: 0; border-radius: 0 0 var(--r-l) var(--r-l); border-top: 0;
  max-height: calc(100vh - 90px); overflow-y: auto;
}
.mega-4::before { display: block; top: -28px; height: 28px; }
.nav-item:hover > .mega-4, .nav-item:focus-within > .mega-4 { display: grid; }

/* 省份卡片上的天数标记 */
.tcard-n { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--seal); }

/* ---------------------------------------------------------- 首頁新增板塊 */
.sec-paper { background: var(--paper); }
.tcard .tcard-n { color: rgba(255, 255, 255, .82); font-size: 12.5px; }

/* ---------------------------------------------------------- 熱門路線推薦 */
.hr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hr-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: .22s; }
.hr-card:hover { border-color: var(--jade); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.hr-m { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.hr-m img { width: 100%; height: 100%; object-fit: cover; }
.hr-days { position: absolute; left: 10px; top: 10px; background: rgba(16, 32, 29, .84); color: #fff; font-size: 12px; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; }
.hr-hot { position: absolute; right: 10px; top: 10px; background: var(--seal); color: #fff; font-size: 11.5px; padding: 4px 9px; border-radius: 6px; }
.hr-b { display: flex; flex-direction: column; gap: 9px; padding: 15px 16px 16px; flex: 1; }
.hr-b h3 { font-size: 16.5px; line-height: 1.5; }
.hr-b h3 a { color: var(--ink); }
.hr-b h3 a:hover { color: var(--jade); }
.hr-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.hr-meta span { font-size: 12px; color: var(--txt-3); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.hr-f { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px dashed var(--line); }
.hr-f .price { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--seal); }
.hr-f .price i { font-style: normal; font-size: 12px; font-weight: 400; color: var(--txt-3); margin-left: 2px; }
.hr-f .hr-go { font-size: 13px; color: var(--jade); white-space: nowrap; }

/* 為什麼選擇我們 */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px 24px; transition: .22s; }
.why-card:hover { border-color: var(--jade); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.why-n { display: block; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.why-card p { margin: 0; font-size: 14.5px; color: var(--txt-2); line-height: 1.85; }

/* 定制師 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: .22s; }
.adv-card:hover { border-color: var(--jade); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.adv-m { aspect-ratio: 7 / 8; overflow: hidden; background: var(--paper-2); }
.adv-m img { width: 100%; height: 100%; object-fit: cover; }
.adv-b { padding: 20px 20px 24px; }
.adv-tag { display: inline-block; font-size: 11.5px; letter-spacing: .1em; color: var(--jade); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; margin-bottom: 10px; background: var(--paper); }
.adv-b h3 { font-size: 20px; margin: 0 0 4px; }
.adv-t { font-size: 13px; color: var(--txt-3); margin: 0 0 10px; }
.adv-d { font-size: 14px; color: var(--txt-2); line-height: 1.8; margin: 0; }

/* 車隊 */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fleet-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: .22s; }
.fleet-card:hover { border-color: var(--jade); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.fleet-m { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.fleet-m img { width: 100%; height: 100%; object-fit: cover; }
.fleet-b { padding: 18px 20px 22px; }
.fleet-b h3 { font-size: 19px; margin: 0 0 5px; }
.fleet-s { font-size: 13.5px; color: var(--gold); margin: 0 0 12px; }
.fleet-li { list-style: none; margin: 0; padding: 0; }
.fleet-li li { font-size: 14px; color: var(--txt-2); padding: 5px 0 5px 16px; position: relative; border-top: 1px dashed var(--line); }
.fleet-li li:first-child { border-top: 0; }
.fleet-li li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--jade); }
.fleet-note { margin: 22px 0 0; font-size: 14px; color: var(--txt-2); text-align: center; }

/* 標籤雲（首頁只渲染前 20 個，見 ExtLabelController::tagCloudLabels 的 num 參數；
   這裡的 nth-child 只是兜底，防止標籤頁沿用同一個類時一次鋪滿全站 900+ 個標籤） */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a { display: inline-block; font-size: 13.5px; color: var(--txt-2); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; transition: .18s; }
.tag-cloud a:hover { background: var(--jade); border-color: var(--jade); color: #fff; }
.tag-cloud a:nth-child(n + 61) { display: none; }
.tag-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--jade); background: var(--paper); border: 1px dashed var(--jade); border-radius: 999px; padding: 7px 18px; transition: .18s; }
.tag-more:hover { background: var(--jade); border-style: solid; color: #fff; }
.tag-all { margin-top: 20px; text-align: center; }

/* 首頁聯絡表單 */
.hform { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.hform-l .eyebrow { display: block; margin-bottom: 10px; }
.hform-l h2 { font-size: 34px; margin: 0 0 16px; }
.hform-l > p { font-size: 15.5px; color: var(--txt-2); line-height: 1.9; margin: 0 0 26px; }
/* 三條硬承諾：小卡片，標籤在上、內容在下，避免「一行文字 + 虛線」的表格感 */
.hform-pt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hform-pt > div {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--jade); border-radius: 10px; padding: 14px 15px 15px;
  transition: .2s;
}
.hform-pt > div:hover { box-shadow: var(--shadow-s); transform: translateY(-2px); }
.hform-pt b { display: block; font-size: 12.5px; font-weight: 500; color: var(--txt-3); letter-spacing: .06em; margin-bottom: 6px; }
.hform-pt span { display: block; font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--jade); line-height: 1.4; }
.hform-r { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 28px 30px; box-shadow: var(--shadow-s); }
.hform-r .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.hform-r .form-row.one { grid-template-columns: 1fr; }
.hform-r label { display: block; font-size: 13px; color: var(--txt-3); margin-bottom: 6px; letter-spacing: .04em; }

@media (max-width: 1180px) {
  .adv-grid, .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .hr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .adv-grid, .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .hr-grid { grid-template-columns: repeat(2, 1fr); }
  .hform { grid-template-columns: 1fr; gap: 32px; }
  .hform-r .form-row { grid-template-columns: 1fr; }
  .hform-pt { grid-template-columns: 1fr; }
}

/* ============================================================ 通用輪播
   結構：.carousel[data-per] > .car-track（模板裡就是原本的 grid 容器）
   JS 把 .car-track 的子項按 data-per 分成若干 .car-slide，未執行 JS 時
   卡片照常平鋪（SEO 與無障礙不受影響）。 */
.carousel { position: relative; }
.car-vp { overflow: hidden; }
.carousel.on .car-vp { margin: 0 -4px; padding: 0 4px; }
.carousel.on .car-track {
  display: flex; align-items: flex-start;
  transition: transform .52s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.carousel.on .car-slide { flex: 0 0 100%; width: 100%; min-width: 100%; }
.car-dots { display: none; }
.carousel.on .car-dots {
  display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 26px;
}
.car-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: #c9d2cf; cursor: pointer; transition: .28s;
}
.car-dot:hover { background: var(--jade); }
.car-dot.on { width: 26px; background: var(--jade); }
.car-arrow {
  position: absolute; top: 38%; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .94); color: var(--ink);
  display: none; place-items: center; cursor: pointer; z-index: 3;
  box-shadow: var(--shadow-s); transition: .2s;
}
.car-arrow:hover { background: var(--jade); border-color: var(--jade); color: #fff; }
.car-arrow svg { width: 17px; height: 17px; }
.car-arrow.prev { left: -18px; }
.car-arrow.next { right: -18px; }
.carousel.on .car-arrow { display: grid; }
.carousel.on[data-pages="1"] .car-arrow, .carousel.on[data-pages="1"] .car-dots { display: none; }

/* 熱門路線：一頁 6 條（3×2）；常規行程：一頁 6 條（3×2） */
.hr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }

/* FAQ 兩列（每列 5 條） */
.faq-list.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.faq-list.cols .faq-item { align-self: start; }

/* 分頁：禁用態不是鏈接，別再渲染成 href="javascript:;" */
.pagebar .page-dis {
  display: inline-block; min-width: 34px; padding: 7px 12px; border: 1px dashed var(--line);
  border-radius: 8px; color: var(--txt-3); opacity: .55; font-size: 13.5px; text-align: center;
}

/* ============================================================ 移動端抽屜：可折疊分組 */
.drawer .dw-g { border-bottom: 1px solid var(--line); }
.drawer .dw-g-hd {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.drawer .dw-g-hd i { flex: none; }
.drawer .dw-g-hd .arw { transform: rotate(-90deg); transition: transform .25s; opacity: .6; }
.drawer .dw-g.on .dw-g-hd { color: var(--jade); }
.drawer .dw-g.on .dw-g-hd .arw { transform: rotate(0deg); opacity: 1; }
.drawer .dw-g-bd { display: none; padding: 2px 0 10px; }
.drawer .dw-g.on .dw-g-bd { display: block; }
.drawer .dw-g-bd a { font-size: 15.5px; padding: 12px 0 12px 12px; }
.drawer .dw-g-bd a:last-child { border-bottom: 0; }
.drawer .dw-lang { display: block; padding: 16px 0; }

/* ============================================================ 移動端底部導航 */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    padding: 5px 2px calc(5px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(20, 32, 30, .07);
  }
  .mbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 5px 0; font-size: 11px; color: var(--txt-3); text-decoration: none;
    transition: color .2s;
  }
  /* 點亮態：點到哪一項、或當前正處於哪一版塊，哪一項變主色並保持 */
  .mbar a.on { color: var(--jade); }
  .mbar a.on svg { stroke: var(--jade); }
  .mbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

  /* 中間「聯絡」：放大圓鈕 + 兩圈擴散光環 + 呼吸光暈 */
  .mbar .mbar-mid { flex: 0 0 auto; width: 72px; margin-top: -12px; padding-top: 0; }
  .mbar .mbar-mid-ic {
    position: relative; display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(150deg, var(--seal-l), var(--seal));
    box-shadow: 0 4px 12px rgba(168, 50, 42, .32);
    animation: mbGlow 2.4s ease-in-out infinite;
  }
  .mbar .mbar-mid-ic svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 1.7; }
  .mbar .mbar-mid-ic::before,
  .mbar .mbar-mid-ic::after {
    content: ""; position: absolute; inset: -2px; border-radius: 50%;
    border: 2px solid var(--seal); animation: mbRing 2.4s ease-out infinite;
    pointer-events: none;
  }
  .mbar .mbar-mid-ic::after { animation-delay: 1.2s; }
  .mbar .mbar-mid.on .mbar-mid-ic { box-shadow: 0 4px 14px rgba(168, 50, 42, .45); }
  .mbar .mbar-mid span:last-child { margin-top: 1px; }

  body { padding-bottom: 66px; }
  .ft { padding-bottom: 20px; }
}

@keyframes mbRing {
  0%   { transform: scale(.9);  opacity: .55; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes mbGlow {
  0%, 100% { box-shadow: 0 4px 12px rgba(168, 50, 42, .32), 0 0 0 0 rgba(168, 50, 42, .30); }
  50%      { box-shadow: 0 6px 18px rgba(168, 50, 42, .40), 0 0 0 9px rgba(168, 50, 42, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .mbar .mbar-mid-ic,
  .mbar .mbar-mid-ic::before,
  .mbar .mbar-mid-ic::after { animation: none; }
}

/* ============================================================ 右側懸浮側邊欄 */
.sbar {
  position: fixed; right: 14px; top: 56%; transform: translateY(-50%); z-index: 66;
  display: flex; flex-direction: column; align-items: flex-end; gap: 9px;
}
.sbar-list { display: none; flex-direction: column; gap: 9px; }
.sbar.open .sbar-list { display: flex; }
.sbar-b {
  position: relative; width: 54px; height: 54px; border-radius: 15px; cursor: pointer;
  display: grid; place-items: center; gap: 2px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); color: var(--jade);
  box-shadow: 0 6px 20px rgba(20, 32, 30, .1); transition: .2s;
}
.sbar-b svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sbar-b em {
  font-style: normal; font-size: 10.5px; letter-spacing: .02em; line-height: 1;
  max-width: 100%; padding: 0 4px; box-sizing: border-box;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sbar-b:hover { background: var(--jade); border-color: var(--jade); color: #fff; transform: translateY(-2px); }
.sbar-toggle {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 0; color: #fff;
  background: linear-gradient(145deg, var(--jade), #244f47);
  box-shadow: 0 6px 20px rgba(20, 32, 30, .22); transition: .25s;
}
.sbar-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.sbar.open .sbar-toggle svg { transform: rotate(180deg); }
.sbar-pop {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%) scale(.96);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  box-shadow: var(--shadow-m); opacity: 0; pointer-events: none; transition: .2s; white-space: nowrap;
}
.sbar-pop img { width: 116px; height: 116px; display: block; }
.sbar-pop span { display: block; font-size: 12px; color: var(--txt-3); text-align: center; margin-top: 6px; }
.sbar-b:hover .sbar-pop { opacity: 1; transform: translateY(-50%) scale(1); }

@media (max-width: 860px) {
  .sbar { top: auto; bottom: 84px; transform: none; right: 10px; }
  .sbar-b { width: 46px; height: 46px; border-radius: 13px; }
  .sbar-b svg { width: 18px; height: 18px; }
  .sbar-toggle { width: 42px; height: 42px; }
  .sbar-pop { right: 56px; }
}

@media (max-width: 1180px) {
  .car-arrow.prev { left: -10px; }
  .car-arrow.next { right: -10px; }
}
@media (max-width: 1000px) {
  .hr-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-list.cols { gap: 0 22px; }
}
@media (max-width: 860px) {
  .hr-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .faq-list.cols { grid-template-columns: 1fr; }
  .car-arrow { display: none !important; }
  .carousel.on .car-dots { margin-top: 18px; }
}

/* ---------------------------------------------------------- 聯絡方式（海外常用通訊軟體） */
/* 後台「內容 - 站點信息 - 聯絡方式」填了才渲染，沒填 {pboot:contactapps} 輸出空串 */
.ct-apps-box { margin: 0 0 22px; padding: 18px 20px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); }
.ct-apps-h { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .02em; margin-bottom: 14px; }
.ct-apps-h span { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--txt-3); margin-top: 4px; letter-spacing: 0; }
.ct-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 10px; }
.ct-app {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s);
  text-decoration: none; transition: border-color .2s, background .2s, transform .2s;
}
.ct-app:hover { border-color: var(--jade); background: var(--white); transform: translateY(-1px); }
.ct-app-ic { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0; }
.ct-app-t { flex: 1 1 auto; min-width: 0; display: block; }
.ct-app-t b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ct-app-t em { display: block; font-style: normal; font-size: 12.5px; color: var(--txt-3); margin-top: 2px; word-break: break-all; }
.ct-app-go { flex: 0 0 auto; font-size: 12px; color: var(--jade); }
.sbar-pop a { display: block; padding: 4px 2px; font-size: 12.5px; color: var(--ink); text-decoration: none; text-align: left; border-radius: 4px; }
.sbar-pop a:hover { color: var(--jade); background: var(--paper); }
@media (max-width: 860px) { .ct-apps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- 友情連結（後台「擴展內容 → 友情鏈接」，空數據整塊不輸出） */
.flinks { background: var(--paper-2); border-top: 1px solid var(--line); padding: 24px 0; }
.flinks .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; gap: 12px 26px; align-items: baseline; flex-wrap: wrap; }
.flinks-t { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--txt-2); letter-spacing: .14em; white-space: nowrap; margin: 0; }
.flist { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.flist a { font-size: 13.5px; color: var(--txt-2); text-decoration: none; }
.flist a:hover { color: var(--jade); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------- 路線詳情頁：行程免責提示（content_route.html） */
.rt-tip {
  display: flex; align-items: flex-start; gap: 9px;
  margin: -12px 0 26px; padding: 11px 16px;
  background: rgba(176, 136, 72, .075);
  border: 1px solid rgba(176, 136, 72, .26);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  font-size: 13.5px; line-height: 1.75; color: var(--txt-2);
}
.rt-tip svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px; fill: var(--gold); }
.rt-tip span { min-width: 0; }
.rt-tip b { color: var(--ink-2); font-weight: 600; letter-spacing: .01em; }
@media (max-width: 720px) { .rt-tip { margin: -8px 0 20px; font-size: 13px; padding: 10px 13px; } }

/* ---------------------------------------------------- 多語言切換（head.html，純 CSS 展開，空譯文語種不輸出） */
.langbox { position: relative; display: inline-flex; align-items: center; margin-left: 2px; }
.langbox-btn {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font-size: 13.5px; color: var(--txt-2); padding: 5px 8px; border-radius: 999px;
  border: 1px solid var(--line); white-space: nowrap; transition: color .2s, border-color .2s, background .2s;
}
.langbox:hover .langbox-btn, .langbox:focus-within .langbox-btn { color: var(--ink); border-color: var(--jade); background: var(--white); }
.lg-ic { font-style: normal; font-size: 12px; color: var(--jade); display: inline-flex; align-items: center; }
.lg-ic svg { display: block; }
.lg-cur { font-weight: 600; letter-spacing: .04em; }
.langbox-btn .arw { border-color: var(--txt-3); }
.langbox-menu {
  display: none; position: absolute; top: 100%; right: 0; z-index: 60;
  min-width: 168px; max-height: 62vh; overflow-y: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 34px rgba(24, 34, 31, .14); padding: 6px;
}
.langbox::after { content: ""; position: absolute; left: -30px; right: -30px; top: 100%; height: 22px; }
.langbox:hover .langbox-menu, .langbox:focus-within .langbox-menu { display: block; }
.langbox-menu a, .dw-lang a {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px;
  font-size: 13.5px; color: var(--txt-2); text-decoration: none; white-space: nowrap;
}
.langbox-menu a:hover, .dw-lang a:hover { background: var(--paper); color: var(--ink); }
.langbox-menu a i, .dw-lang a i {
  flex: 0 0 26px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--txt-3); text-align: center;
}
.langbox-menu a.on, .dw-lang a.on { background: var(--paper-2); color: var(--jade); font-weight: 600; }
.langbox-menu a.on i, .dw-lang a.on i { color: var(--jade); }
.dw-lang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
@media (max-width: 1080px) { .langbox { display: none; } }
