.vx-header:not(.vertex-navbar) {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--navy);
	color: var(--white);
	transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.vertex-header.vertex-navbar .vx-logo img {
	height: clamp(2.65rem, 4vw, 3.15rem);
	max-height: 3.15rem;
	width: auto;
}

body.vx-body.vx-home .vx-header {
	position: fixed;
	left: 0;
	right: 0;
	/* Light header surface is owned by vertex-navbar.css */
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
}

body.vx-body.vx-home .vx-header.is-stuck {
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
}

body.vx-body.vx-home .vx-header__bar {
	opacity: 0;
	transition: opacity 220ms ease;
}

body.vx-body.vx-home .vx-header.is-stuck .vx-header__bar {
	opacity: 1;
}

.vx-header.is-stuck { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }

body.admin-bar .vx-header { top: 32px; }

.vx-header__bar {
	height: 3px;
	background: linear-gradient(90deg, #0055D4, #1493c4);
}

.vx-header__ask {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid rgba(127, 212, 238, 0.35);
	border-radius: 10px;
	color: #9ad8ee;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.vx-header__ask:hover,
.vx-header__ask:focus-visible {
	background: rgba(0, 176, 240, 0.12);
	border-color: #7fd4ee;
	color: #fff;
	outline: none;
}

.vx-header__inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: min(1480px, calc(100% - 1.5rem));
	min-height: var(--header);
}

body.vx-body .vx-header .vx-logo img {
	height: 4.7rem;
	max-height: 4.7rem;
	width: auto;
	max-width: 5rem;
}

.vx-logo { display: flex; margin-inline-end: auto; flex: 0 0 auto; }

.vx-nav .vx-menu {
	display: flex;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vx-nav { min-width: 0; }
.vx-nav .vx-menu { flex-wrap: nowrap; }
.vx-nav .vx-menu > li > a { white-space: nowrap; }
.vx-nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.vx-nav .current-menu-item > a,
.vx-nav .current-menu-ancestor > a { font-weight: 700; }
body.vx-body .vx-header__cta { white-space: nowrap; }

.vx-lang {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.vx-lang a { text-decoration: none; }
.vx-lang [aria-current="true"] { color: #0055D4; font-weight: 700; }
.vx-lang__sep { opacity: 0.45; }

.vx-nav .menu-item-has-children { position: relative; }

.vx-nav .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% - 0.2rem);
	inset-inline-start: 0;
	min-width: 16.5rem;
	max-height: 70vh;
	overflow: auto;
	background: var(--navy-2);
	padding: 0.4rem 0;
	list-style: none;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.vx-nav .menu-item-has-children:hover > .sub-menu,
.vx-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }

.vx-nav .sub-menu a { display: block; padding: 0.55rem 0.9rem; font-weight: 500; }

.vx-nav .sub-menu a:hover { background: rgba(255, 255, 255, 0.06); }

body.vx-body .vx-header__cta {
	background: #0055D4;
	color: #ffffff;
	border: 2px solid #0055D4;
	font-weight: 700;
	width: auto;
}

.vx-burger {
	display: none;
	width: 2.7rem;
	height: 2.7rem;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.vx-burger__lines,
.vx-burger__lines::before,
.vx-burger__lines::after {
	display: block;
	width: 1.05rem;
	height: 1px;
	margin-inline: auto;
	background: currentColor;
	position: relative;
}

.vx-burger__lines::before,
.vx-burger__lines::after { content: ""; position: absolute; inset-inline-start: 0; }

.vx-burger__lines::before { top: -6px; }
.vx-burger__lines::after { top: 6px; }

/* Mobile offcanvas: see vertex-navbar.css */

.vx-nav-panel .vx-menu { display: block; list-style: none; margin: 0 0 1rem; padding: 0; }

.vx-nav-panel a {
	display: block;
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
}

.vx-nav-panel .sub-menu { margin: 0; padding: 0 0 0.4rem 0.8rem; list-style: none; }

.vx-nav-panel .sub-menu a { font-weight: 400; font-size: 0.9375rem; }

/* Site footer styles: assets/css/vertex-footer.css */
