.wg-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: #ffffff;
	border-bottom: 1px solid var(--color-border, #e3e8ee);
}

.wg-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter))));
	min-height: 76px;
	margin-inline: auto;
}

.wg-header__brand {
	display: inline-flex;
	align-items: center;
	flex: 0 1 auto;
	max-width: 350px;
	color: inherit;
	text-decoration: none;
}

.wg-header__brand picture {
	display: block;
	line-height: 0;
}

.wg-header__logo {
	display: block;
	width: auto;
	height: 58px;
	max-width: 100%;
	object-fit: contain;
}

.wg-header__brand:hover,
.wg-header__brand:focus {
	color: inherit;
}

.wg-header__navigation {
	display: flex;
	align-items: center;
	gap: 30px;
}

.wg-header__navigation > a {
	color: #334155;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition:
		color 0.2s ease,
		background-color 0.2s ease;
}

.wg-header__navigation > a:hover,
.wg-header__navigation > a:focus {
	color: #0b4f71;
}

.wg-header__navigation .wg-header__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	color: #ffffff;
	background: #0b4f71;
	border-radius: 8px;
}

.wg-header__navigation .wg-header__button:hover,
.wg-header__navigation .wg-header__button:focus {
	color: #ffffff;
	background: #083f5a;
}

.wg-header__mobile-actions {
	display: none;
	align-items: center;
	margin-left: auto;
}

.wg-header__mobile-choice-help {
	display: none;
}

.wg-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.wg-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	background: #102033;
	border-radius: 2px;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
}

@media (max-width: 820px) {

	.wg-header__container {
		width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter-mobile))));
		min-height: 68px;
	}

	.wg-header__brand {
		flex: 1 1 auto;
		max-width: min(205px, calc(100vw - 174px));
	}

	.wg-header__logo {
		height: 49px;
	}

	.wg-header__mobile-actions {
		display: flex;
		gap: 8px;
	}

	.wg-header__mobile-choice-help {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
		padding: 0 2px;
		color: #475569;
		font-size: 13px;
		font-weight: 600;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
	}

	.wg-header__mobile-choice-help:hover,
	.wg-header__mobile-choice-help:focus {
		color: #0b4f71;
	}

	.wg-header__mobile-choice-help:focus-visible {
		outline: 2px solid #0b4f71;
		outline-offset: 3px;
		border-radius: 3px;
	}

	.wg-header__toggle {
		display: block;
		flex: 0 0 44px;
	}

	.wg-header__navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 16px 20px;
		background: #ffffff;
		border-top: 1px solid #e3e8ee;
		border-bottom: 1px solid #e3e8ee;
		box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
	}

	.wg-header__navigation.is-open {
		display: flex;
	}

	.wg-header__navigation > a {
		padding: 13px 4px;
	}

	.wg-header__navigation .wg-header__button {
		margin-top: 8px;
		padding: 0 18px;
	}

	.wg-header__toggle.is-open span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.wg-header__toggle.is-open span:nth-child(2) {
		opacity: 0;
	}

	.wg-header__toggle.is-open span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}


@media (max-width: 360px) {
	.wg-header__brand {
		max-width: 160px;
	}

	.wg-header__logo {
		height: 43px;
	}

	.wg-header__mobile-actions {
		gap: 4px;
	}

	.wg-header__mobile-choice-help {
		font-size: 12px;
	}
}

/* Toggle button */
.wg-header__toggle,
.wg-header__toggle:hover,
.wg-header__toggle:focus,
.wg-header__toggle:active {
	background: transparent !important;
	color: inherit;
	box-shadow: none;
	outline: none;
}

.wg-header__toggle:focus-visible {
	outline: 2px solid #0b4f71;
	outline-offset: 3px;
}