/* Site 2027 – shared header and footer (template-parts/home-2027/), loaded on every page that uses them.
   Everything is scoped under .vmt-h27 so Flatsome content styles are untouched. */

/* Design tokens: on .vmt-h27 (header, footer, 2027 page content) and on .vmt-dest-content, the UX Builder content of
   template-destination-2027.php, which sits outside .vmt-h27 so Flatsome keeps styling its elements. */
.vmt-h27,
.vmt-dest-content {
	/* Brand orange from the logo. -strong is the same hue darkened for small text (5.4:1 on white) and hover fills;
	   -soft is a barely-there tint for icon tiles and highlight backgrounds. */
	--accent: #ff440b;
	--accent-strong: #c73205;
	--accent-soft: #fff1ed;
	--bg: #ffffff;
	--tint: #f7f7f7;
	--surface: #ffffff;
	--ink: #23201d;
	--ink-2: #5c5650;
	--ink-3: #8a837b;
	--line: rgba(35, 32, 29, 0.1);
	--shadow-sm: 0 6px 18px rgba(84, 52, 24, 0.07);
	--shadow: 0 22px 50px rgba(84, 52, 24, 0.12);
	--radius: 16px;
	--radius-sm: 10px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--serif: "Libre Bodoni", Georgia, "Times New Roman", serif;
	--sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
}
.vmt-h27 {
	position: relative;
	overflow-x: clip;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-size-adjust: 100%;
}

/* ---------- Reset against Flatsome base styles ----------
 * ".vmt-h27 :where(...)" = one class of specificity: beats Flatsome's element selectors,
 * while component classes declared later in this file still win. */
.vmt-h27 :where(*, *::before, *::after) {
	box-sizing: border-box;
}
.vmt-h27
	:where(h1, h2, h3, h4, p, ul, li, dl, dt, dd, figure, figcaption, address) {
	margin: 0;
	padding: 0;
}
.vmt-h27 :where(h1, h2, h3, h4) {
	color: inherit;
	font-family: var(--serif);
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	width: auto;
}
.vmt-h27 :where(ul, li) {
	list-style: none;
}
.vmt-h27 :where(dl, dt, dd, address) {
	font-size: inherit;
	font-style: normal;
	font-weight: inherit;
	letter-spacing: normal;
	text-transform: none;
}
.vmt-h27 :where(a) {
	color: inherit;
	text-decoration: none;
}
.vmt-h27 :where(a:hover) {
	color: inherit;
}
.vmt-h27 :where(img) {
	display: block;
	max-width: 100%;
	height: auto;
}
.vmt-h27 :where(button) {
	appearance: none;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.2;
	cursor: pointer;
}
.vmt-h27 :where(small) {
	font-size: inherit;
	opacity: 1;
}
.vmt-h27 :where(del) {
	color: var(--ink-3);
	font-weight: 400;
}
.vmt-h27 :where(:focus-visible) {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}
.vmt-h27-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}
.vmt-h27-icon.is-flipped {
	transform: scaleX(-1);
}
.vmt-h27-flag {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--line);
	object-fit: cover;
}
.vmt-h27-flag--icon {
	display: grid;
	place-items: center;
	background: var(--accent-soft);
	color: var(--accent-strong);
	box-shadow: none;
}
.vmt-h27-flag--icon .vmt-h27-icon {
	width: 14px;
	height: 14px;
}
.vmt-h27-skip {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: #fff !important;
}
.vmt-h27-skip:focus {
	top: 16px;
}

/* ---------- Layout primitives ---------- */
.vmt-h27-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.vmt-h27-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent-strong);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.vmt-h27-link .vmt-h27-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.3s var(--ease);
}
.vmt-h27-link:hover {
	color: var(--accent);
}
.vmt-h27-link:hover .vmt-h27-icon {
	transform: translateX(4px);
}

/* ---------- Buttons ---------- */
.vmt-h27-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 8px;
	background: var(--accent);
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition:
		background 0.25s,
		transform 0.25s var(--ease),
		box-shadow 0.25s;
}
.vmt-h27-btn:hover {
	background: var(--accent-strong);
	box-shadow: 0 10px 24px rgba(199, 50, 5, 0.22);
	transform: translateY(-2px);
}
.vmt-h27-btn:active {
	transform: translateY(1px) scale(0.98);
	box-shadow: none;
}
.vmt-h27-btn .vmt-h27-icon {
	width: 18px;
	height: 18px;
}
.vmt-h27-btn--sm {
	min-height: 40px;
	padding: 0 18px;
	font-size: 14.5px;
}
.vmt-h27-btn--block {
	display: flex;
	width: 100%;
}
.vmt-h27-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border-radius: var(--radius-sm);
	transition: background 0.2s;
}
.vmt-h27-icon-btn:hover {
	background: rgba(127, 127, 127, 0.14);
}
.vmt-h27-icon-btn .vmt-h27-icon {
	width: 22px;
	height: 22px;
}

/* ---------- Header ---------- */
.vmt-h27-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	color: #fff;
	transition:
		background 0.3s,
		color 0.3s,
		box-shadow 0.3s;
}
.admin-bar .vmt-h27-header {
	top: 32px;
}
/* Inner pages: the fixed header sits in a placeholder of its own height, so page content starts below it. */
.vmt-h27-site-header {
	height: var(--header-h);
}
.vmt-h27-header.is-solid,
.vmt-h27-header--solid,
.vmt-h27-header.has-open-panel,
.vmt-h27-header.is-menu-open,
.vmt-h27-header.is-search-open,
.vmt-h27-header:has(.vmt-h27-nav-list:hover),
.vmt-h27-header:has(.vmt-h27-nav-list:focus-within) {
	background: #fff;
	color: var(--ink);
	box-shadow:
		0 1px 0 var(--line),
		0 10px 30px rgba(84, 52, 24, 0.06);
}
.vmt-h27-header-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--header-h);
}
.vmt-h27-brand {
	flex: none;
	display: flex;
	align-items: center;
}
.vmt-h27 .vmt-h27-logo {
	width: auto;
	height: 88px;
}
.vmt-h27-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}
.vmt-h27-nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
}
.vmt-h27-nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: var(--header-h);
	padding: 0 12px;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}
.vmt-h27 .vmt-h27-nav-link:hover,
.vmt-h27 .vmt-h27-nav-link:focus {
	color: inherit;
	opacity: 1;
}
.vmt-h27-nav-link::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}
.vmt-h27-nav-link:hover::after,
.vmt-h27-nav-link[aria-current]::after,
.vmt-h27-nav-item.is-open > .vmt-h27-nav-link::after {
	transform: scaleX(1);
}
.vmt-h27-caret {
	width: 14px;
	height: 14px;
	transition: transform 0.3s var(--ease);
}
.vmt-h27-nav-item.is-open > .vmt-h27-nav-link .vmt-h27-caret {
	transform: rotate(180deg);
}
.vmt-h27-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}
.vmt-h27 .vmt-h27-call:hover,
.vmt-h27 .vmt-h27-call:focus-visible {
	color: var(--accent);
}
.vmt-h27-call-number {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.vmt-h27-header-cta {
	margin-left: 6px;
}
.vmt-h27-menu-toggle,
.vmt-h27-drawer-foot,
.vmt-h27-sub-toggle {
	display: none;
}
/* The icon wrappers are flex boxes, not inline/block spans, so no line box pushes the icon 2px above centre. */
.vmt-h27-menu-toggle .is-open,
.vmt-h27-header.is-menu-open .vmt-h27-menu-toggle .is-close {
	display: flex;
}
.vmt-h27-menu-toggle .is-close,
.vmt-h27-header.is-menu-open .vmt-h27-menu-toggle .is-open {
	display: none;
}

/* Header entrance on every page with the 2027 header: logo, menu items, then actions drop in one after another.
   It replays on each navigation by choice (same feel on every page); transform and opacity only, so no layout shift. */
@keyframes vmt-h27-drop {
	from {
		opacity: 0;
		transform: translateY(-14px);
	}
}
.vmt-h27-brand,
.vmt-h27-actions > * {
	animation: vmt-h27-drop 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.vmt-h27-brand {
	animation-delay: 0.1s;
}
.vmt-h27-actions > :nth-child(1) {
	animation-delay: 0.6s;
}
.vmt-h27-actions > :nth-child(2) {
	animation-delay: 0.68s;
}
.vmt-h27-actions > :nth-child(3) {
	animation-delay: 0.76s;
}
.vmt-h27-actions > :nth-child(4) {
	animation-delay: 0.6s;
}
@media (min-width: 1200px) {
	.vmt-h27-nav-item {
		animation: vmt-h27-drop 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
	}
	.vmt-h27-nav-item:nth-child(1) {
		animation-delay: 0.2s;
	}
	.vmt-h27-nav-item:nth-child(2) {
		animation-delay: 0.26s;
	}
	.vmt-h27-nav-item:nth-child(3) {
		animation-delay: 0.32s;
	}
	.vmt-h27-nav-item:nth-child(4) {
		animation-delay: 0.38s;
	}
	.vmt-h27-nav-item:nth-child(5) {
		animation-delay: 0.44s;
	}
	.vmt-h27-nav-item:nth-child(6) {
		animation-delay: 0.5s;
	}
	.vmt-h27-nav-item:nth-child(7) {
		animation-delay: 0.56s;
	}
}

/* Panels (desktop dropdowns) */
.vmt-h27-panel {
	position: absolute;
	top: 100%;
	z-index: 2;
	padding: 24px;
	border-radius: 0 0 var(--radius) var(--radius);
	background: #fff;
	color: var(--ink);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition:
		opacity 0.22s,
		transform 0.3s var(--ease),
		visibility 0.22s;
}
.vmt-h27-nav-item.is-open > .vmt-h27-panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.vmt-h27-panel--tours {
	left: var(--gutter);
	right: var(--gutter);
	padding: 0;
	overflow: hidden;
}
.vmt-h27-nav-item.is-visa,
.vmt-h27-nav-item.is-schedule,
.vmt-h27-nav-item.is-services {
	position: relative;
}
.vmt-h27-panel--visa {
	left: -140px;
	width: 720px;
}
.vmt-h27-panel--schedule {
	left: -40px;
	width: 520px;
}
.vmt-h27-panel--services {
	right: -80px;
	width: 520px;
}
.vmt-h27-panel-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
}
.vmt-h27-panel-subtitle {
	margin-bottom: 8px;
	color: var(--ink-3);
	font-size: 13px;
	font-weight: 600;
}
.vmt-h27-panel-groups--services .vmt-h27-panel-subtitle {
	color: var(--accent-strong);
	font-size: 15px;
}
.vmt-h27-panel-subtitle a:hover {
	color: var(--accent-strong);
}
.vmt-h27-panel-links a {
	display: block;
	padding: 7px 0;
	color: var(--ink-2);
	font-size: 15px;
	transition:
		color 0.2s,
		transform 0.25s var(--ease);
}
.vmt-h27-panel-links a:hover {
	color: var(--accent-strong);
	transform: translateX(3px);
}
.vmt-h27-panel-links--cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 28px;
	margin-bottom: 18px;
}
.vmt-h27-panel-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.vmt-h27-panel-groups--services {
	grid-template-columns: 1fr 1fr;
}

/* Tours mega panel */
.vmt-h27-mega {
	display: grid;
	grid-template-columns: 240px 1fr;
	min-height: 340px;
}
.vmt-h27-tabs {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px;
	background: var(--tint);
}
.vmt-h27-tab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 11px 14px;
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	transition:
		background 0.2s,
		color 0.2s;
}
.vmt-h27-tab-caret {
	width: 14px;
	height: 14px;
	opacity: 0;
	transition:
		opacity 0.2s,
		transform 0.25s var(--ease);
}
.vmt-h27-tab:hover,
.vmt-h27-tab.is-active {
	background: #fff;
	color: var(--accent-strong);
}
.vmt-h27-tab.is-active .vmt-h27-tab-caret {
	opacity: 1;
	transform: translateX(2px);
}

/* Region panels share one grid cell and cross-fade, so switching never flashes the white panel between two photos.
   Until the menu is first approached (JS adds .is-ready), hidden regions stay display:none so their images do not load with the page. */
.vmt-h27-tabpanel {
	grid-column: 2;
	grid-row: 1;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.4s ease,
		visibility 0s linear 0.4s;
}
.vmt-h27-mega:not(.is-ready) .vmt-h27-tabpanel:not(.is-active) {
	display: none;
}

/* inherit, not visible: a visible child of the closed (hidden) panel would still catch the pointer and open the menu. */
.vmt-h27-tabpanel.is-active {
	opacity: 1;
	visibility: inherit;
	transition:
		opacity 0.4s ease,
		visibility 0s;
}
.vmt-h27-tabpanel-body {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 28px;
	height: 100%;
}
.vmt-h27-tabpanel-img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	max-height: 300px;
	border-radius: var(--radius-sm);
	object-fit: cover;
}
.vmt-h27-tabpanel-content {
	padding-top: 4px;
}
.vmt-h27-tabpanel .vmt-h27-panel-groups {
	grid-template-columns: 1fr 1fr;
	gap: 8px 24px;
}
@keyframes vmt-h27-fade {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
}

/* Visa / schedule panels */
.vmt-h27-visa-menu {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 20px;
}
.vmt-h27-visa-feature {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border-radius: var(--radius-sm);
	/* Faint brand orange (#ff440b) with a corner glow, same treatment as the homepage visa card and consultation card. */
	background:
		radial-gradient(
			80% 60% at 100% 0%,
			rgba(255, 68, 11, 0.12),
			rgba(255, 68, 11, 0) 70%
		),
		rgba(255, 68, 11, 0.06);
	color: var(--ink-2);
	font-size: 14px;
	line-height: 1.5;
}
.vmt-h27-visa-feature strong {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 21px;
	line-height: 1.2;
}
.vmt-h27-visa-feature-icon {
	color: var(--accent);
}
.vmt-h27-visa-feature-icon .vmt-h27-icon {
	width: 30px;
	height: 30px;
}
.vmt-h27-visa-feature .vmt-h27-link {
	margin-top: auto;
}
.vmt-h27-flag-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 16px;
	align-content: start;
}
.vmt-h27-flag-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	padding: 9px 10px;
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	font-size: 15px;
	transition:
		background 0.2s,
		color 0.2s;
}
.vmt-h27-flag-links a:hover {
	background: var(--tint);
	color: var(--ink);
}
.vmt-h27-panel-more {
	width: calc(100% - 20px);
	margin: 10px 10px 0;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}
/* The services links have no side padding (the visa links do), so the footer link lines up with them as is. */
.vmt-h27-panel--services .vmt-h27-panel-more {
	width: 100%;
	margin: 16px 0 0;
}
.vmt-h27-flag-links--schedule a {
	padding: 12px;
	font-weight: 500;
}

/* Search overlay */
.vmt-h27-search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 16px 0;
	background: #fff;
	color: var(--ink);
	box-shadow:
		0 1px 0 var(--line),
		var(--shadow);
}
.vmt-h27-search[hidden] {
	display: none;
}
.vmt-h27-search-form {
	display: flex;
	align-items: center;
	gap: 12px;
}
.vmt-h27-search-icon {
	width: 24px;
	height: 24px;
	color: var(--ink-3);
}
.vmt-h27 .vmt-h27-search-form input[type="search"] {
	flex: 1;
	height: 52px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ink);
	font: 400 18px/1 var(--sans);
}
.vmt-h27 .vmt-h27-search-form input[type="search"]:focus {
	border-bottom-color: var(--accent);
	outline: none;
}

/* Type chips + live suggestions (site-2027.js). Indented to line up with the input text, after the search icon. */
.vmt-h27-search-types,
.vmt-h27-suggest {
	padding-left: 36px;
}
.vmt-h27-search-types {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	overflow-x: auto;
	scrollbar-width: none;
}
.vmt-h27-search-types::-webkit-scrollbar {
	display: none;
}
.vmt-h27-search-chip {
	flex: none;
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink-2);
	font-size: 14px;
	font-weight: 500;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.vmt-h27-search-chip:hover {
	border-color: var(--ink-3);
	color: var(--ink);
}
.vmt-h27-search-chip[aria-pressed="true"] {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--accent-strong);
}
.vmt-h27-suggest {
	margin-top: 10px;
}
.vmt-h27-suggest[hidden],
.vmt-h27-suggest-all[hidden] {
	display: none;
}
.vmt-h27-suggest-list {
	max-height: min(56vh, 520px);
	margin: 0 -12px;
	overflow-y: auto;
	overscroll-behavior: contain;
	transition: opacity 0.2s;
}
.vmt-h27-suggest.is-loading .vmt-h27-suggest-list {
	opacity: 0.45;
}
.vmt-h27-suggest-list a {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--ink);
}
.vmt-h27 .vmt-h27-suggest-list a:hover {
	color: var(--ink);
}
.vmt-h27-suggest-list [aria-selected="true"] a {
	background: var(--tint);
}
.vmt-h27-suggest-thumb {
	width: 64px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	background: var(--tint);
}
.vmt-h27-suggest-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vmt-h27-suggest-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15.5px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.vmt-h27-suggest-title mark {
	background: none;
	color: inherit;
	font-weight: 700;
}
.vmt-h27-suggest-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.vmt-h27-suggest-price del {
	color: var(--ink-3);
	font-size: 13px;
}
.vmt-h27-suggest-price strong {
	color: #ff0000;
	font-weight: 700;
}
.vmt-h27-suggest-price span {
	color: var(--ink-2);
	font-size: 14px;
}
.vmt-h27-suggest-status {
	padding: 6px 0;
	color: var(--ink-2);
	font-size: 14px;
}
.vmt-h27-suggest-status:empty {
	display: none;
}
.vmt-h27-suggest-all {
	margin: 10px 0 4px;
}
@media (max-width: 599px) {
	.vmt-h27-search-types,
	.vmt-h27-suggest {
		padding-left: 0;
	}
	.vmt-h27-suggest-list a {
		grid-template-columns: 56px minmax(0, 1fr) auto;
		gap: 12px;
	}
	.vmt-h27-suggest-thumb {
		width: 56px;
	}
	.vmt-h27-suggest-title {
		font-size: 14.5px;
	}
	.vmt-h27-suggest-price {
		font-size: 14px;
	}
}
.vmt-h27-scrim {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(35, 32, 29, 0.38);
	animation: vmt-h27-fade 0.25s ease;
}
.vmt-h27-scrim[hidden] {
	display: none;
}

/* ---------- Footer ---------- */
/* Dark footer: white headings, softened white body text; --line is redefined so every divider suits the dark ground. */
.vmt-h27-footer {
	--line: rgba(255, 255, 255, 0.12);
	position: relative;
	isolation: isolate;
	padding: clamp(56px, 7vw, 80px) 0 0;
	background: #141414;
	color: rgba(255, 255, 255, 0.68);
	font-size: 15px;
}
/* Background photo (Yosemite valley, Pixabay #922757) under a deep scrim so the white text stays crisp.
   site-2027.js adds .has-photo as the footer nears the viewport, so the image never loads with the page. */
.vmt-h27-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			180deg,
			rgba(20, 20, 20, 0.96) 0%,
			rgba(20, 20, 20, 0.8) 38%,
			rgba(20, 20, 20, 0.84) 70%,
			rgba(20, 20, 20, 0.96) 100%
		),
		url("../images/home-2027/footer-yosemite-1920.webp") center 45% / cover
			no-repeat;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.vmt-h27-footer:not(.has-photo)::before {
	background: none;
}
.vmt-h27-footer.has-photo::before {
	opacity: 1;
}
@media (max-width: 767px) {
	.vmt-h27-footer.has-photo::before {
		background-image:
			linear-gradient(
				180deg,
				rgba(20, 20, 20, 0.96) 0%,
				rgba(20, 20, 20, 0.82) 40%,
				rgba(20, 20, 20, 0.96) 100%
			),
			url("../images/home-2027/footer-yosemite-960.webp");
	}
}
.vmt-h27-footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 44px;
}
.vmt-h27 .vmt-h27-logo--footer {
	height: 76px;
}
.vmt-h27-footer-brand p {
	max-width: 24em;
	margin-top: 18px;
	line-height: 1.65;
}
.vmt-h27-socials {
	display: flex;
	gap: 8px;
	margin-top: 22px;
}
.vmt-h27-socials a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition:
		background 0.2s,
		color 0.2s;
}
.vmt-h27 .vmt-h27-socials a:hover {
	background: var(--accent);
	color: #fff;
}
.vmt-h27-socials .vmt-h27-icon {
	width: 20px;
	height: 20px;
}
.vmt-h27-footer-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
	color: #fff;
	font-family: var(--serif);
	font-size: 19px;
	font-weight: 600;
}
.vmt-h27-footer-title .vmt-h27-icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
}
.vmt-h27-footer-col ul {
	display: grid;
	gap: 9px;
}
.vmt-h27-footer a:hover {
	color: var(--accent);
}
.vmt-h27-offices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding: 32px 0;
	border-top: 1px solid var(--line);
}

/* Subgrid keeps title / address / phones / email on shared rows, so wrapped lines stay aligned across offices. */
.vmt-h27-office {
	display: grid;
	grid-row: span 4;
	grid-template-rows: subgrid;
	row-gap: 4px;
	align-content: start;
}
.vmt-h27-office .vmt-h27-footer-title {
	margin-bottom: 8px;
	font-size: 17px;
}.vmt-h27-footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: 24px 0;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.vmt-h27-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}
.vmt-h27-badges img {
	width: auto;
	height: 44px;
}
.vmt-h27-badges a:last-child img {
	height: 24px;
}
.vmt-h27-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 20px 0 28px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.vmt-h27-footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
	.vmt-h27-call-number {
		display: none;
	}
	.vmt-h27-nav-link {
		padding: 0 9px;
		font-size: 14.5px;
	}
	.vmt-h27-nav-link::after {
		left: 9px;
		right: 9px;
	}
}

/* Drawer navigation below 1200px. */
@media (max-width: 1199px) {
	.vmt-h27,
	.vmt-dest-content {
		--header-h: 64px;
	}
	.vmt-h27-header-inner {
		gap: 12px;
	}
	.vmt-h27 .vmt-h27-logo {
		height: 78px;
	}
	.vmt-h27-actions {
		margin-left: auto;
	}
	.vmt-h27-menu-toggle {
		display: inline-flex;
	}
	.vmt-h27-nav {
		position: fixed;
		top: var(--vmt-h27-header-bottom, 64px);
		right: 0;
		bottom: 0;
		z-index: 45;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		width: min(420px, 100%);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px var(--gutter) 24px;
		background: #fff;
		color: var(--ink);
		box-shadow: var(--shadow);
		transform: translateX(100%);
		visibility: hidden;
		transition:
			transform 0.35s var(--ease),
			visibility 0.35s;
	}
	.vmt-h27-header.is-menu-open .vmt-h27-nav {
		transform: none;
		visibility: visible;
	}
	.vmt-h27-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.vmt-h27-nav-item {
		border-bottom: 1px solid var(--line);
	}
	/* Links (Trang chủ, Tin tức) inherit line-height 1.6 and the panel buttons are reset to 1.2: one line height for
	   both keeps every row the same height (56px). */
	.vmt-h27-nav-link {
		justify-content: space-between;
		width: 100%;
		height: auto;
		padding: 16px 0;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.5;
	}
	.vmt-h27-nav-link::after {
		display: none;
	}
	.vmt-h27-nav-link[aria-current] {
		color: var(--accent-strong);
	}
	.vmt-h27-panel,
	.vmt-h27-panel--visa,
	.vmt-h27-panel--schedule,
	.vmt-h27-panel--services {
		position: static;
		display: grid;
		grid-template-rows: 0fr;
		width: auto;
		padding: 0;
		border-radius: 0;
		box-shadow: none;
		opacity: 0;
		visibility: hidden;
		transform: none;
		transition:
			grid-template-rows 0.35s var(--ease),
			padding 0.35s var(--ease),
			opacity 0.25s,
			visibility 0.35s;
	}
	.vmt-h27-panel > * {
		min-height: 0;
		overflow: hidden;
	}
	.vmt-h27-nav-item.is-open > .vmt-h27-panel {
		grid-template-rows: 1fr;
		padding-bottom: 16px;
		opacity: 1;
		visibility: inherit;
	}
	.vmt-h27-mega {
		display: block;
		min-height: 0;
	}
	.vmt-h27-tabs,
	.vmt-h27-tabpanel-img,
	.vmt-h27-tabpanel .vmt-h27-panel-title {
		display: none;
	}
	.vmt-h27-tabpanel,
	.vmt-h27-tabpanel.is-active,
	.vmt-h27-mega:not(.is-ready) .vmt-h27-tabpanel:not(.is-active) {
		display: block;
		padding: 0;
		opacity: 1;
		visibility: inherit;
		transition: none;
	}
	.vmt-h27-sub-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 11px 0;
		color: var(--ink-2);
		font-size: 15px;
		font-weight: 500;
	}
	.vmt-h27-sub-toggle[aria-expanded="true"] {
		color: var(--accent-strong);
	}
	.vmt-h27-sub-toggle[aria-expanded="true"] .vmt-h27-caret {
		transform: rotate(180deg);
	}
	.vmt-h27-tabpanel-body {
		grid-template-columns: 1fr;
		grid-template-rows: 0fr;
		gap: 0;
		height: auto;
		padding: 0 0 0 14px;
		border-left: 2px solid var(--accent-soft);
		opacity: 0;
		visibility: hidden;
		transition:
			grid-template-rows 0.3s var(--ease),
			padding 0.3s var(--ease),
			opacity 0.2s,
			visibility 0.3s;
	}
	.vmt-h27-tabpanel-content {
		min-height: 0;
		overflow: hidden;
	}
	.vmt-h27-tabpanel.is-open .vmt-h27-tabpanel-body {
		grid-template-rows: 1fr;
		padding-bottom: 8px;
		opacity: 1;
		visibility: inherit;
	}
	.vmt-h27-panel-links--cols,
	.vmt-h27-panel-groups,
	.vmt-h27-tabpanel .vmt-h27-panel-groups,
	.vmt-h27-flag-links,
	.vmt-h27-visa-menu {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.vmt-h27-panel-links--cols {
		margin-bottom: 8px;
	}
	.vmt-h27-panel-groups {
		gap: 14px;
	}
	.vmt-h27-flag-links a,
	.vmt-h27-flag-links--schedule a {
		padding: 9px 0;
	}
	.vmt-h27-visa-feature {
		padding: 16px;
	}
	.vmt-h27-panel-more {
		width: 100%;
		margin: 6px 0 0;
		padding: 14px 0 4px;
	}
	.vmt-h27-drawer-foot {
		display: grid;
		gap: 12px;
		margin-top: 24px;
	}
	.vmt-h27-drawer-call {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 48px;
		border: 1px solid var(--line);
		border-radius: var(--radius-sm);
		font-weight: 600;
	}
	.vmt-h27-drawer-call .vmt-h27-icon {
		width: 20px;
		height: 20px;
		color: var(--accent);
	}
}
@media (max-width: 1023px) {
	.vmt-h27-footer-top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.vmt-h27-footer-brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 782px) {
	.admin-bar .vmt-h27-header {
		top: 46px;
	}
}
@media (max-width: 767px) {
	.vmt-h27-offices {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 599px) {
	.vmt-h27-header-cta {
		display: none;
	}
	.vmt-h27-footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 32px 20px;
	}
	.vmt-h27-footer-col:last-child {
		grid-column: 1 / -1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.vmt-h27 *,
	.vmt-h27 *::before,
	.vmt-h27 *::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
