/* 頁首、頁尾、首頁區塊、共用卡片。顏色一律用 style.css 的變數。 */

[hidden] { display: none !important; }
.site-main { display: block; outline: none; }

/* ==========================================================================
   裝飾：遠山
   ========================================================================== */
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; max-height: 180px; pointer-events: none; }
.mountains__far { fill: var(--gold); opacity: .06; }
.mountains__near { fill: var(--gold); opacity: .06; }

/* 沒有圖的佔位 */
.ph { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; background: var(--bg-soft); overflow: hidden; }
.ph__name { position: relative; font-family: var(--serif); font-weight: 700; font-size: 1.125rem; letter-spacing: .12em; color: var(--gold-dark); }

/* ==========================================================================
   頁首
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--border); }
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 80px; }
.site-header__brand { flex: none; }
.brand { display: inline-flex; align-items: center; gap: .75rem; min-height: 48px; line-height: 1.2; }
.brand__txt { display: flex; flex-direction: column; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.625rem; letter-spacing: .1em; color: var(--text); }
.brand__sub { font-family: var(--serif); font-weight: 500; font-size: .8125rem; letter-spacing: .165em; color: var(--brand); }
.custom-logo-link { display: inline-block; }
.custom-logo { width: auto; height: 52px; }

.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.75rem); }
.nav-list { display: flex; align-items: center; gap: clamp(.25rem, .9vw, 1rem); }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: flex; align-items: center; min-height: 48px; padding: 0 .375rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.nav-list > li > a::after { content: ""; position: absolute; left: .375rem; right: .375rem; bottom: 6px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-list > li:hover > a::after, .nav-list > .current-menu-item > a::after, .nav-list > .current-menu-ancestor > a::after { transform: scaleX(1); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 44px; margin-left: -.25rem; padding: 0; border: 0; background: none; color: var(--gold-dark); }

@media (min-width: 1024px) {
	.sub-menu {
		position: absolute; left: -1rem; top: 100%; z-index: 5; min-width: 220px; padding: .625rem 0;
		background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-hover);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
	}
	.menu-item-has-children:hover > .sub-menu, .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.sub-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 1.25rem; white-space: nowrap; }
	.sub-menu a:hover, .sub-menu .current-menu-item > a { background: var(--bg-soft); color: var(--accent); }
}
@media (min-width: 1024px) and (max-width: 1180px) {
	.nav-list { gap: 0; }
	.nav-list > li > a { font-size: .9375rem; letter-spacing: 0; }
	.brand__name { font-size: 1.375rem; }
	.brand__sub { font-size: .6875rem; }
	.site-nav__line { padding-inline: .625rem; }
}

@media (max-width: 1023px) {
	.site-header__in { min-height: 64px; }
	.brand__name { font-size: 1.375rem; }
	.brand__sub { font-size: .6875rem; }
	.custom-logo { height: 42px; }
	.js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -11px; padding: 0; border: 0; background: none; }
	.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline-flex; }
	.site-nav { flex-direction: column; align-items: stretch; gap: var(--s4); width: 100%; padding-block: var(--s3) var(--s5); }
	.js .site-nav { position: absolute; left: 0; right: 0; top: 100%; padding-inline: var(--gutter); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-hover); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
	.js.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	html:not(.js) .site-header__in { flex-wrap: wrap; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
	.nav-list > li > a { flex: 1; min-height: 54px; padding: 0; font-size: 1.0625rem; }
	.nav-list > li > a::after { display: none; }
	.nav-list > .current-menu-item > a { color: var(--accent); }
	.sub-toggle { width: 54px; height: 54px; margin: 0; }
	.sub-menu { width: 100%; padding: 0 0 .75rem 1rem; }
	.js .sub-menu { display: none; }
	.js .is-open > .sub-menu { display: block; }
	.sub-menu a { display: flex; align-items: center; min-height: 46px; color: var(--text-muted); }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* ==========================================================================
   首頁輪播
   ========================================================================== */
.hero { position: relative; background: var(--bg-soft); overflow: hidden; }
/* 滿版：8:3，最高 960 且不超過一個畫面（矮視窗不低於 540） */
.hero__slides { position: relative; height: clamp(360px, 37.5vw, 960px); max-height: max(540px, calc(100vh - 140px)); overflow: hidden; }
.hero--text .hero__slides { height: clamp(480px, 37.5vw, 960px); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide--cover { display: flex; align-items: center; justify-content: center; }
.hero__slide--cover > .hero__img, .hero__slide--cover > .hero__link { position: relative; flex: none; width: 100%; height: 100%; }
.hero__link { display: block; width: 100%; height: 100%; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
/* 舊圖四周有一圈細邊，裁掉 */
.hero__slide--cover > .hero__img, .hero__slide--cover .hero__link .hero__img { width: calc(100% + 8px); height: calc(100% + 8px); max-width: none; margin: -4px; }
.hero__slide--cover.has-text::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--shade), .66) 0%, rgba(var(--shade), .38) 38%, rgba(var(--shade), 0) 72%), linear-gradient(to right, rgba(var(--shade), .42) 0%, rgba(var(--shade), 0) 58%); pointer-events: none; }
.hero__text { position: absolute; z-index: 2; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 112px; max-width: min(760px, 62%); display: flex; flex-wrap: wrap; align-items: center; gap: .625rem 1.5rem; }
.hero__title { flex: 1 1 100%; font-family: var(--serif); font-weight: 700; font-size: var(--fs-display); line-height: 1.3; letter-spacing: .05em; word-break: keep-all; overflow-wrap: anywhere; }
.hero__sub { font-family: var(--serif); font-weight: 500; font-size: clamp(1rem, .9rem + .7vw, 1.375rem); letter-spacing: .08em; line-height: 1.6; }
.hero__btn { min-height: 50px; padding-inline: 1.75rem; }
.hero__slide--cover .hero__text { color: var(--on-dark); text-shadow: 0 1px 14px rgba(var(--shade), .55); }
.hero__slide--cover .hero__btn { text-shadow: none; }

/* 輪播文字排版（後台每張可選；沒選＝左下）。手機一律在圖的下半部 */
@media (min-width: 768px) {
	.hero__slide--cover .hero__text { left: max(88px, calc((100% - var(--wrap)) / 2)); } /* 不碰到左箭頭 */
	.hero__slide--l-left .hero__text, .hero__slide--l-right .hero__text { top: calc(50% - 56px); bottom: auto; left: max(88px, calc((100% - var(--wrap)) / 2)); max-width: min(680px, 46%); transform: translateY(-50%); }
	.hero__slide--cover.hero__slide--l-left::after { background: linear-gradient(to right, rgba(var(--shade), .74) 0%, rgba(var(--shade), .46) 38%, rgba(var(--shade), 0) 72%); }
	.hero__slide--cover.hero__slide--l-right .hero__text { left: auto; right: max(88px, calc((100% - var(--wrap)) / 2)); justify-content: flex-end; text-align: right; }
	.hero__slide--cover.hero__slide--l-right::after { background: linear-gradient(to left, rgba(var(--shade), .74) 0%, rgba(var(--shade), .46) 38%, rgba(var(--shade), 0) 72%); }
	.hero__slide--cover.hero__slide--l-center .hero__text { top: calc(50% - 56px); bottom: auto; left: 50%; width: calc(100% - 180px); max-width: 1100px; transform: translate(-50%, -50%); justify-content: center; text-align: center; gap: .875rem 1.5rem; }
	.hero__slide--l-center .hero__title { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem); letter-spacing: .1em; }
	.hero__slide--l-center .hero__sub, .hero__slide--l-band .hero__sub { flex: 1 1 100%; }
	.hero__slide--cover.hero__slide--l-center::after { background: rgba(var(--shade), .4); }
	.hero__slide--cover.hero__slide--l-band .hero__text { top: calc(50% - 56px); bottom: auto; left: 0; right: 0; max-width: none; padding: clamp(1.25rem, 2.4vw, 2.5rem) 88px; transform: translateY(-50%); justify-content: center; text-align: center; background: rgba(var(--shade), .66); }
	.hero__slide--cover.hero__slide--l-band::after { background: none; }
	.hero__slide--l-panel .hero__text { top: 0; bottom: 0; left: 0; width: 44%; max-width: none; align-content: center; padding: 1.5rem 2rem 112px max(88px, calc((100vw - var(--wrap)) / 2)); background: var(--bg); }
	.hero__slide--cover.hero__slide--l-panel .hero__text { left: 0; color: var(--text); text-shadow: none; }
	.hero__slide--l-panel .hero__title { font-size: clamp(1.5rem, .9rem + 1.8vw, 2.75rem); }
	.hero__slide--l-panel .hero__sub { color: var(--text-muted); }
	.hero__slide--cover.hero__slide--l-panel::after { background: none; }
	.hero__slide--cover.hero__slide--l-panel { justify-content: flex-end; }
	.hero__slide--cover.hero__slide--l-panel > .hero__img { width: calc(56% + 8px); }
	.hero__slide--cover.hero__slide--l-vertical .hero__text { top: 9%; bottom: 160px; left: auto; right: max(100px, calc((100% - var(--wrap)) / 2)); max-width: 60%; flex-flow: column nowrap; align-items: flex-start; gap: 1.25rem; writing-mode: vertical-rl; }
	.hero__slide--l-vertical .hero__title { flex: none; max-height: 100%; font-size: clamp(1.5rem, .9rem + 1.8vw, 3rem); letter-spacing: .1em; }
	.hero__slide--l-vertical .hero__sub { max-height: 100%; }
	.hero__slide--l-vertical .hero__btn { writing-mode: horizontal-tb; align-self: flex-end; }
	.hero__slide--cover.hero__slide--l-vertical::after { background: linear-gradient(to left, rgba(var(--shade), .72) 0%, rgba(var(--shade), .4) 34%, rgba(var(--shade), 0) 64%); }
}
@media (max-width: 767px) {
	.hero__slide--l-center .hero__text, .hero__slide--l-band .hero__text { justify-content: center; text-align: center; }
	.hero__slide--l-center .hero__sub, .hero__slide--l-band .hero__sub { flex: 1 1 100%; }
}

/* 小圖：左文右圖，圖不放大 */
.hero__slide--split { display: grid; grid-template-columns: minmax(0, 1fr) min(54%, 780px); background: linear-gradient(100deg, var(--bg) 0%, var(--bg-soft) 100%); }
.hero__slide--split .hero__img { grid-column: 2; grid-row: 1; min-height: 0; }
.hero__slide--split .hero__text { position: relative; grid-column: 1; grid-row: 1; left: auto; bottom: auto; gap: 1rem 1.5rem; align-self: center; max-width: 520px; margin-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding: 0 2.5rem 84px 0; }
@media (min-width: 1601px) { .hero__slide--split .hero__text { margin-left: 200px; } }
.hero__slide--split .hero__title { flex: 1 1 100%; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.375rem); letter-spacing: .03em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.hero__slide--split .hero__sub { font-family: var(--sans); font-weight: 400; font-size: 1rem; letter-spacing: .02em; color: var(--text-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hero__slide--fit .hero__img { object-fit: contain; width: auto; max-width: 100%; margin-inline: auto; display: block; }
.hero__slide--fit .hero__img, .hero__slide--split .hero__img { max-height: 540px; align-self: center; }

.hero__arrow { position: absolute; z-index: 4; top: 50%; width: 48px; height: 48px; margin-top: -24px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .82); color: var(--text); opacity: .72; transition: opacity .2s, background-color .2s; }
.hero__arrow:hover, .hero__arrow:focus-visible { opacity: 1; }
.hero__arrow:hover { background: var(--surface); }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; z-index: 4; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 96px; display: flex; align-items: center; }
.hero__dots::before { content: ""; position: absolute; inset: 9px 6px; border-radius: 99px; background: rgba(var(--shade), .5); }
.hero__dots button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--on-dark); }
.hero__dots [data-hero-dot]::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .62); transform: translate(-50%, -50%); transition: width .25s, background-color .25s; }
.hero__dots [aria-current]::before { width: 20px; background: var(--on-dark); }
.hero__pause { display: inline-flex; align-items: center; justify-content: center; }
.hero__pause .icon { vertical-align: -3px; }
.hero__pause-off, [aria-pressed="true"] > .hero__pause-on { display: none; }
[aria-pressed="true"] > .hero__pause-off { display: inline; }
.hero__search { position: absolute; z-index: 5; left: 0; right: 0; bottom: 28px; }
.hero--empty { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 110px; }
.hero__empty-title { position: relative; padding: 3rem 1rem; letter-spacing: .12em; }

/* 搜尋列 */
.filter { display: flex; align-items: stretch; gap: 0; background: var(--surface); border-radius: 12px; }
.filter__field { position: relative; display: flex; align-items: center; gap: .625rem; flex: 1 1 0; min-width: 0; padding: 0 1rem 0 1.25rem; color: var(--text); }
.filter__field > .icon { color: var(--gold-dark); }
.filter__field + .filter__field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--border); }
.filter select, .filter input { flex: 1; width: 100%; min-width: 0; height: 52px; padding: 0 1.5rem 0 0; border: 0; border-radius: 0; background: transparent; appearance: none; font-weight: 500; text-overflow: ellipsis; }
.filter select { cursor: pointer; }
.filter input::placeholder { color: var(--text-muted); opacity: 1; }
.filter__field:focus-within { outline: 3px solid var(--brand); outline-offset: -3px; border-radius: 10px; }
.filter select:focus-visible, .filter input:focus-visible { outline: none; }
.filter__chev { position: absolute; right: 1rem; pointer-events: none; }
.filter__btn { margin: 6px; padding-inline: 1.75rem; }
.filter--hero { max-width: 860px; margin-inline: auto; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); box-shadow: 0 8px 30px rgba(var(--shade), .16); }

@media (max-width: 767px) {
	.hero { overflow: visible; background: transparent; }
	.hero__slides { height: auto; aspect-ratio: 16 / 9; width: 100%; }
	.hero--text .hero__slides { height: auto; aspect-ratio: 1 / .92; max-height: 460px; }
	.hero__text { bottom: 52px; left: var(--gutter); right: var(--gutter); max-width: none; }
	.hero__title { letter-spacing: .03em; }
	.hero__btn { min-height: 46px; padding-inline: 1.25rem; }
	.hero__slide--cover.has-text { align-items: flex-start; background: rgb(var(--shade)); }
	.hero__slide--cover.has-text .hero__img { height: calc(100% - 60px); }
	.hero__slide--cover.has-text::after { background: linear-gradient(to top, rgb(var(--shade)) 0, rgb(var(--shade)) 62px, rgba(var(--shade), .5) 46%, rgba(var(--shade), 0) 70%); }
	.hero__text { gap: .5rem 1rem; }
	.hero__slide--split { display: block; }
	.hero__slide--split .hero__text { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; max-width: none; padding: 3.5rem var(--gutter) 3.125rem; color: var(--on-dark); background: linear-gradient(to top, rgba(var(--shade), .82) 30%, rgba(var(--shade), 0)); }
	.hero__slide--split .hero__sub { display: none; }
	.hero__slide--split .hero__title { -webkit-line-clamp: 2; font-size: 1.25rem; }
	.hero__arrow { display: none; }
	.hero__dots { right: auto; left: 50%; bottom: 2px; transform: translateX(-50%); }
	.hero__dots::before { inset: 11px 8px; background: rgba(var(--shade), .4); }
	.hero__search { position: relative; bottom: auto; margin-top: 1rem; }
	.hero--empty { padding-bottom: 1rem; }
	.filter { flex-wrap: wrap; }
	.filter--hero { box-shadow: var(--shadow); background: var(--surface); border: 1px solid var(--border); }
	.filter--hero .filter__field { flex: 1 1 100%; }
	.filter--hero .filter__field + .filter__field::before { left: 1.25rem; right: 1.25rem; top: 0; bottom: auto; width: auto; height: 1px; }
	.filter__btn { flex: 1 1 100%; min-height: 48px; }
}

/* ==========================================================================
   區塊標題
   ========================================================================== */
.section-head { display: flex; align-items: center; gap: 1.125rem; margin-bottom: clamp(1.25rem, .9rem + 1.4vw, 2rem); }
.section-head::before { content: ""; flex: none; width: 40px; height: 1px; background: var(--gold); }
.section-head__title { flex: none; max-width: calc(100% - 58px); letter-spacing: .06em; }
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .45; }
.section-head .more { order: 2; }
.more { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; font-size: var(--fs-sm); font-weight: 500; color: var(--gold-dark); white-space: nowrap; }
.more:hover { color: var(--text); }
.more .icon { transition: transform .2s; }
.more:hover .icon { transform: translateX(3px); }
@media (max-width: 639px) {
	.section-head { gap: .75rem; }
	.section-head::before { width: 18px; }
	.section-head__title { max-width: calc(100% - 100px); }
}

/* ==========================================================================
   主題分類磚
   ========================================================================== */
.section--regions { padding-top: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.regions { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.625rem, .4rem + .8vw, 1.125rem); }
.regions > li { --n: 5; flex: 0 0 calc((100% - (var(--n) - 1) * clamp(.625rem, .4rem + .8vw, 1.125rem)) / var(--n)); }
.region-tile { position: relative; display: block; aspect-ratio: 4 / 4.9; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); isolation: isolate; }
.region-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 86% 50%; transition: transform .6s ease; }
.region-tile:hover img { transform: scale(1.04); }
.region-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--shade), .82) 0%, rgba(var(--shade), .42) 30%, rgba(var(--shade), 0) 58%); }
.region-tile__name { position: absolute; z-index: 1; left: .5rem; right: .5rem; bottom: 1.125rem; text-align: center; color: var(--on-dark); font-family: var(--serif); font-weight: 700; font-size: clamp(1rem, .9rem + .45vw, 1.25rem); line-height: 1.35; letter-spacing: .06em; }
.region-tile__name::before { content: ""; display: block; width: 26px; height: 1px; margin: 0 auto .5rem; background: rgba(255, 255, 255, .8); transition: width .3s; }
.region-tile:hover .region-tile__name::before { width: 52px; }
.region-tile .ph__name { display: none; }
@media (max-width: 1023px) {
	.region-tile { aspect-ratio: 3 / 4.2; }
	.region-tile__name { left: .25rem; right: .25rem; font-size: .9375rem; letter-spacing: .02em; }
}
@media (max-width: 639px) {
	.region-tile__name { font-size: 1rem; letter-spacing: .06em; }
	.regions > li { --n: 2; }
	.region-tile { aspect-ratio: 1 / 1.05; }
	.region-tile img { object-position: 100% 50%; }
	.region-tile__name { bottom: .875rem; }
}

/* ==========================================================================
   行程卡
   ========================================================================== */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards > li { display: flex; min-width: 0; }
.cards > li > * { width: 100%; }
@media (max-width: 1099px) { .cards, .cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .cards, .cards.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards--tour, .cards--tour.cols-3, .cards--post, .cards--review { grid-template-columns: minmax(0, 1fr); } }

/* 5 張：3＋2，第二列置中 */
@media (min-width: 1100px) {
	.cards.cols-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.cols-5 > li { grid-column: span 2; }
	.cols-5 > li:nth-child(4) { grid-column: 2 / span 2; }
}
/* 只有 1–2 張：橫式卡 */
@media (min-width: 900px) {
	.cards.cards--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards--few .tour-card { flex-direction: row; }
	.cards--few .tour-card__media { flex: 0 0 43%; aspect-ratio: auto; min-height: 250px; }
	.cards--few .tour-card__media img { position: absolute; inset: 0; }
	.cards--few .tour-card__body { min-width: 0; }
}

/* 首頁卡片：手機改橫向滑動 */
@media (max-width: 599px) {
	.cards.cards--slide { display: flex; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.cards--slide::-webkit-scrollbar { display: none; }
	.cards--slide > li { flex: 0 0 min(78%, 300px); scroll-snap-align: center; }
}

.tour-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.tour-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tour-card:hover .tour-card__media img { transform: scale(1.03); }
.badge-days { position: absolute; right: 12px; bottom: 12px; padding: .125rem .875rem; border-radius: 99px; background: var(--gold-dark); color: var(--on-dark); font-size: var(--fs-sm); font-weight: 500; letter-spacing: .06em; line-height: 1.75; }
.badge-hot { position: absolute; left: 12px; bottom: 12px; padding: .125rem .75rem; border-radius: 4px; background: var(--brand); color: var(--on-dark); font-size: var(--fs-sm); font-weight: 500; letter-spacing: .06em; line-height: 1.75; }
.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.125rem 1.125rem 1.25rem; }
.tour-card__title, .holy-card__title, .review-card__title, .post-card__title { text-wrap: pretty; }
.tour-card__title { font-size: 1.0625rem; line-height: 1.55; letter-spacing: .01em; }
.tour-card__title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 3.1em; }
.tour-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tour-card__title a:hover { color: var(--accent); }
.tour-card__title a:focus-visible { outline: none; }
.tour-card:has(.tour-card__title a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.tour-card__sum { margin-top: .5rem; font-size: .875rem; line-height: 1.7; color: color-mix(in srgb, var(--text-muted) 88%, #fff); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; min-height: 6.8em; }
/* 特色：淡底色標出、固定一行；沒填也留同樣高度，卡片才會對齊 */
.tour-card__promo { margin-top: .625rem; min-height: 2rem; font-size: var(--fs-xs); line-height: 1.5; color: var(--accent); }
.tour-card__promo span { display: block; padding: .25rem .625rem; border-radius: 4px; background: color-mix(in srgb, var(--bg-soft) 35%, #fff); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tags { display: flex; flex-wrap: wrap; gap: .125rem .875rem; margin-top: .625rem; font-size: var(--fs-sm); color: var(--text-muted); }
.tags li { display: inline-flex; align-items: center; gap: .375rem; }
.tags .icon { color: var(--gold); }
.tour-card__low { margin-top: auto; padding-top: .75rem; }
.price { color: var(--text); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__cur { letter-spacing: .02em; }
.price__num { letter-spacing: .01em; }
.price__from { font-size: .875rem; font-weight: 500; }
.tour-card__price { font-size: 1rem; line-height: 1.4; }
/* 橫滑區：右邊還有內容時的漸層＋箭頭 */
[data-hscroll].is-more::after { content: ""; position: sticky; right: calc(var(--hs-pad, var(--gutter)) * -1); z-index: 2; flex: none; align-self: stretch; width: 60px; margin-left: -76px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237D5E33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5.500 6.500 6.500L9 18.500'/%3E%3C/svg%3E") no-repeat right 6px center, linear-gradient(to right, transparent, var(--hs-bg, var(--bg)) 62%); }
.stat { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 .75rem; border: 1px solid var(--gold); border-radius: 6px; color: var(--gold-dark); font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; white-space: nowrap; }
.stat--confirmed { border-color: var(--accent); color: var(--accent); }
.stat--full, .stat--closed { border-color: var(--border); color: var(--text-muted); background: var(--bg); }
/* 底部框：查看行程｜出發日期，或 暫無出團｜洽詢客服 */
.tour-card__foot { display: flex; align-items: stretch; margin-top: .875rem; border: 1px solid var(--gold); border-radius: 8px; overflow: hidden; }
.tour-card__foot > * { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .375rem .25rem; font-size: var(--fs-sm); font-weight: 500; text-align: center; white-space: nowrap; }
.tour-card__foot > * + * { border-left: 1px solid var(--gold); }
.tour-card__foot > span { color: var(--text-muted); }
.tour-card__foot > a { position: relative; z-index: 2; color: var(--gold-dark); transition: background-color .2s, color .2s; }
.tour-card__foot > a:hover { background: var(--btn-hover, var(--gold-dark)); color: var(--on-dark); }
.tour-card__foot > a:focus-visible { outline-offset: -3px; }

/* ==========================================================================
   聖地卡、心得卡、文章卡
   ========================================================================== */
.holy-card, .review-card, .post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.holy-card:hover, .review-card:hover, .post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.holy-card__media, .review-card__media, .post-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.holy-card__media img, .review-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.holy-card:hover img, .review-card:hover img, .post-card:hover img { transform: scale(1.03); }
.holy-card__title { padding: .875rem 1rem 1rem; font-size: 1.0313rem; line-height: 1.5; letter-spacing: .02em; }
.holy-card__title a::after, .review-card__title a::after, .post-card__title a::after { content: ""; position: absolute; inset: 0; }
.holy-card__title a:hover, .review-card__title a:hover, .post-card__title a:hover { color: var(--accent); }
.cards--holy { gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
@media (min-width: 640px) and (max-width: 899px) { .cards.cards--holy { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cards--review, .cards--post { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .cards--review, .cards--post { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards--review, .cards--post { grid-template-columns: minmax(0, 1fr); } }
.review-card__body { padding: 1.125rem 1.25rem 1.25rem; }
.review-card__title, .post-card__title { font-size: 1.125rem; line-height: 1.5; }
.review-card__date { margin-top: .25rem; color: var(--text-muted); font-size: .875rem; }
.review-card__text, .post-card__text { margin-top: .5rem; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.75; }
.review-card--text .review-card__media { display: flex; align-items: center; justify-content: center; color: var(--gold); }
.post-card__body { padding: 1.125rem 1.25rem 1.375rem; }
.post-card__meta { margin-bottom: .25rem; font-size: var(--fs-xs); letter-spacing: .06em; color: var(--gold-dark); }

/* ==========================================================================
   客製包團長條
   ========================================================================== */
.charter { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem) clamp(1.25rem, 3vw, 3rem); border-radius: var(--radius-lg); background: var(--bg-soft); overflow: hidden; }
.charter > * { position: relative; }
.charter > .mountains { position: absolute; max-height: none; }
.charter__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.1875rem, 1rem + .95vw, 1.625rem); line-height: 1.5; letter-spacing: .04em; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
.charter__act { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (min-width: 900px) { .charter__title + .charter__act { padding-left: 2rem; border-left: 1px solid var(--gold); } }

.ask { padding: clamp(1.75rem, 4vw, 3rem) 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.ask__title { margin-bottom: 1.125rem; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); line-height: 1.5; text-wrap: balance; }
.ask__act { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ==========================================================================
   為什麼選我們
   ========================================================================== */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reasons--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reasons--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reasons--1 { grid-template-columns: minmax(0, 1fr); }
.reason { padding: .75rem clamp(1rem, 1.8vw, 1.75rem); text-align: center; }
.reason + .reason { border-left: 1px solid var(--border); }
.reason__icon { display: inline-flex; align-items: center; justify-content: center; height: 52px; color: var(--gold); }
.reason__icon .icon { stroke-width: 1.1; }
.reason__title { margin-top: .625rem; line-height: 1.5; letter-spacing: .06em; text-wrap: balance; }
.reason__desc { margin-top: .375rem; color: var(--text-muted); }
.reason__note { margin-top: .625rem; font-size: var(--fs-xs); line-height: 1.7; color: var(--text-muted); text-wrap: balance; }
@media (max-width: 899px) {
	.reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 0; }
	.reasons > .reason:nth-child(odd) { border-left: 0; }
}
@media (max-width: 479px) {
	.reasons { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.reason { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; padding: 1.125rem 0; text-align: left; border-left: 0 !important; border-bottom: 1px solid var(--border); }
	.reason:last-child { border-bottom: 0; }
	.reason > * { grid-column: 2; }
	.reason__icon { grid-column: 1; grid-row: 1 / span 4; align-items: flex-start; height: auto; padding-top: .125rem; }
	.reason__title { margin-top: 0; }
}

/* ==========================================================================
   旅客心得（首頁）
   ========================================================================== */
.reviews { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.75rem); align-items: stretch; }
.reviews--one { grid-template-columns: minmax(0, 720px); justify-content: center; }
.review-big { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.review-big__media { height: 100%; aspect-ratio: 3 / 2; width: 100%; }
.review-big__media img { width: 100%; height: 100%; object-fit: cover; }
.review-big__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.5rem 1.375rem; color: var(--on-dark); background: linear-gradient(to top, rgba(var(--shade), .82) 20%, rgba(var(--shade), 0)); }
.review-big__body p { margin-top: .25rem; font-size: var(--fs-sm); }
.review-big a::after, .review-row a::after { content: ""; position: absolute; inset: 0; }
.reviews__side { display: grid; grid-auto-rows: 1fr; }
.review-row { position: relative; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.625rem); align-items: center; padding-block: 1.25rem; }
.review-row:first-child { padding-top: 0; }
.review-row:last-child { padding-bottom: 0; }
.review-row + .review-row { border-top: 1px solid var(--border); }
.review-row__media { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.review-row__media img { width: 100%; height: 100%; object-fit: cover; }
.review-row h3 { font-size: var(--fs-h4); line-height: 1.55; }
.review-row a:hover { color: var(--accent); }
.review-row p { margin-top: .375rem; color: var(--text-muted); font-size: var(--fs-sm); }
@media (max-width: 899px) {
	.reviews { grid-template-columns: minmax(0, 1fr); }
	.review-big { min-height: 0; }
}

/* ==========================================================================
   頁尾
   ========================================================================== */
.site-footer { background: var(--bg-soft); margin-top: auto; }
.site-footer__in { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.site-footer__social { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-dark); }
.round:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--on-dark); }
.round--line { --icon-cut: var(--bg-soft); }
.round--line:hover { --icon-cut: var(--gold-dark); }
.footer-list { display: grid; grid-template-columns: auto auto; gap: 0 2rem; }
.footer-list .sub-menu { display: none; }
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-list a:hover, .company a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.company div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 0 .75rem; padding: .3125rem 0; }
.company dt { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-dark); font-size: var(--fs-sm); white-space: nowrap; }
.company dd { margin: 0; overflow-wrap: anywhere; }
.company a[href^="mailto"] { white-space: nowrap; }
@media (max-width: 479px) {
	.company div { grid-template-columns: 6.6em minmax(0, 1fr); gap: 0 .5rem; }
	.company dt { gap: .375rem; font-size: var(--fs-xs); }
	.company dd { font-size: .9375rem; }
}
.company__map { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .28em; }
@media (max-width: 1023px) {
	.company div:has(a) { min-height: 44px; align-items: center; padding-block: 0; }
	.company dd a { display: inline-flex; align-items: center; min-height: 44px; }
}
.company--footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; align-content: start; }
.company--footer > div:first-child { grid-column: 1 / -1; }
.site-footer__legal { border-top: 1px solid rgba(var(--shade), .1); font-size: var(--fs-xs); color: var(--text-muted); }
.site-footer__legal p { display: flex; flex-wrap: wrap; gap: .125rem 1.25rem; padding-block: 1.125rem; }
@media (max-width: 1099px) {
	.site-footer__in { grid-template-columns: auto minmax(0, 1fr); }
	.company--footer { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
	.site-footer__in { grid-template-columns: minmax(0, 1fr); }
	.company--footer { grid-template-columns: minmax(0, 1fr); }
	.footer-list a { min-height: 44px; }
}

/* ==========================================================================
   浮動 LINE、手機底部固定列
   ========================================================================== */
.float-line { --icon-cut: var(--line-green); position: fixed; z-index: 50; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--line-green); color: var(--on-dark); box-shadow: 0 6px 20px rgba(var(--shade), .28); transition: background-color .2s, transform .2s; }
.float-line:hover { background: var(--line-green-dark); transform: translateY(-2px); --icon-cut: var(--line-green-dark); }
.float-line span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.btn--line:hover { --icon-cut: var(--line-green-dark); }
/* 兩側留白不夠時改成貼邊的小鈕，不蓋到卡片按鈕 */
@media (max-width: 1359px) {
	.float-line { right: 0; width: 48px; height: 48px; border-radius: 24px 0 0 24px; }
	.float-line .icon { width: 30px; height: 30px; }
	.float-line:hover { transform: none; }
}
@media (min-width: 1024px) { .single-mt_tour .float-line { display: none; } }
.mobile-bar { display: none; }
@media (max-width: 767px) {
	.float-line { display: none; }
	body { padding-bottom: var(--bar-h, calc(60px + env(safe-area-inset-bottom))); }
	.mobile-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 18px rgba(var(--shade), .08); }
	.mobile-bar__item { flex: 1 1 0; min-width: 0; font-size: var(--ui); display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 60px; font-weight: 500; letter-spacing: .04em; }
	.mobile-bar__item + .mobile-bar__item { border-left: 1px solid var(--border); }
	.mobile-bar__item .icon { color: var(--gold-dark); }
	.mobile-bar__item--line { background: var(--line-green); color: var(--on-dark); }
	.mobile-bar__item--line .icon { color: var(--on-dark); }
	/* 放不下時價格自己一行、按鈕在下一行，不疊在一起 */
	.mobile-bar--tour { flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); }
	.mobile-bar__acts { flex: 1 0 auto; display: flex; justify-content: flex-end; gap: 10px; max-width: 100%; }
	.mobile-bar--tour .btn { flex: none; min-height: 46px; padding-inline: 16px; font-size: var(--ui); }
	.mobile-bar--tour .btn--primary { flex: 0 1 auto; min-width: 0; }
	.is-tight .mobile-bar--tour .btn--primary { flex: 1 1 auto; }
	.site-header__brand { display: flex; }
	.mobile-bar__price { flex: 0 1 auto; min-width: 0; line-height: 1.25; }
	.mobile-bar__price small { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
	.mobile-bar__price small:empty { display: none; }
	.mobile-bar__price .price { white-space: nowrap; }
	.mobile-bar__price :is(.price__num, .price__cur) { font-size: calc(var(--ui) * 1); }
	.mobile-bar__price .price__from, .mobile-bar__price small { font-size: calc(var(--ui) * .875); }
	.mobile-bar--tour .btn--icon { width: 46px; padding: 0; }
	.mobile-bar--tour .btn--icon > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 下拉選單展開後的樣式：只給滑鼠操作的電腦；手機、平板一律用系統原生選單（自訂樣式在 Android 點開會頓、畫面會跳） */
@supports (appearance: base-select) { @media (hover: hover) and (pointer: fine) {
	.filter select, .filter select::picker(select), .mt-form .mt-field select, .mt-form .mt-field select::picker(select) { appearance: base-select; }
	.filter select, .mt-form .mt-field select { display: flex; align-items: center; }
	.filter select::picker-icon, .mt-form .mt-field select::picker-icon { display: none; }
	.filter select::picker(select), .mt-form .mt-field select::picker(select) { margin-top: .5rem; padding: .5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 12px 32px rgba(var(--shade), .16); max-height: min(420px, 60vh); }
	.filter select option, .mt-form .mt-field select option { min-height: 44px; padding: .5rem 1rem; border-radius: 8px; font-weight: 500; align-items: center; }
	.filter select option:hover, .filter select option:focus-visible, .mt-form .mt-field select option:hover, .mt-form .mt-field select option:focus-visible { background: var(--bg-soft); outline: none; }
	.filter select option:checked, .mt-form .mt-field select option:checked { color: var(--accent); font-weight: 700; }
	.filter select option::checkmark, .mt-form .mt-field select option::checkmark { order: 1; margin-left: auto; color: var(--accent); }
} }

/* 頁首上方一條：電話、Facebook、關於我們（手機有底部列，不顯示） */
.topbar { display: none; }
@media (min-width: 768px) {
	.topbar { display: block; background: var(--bg-soft); font-size: var(--fs-sm); }
	.topbar__in { display: flex; justify-content: flex-end; gap: 1.5rem; }
	.topbar a { display: inline-flex; align-items: center; gap: .375rem; min-height: 36px; color: var(--text-muted); }
	.topbar a:hover { color: var(--text); }
}
.sub-toggle .icon { transition: transform .2s; }
.is-open > .sub-toggle .icon { transform: rotate(180deg); }

/* 右下角回到最上面 */
.to-top { position: fixed; z-index: 49; right: 30px; bottom: 100px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--gold-dark); box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--text); border-color: var(--accent); }
@media (min-width: 1024px) { .single-mt_tour .to-top { bottom: 28px; } }
@media (max-width: 767px) { .to-top { right: 12px; bottom: calc(var(--bar-h, calc(60px + env(safe-area-inset-bottom))) + 15px); width: 46px; height: 46px; } .nav-open .to-top { visibility: hidden; } }
@media print { .to-top { display: none !important; } }

/* ==========================================================================
   字放得很大、畫面很窄時（--ts、is-big、is-tight 由 header.php 的小程式量出來）
   內文照訪客要的大小放大；選單、底部列、品牌、大標題放大有上限，才不會互相蓋住
   ========================================================================== */
:root { --ui: calc(1rem * min(1, 1.15 / var(--ts, 1))); --hx: min(1, 1.45 / var(--ts, 1)); }
.more { white-space: normal; }
.section-head { flex-wrap: wrap; }
.section-head__title { flex: 0 1 auto; }
.section-head::after { min-width: 20px; }
.company a[href^="mailto"] { white-space: normal; overflow-wrap: anywhere; }
.is-big .brand__name { font-size: calc(1.375rem * min(1, 1.1 / var(--ts))); }
.is-big .brand__sub { font-size: calc(.6875rem * min(1, 1.1 / var(--ts))); }
.is-big {
	--fs-h4: calc(1.0625rem * var(--hx)); --fs-h3: calc(1.1875rem * var(--hx)); --fs-h2: calc(1.5rem * var(--hx)); --fs-h1: calc(1.625rem * var(--hx)); --fs-display: calc(1.75rem * var(--hx));
	--section: 48px; --gap: 16px;
}
.is-big .tour-head__title, .is-big .page-head__title { font-size: calc(1.5rem * var(--hx)); word-break: normal; }
.is-big .tour-sec__title { font-size: calc(1.375rem * var(--hx)); }
.is-big .tour-card__foot > *, .is-big .stat, .is-big .mini-tag { white-space: normal; }
@media (max-width: 767px) { .is-big { --gutter: 16px; } }

.is-tight { --gutter: 12px; }
.is-tight .tour-card__foot, .is-tight .tour-sec__row, .is-tight .share, .is-tight .side-box__fees, .is-tight .page-head--region .page-head__in { flex-wrap: wrap; }
.is-tight .tour-card__foot > * { flex: 1 1 100%; white-space: normal; }
.is-tight .tour-card__foot > * + * { border-left: 0; border-top: 1px solid var(--gold); }
.is-tight .tour-card__promo span { white-space: normal; }
.is-big .tour-card__title a { -webkit-line-clamp: 4; }
.is-tight .tour-card__body { padding: 14px; }
.is-tight .price { white-space: normal; }
.is-tight .price .price__num { overflow-wrap: normal; }
.is-tight .btn { padding-inline: 12px; letter-spacing: 0; }
.is-tight .cards:not(.cards--slide), .is-tight .cards.cols-3 { grid-template-columns: minmax(0, 1fr); }
.is-tight .company div { grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
.is-tight .company div:has(a) { min-height: 0; }
.is-tight .company dt { white-space: normal; }
.is-tight .reason { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; }
.is-tight .mt-grid--tr, .is-tight .mt-ref dl, .is-tight .mt-choices, .is-tight .mt-form form, .is-tight .mt-grid { grid-template-columns: minmax(0, 1fr); }
.is-tight .mt-fold__in, .is-tight .mt-tr, .is-tight .panel { padding-inline: 12px; }
.is-tight .page-head--region.has-img .page-head__in { grid-template-columns: minmax(0, 1fr); }
.is-tight .page-head__img { display: none; }
.is-tight .review-row { grid-template-columns: minmax(0, 1fr); }
.is-tight .mobile-bar__item { flex-direction: column; gap: 0; letter-spacing: 0; line-height: 1.3; padding-block: 6px; }
.is-tight .hero__title, .is-tight h1, .is-tight h2, .is-tight h3 { word-break: normal; overflow-wrap: anywhere; letter-spacing: .02em; }
@media (max-width: 299px) {
	.site-header__in { gap: 8px; }
	.brand { gap: 8px; }
	.brand__name { font-size: calc(1.125rem / var(--ts, 1)); letter-spacing: .04em; }
	.brand__sub { display: none; }
	.site-header .custom-logo { height: 36px; }
	.site-header__brand { flex: 0 1 auto; min-width: 0; }
	.mobile-bar__item, .mobile-bar--tour .btn { font-size: calc(.875rem / var(--ts, 1)); }
	.mobile-bar__acts, .mobile-bar--tour { gap: 6px; }
	.mobile-bar--tour .btn--primary { flex: 1 1 0; padding-inline: 4px; }
	.mobile-bar--tour .btn--icon { width: 42px; }
	.mobile-bar__price { flex: 1 1 100%; }
}
@media (max-width: 389px) {
	.mobile-bar__acts { gap: 8px; }
	.mobile-bar--tour { column-gap: 8px; }
	.mobile-bar--tour .btn--primary { padding-inline: 10px; letter-spacing: 0; }
}
/* 平板、電腦把字放大：上面的選單與電話列放大有上限，不擠出畫面 */
.is-big .topbar a { font-size: calc(var(--fs-sm) * min(1, 1.15 / var(--ts))); white-space: nowrap; }
@media (min-width: 1024px) {
	.is-big .nav-list, .is-big .site-nav { gap: 2px; }
	.is-big .nav-list > li > a, .is-big .site-nav__line { font-size: calc(.9375rem * min(1, 1.05 / var(--ts))); letter-spacing: 0; padding-inline: 5px; min-height: 48px; }
	.is-big .sub-menu a { font-size: calc(1rem * min(1, 1.3 / var(--ts))); padding-inline: 18px; }
	.is-big .site-nav .site-nav__line { display: none; }
	.is-big .site-header__in { gap: 12px; }
	.is-big .wrap { --wrap: 1400px; }
}
.site-footer__in > * { min-width: 0; }
@media (max-width: 1500px) { .is-big .site-footer__in { grid-template-columns: minmax(0, 1fr); } .is-big .company--footer { grid-template-columns: minmax(0, 1fr); } }
