/*!
 * Angkor Asia Adventures — design layer 5.0.0 "Sandstone & Saffron"
 *
 * Loaded last (after style.css, journey-map.css, redesign.css). Everything
 * the 5.0.0 redesign changes lives here, grouped by component:
 *
 *   1. Foundations       6. Product page (tour / activity / destination)
 *   2. Header + mega nav  7. Archives + country tabs
 *   3. Mobile drawer      8. Plan My Trip (one planner)
 *   4. Home               9. Footer
 *   5. Cards + chips     10. Country accents + motion
 *
 * Country colour codes: --kh (Cambodia, Angkor gold), --la (Laos, Mekong
 * jade), --vn (Vietnam, lacquer red), each with a -soft tint (tokens.css).
 */

/* =========================================================================
   1. Foundations
   ========================================================================= */
.aaa-v5 { --accent: var(--kh); --accent-soft: var(--kh-soft); }
.aaa-v5 ::selection { background: var(--gold-soft); color: var(--ink); }
.section--tight { padding-top: 28px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .card-grid--3 { grid-template-columns: 1fr; } }

/* Lintel divider — the carved temple border used as the brand's rule. */
.lintel, .site-footer__lintel {
	height: 12px;
	background: var(--lintel) repeat-x left center / 28px 10px;
	opacity: .9;
}

/* =========================================================================
   2. Header + mega navigation
   ========================================================================= */
.site-header { border-bottom-color: color-mix(in srgb, var(--gold) 26%, var(--line)); }
.site-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
	opacity: 0; transition: opacity .25s var(--ease);
}
.site-header.is-scrolled::after { opacity: .7; }

.primary-nav .nav-menu { gap: 4px; }
.primary-nav .nav-menu > li > a {
	position: relative; font-weight: 500; letter-spacing: .005em;
	padding: 10px 14px; border-radius: 999px;
}
.primary-nav .nav-menu > li > a:hover,
.primary-nav .nav-menu > .current-menu-item > a,
.primary-nav .nav-menu > .current-menu-ancestor > a { background: var(--sandstone); color: var(--forest); }
.primary-nav .nav-menu > .current-menu-item > a::before {
	content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px;
	margin-left: -2.5px; border-radius: 50%; background: var(--gold);
}

/* Mega items: full-width panel anchored to the header, caret button. */
.primary-nav .nav-menu > li.has-mega { position: static; display: flex; align-items: center; }
.primary-nav .nav-menu > li.has-mega > a { padding-right: 6px; }
.mega-toggle {
	display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: -2px;
	border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--ink-soft);
}
.mega-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.has-mega.is-open > .mega-toggle svg { transform: rotate(180deg); }
.mega-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	z-index: var(--z-mega);
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line));
	box-shadow: 0 30px 50px -30px rgba(24, 11, 2, .35);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.mega::before { /* lintel along the top edge */
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
	background: var(--lintel) repeat-x left center / 28px 10px; opacity: .45;
}
@media (min-width: 1101px) {
	.has-mega:hover > .mega,
	.has-mega:focus-within > .mega,
	.has-mega.is-open > .mega {
		opacity: 1; visibility: visible; transform: none;
		transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
	}
	/* Hover bridge so the pointer can travel from the link to the panel. */
	.has-mega > a::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; }
}
.mega__inner { max-width: var(--wrap-wide, 1296px); margin: 0 auto; padding: 30px 24px 20px; }
.mega, .mega * { white-space: normal; }
.mega__grid { display: grid; gap: 28px; }
.mega__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)) 1.25fr; }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__col li a, .primary-nav .mega__col li a {
	display: flex; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 -10px;
	border-radius: 10px; font-size: .94rem; color: var(--ink); min-height: 0; background: none;
}
.mega__col li a:hover { background: var(--sandstone); color: var(--forest); }
.mega__label {
	display: block; margin-bottom: 10px; font-size: .72rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
}
.mega__head, .primary-nav .mega__head {
	display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 6px;
	font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); background: none; min-height: 0;
}
.mega__head:hover { color: var(--accent); background: none; }
.mega__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
.mega__col--kh, .mega__ctry--kh { --accent: var(--kh); --accent-soft: var(--kh-soft); }
.mega__col--la, .mega__ctry--la { --accent: var(--la); --accent-soft: var(--la-soft); }
.mega__col--vn, .mega__ctry--vn { --accent: var(--vn); --accent-soft: var(--vn-soft); }
.mega__col { border-top: 3px solid var(--accent, var(--gold)); padding-top: 16px; }
.mega__grid--4 .mega__col { border-top-color: var(--line); }
.mega__blurb { margin: 0 0 12px; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.mega__more, .primary-nav .mega__more {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0;
	font-weight: 600; font-size: .88rem; color: var(--accent); background: none; min-height: 0;
}
.mega svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mega__feature, .primary-nav .mega__feature {
	display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius);
	background: radial-gradient(120% 120% at 100% 0%, #5a300c 0%, var(--forest) 60%);
	color: #f6ead0; min-height: 0;
}
.mega__feature .mega__label { color: var(--gold); margin: 0; }
.mega__feature strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: #fff; line-height: 1.2; }
.mega__feature span:not(.mega__label) { font-size: .88rem; color: #e9dcc0; line-height: 1.5; }
.mega__feature em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.mega__feature:hover { background: radial-gradient(120% 120% at 100% 0%, #6b3a10 0%, var(--forest) 60%); color: #fff; }
.mega__pillar, .primary-nav .mega__pillar {
	display: grid; gap: 6px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
	background: var(--card); color: var(--ink); min-height: 0;
}
.mega__pillar:hover { border-color: var(--gold); background: var(--paper); }
.mega__pillar strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.mega__pillar span:not(.mega__pillar-icon) { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.mega__pillar-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); }
.mega__pillar-icon .ts-icon { width: 22px; height: 22px; }
.mega__foot {
	display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 24px; padding-top: 16px;
	border-top: 1px dashed var(--line); font-size: .86rem; color: var(--ink-soft);
}
.mega__foot a, .primary-nav .mega__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--forest); padding: 0; min-height: 0; background: none; }
.mega__foot a:hover { color: var(--gold-deep); }
.nav-extra { display: none; }

/* =========================================================================
   3. Mobile drawer (≤1100px)
   ========================================================================= */
@media (max-width: 1100px) {
	.primary-nav, .header-phone { display: none; }
	.nav-toggle { display: block; }
	.site-header.nav-open .primary-nav {
		display: flex; flex-direction: column; position: fixed; top: var(--drawer-top, var(--header-h)); left: 0; right: 0; bottom: 0;
		background: var(--paper); border-top: 1px solid var(--line);
		padding: 14px 20px 24px; max-height: none; overflow-y: auto; overscroll-behavior: contain;
		z-index: var(--z-drawer);
	}
	/* backdrop-filter makes the header the containing block for fixed
	   children — drop it while the drawer is open so the drawer fills the
	   viewport below the header (top set by main.js as --drawer-top). */
	.site-header.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.site-header.nav-open .primary-nav .nav-menu { flex-direction: column; gap: 0; align-items: stretch; }
	.primary-nav .nav-menu > li { border-bottom: 1px solid var(--line); }
	.primary-nav .nav-menu > li > a { font-family: var(--font-display); font-size: 1.3rem; padding: 14px 4px; border-radius: 0; background: none !important; }
	.primary-nav .nav-menu > li.has-mega { position: relative; flex-wrap: wrap; }
	.primary-nav .nav-menu > li.has-mega > a { flex: 1 1 auto; }
	.mega-toggle { width: 44px; height: 44px; border: 1px solid var(--line); }
	.mega {
		position: static; flex: 1 0 100%; display: none; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; background: transparent; transition: none;
	}
	.mega::before { display: none; }
	.has-mega.is-open > .mega { display: block; }
	.mega__inner { padding: 4px 0 18px; }
	.mega__grid--3, .mega__grid--4 { grid-template-columns: 1fr; gap: 16px; }
	.mega__col { padding-top: 12px; }
	.mega__blurb { display: none; }
	.mega__foot { margin-top: 14px; }
	.nav-extra { display: grid; gap: 14px; margin-top: auto; padding-top: 22px; }
	.nav-extra__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.nav-extra__row a {
		display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
		font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--card);
	}
	.nav-extra__row small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
	.nav-extra__note { margin: 0; font-size: .78rem; color: var(--ink-soft); text-align: center; }
	.site-header.nav-open { box-shadow: none; }
	body:has(.site-header.nav-open) { overflow: hidden; }
}

/* =========================================================================
   4. Home
   ========================================================================= */
.hero__countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__country {
	display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px;
	border-radius: 999px; font-weight: 600; font-size: .92rem; color: #fff;
	background: rgba(24, 11, 2, .38); border: 1px solid rgba(255, 255, 255, .28);
	backdrop-filter: blur(6px); transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero__country span { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.hero__country:hover { background: rgba(24, 11, 2, .62); border-color: var(--c); color: #fff; }
.hero__country--kh { --c: #f2b705; }
.hero__country--la { --c: #3fbf9f; }
.hero__country--vn { --c: #ef6a5d; }

.trust-strip { padding: 34px 0 6px; }
.trust-strip__inner {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
	border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card);
	box-shadow: var(--elev-1); overflow: hidden;
}
.trust-strip__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.trust-strip__item + .trust-strip__item { border-left: 1px solid var(--line); }
.trust-strip__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); }
.trust-strip__icon .ts-icon { width: 24px; height: 24px; }
.trust-strip__item strong { display: block; font-size: .95rem; color: var(--ink); line-height: 1.25; }
.trust-strip__item small { display: block; font-size: .82rem; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
@media (max-width: 1024px) {
	.trust-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-strip__item:nth-child(3) { border-left: 0; }
	.trust-strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
	.trust-strip__inner { grid-template-columns: 1fr; }
	.trust-strip__item + .trust-strip__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* Country cards (Where we travel) — photo, arch, colour band. */
.wwt__grid { gap: 22px; }
.wwt__card, .wwt__card--home {
	--accent: var(--kh); --accent-soft: var(--kh-soft);
	position: relative; overflow: hidden; padding: 0 0 22px;
	background: var(--card); color: var(--ink); border: 1px solid var(--line);
	border-radius: var(--radius-lg); box-shadow: var(--elev-1);
	display: flex; flex-direction: column;
}
.wwt__card--la { --accent: var(--la); --accent-soft: var(--la-soft); }
.wwt__card--vn { --accent: var(--vn); --accent-soft: var(--vn-soft); }
.wwt__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 18px; }
.wwt__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wwt__card:hover .wwt__media img { transform: scale(1.05); }
.wwt__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--accent); }
.wwt__card > :not(.wwt__media):not(.wwt__num) { margin-left: 22px; margin-right: 22px; }
.wwt__num {
	position: absolute; top: 14px; right: 16px; font-family: var(--font-display); font-size: 1rem;
	color: #fff; background: rgba(24,11,2,.5); border-radius: 999px; padding: 4px 11px; line-height: 1.2;
}
.wwt__card--home .wwt__num { color: #fff; }
.wwt__name, .wwt__card--home .wwt__name { font-size: 1.7rem; margin: 0 0 6px; }
.wwt__name a, .wwt__card--home .wwt__name a { color: var(--ink); }
.wwt__name a:hover { color: var(--accent); }
.wwt__flag { align-self: flex-start; background: var(--accent); color: #fff; }
.wwt__blurb, .wwt__card--home .wwt__blurb { color: var(--ink-soft); }
.wwt__dests a, .wwt__card--home .wwt__dests a { background: var(--accent-soft); color: var(--ink); border-color: transparent; }
.wwt__dests a:hover { background: var(--accent); color: #fff; }
.wwt__meta, .wwt__card--home .wwt__meta { color: var(--accent); margin-top: auto; }
.wwt__go, .wwt__card--home .wwt__go { color: var(--ink); font-weight: 700; }
.wwt__go:hover { color: var(--accent); }

/* =========================================================================
   5. Cards + chips
   ========================================================================= */
.ctry-list { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ctry {
	--c: var(--kh); --cs: var(--kh-soft);
	display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px;
	border-radius: 999px; background: var(--cs); color: var(--c);
	font-size: .74rem; font-weight: 700; letter-spacing: .02em; line-height: 1.6;
}
.ctry::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ctry--la { --c: var(--la); --cs: var(--la-soft); }
.ctry--vn { --c: var(--vn); --cs: var(--vn-soft); }

.tour-card { --accent: var(--kh); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--elev-1); }
.tour-card--la { --accent: var(--la); }
.tour-card--vn { --accent: var(--vn); }
.tour-card__media { aspect-ratio: 4 / 3; }
.tour-card__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); z-index: 1; }
.tour-card__media img.is-placeholder { object-position: center 40%; }
.tour-card__place { display: flex; align-items: center; gap: 6px; }
.tour-card__place svg { color: var(--accent); }
.tour-card h3 a:hover { color: var(--accent); }
.tour-card__badge { background: var(--forest); color: var(--gold); text-transform: capitalize; }
.tour-card__go { border-color: var(--line); }
.tour-card:hover .tour-card__go { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.dest-tile { border-radius: var(--radius-lg); }
.dest-tile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent, var(--gold)); z-index: 3; }
.dest-tile--la { --accent: var(--la); }
.dest-tile--vn { --accent: var(--vn); }
.dest-tile__ctry { display: inline-block; margin-bottom: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.dest-tile--la .dest-tile__ctry { color: #7fe0c6; }
.dest-tile--vn .dest-tile__ctry { color: #ff9c90; }
.dest-tile p { color: #f3e9d2; }
.dest-grid--archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dest-grid--archive .dest-tile { min-height: 340px; }
@media (max-width: 1024px) { .dest-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .dest-grid--archive { grid-template-columns: 1fr; } }

/* =========================================================================
   6. Product page (tour / activity / destination)
   ========================================================================= */
.p-hero {
	position: relative; isolation: isolate; color: #fff;
	min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end;
	background: var(--forest-deep);
}
.p-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.p-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.p-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(24,11,2,.55) 0%, rgba(24,11,2,.05) 30%, rgba(24,11,2,.35) 55%, rgba(24,11,2,.92) 100%),
		linear-gradient(90deg, rgba(24,11,2,.55), transparent 65%);
}
.p-hero__inner { padding-top: 120px; padding-bottom: 44px; position: relative; width: 100%; }
.p-hero .breadcrumb { position: static; margin: 0 0 18px; padding: 0; color: rgba(255,255,255,.8); font-size: .84rem; max-width: none; }
.p-hero .breadcrumb a { color: #fff; }
.p-hero .breadcrumb .sep { opacity: .55; margin: 0 8px; }
.p-hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.p-hero__tags .ctry { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.p-hero__tags .ctry::before { background: var(--c); }
.p-hero__tags .ctry--kh { --c: #f2b705; } .p-hero__tags .ctry--la { --c: #3fbf9f; } .p-hero__tags .ctry--vn { --c: #ef6a5d; }
.p-hero__cat { padding: 3px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.p-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; margin: 0 0 16px; text-wrap: balance; }
.p-hero__lead { max-width: 60ch; color: #f3e9d2; font-size: 1.08rem; margin: 0; }
.p-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #f3e9d2; font-size: .98rem; }
.p-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.p-hero__meta svg, .p-fact svg, .p-highlights svg, .p-assure svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.p-hero__meta svg { color: var(--gold); }
.p-hero__price {
	position: absolute; right: 24px; bottom: 44px; display: grid; justify-items: end; gap: 0;
	padding: 14px 20px; border-radius: 18px; background: rgba(24,11,2,.55); border: 1px solid rgba(238,174,5,.5);
	backdrop-filter: blur(8px); color: #fff; line-height: 1.1;
}
.p-hero__price small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.p-hero__price strong { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.p-hero__price span { font-size: .8rem; color: #e9dcc0; }
.p-hero__price:hover { border-color: var(--gold); color: #fff; }
@media (max-width: 760px) {
	.p-hero__price { position: static; justify-items: start; margin-top: 20px; display: inline-grid; }
	.p-hero .breadcrumb { display: none; }
}

.p-tabs {
	position: sticky; top: var(--header-h); z-index: var(--z-sticky-rail);
	background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .p-tabs { top: calc(var(--header-h) + 32px); }
.p-tabs__inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.p-tabs__inner::-webkit-scrollbar { display: none; }
.p-tabs a {
	position: relative; flex: none; padding: 16px 14px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); white-space: nowrap;
}
.p-tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.p-tabs a:hover, .p-tabs a.is-active { color: var(--ink); }
.p-tabs a.is-active::after { background: var(--gold); }
.p-tabs a.p-tabs__cta { margin-left: auto; padding: 9px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.p-tabs a.p-tabs__cta::after { display: none; }
.p-anchor { scroll-margin-top: calc(var(--header-h) + 70px); }
.p-body { padding-top: 40px; }
.p-h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 44px 0 16px; }
.tour-main > .p-anchor:first-child + .p-facts { margin-top: 0; }
.p-h2row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.p-expand { border: 0; background: none; font-weight: 700; color: var(--gold-deep); cursor: pointer; padding: 8px 0; font-size: .9rem; }
.p-lead { font-size: 1.06rem; }

.p-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px;
	background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.p-fact { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--card); }
.p-fact svg { width: 22px; height: 22px; color: var(--accent); }
.p-fact small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.p-fact span { font-weight: 600; color: var(--ink); line-height: 1.35; }

.p-highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-highlights li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--sandstone); color: var(--ink); line-height: 1.45; }
.p-highlights svg { margin-top: 2px; color: var(--accent); }
@media (max-width: 640px) { .p-highlights { grid-template-columns: 1fr; } }

/* Day-by-day timeline */
.itinerary--timeline { border-top: 0; position: relative; }
.itinerary--timeline::before { content: ""; position: absolute; left: 27px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .6; }
.itinerary--timeline .itinerary__day { border: 0; margin-bottom: 10px; position: relative; }
.itinerary--timeline .itinerary__head {
	width: 100%; display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 0;
	background: none; border: 0; text-align: left; cursor: pointer;
}
.itinerary--timeline .itinerary__num {
	position: relative; z-index: 1; flex: none; width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center; align-content: center; gap: 0; line-height: 1;
	background: var(--card); border: 2px solid var(--gold); color: var(--ink);
	font-family: var(--font-display); font-size: 1.25rem;
}
.itinerary--timeline .itinerary__num small { font-family: var(--font-body); font-size: .56rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.itinerary--timeline .itinerary__day.open .itinerary__num { background: var(--forest); color: #fff; border-color: var(--forest); }
.itinerary--timeline .itinerary__day.open .itinerary__num small { color: var(--gold); }
.itinerary--timeline .itinerary__title { font-size: 1.18rem; color: var(--ink); }
.itinerary--timeline .itinerary__toggle { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transform: none !important; }
.itinerary--timeline .itinerary__toggle::before, .itinerary--timeline .itinerary__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--ink); transition: transform .2s var(--ease); }
.itinerary--timeline .itinerary__toggle::after { transform: rotate(90deg); }
.itinerary--timeline .itinerary__day.open .itinerary__toggle::after { transform: rotate(0); }
.itinerary--timeline .itinerary__body {
	margin: 2px 0 8px 72px; padding: 16px 18px; border-radius: 14px; background: var(--card);
	border: 1px solid var(--line); color: var(--ink-soft);
}
.itinerary--timeline .itinerary__body p:last-child { margin-bottom: 0; }
.itinerary__img { width: 100%; border-radius: 10px; margin-bottom: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.itinerary__extras { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.itinerary__extras span { padding: 3px 10px; border-radius: 999px; background: var(--sandstone); font-size: .8rem; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) {
	.itinerary--timeline::before { left: 21px; }
	.itinerary--timeline .itinerary__num { width: 44px; height: 44px; font-size: 1.05rem; }
	.itinerary--timeline .itinerary__body { margin-left: 0; }
}

.incexc { gap: 16px; }
.incexc .inc, .incexc .exc { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.incexc .inc { border-top: 4px solid var(--jungle); }
.incexc .exc { border-top: 4px solid var(--laterite); }
.incexc h3 { font-size: 1.1rem; margin-top: 0; }

.p-assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.p-assure > div { display: flex; gap: 12px; padding: 16px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--gold) 50%, var(--line)); background: var(--paper); }
.p-assure svg { color: var(--jungle); margin-top: 3px; }
.p-assure strong { display: block; font-size: .95rem; color: var(--ink); }
.p-assure span { font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 820px) { .p-assure { grid-template-columns: 1fr; } }

/* Booking panel */
#booking-panel { scroll-margin-top: calc(var(--header-h) + 70px); }
.booking { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--elev-2); overflow: hidden; top: calc(var(--header-h) + 76px); }
.booking__head { background: radial-gradient(130% 140% at 100% 0%, #5a300c 0%, var(--forest) 55%, var(--forest-deep) 100%); color: #fff; padding: 22px 24px; position: relative; }
.booking__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--lintel) repeat-x left center / 28px 10px; opacity: .5; }
.booking__price { color: #fff; font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1; }
.booking__price small { display: block; color: var(--gold); font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.booking .btn--forest { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.booking .btn--forest:hover { background: #ffc21a; }

.dest-themes { margin-top: 26px; }
.dest-themes .cat-rail { justify-content: flex-start; }
.dest-body { max-width: 860px; }

/* =========================================================================
   7. Archives + country tabs
   ========================================================================= */
.archive-head {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(90% 140% at 100% 0%, #5a300c 0%, var(--forest) 55%, var(--forest-deep) 100%);
	padding: clamp(46px, 7vw, 84px) 0 0;
}
.archive-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--lintel) repeat-x left center / 28px 10px; opacity: .55; }
.archive-head .eyebrow { color: var(--gold); }
.archive-head h1 { color: #fff; margin-bottom: 12px; }
.archive-head p { color: #e9dcc0; max-width: 62ch; }
.archive-head--la { background: radial-gradient(90% 140% at 100% 0%, #12584b 0%, var(--forest) 60%, var(--forest-deep) 100%); }
.archive-head--vn { background: radial-gradient(90% 140% at 100% 0%, #7a1f17 0%, var(--forest) 60%, var(--forest-deep) 100%); }
.ctry-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding-bottom: 34px; }
.ctry-tab {
	--c: var(--gold);
	display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
	font-weight: 600; font-size: .92rem; color: #f6ead0;
	border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06);
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.ctry-tab:hover { background: rgba(255,255,255,.12); color: #fff; border-color: var(--c); }
.ctry-tab.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.ctry-tab__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ctry-tab--kh { --c: #f2b705; } .ctry-tab--la { --c: #3fbf9f; } .ctry-tab--vn { --c: #ef6a5d; }
.ctry-tab__n { font-size: .74rem; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.14); }
.ctry-tab.is-active .ctry-tab__n { background: var(--sandstone); }
.archive-head + .breadcrumb { margin-top: 18px; }
.cat-rail-wrap { background: var(--paper); }
.cat-chip { text-transform: capitalize; }
.post-type-archive-tour .card-grid,
.post-type-archive-activity .card-grid,
.tax-experience .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.post-type-archive-tour .card-grid,
	.post-type-archive-activity .card-grid,
	.tax-experience .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.post-type-archive-tour .card-grid,
	.post-type-archive-activity .card-grid,
	.tax-experience .card-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   8. Plan My Trip — one planner
   ========================================================================= */
.plan-planner { padding-top: 10px; }
.plan-planner__body { max-width: none; }
.plan-planner__body > * { max-width: none; }
.page-template-default .plan-planner .entry-content,
.plan-planner .entry-content { overflow-wrap: anywhere; }
.plan-form__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.plan-chip { display: inline-flex !important; align-items: center; gap: 10px; width: auto !important; min-width: 0; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; white-space: nowrap; }
.plan-chip span { word-break: normal; overflow-wrap: normal; text-transform: none; letter-spacing: 0; font-size: .95rem; }
.plan-chip input { width: auto !important; margin: 0; }
.plan-chip:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }

/* =========================================================================
   9. Footer
   ========================================================================= */
.site-footer { position: relative; }
.site-footer__lintel { position: absolute; left: 0; right: 0; top: 0; opacity: .55; }
.footer-grid { grid-template-columns: 1.5fr .8fr .8fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand, .footer-newsletter { grid-column: span 3; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-newsletter { grid-column: span 2; } }
.footer-ctry { display: inline-flex; align-items: center; gap: 10px; }
.footer-ctry span { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.footer-ctry--kh { --c: #f2b705; } .footer-ctry--la { --c: #3fbf9f; } .footer-ctry--vn { --c: #ef6a5d; }

/* =========================================================================
   10. Country accents + motion
   ========================================================================= */
.is-country-la { --accent: var(--la); --accent-soft: var(--la-soft); }
.is-country-vn { --accent: var(--vn); --accent-soft: var(--vn-soft); }
@media (prefers-reduced-motion: reduce) {
	.mega, .wwt__media img, .tour-card__media img { transition: none !important; }
}
@media print {
	.site-header, .p-tabs, .mbook, .site-footer, #trip-assistant { display: none !important; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   11. Home refinements (5.0.0)
   ========================================================================= */
.journey-map__cta-text { color: #e9dcc0 !important; font-style: normal; opacity: 1; }
.home .partner-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1200px) { .home .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .home .partner-grid { grid-template-columns: 1fr; } }
.home .partner-showcase + p, .home .partner-showcase ~ .btn { display: block; width: max-content; margin-left: auto; margin-right: auto; }
.htours__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* =========================================================================
   12. 5.1.0 — Dropdown (About) menu, desktop + drawer
   ========================================================================= */
@media (min-width: 1101px) {
	.primary-nav .nav-menu > .menu-item-has-children > .sub-menu {
		min-width: 250px; padding: 10px; border-radius: 16px; border: 1px solid var(--line);
		background: var(--paper); box-shadow: 0 24px 44px -24px rgba(24, 11, 2, .35);
		top: calc(100% + 10px);
	}
	.primary-nav .nav-menu > .menu-item-has-children > .sub-menu::before {
		content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; /* hover bridge */
	}
	.primary-nav .nav-menu > .menu-item-has-children > .sub-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: .93rem; white-space: nowrap; }
	.primary-nav .nav-menu > .menu-item-has-children > .sub-menu a:hover,
	.primary-nav .nav-menu > .menu-item-has-children > .sub-menu .current-menu-item > a { background: var(--sandstone); color: var(--forest); }
}
@media (max-width: 1100px) {
	.primary-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		border-left: 3px solid var(--gold); border-radius: 0; margin: 0 0 14px 4px; padding: 0 0 0 12px; min-width: 0; transition: none;
		display: none; background: none;
	}
	.primary-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.primary-nav .menu-item-has-children > a { flex: 1 1 auto; }
	.primary-nav .menu-item-has-children > .sub-menu { flex: 1 0 100%; }
	.primary-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.primary-nav .sub-menu a { display: block; padding: 9px 4px; font-size: 1rem; min-height: 0; }
	.aat-subtoggle {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; color: var(--ink); flex: none;
	}
	.aat-subtoggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
	.menu-item-has-children.is-open > .aat-subtoggle::before { transform: translateY(2px) rotate(-135deg); }
	.aat-subtoggle svg { display: none; }
}

/* =========================================================================
   13. 5.1.0 — Page hero + page layout (About, FAQ, Visa, Partners, Contact)
   ========================================================================= */
.page-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	background: radial-gradient(90% 140% at 100% 0%, #5a300c 0%, var(--forest) 55%, var(--forest-deep) 100%);
	padding: clamp(28px, 4vw, 40px) 0 clamp(44px, 6vw, 72px);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--lintel) repeat-x left center / 28px 10px; opacity: .55; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero .breadcrumb { margin: 0 0 clamp(22px, 4vw, 40px); padding: 0; color: rgba(255,255,255,.75); font-size: .84rem; max-width: none; }
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb .sep { opacity: .5; margin: 0 8px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; margin: 6px 0 12px; font-size: clamp(2.1rem, 5vw, 3.4rem); text-wrap: balance; }
.page-hero__lead { max-width: 62ch; margin: 0; color: #e9dcc0; font-size: clamp(1rem, 1.6vw, 1.12rem); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-body .entry-content { font-size: 1.05rem; max-width: 72ch; }
.page-body .entry-content > *:first-child { margin-top: 0; }
.page-body .entry-content h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 36px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.page-body .entry-content h2:first-child { border-top: 0; padding-top: 0; }
.page-body .entry-content em { color: var(--ink-soft); }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.page-aside__label { display: block; margin-bottom: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.page-aside__nav { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.page-aside__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.page-aside__nav a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.page-aside__nav a:hover { background: var(--sandstone); }
.page-aside__nav a.is-current { background: var(--forest); color: #fff; }
.page-aside__card { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius-lg); color: #f3e6c8; background: radial-gradient(130% 140% at 100% 0%, #5a300c 0%, var(--forest) 55%, var(--forest-deep) 100%); }
.page-aside__card .page-aside__label { color: var(--gold); margin: 0; }
.page-aside__card strong { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: #fff; line-height: 1.2; }
.page-aside__card p { margin: 0 0 4px; font-size: .9rem; color: #e3d3ab; }
.page-aside__card .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.page-aside__card .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 960px) {
	.page-layout { grid-template-columns: 1fr; }
	.page-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .page-aside { grid-template-columns: 1fr; } }

/* FAQ accordion inside pages */
.page-body .aat-faq__q { font-family: var(--font-display); font-size: 1.1rem; }
.page-body .aat-faq { border-top: 1px solid var(--line); }

/* Experiences page */
.exp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.exp-pillar { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: var(--elev-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.exp-pillar:hover { transform: translateY(-4px); box-shadow: var(--elev-2); color: var(--ink); }
.exp-pillar__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 4px solid var(--gold); }
.exp-pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.exp-pillar:hover .exp-pillar__media img { transform: scale(1.05); }
.exp-pillar__body { position: relative; display: grid; gap: 8px; padding: 30px 22px 22px; }
.exp-pillar__icon { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold); box-shadow: 0 0 0 4px var(--card); }
.exp-pillar__icon .ts-icon { width: 26px; height: 26px; }
.exp-pillar strong { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.exp-pillar span { color: var(--ink-soft); line-height: 1.5; }
.exp-pillar em { font-style: normal; font-weight: 700; color: var(--gold-deep); margin-top: 4px; }
.exp-more-head { margin-top: 56px; }
.exp-content { margin-top: 40px; max-width: 72ch; }
.aat-sc-exp { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 900px) { .exp-pillars { grid-template-columns: 1fr; } .exp-pillar { flex-direction: row; } .exp-pillar__media { flex: 0 0 38%; aspect-ratio: auto; border-bottom: 0; border-right: 4px solid var(--gold); } .exp-pillar__icon { position: static; box-shadow: none; width: 44px; height: 44px; } .exp-pillar__body { padding: 18px; } }
@media (max-width: 520px) { .exp-pillar { flex-direction: column; } .exp-pillar__media { aspect-ratio: 16/9; border-right: 0; border-bottom: 4px solid var(--gold); } }

/* =========================================================================
   14. 5.1.0 — Responsive home: swipe rails on phones, fitted grids on tablets
   ========================================================================= */
.wrap-wide { padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
@media (max-width: 1024px) and (min-width: 761px) {
	.wwt__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.wwt__card > :not(.wwt__media):not(.wwt__num) { margin-left: 16px; margin-right: 16px; }
	.wwt__name, .wwt__card--home .wwt__name { font-size: 1.35rem; }
	.wwt__dests li:nth-child(n+4) { display: none; }
	.home .card-grid, .home .card-grid--3, .home .card-grid--rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home .dest-grid, .home .dest-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	/* One pattern for every homepage collection: a swipeable, snapping rail
	   that bleeds to the screen edge. Cuts the phone page to a fraction of
	   its stacked height while keeping every card reachable. */
	.home .wwt__grid,
	.home .card-grid,
	.home .dest-grid,
	.home .partner-grid,
	.home .pillar-grid,
	.home .htours__grid,
	.home .journey-map__rail,
	.home .journey-map__trust,
	.home .why-us__grid {
		display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
		grid-auto-columns: min(82vw, 360px); gap: 14px;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
		margin-left: calc(-1 * clamp(16px, 4vw, 24px)); margin-right: calc(-1 * clamp(16px, 4vw, 24px));
		padding: 4px clamp(16px, 4vw, 24px) 14px; scroll-padding-left: clamp(16px, 4vw, 24px);
		scrollbar-width: none;
	}
	.home .journey-map__rail, .home .journey-map__trust { grid-auto-columns: min(44vw, 200px); }
	.home .why-us__grid { grid-auto-columns: min(70vw, 280px); }
	.home .why-us__grid > * { scroll-snap-align: start; }
	.home .wwt__grid::-webkit-scrollbar, .home .card-grid::-webkit-scrollbar, .home .dest-grid::-webkit-scrollbar,
	.home .partner-grid::-webkit-scrollbar, .home .pillar-grid::-webkit-scrollbar, .home .htours__grid::-webkit-scrollbar,
	.home .journey-map__rail::-webkit-scrollbar, .home .journey-map__trust::-webkit-scrollbar { display: none; }
	.home .wwt__grid > *, .home .card-grid > *, .home .dest-grid > *, .home .partner-grid > *, .home .pillar-grid > *,
	.home .htours__grid > *, .home .journey-map__rail > *, .home .journey-map__trust > * { scroll-snap-align: start; min-width: 0; }
	.home .dest-grid .dest-tile { min-height: 300px; }
	.home .section { padding-top: 44px; padding-bottom: 44px; }
	.home .section-head { margin-bottom: 18px; }
	.home .section-head--row { align-items: flex-end; }
	.home .section-head h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
	.home .seeall { font-size: .9rem; }
	.home .journey-map__pillars-more { display: none; }
	.home .journey-map__frame { padding: 14px; }
	.home .lead { font-size: 1rem; }
	.hero__inner .eyebrow { letter-spacing: .14em; font-size: .7rem; }
	.hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
	.hero__heading { font-size: 1.05rem; }
	.hero__sub { font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.trust-strip { padding-top: 20px; }
	.trust-strip__inner { grid-template-columns: 1fr 1fr; }
	.trust-strip__item { padding: 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
	.trust-strip__item + .trust-strip__item { border-left: 0; border-top: 0; }
	.trust-strip__item:nth-child(even) { border-left: 1px solid var(--line); }
	.trust-strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.trust-strip__icon { width: 38px; height: 38px; }
}
@media (max-width: 380px) {
	.home .wwt__grid, .home .card-grid, .home .dest-grid, .home .partner-grid, .home .pillar-grid, .home .htours__grid { grid-auto-columns: 86vw; }
	.header-plan { padding-left: 14px; padding-right: 14px; }
}

/* Generic small-screen fit for every page */
@media (max-width: 760px) {
	.archive-head h1, .p-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
	.ctry-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * clamp(16px, 4vw, 24px)); padding-right: 16px; }
	.ctry-tabs::-webkit-scrollbar { display: none; }
	.ctry-tab { flex: none; }
	.cat-rail { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.filters select { width: 100%; min-width: 0; }
	.p-facts { grid-template-columns: 1fr 1fr; }
	.p-fact { padding: 12px; gap: 8px; }
	.footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
	img, svg, video, iframe { max-width: 100%; }
}

/* =========================================================================
   15. 5.1.0 — Layer ladder (fixed/sticky elements never collide)
   header 60 · mega 62 (inside header) · p-tabs 40 · mbook 70 · assistant 80
   open drawer: header lifted to 95 and the assistant steps aside.
   ========================================================================= */
.site-header.nav-open { z-index: 95; }
body:has(.site-header.nav-open) .ta,
body:has(.site-header.nav-open) .mbook { display: none !important; }
@media (max-width: 760px) {
	.p-tabs { top: var(--header-h); }
	body.single-tour .ta, body.single-activity .ta { bottom: calc(14px + 72px + env(safe-area-inset-bottom)); }
}

/* Tablets (761–1024px): long collections become two-up swipe rails. */
@media (max-width: 1024px) and (min-width: 761px) {
	.home .htours__grid,
	.home .partner-grid,
	.home .pillar-grid,
	.home .card-grid--rail,
	.home .card-grid--3,
	.home .journey-map__trust {
		display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
		grid-auto-columns: min(44vw, 380px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
		padding-bottom: 14px; scrollbar-width: thin;
	}
	.home .journey-map__trust { grid-auto-columns: min(30vw, 260px); }
	.home .htours__grid > *, .home .partner-grid > *, .home .pillar-grid > *, .home .card-grid--rail > *, .home .card-grid--3 > *, .home .journey-map__trust > * { scroll-snap-align: start; min-width: 0; }
	.home .why-us__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home .journey-map__pillars-more { display: none; }
}

/* 5.1.0 fit fixes */
.breadcrumb.wrap { max-width: 1360px; }
.exp-pillar .exp-pillar__icon { color: var(--gold); }
.exp-pillar .exp-pillar__icon svg { width: 26px; height: 26px; }
@media (min-width: 1101px) and (max-width: 1240px) {
	.primary-nav .nav-menu > li > a { padding-left: 9px; padding-right: 9px; font-size: .9rem; }
	.brand__name { font-size: 1.25rem; }
	.header-inner { gap: 14px; }
}

/* =========================================================================
   16. 5.2.0 — Audit templates: shared components
   ========================================================================= */
/* Photo variant of the archive head (country hubs, experience themes). */
.archive-head--photo { isolation: isolate; }
.archive-head__media { position: absolute; inset: 0; z-index: -1; }
.archive-head__media img { width: 100%; height: 100%; object-fit: cover; }
.archive-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,11,2,.9) 0%, rgba(24,11,2,.6) 55%, rgba(24,11,2,.35) 100%), linear-gradient(0deg, rgba(24,11,2,.75), transparent 45%); }
.archive-head--photo { min-height: clamp(340px, 46vh, 460px); display: flex; align-items: flex-end; }
.archive-head--photo > .wrap-wide { width: 100%; }

/* Article cards */
.art-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--elev-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--elev-2); }
.art-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sandstone); }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.art-card:hover .art-card__media img { transform: scale(1.04); }
.art-card__body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.art-card__meta { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.art-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.art-card h3 a { color: var(--ink); }
.art-card h3 a:hover { color: var(--gold-deep); }
.art-card p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }
.art-card--featured { flex-direction: row; }
.art-card--featured .art-card__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 340px; }
.art-card--featured .art-card__body { align-content: center; padding: 32px; }
.art-card--featured h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.art-card--featured p { font-size: 1.02rem; }
@media (max-width: 820px) { .art-card--featured { flex-direction: column; } .art-card--featured .art-card__media { min-height: 0; aspect-ratio: 16/9; } .art-card--featured .art-card__body { padding: 20px; } }
.art-list { display: grid; gap: 14px; }
.art-list .art-card { flex-direction: row; }
.art-list .art-card__media { flex: 0 0 120px; aspect-ratio: auto; }
.art-list .art-card p { display: none; }
.art-list .art-card__body { padding: 14px 16px; }
.art-list .art-card h3 { font-size: 1.02rem; }

/* Chips */
.exp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.exp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: .9rem; }
.exp-chip span { font-size: .72rem; padding: 1px 7px; border-radius: 999px; background: var(--sandstone); color: var(--ink-soft); }
.exp-chip:hover { border-color: var(--gold); color: var(--ink); }
.exp-chip.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }
.exp-chip--kh::before, .exp-chip--la::before, .exp-chip--vn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kh); }
.exp-chip--la::before { background: var(--la); } .exp-chip--vn::before { background: var(--vn); }
.exp-chips--left { margin-top: 0; }

/* Reviews */
.review-quote { margin: 0; padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--elev-1); display: grid; gap: 12px; }
.review-quote__stars { color: var(--gold); letter-spacing: 2px; }
.review-quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.review-quote figcaption { font-size: .86rem; color: var(--ink-soft); font-weight: 600; }

/* Inquiry CTA (end of every template) */
.inquiry-cta__box {
	display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 28px; align-items: center;
	padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); color: #f3e6c8; position: relative; overflow: hidden;
	background: radial-gradient(120% 160% at 100% 0%, #5a300c 0%, var(--forest) 50%, var(--forest-deep) 100%);
}
.inquiry-cta__box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--lintel) repeat-x left center / 28px 10px; opacity: .45; }
.inquiry-cta .eyebrow { color: var(--gold); }
.inquiry-cta h2 { color: #fff; margin: 6px 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.inquiry-cta p { margin: 0; color: #e3d3ab; }
.inquiry-cta__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inquiry-cta__steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.inquiry-cta__steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: .85rem; flex: none; }
.inquiry-cta__actions { display: grid; gap: 10px; }
.inquiry-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.inquiry-cta .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 1024px) { .inquiry-cta__box { grid-template-columns: 1fr 1fr; } .inquiry-cta__actions { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: start; } }
@media (max-width: 640px) { .inquiry-cta__box { grid-template-columns: 1fr; } .inquiry-cta__actions { grid-template-columns: 1fr; } }

/* Facts list */
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; margin: 16px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts-list > div { padding: 14px 16px; background: var(--card); }
.facts-list dt { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.facts-list dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.facts-list--strip { margin: 0; }
.facts-list--compact { grid-template-columns: 1fr; margin: 0; border: 0; background: none; }
.facts-list--compact > div { padding: 8px 0; border-top: 1px solid var(--line); background: none; }

/* Map (click to load) */
.map-block { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: repeating-linear-gradient(45deg, var(--sandstone) 0 12px, var(--paper-2) 12px 24px); }
.map-block iframe { width: 100%; height: 100%; border: 0; }
.map-block__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font: inherit; }
.map-block__load svg { width: 36px; height: 36px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; }
.map-block__load span { font-weight: 700; }
.map-block__load small { color: var(--ink-soft); }
.map-block__load:hover span { color: var(--gold-deep); }
@media (max-width: 640px) { .map-block { aspect-ratio: 4 / 3; } }

/* Terms (tour page) */
.terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.terms-card { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.terms-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.terms-card p, .terms-card li { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }
.terms-card ul { margin: 0; padding-left: 18px; }
.terms-card__price strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 500; }

/* FAQ block */
.faq-block { margin-top: 8px; }
.faq-block__item { border-bottom: 1px solid var(--line); }
.faq-block__item summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.faq-block__item summary::-webkit-details-marker { display: none; }
.faq-block__item summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--gold-deep); transition: transform .2s; }
.faq-block__item[open] summary::after { transform: rotate(45deg); }
.faq-block__item > div { padding: 0 0 16px; color: var(--ink-soft); }

/* Destination + experience layouts */
.dest-main { min-width: 0; }
.dest-intro { margin-top: 26px; }
.dest-more { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-weight: 700; }
.dest-more a { color: var(--gold-deep); }
.exp-intro { max-width: 72ch; }
.exp-cats .exp-chips { justify-content: flex-start; }
.exp-knowledge { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.exp-knowledge h2 { margin-top: 6px; }
.p-highlights--one { grid-template-columns: 1fr; }
@media (max-width: 900px) { .exp-knowledge { grid-template-columns: 1fr; } }
.dest-country { padding-bottom: 8px; }
.dest-country .section-head h2 { display: flex; align-items: center; gap: 12px; }
.dest-country .section-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--kh); box-shadow: 0 0 0 5px var(--kh-soft); }
.dest-country--la .section-head h2::before { background: var(--la); box-shadow: 0 0 0 5px var(--la-soft); }
.dest-country--vn .section-head h2::before { background: var(--vn); box-shadow: 0 0 0 5px var(--vn-soft); }

/* Travel guide hub + article */
.guide-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.guide-featured { margin-bottom: 22px; }
.guide-essentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-essentials a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--sandstone); color: var(--ink); border: 1px solid transparent; }
.guide-essentials a:hover { border-color: var(--gold); }
.guide-essentials strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.guide-essentials span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 760px) { .guide-essentials { grid-template-columns: 1fr; } }
.guide-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.article-hero { min-height: clamp(340px, 50vh, 480px); display: flex; align-items: flex-end; }
.article-hero > .wrap-wide { width: 100%; }
.article-hero .page-hero__media img { opacity: .5; }
.article-meta { margin: 0; color: #e3d3ab; font-size: .92rem; }
.article-summary { padding: 18px 20px; margin-bottom: 26px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: var(--sandstone); }
.article-summary strong { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.article-summary p { margin: 6px 0 0; font-size: 1.05rem; color: var(--ink); }
.article-toc li.toc-l3 a { padding-left: 24px; font-weight: 500; font-size: .88rem; }
.article-layout .entry-content h2, .article-layout .entry-content h3 { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Confirmation page */
.next-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.next-steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.next-steps strong { display: block; color: var(--ink); }
.next-steps span { color: var(--ink-soft); }

/* Footer: brand · countries · plan · guide · about · newsletter */
.footer-grid { grid-template-columns: 1.4fr .7fr .75fr .8fr .85fr 1.25fr; gap: 30px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand, .footer-newsletter { grid-column: 1 / -1; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-newsletter { grid-column: 1 / -1; } }

/* Six-item header: tighten between 1101–1320px */
@media (min-width: 1101px) and (max-width: 1320px) {
	.primary-nav .nav-menu > li > a { padding-left: 8px; padding-right: 8px; font-size: .88rem; }
	.mega-toggle { width: 22px; }
}

/* Phones: new homepage sections join the swipe rails */
@media (max-width: 760px) {
	.home .exp-pillars { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(82vw, 360px); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * clamp(16px, 4vw, 24px)); padding: 4px clamp(16px, 4vw, 24px) 14px; scrollbar-width: none; }
	.home .exp-pillars > * { scroll-snap-align: start; flex-direction: column; }
	.home .exp-pillar__media { aspect-ratio: 16/9; border-right: 0; border-bottom: 4px solid var(--gold); }
	.home .exp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * clamp(16px, 4vw, 24px)); }
	.home .exp-chip { flex: none; }
}

/* 5.2.0 home: the trail keeps the map + highlight journeys; the History /
   Culture / Adventure pillars now live once, in "Travel by theme". */
.home .journey-map__pillars > .journey-map__pillars-head,
.home .journey-map__pillars > .lead,
.home .journey-map__pillars > .pillar-grid { display: none !important; }
@media (min-width: 1025px) { .home .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; max-width: 100%; box-sizing: border-box; }
