@media (min-width: 850px) {
	#header #masthead .header-inner { position: relative; }
	#header #masthead .header-nav-main:has(> .gc-mega-parent) { position: static; }
	#header #masthead .header-nav-main > li.gc-mega-parent { position: static; }
	/* Keep the legacy absolute hover background on its link, while the
	   dropdown remains positioned relative to the full header container. */
	#header #masthead .header-nav-main > li.gc-mega-parent > a.nav-top-link {
		position: relative;
		isolation: isolate;
	}

	#header #masthead .gc-mega-parent > .nav-dropdown {
		top: 100%;
		left: 0 !important;
		right: 0;
		width: 100% !important;
		min-width: 0;
		max-width: none;
		margin: 0;
		padding: 0;
		overflow: auto;
		max-height: 72vh;
		border: 1px solid #dce7dd;
		background: #fff;
		color: #24372a;
		visibility: hidden;
		pointer-events: none;
		opacity: 0;
	}

	#header #masthead .gc-mega-parent:not(.gc-mega-dismissed):is(:hover, .gc-mega-open) > .nav-dropdown {
		visibility: visible;
		pointer-events: auto;
		opacity: 1;
	}

	#header .gc-mega.row {
		display: grid;
		gap: 18px;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 18px 20px;
	}
	#header .gc-mega--services { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	#header .gc-mega--international { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	#header .gc-mega.row::before, #header .gc-mega.row::after { display: none; }
	#header .gc-mega.row > .col { width: auto; max-width: none; min-width: 0; padding: 0; }
	#header .gc-mega .ux-menu + .ux-menu { margin-top: 16px; }

	#header .gc-mega .ux-menu-link__link {
		padding: 5px 7px;
		border: 0;
		white-space: normal;
		color: #24372a;
		line-height: 1.3;
	}
	#header .gc-mega .ux-menu-link__link:hover,
	#header .gc-mega .ux-menu-link__link:focus-visible {
		color: #00520a;
		background: #edf7ee;
	}
	#header .gc-mega .trangdanhmuc .ux-menu-link__link {
		border-bottom: 2px solid #08761b;
		margin-bottom: 4px;
		color: #006d09;
		text-transform: uppercase;
	}
	#header .gc-mega .trangdanhmuc .ux-menu-link__text { font-size: 13px; }
}

#header .gc-mega-consultation {
	margin-top: 16px;
	padding: 12px;
	border-radius: 6px;
	background: #edf7ee;
	color: #213e27;
}
#header .gc-mega-consultation p { margin: 5px 0 8px; font-size: 13px; }
#header .gc-mega-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
	padding: 10px 20px;
	background: #f4faf4;
	border-top: 1px solid #dce7dd;
}
#header .gc-mega-hotline { margin-right: auto; }
#header .gc-mega-actions a, #header .gc-mega-consultation a { color: #006d09; font-weight: 700; }
#header .gc-mega-actions a.gc-header-quote,
#header .gc-mega-consultation a.gc-header-quote {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 7px 13px;
	border-radius: 6px;
	background: #006d09;
	color: #fff;
}
#header .gc-mega-actions a.gc-header-quote:hover,
#header .gc-mega-consultation a.gc-header-quote:hover { background: #00520a; }
@media (min-width: 850px) {
	#header .seongon-blog-dropdown > .nav-dropdown {
		padding: 12px;
		border: 1px solid #e4ebe4;
		border-top: 3px solid #006d09;
		background: #fff;
		box-shadow: 0 8px 24px #17332121;
	}
	#header .seongon-blog-dropdown > .nav-dropdown::before {
		content: "CHUYÊN MỤC BLOG";
		display: block;
		margin: 0 4px 6px;
		padding: 3px 8px 8px;
		border-bottom: 1px solid #006d09;
		color: #006d09;
		font-size: 14px;
		font-weight: 700;
	}
	#header .seongon-blog-dropdown > .nav-dropdown > li > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		margin: 0;
		padding: 9px 12px;
		border: 0;
		color: #25362a;
		font-size: 14px;
	}
	#header .seongon-blog-dropdown > .nav-dropdown > li > a::after {
		content: "›" / "";
		font-weight: 700;
		visibility: hidden;
	}
	#header .seongon-blog-dropdown > .nav-dropdown > li > a:is(:hover, :focus-visible) {
		background: #eaf4eb;
		color: #006d09;
	}
	#header .seongon-blog-dropdown > .nav-dropdown > li > a:is(:hover, :focus-visible)::after {
		visibility: visible;
	}
}
