/**
 * Lila Weaver Bohemia header.
 */
.lwb-header {
	--header-blue: #0d6690;
	--header-grey: #9fa2a6;
	position: relative;
	z-index: 30;
	background: #fff;
	border-bottom: 1px solid #eceff1;
}

.lwb-header__inner {
	display: grid;
	width: min(100% - 40px, 1240px);
	margin-inline: auto;
	padding: 22px 0 18px;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: clamp(28px, 4vw, 58px);
	align-items: center;
}

.lwb-header__brand {
	position: relative;
	display: inline-flex;
	width: 210px;
	align-items: center;
	justify-content: center;
}

.lwb-header__brand img {
	display: block;
	width: 210px;
	height: 168px;
	object-fit: contain;
}

.lwb-header__brand span {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	height: 32px;
	align-items: flex-end;
	justify-content: center;
	background: #fff;
	border-top: 2px solid var(--header-grey);
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: .42em;
	text-align: center;
	text-indent: .42em;
	text-transform: uppercase;
	color: var(--header-grey);
}

.lwb-header__content {
	min-width: 0;
}

.lwb-header__topline {
	display: flex;
	gap: clamp(20px, 3vw, 48px);
	align-items: center;
	justify-content: space-between;
}

.lwb-header__navigation ul,
.lwb-header__socials {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwb-header__navigation ul {
	gap: clamp(18px, 2.6vw, 42px);
	align-items: center;
}

.lwb-header__navigation a {
	display: inline-block;
	padding: 8px 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.25;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--header-grey);
}

.lwb-header__navigation a:hover,
.lwb-header__navigation a:focus-visible,
.lwb-header__navigation a[aria-current="page"] {
	color: var(--header-blue);
}

.lwb-header__navigation a[aria-current="page"] {
	box-shadow: inset 0 -2px var(--header-blue);
}

.lwb-header__socials {
	flex: 0 0 auto;
	gap: 7px;
	align-items: center;
}

.lwb-header__socials a {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1.8px solid var(--header-blue);
	border-radius: 50%;
	color: var(--header-blue);
}

.lwb-header__socials li:last-child a {
	border-radius: 10px;
}

.lwb-header__socials svg {
	width: 25px;
	height: 25px;
	fill: currentColor;
}

.lwb-header__tagline {
	margin: 10px 0 0 !important;
	font-family: var(--brand-font-handwriting) !important;
	font-size: clamp(2rem, 3.3vw, 2.65rem);
	font-weight: 400 !important;
	line-height: 1.05;
	text-align: left;
	white-space: nowrap;
	color: var(--header-blue) !important;
}

.lwb-header a {
	text-decoration: none;
}

.lwb-header a:focus-visible {
	outline: 2px solid var(--header-blue);
	outline-offset: 4px;
}

@media (max-width: 1024px) {
	.lwb-header__inner {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 28px;
	}

	.lwb-header__brand,
	.lwb-header__brand img {
		width: 180px;
	}

	.lwb-header__brand img {
		height: 144px;
	}

	.lwb-header__navigation ul {
		gap: 18px;
	}

	.lwb-header__navigation a {
		font-size: .92rem;
	}

	.lwb-header__tagline {
		white-space: normal;
	}
}

@media (max-width: 767px) {
	.lwb-header__inner {
		width: min(100% - 32px, 560px);
		padding: 16px 0 20px;
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.lwb-header__brand {
		margin-inline: auto;
	}

	.lwb-header__topline {
		flex-direction: column;
		gap: 14px;
	}

	.lwb-header__navigation ul {
		flex-wrap: wrap;
		gap: 4px 22px;
		justify-content: center;
	}

	.lwb-header__navigation a {
		padding: 5px 0;
	}

	.lwb-header__tagline {
		margin-top: 18px !important;
		font-size: 2.15rem;
		text-align: center;
	}
}

@media (max-width: 390px) {
	.lwb-header__navigation ul {
		gap-inline: 17px;
	}

	.lwb-header__navigation a {
		font-size: .86rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.lwb-header a {
		transition: color .18s ease, border-color .18s ease, transform .18s ease;
	}

	.lwb-header__socials a:hover {
		transform: translateY(-2px);
	}
}
