.cj-header {
	position: relative;
	z-index: 1020;
	background: #fff;
	box-shadow: 0 1px 0 rgb(var(--cj-navy-rgb) / .08);
	font-family: var(--cj-font);
}

.cj-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	max-width: 1320px;
	margin-inline: auto;
	padding: 10px 24px;
	min-height: 84px;
}

.cj-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	justify-self: start;
	color: var(--cj-navy);
	text-decoration: none;
}

.cj-brand:hover,
.cj-brand:focus {
	color: var(--cj-navy);
}

.cj-brand__icon {
	flex-shrink: 0;
	fill: none;
	stroke: var(--cj-gold);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cj-brand__name {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.cj-brand__logo {
	display: block;
	width: auto;
	height: 58px;
	max-width: none;
}

.cj-brand--light .cj-brand__logo {
	height: 40px;
}

@media (max-width: 991.98px) {
	.cj-header .cj-brand:not(.cj-brand--light) .cj-brand__logo {
		height: 44px;
	}
}

@media (max-width: 480px) {
	.cj-header .cj-brand:not(.cj-brand--light) .cj-brand__logo {
		height: 36px;
	}
}

.cj-brand--light,
.cj-brand--light:hover,
.cj-brand--light:focus {
	color: #fff;
}

.cj-menu,
.cj-menu .sub-menu,
.cj-nav__social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cj-menu > li > a {
	display: block;
	color: var(--cj-navy);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s ease;
}

.cj-menu a:hover,
.cj-menu a:focus-visible,
.cj-menu .current-menu-item > a,
.cj-menu .current-menu-ancestor > a,
.cj-menu .current-menu-parent > a {
	color: var(--cj-gold);
}

.cj-menu .sub-menu a {
	display: block;
	color: var(--cj-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
	text-decoration: none;
}

.cj-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	justify-self: end;
}

.cj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border: 2px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cj-btn--outline {
	border-color: var(--cj-gold);
	color: var(--cj-gold);
	background: transparent;
}

.cj-btn--outline:hover,
.cj-btn--outline:focus-visible {
	background: var(--cj-gold);
	color: #fff;
}

.cj-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cj-navy);
	cursor: pointer;
}

.cj-burger::before,
.cj-burger::after,
.cj-burger span {
	content: "";
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.cj-burger:hover,
.cj-burger:focus {
	background: none;
	color: var(--cj-gold);
}

.cj-nav__close {
	padding: 6px;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
}

.cj-nav__close svg,
.cj-submenu-toggle svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cj-nav__close:hover,
.cj-nav__close:focus {
	background: none;
	color: var(--cj-gold);
}

/* Desktop */
@media (min-width: 992px) {
	.cj-nav__head,
	.cj-nav__foot,
	.cj-submenu-toggle {
		display: none;
	}

	.cj-menu {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.cj-menu > li {
		position: relative;
	}

	.cj-menu > li > a {
		padding: 28px 12px;
	}

	.cj-menu > .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: 6px;
		height: 6px;
		margin-inline-start: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-3px) rotate(45deg);
	}

	.cj-menu .sub-menu {
		position: absolute;
		top: 100%;
		inset-inline-start: 0;
		min-width: 240px;
		padding: 14px 0;
		background: #fff;
		border-top: 2px solid var(--cj-gold);
		border-radius: 0 0 6px 6px;
		box-shadow: 0 12px 30px rgb(var(--cj-navy-rgb) / .12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	}

	.cj-menu li:hover > .sub-menu,
	.cj-menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.cj-menu .sub-menu a {
		padding: 6px 24px;
	}

	.cj-menu .sub-menu a::before {
		content: "-";
		color: var(--cj-gold);
		margin-inline-end: 10px;
	}

	.cj-nav-backdrop {
		display: none !important;
	}
}

/* Mobile / tablet */
@media (max-width: 991.98px) {
	.cj-header__inner {
		grid-template-columns: 1fr auto;
		min-height: 72px;
		padding-inline: 16px;
	}

	.cj-brand__name {
		font-size: 18px;
	}

	.cj-brand__icon {
		width: 34px;
		height: 34px;
	}

	.cj-burger {
		display: flex;
	}

	.cj-nav {
		position: fixed;
		inset-block: 0;
		right: 0;
		z-index: 1045;
		display: flex;
		flex-direction: column;
		width: min(320px, 86vw);
		background: var(--cj-navy);
		color: #fff;
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s ease;
	}

	.cj-nav.is-open {
		transform: none;
		visibility: visible;
	}

	.cj-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 20px 24px;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.cj-nav__body {
		padding: 12px 24px;
	}

	.cj-menu > li {
		position: relative;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}

	.cj-menu > li > a,
	.cj-menu .sub-menu a {
		color: #fff;
	}

	.cj-menu > li > a {
		padding: 12px 0;
		padding-inline-end: 44px;
	}

	.cj-submenu-toggle {
		position: absolute;
		top: 6px;
		inset-inline-end: 0;
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--cj-gold);
		cursor: pointer;
	}

	.cj-submenu-toggle:hover,
	.cj-submenu-toggle:focus {
		background: none;
		color: #fff;
	}

	.cj-submenu-toggle svg {
		transition: transform .2s ease;
	}

	.cj-submenu-toggle[aria-expanded="true"] svg {
		transform: rotate(180deg);
	}

	.cj-menu .sub-menu {
		display: none;
		padding: 0 16px 12px 0;
	}

	.cj-menu .sub-menu.is-open {
		display: block;
	}

	.cj-menu .sub-menu a {
		padding: 6px 0;
		color: rgba(255, 255, 255, .8);
	}

	.cj-nav__foot {
		display: flex;
		flex-direction: column;
		gap: 6px;
		margin-top: auto;
		padding: 24px;
		border-top: 1px solid rgba(255, 255, 255, .1);
		font-size: 15px;
	}

	.cj-nav__foot a {
		color: rgba(255, 255, 255, .85);
		text-decoration: none;
	}

	.cj-nav__foot a:hover {
		color: var(--cj-gold);
	}

	.cj-nav__social {
		display: flex;
		gap: 18px;
		margin-top: 14px;
	}

	.cj-nav__social .cj-icon {
		fill: currentColor;
	}

	.cj-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1040;
		background: rgba(10, 20, 30, .55);
	}

	body.cj-nav-locked {
		overflow: hidden;
	}

	body.cj-nav-locked .cj-header {
		z-index: 1060;
	}
}

@media (max-width: 480px) {
	.cj-header__actions .cj-btn {
		padding: 6px 12px;
		font-size: 14px;
	}

	.cj-brand__name {
		font-size: 16px;
	}

	.cj-brand__icon {
		width: 28px;
		height: 28px;
	}
}
