/**
 * Header page landing — logo trái, menu overlay (ngaovan / Flatsome center).
 */

body.fs-landing-page {
	--landing-header-h: 80px;
}

body.fs-landing-page .landing-page-header {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	z-index: 200;
	background-color: #000f1f;
	background-image: linear-gradient(270deg, #091d3f 0%, #000f1f 100%);
	border-bottom: 1px solid var(--rule);
}

/* Anchor one-page — khoảng cách nhỏ khi scroll tới section */
body.fs-landing-page [id].pxl-title-block,
body.fs-landing-page [id].pxl-grid-4-block,
body.fs-landing-page [id].pxl-slide-wrap,
body.fs-landing-page [id].pxl-adv-box,
body.fs-landing-page [id].pxl-post-grid,
body.fs-landing-page [id].pxl-footer-box,
body.fs-landing-page [id].pxl-video-wrap,
body.fs-landing-page [id].pxl-policy-box,
body.fs-landing-page [id].pxl-cta-bar,
body.fs-landing-page [id].pxl-orn,
body.fs-landing-page [id].pxl-image-wrap,
body.fs-landing-page [id].pxl-cf7-register,
body.fs-landing-page [id].pxl-footer-legal,
body.fs-landing-page [id].pxl-company-info {
	scroll-margin-top: 12px;
}

body.fs-landing-thank-you #main {
	padding-top: 0;
}

.landing-page-header__inner {
	box-sizing: border-box;
	max-width: 780px;
	margin: 0 auto;
	padding: 10px 16px;
	min-height: 56px;
	align-items: center;
}

body.fs-landing-page .landing-page-header .landing-page-header__logo-col {
	flex: 0 1 auto;
	min-width: 0;
}

body.fs-landing-page .landing-page-header .landing-page-header__desktop-nav-col,
body.fs-landing-page .landing-page-header .landing-page-header__menu-col {
	flex: 0 0 auto;
	margin-left: auto;
}

/* Desktop — menu ngang bên phải */
body.fs-landing-page .landing-page-header .header-nav {
	margin: 0;
}

body.fs-landing-page .landing-page-header .header-nav>li>a {
	color: rgba(255, 255, 255, 0.88);
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 8px 10px;
}

body.fs-landing-page .landing-page-header .header-nav>li>a:hover,
body.fs-landing-page .landing-page-header .header-nav>li>a:focus-visible,
body.fs-landing-page .landing-page-header .header-nav>li.active>a,
body.fs-landing-page .landing-page-header .header-nav>li.current-menu-item>a,
body.fs-landing-page .landing-page-header .header-nav>li.current-menu-ancestor>a,
body.fs-landing-page .landing-page-header .header-nav>li>a.landing-anchor-active {
	color: var(--gold-2);
}

body.fs-landing-page .landing-page-header .header-nav>li>a.landing-anchor-active {
	color: var(--gold-bright, #e8c988);
}

body.fs-landing-page .landing-page-header .header-nav .nav-dropdown {
	background: #091d3f;
	border-color: rgba(194, 163, 120, 0.2);
}

body.fs-landing-page .landing-page-header .header-nav .nav-dropdown>li>a {
	color: rgba(255, 255, 255, 0.88);
	font-size: 12px;
	letter-spacing: 0.05em;
}

body.fs-landing-page .landing-page-header .header-nav .nav-dropdown>li>a:hover,
body.fs-landing-page .landing-page-header .header-nav .nav-dropdown>li.current-menu-item>a {
	color: var(--gold-2);
}

body.fs-landing-page .landing-page-header .mobile-nav {
	margin: 0;
}

body.fs-landing-page .landing-page-header .mobile-nav>li.nav-icon {
	margin: 0;
}

/* Nền header tối — icon trắng (ngaovan dùng header light nên icon xám từ .nav>li>a) */
body.fs-landing-page .landing-page-header.header-main .mobile-nav.nav-right>li.nav-icon>a,
body.fs-landing-page .landing-page-header.header-main .mobile-nav.nav-right>li.nav-icon>a>i {
	color: #fff;
}

body.fs-landing-page .landing-page-header.header-main .mobile-nav.nav-right>li.nav-icon .current-lightbox-clicked {
	opacity: 0 !important;
}

.landing-page-header__logo--custom .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}

.landing-page-header__logo {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	text-decoration: none;
	color: var(--gold-2);
}

.landing-page-header__logo .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}

.landing-page-header__logo-img,
.landing-page-header__logo .custom-logo {
	display: block;
	max-height: 40px;
	width: auto;
	max-width: min(180px, 46vw);
	height: auto;
	object-fit: contain;
}

.landing-page-header__logo-text {
	font-family: var(--font-cinzel);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold-2);
}

/* —— Overlay menu: copy style ngaovan (Flatsome off-canvas center) —— */
body.fs-landing-page .mfp-container:before {
	display: none;
}

body.fs-landing-page .mfp-bg.off-canvas-center:not(.dark) {
	background: rgba(0, 0, 0, 1);
}

body.fs-landing-page .off-canvas-center .nav-vertical>li>a,
body.fs-landing-page .off-canvas-center .nav-vertical>li>ul>li a {
	justify-content: flex-start;
}

body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li {
	position: relative;
}

body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li>a {
	padding-left: 24px;
	padding-right: 24px;
	font-size: 14px;
	color: #fff;
	font-weight: 500;
	line-height: 150%;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li.current-menu-item>a,
body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li.active>a,
body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li>a.landing-anchor-active {
	color: var(--gold-bright, #e8c988);
}

body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li+li>a::before {
	content: "";
	display: block;
	width: calc(100% - 48px);
	height: 1px;
	background: rgba(168, 148, 139, 0.15);
	position: absolute;
	top: 0;
	right: 24px;
}

body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li .toggle {
	top: 8px;
}

body.fs-landing-page .off-canvas-center .nav-sidebar.nav-vertical>li .toggle i {
	color: #fff;
}

body.fs-landing-page .main-menu-overlay {
	margin-top: 69px;
}

body.fs-landing-page .off-canvas-center:not(.dark) .mfp-close {
	color: #fff !important;
	opacity: 1;
	left: auto;
	right: 6px;
	top: 4px;
}

body.fs-landing-page .nav:not(.nav-slide) .active>.children,
body.fs-landing-page .nav:not(.nav-slide) .active>.sub-menu {
	padding: 12px 36px;
	color: #a8948b;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

body.fs-landing-page .nav:not(.nav-slide) .active>.children a,
body.fs-landing-page .nav:not(.nav-slide) .active>.sub-menu a {
	color: #8f7e77;
	padding: 10px 0;
}

body.fs-landing-page .nav:not(.nav-slide) .active>.children>li.current-menu-item>a,
body.fs-landing-page .nav:not(.nav-slide) .active>.sub-menu>li.current-menu-item>a {
	color: #fff;
	padding: 10px 0;
}

body.body-scroll-lock--active.fs-landing-page .landing-page-header {
	background-color: #000f1f;
	background-image: linear-gradient(270deg, #091d3f 0%, #000f1f 100%);
}

body.fs-landing-page #landing-page-header #logo img,
body.fs-landing-page #landing-page-header .landing-page-header__logo-img,
body.fs-landing-page #landing-page-header .custom-logo {
	max-height: 60px !important;
}

body.fs-landing-category .landing-category-archive {
	padding-top: 32px;
}

body.fs-landing-category .pg-archive-title {
	margin-top: 8px;
}

@media (max-width: 849px) {
	body.fs-landing-page .landing-page-header__inner {
		position: relative;
		justify-content: flex-end;
	}

	body.fs-landing-page .landing-page-header .landing-page-header__logo-col {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		flex: none;
		z-index: 1;
		display: flex;
		justify-content: center;
		width: auto;
		max-width: calc(100% - 96px);
		pointer-events: none;
	}

	body.fs-landing-page .landing-page-header .landing-page-header__logo-col .landing-page-header__logo,
	body.fs-landing-page .landing-page-header .landing-page-header__logo-col .landing-page-header__logo--custom,
	body.fs-landing-page .landing-page-header .landing-page-header__logo-col .custom-logo-link {
		pointer-events: auto;
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

	body.fs-landing-page .landing-page-header .landing-page-header__menu-col {
		position: relative;
		z-index: 2;
		margin-left: auto;
	}
}

@media (max-width: 549px) {
	body.fs-landing-page {
		--landing-header-h: 56px;
	}

	body.fs-landing-page .landing-page-header__inner {
		min-height: 52px;
		padding: 8px 12px;
	}

	body.fs-landing-page #logo img {
		max-height: 40px;
	}
}