:root {
	--site-header-ink: #17212b;
	--site-header-muted: #5c6b76;
	--site-header-line: #d9e0e5;
	--site-header-surface: #ffffff;
	--site-header-surface-soft: #f4f7f9;
	--site-header-accent: #0f5f8f;
	--site-header-accent-dark: #10384f;
	--site-header-focus: #f2c94c;
	--site-header-success: #248a3d;
	--front-sticky-top: calc(var(--site-header-height, 112px) + 18px);
}

.skip-link,
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 1001;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	border-radius: 6px;
	background: var(--site-header-ink);
	color: #fff;
	text-decoration: none;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--site-header-surface);
	box-shadow: 0 12px 34px rgba(23, 33, 43, 0.08);
	transition: transform 220ms ease;
}

.front-account-status {
	border-bottom: 1px solid rgba(15, 95, 143, .14);
	background:
		radial-gradient(circle at 12% 0, rgba(44, 151, 196, .18), transparent 34%),
		radial-gradient(circle at 88% 0, rgba(214, 162, 74, .18), transparent 30%),
		linear-gradient(135deg, rgba(247, 251, 253, .98), rgba(236, 244, 248, .92));
}

.front-account-status__inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	gap: .65rem;
	margin: 0 auto;
	min-height: 3.15rem;
	padding: .55rem 0;
	width: min(1240px, calc(100% - 32px));
}

.front-account-status__mark {
	background:
		radial-gradient(circle at 35% 35%, #ffffff 0 18%, transparent 20%),
		linear-gradient(135deg, #2fa75c, #157d3c);
	border: 2px solid rgba(255, 255, 255, .92);
	border-radius: 999px;
	box-shadow: 0 0 0 3px rgba(36, 138, 61, .16), 0 8px 18px rgba(21, 125, 60, .18);
	flex: 0 0 auto;
	height: 14px;
	width: 14px;
}

.front-account-status strong {
	color: #12384f;
	font-weight: 900;
	white-space: nowrap;
}

.front-account-status span:not(.front-account-status__mark) {
	color: #506473;
	font-size: .92rem;
	line-height: 1.35;
}

.front-account-status a {
	color: #0d5570;
	font-weight: 900;
	margin-left: 0;
	text-decoration-color: rgba(13, 85, 112, .28);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	white-space: nowrap;
}

.front-account-status__inner > a:first-of-type {
	margin-left: auto;
}

.front-account-status a:hover,
.front-account-status a:focus-visible {
	color: #092f45;
	text-decoration-color: #d6a24a;
}

.front-account-status a:active {
	color: #7a4d12;
	text-decoration-color: #7a4d12;
}

.site-header__inner,
.site-header__nav-list {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(260px, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 14px 0 10px;
}

.site-header .site-header__logo-link {
	display: grid;
	align-items: center;
	width: 180px;
	aspect-ratio: 6096 / 1689;
	line-height: 0;
}

.site-header .site-header__brand .site-header__logo {
	display: block;
	grid-area: 1 / 1;
	width: 100%;
	height: auto;
	transform: translateZ(0);
}

.site-header .site-header__brand .site-header__logo--dark {
	display: none;
}

.site-header .site-header__search {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	min-width: 0;
	padding: 4px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--site-header-surface-soft);
}

.site-header .site-header__search:focus-within {
	border-color: var(--site-header-accent);
	box-shadow: 0 0 0 3px rgba(15, 95, 143, 0.16);
}

.site-header__search-input,
.site-header__search-button,
.site-header__action,
.site-header__nav-toggle,
.site-header__nav-link {
	font: inherit;
}

.site-header .site-header__search-input {
	min-width: 0;
	min-height: 42px;
	padding: 0 14px;
	border: 0;
	outline: 0;
	outline-offset: 0;
	background: transparent;
	color: var(--site-header-ink);
	-webkit-appearance: none;
	appearance: none;
}

.site-header .site-header__search-input:focus,
.site-header .site-header__search-input:focus-visible {
	border-color: transparent;
	outline: 0;
	box-shadow: none;
}

.site-header .site-header__search-input::-webkit-search-decoration,
.site-header .site-header__search-input::-webkit-search-cancel-button,
.site-header .site-header__search-input::-webkit-search-results-button,
.site-header .site-header__search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.site-header .site-header__search-input::placeholder {
	color: var(--site-header-muted);
	opacity: 1;
}

.site-header .site-header__search-button {
	min-height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--site-header-accent-dark);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.site-header .site-header__search-button:hover {
	background: var(--site-header-accent);
}

.site-header .site-header__search-button:active {
	background: #fdc300;
	box-shadow: inset 0 0 0 2px rgba(16, 24, 32, .22);
	color: #101820;
	transform: translateY(1px);
}

.site-header__search-suggestions {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 110;
	display: grid;
	gap: 12px;
	box-sizing: border-box;
	max-height: min(68vh, 560px, var(--search-suggestions-available-height, 100vh));
	overflow: auto;
	padding: 14px;
	border: 1px solid var(--site-header-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 24px 60px rgba(23, 33, 43, 0.18);
	backdrop-filter: blur(16px);
}

.site-header__search-suggestions[hidden] {
	display: none;
}

.site-header__suggestion-group {
	display: grid;
	gap: 6px;
}

.site-header__suggestion-title {
	margin: 0;
	color: var(--site-header-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-header__suggestion-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 11px;
	border-radius: 12px;
	color: var(--site-header-ink);
	font-weight: 750;
	text-decoration: none;
}

.site-header__suggestion-link:hover,
.site-header__suggestion-link:focus-visible,
.site-header__suggestion-link.is-active {
	outline: 0;
	background: #e8f0f4;
	color: var(--site-header-accent-dark);
}

.site-header__suggestion-meta {
	flex: 0 0 auto;
	color: var(--site-header-muted);
	font-size: 13px;
	font-weight: 700;
}

.site-header__actions {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.site-header__account-menu {
	position: relative;
	display: grid;
	gap: 5px;
	justify-items: center;
}

.site-header__mobile-account-panel {
	display: none;
}

.site-header__action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 8px;
	color: var(--site-header-ink);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.site-header__account-greeting {
	display: grid;
	gap: 4px;
	min-width: 0;
	line-height: 1;
}

.site-header__account-greeting strong {
	max-width: 132px;
	overflow: hidden;
	color: currentColor;
	font-size: .84rem;
	font-weight: 900;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-header__account-greeting span {
	color: var(--site-header-muted);
	font-size: .72rem;
	font-weight: 850;
	text-transform: uppercase;
}

.site-header__logout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 25px;
	padding: 0 9px;
	border: 1px solid rgba(142, 38, 38, .18);
	border-radius: 7px 2px 7px 2px;
	background:
		radial-gradient(circle at 100% 0, rgba(255, 255, 255, .42), transparent 42%),
		linear-gradient(135deg, rgba(255, 244, 244, .82), rgba(255, 255, 255, .56));
	color: #8d2f2f;
	font-size: .72rem;
	font-weight: 900;
	text-decoration: none;
	backdrop-filter: blur(14px);
}

.site-header__logout-button:hover,
.site-header__logout-button:focus-visible {
	outline: 0;
	border-color: rgba(142, 38, 38, .28);
	background:
		radial-gradient(circle at 100% 0, rgba(255, 255, 255, .52), transparent 42%),
		linear-gradient(135deg, rgba(255, 232, 232, .92), rgba(255, 255, 255, .66));
	color: #6f1f1f;
}

.site-header__logout-button:active {
	border-color: rgba(142, 38, 38, .42);
	background: #8d2f2f;
	color: #fff;
}

.site-header__theme-toggle {
	border: 1px solid rgba(15, 95, 143, .16);
	background:
		radial-gradient(circle at 20% 0, rgba(253, 195, 0, .18), transparent 34%),
		linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(238, 245, 248, .88));
	transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-header__theme-picker {
	display: inline-grid;
	grid-template-columns: repeat(3, auto);
	align-items: stretch;
	min-height: 46px;
	padding: 3px;
	border: 1px solid rgba(15, 95, 143, .16);
	border-radius: 12px 4px 12px 4px;
	background: rgba(238, 245, 248, .88);
}

.site-header__theme-picker button {
	min-width: 50px;
	padding: 0 10px;
	border: 0;
	border-radius: 8px 2px 8px 2px;
	background: transparent;
	color: var(--site-header-muted);
	font: inherit;
	font-size: .75rem;
	font-weight: 900;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-header__theme-picker button:hover,
.site-header__theme-picker button:focus-visible {
	outline: 0;
	background: rgba(255, 255, 255, .78);
	color: var(--site-header-accent-dark);
}

.site-header__theme-picker button[aria-pressed="true"] {
	background: #0d5570;
	color: #fff;
	box-shadow: 0 4px 12px rgba(7, 56, 77, .18);
}

.site-header__theme-icon {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	color: currentColor;
	line-height: 1;
}

.site-header__theme-svg {
	grid-area: 1 / 1;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: opacity 160ms ease, transform 180ms ease;
}

.site-header__theme-auto {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: .78rem;
	font-weight: 900;
	grid-area: 1 / 1;
	height: 24px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	opacity: 0;
	transform: scale(.76);
	transition: opacity 160ms ease, transform 180ms ease;
	width: 24px;
}

.site-header__theme-svg--sun {
	color: #fdc300;
	opacity: 0;
	transform: rotate(-28deg) scale(.72);
}

.site-header__theme-toggle[data-front-theme-mode="auto"] .site-header__theme-svg {
	opacity: 0;
	transform: scale(.72);
}

.site-header__theme-toggle[data-front-theme-mode="auto"] .site-header__theme-auto {
	opacity: 1;
	transform: scale(1);
}

.site-header__theme-toggle[data-front-theme-mode="dark"] .site-header__theme-svg--moon {
	opacity: 0;
	transform: rotate(18deg) scale(.72);
}

.site-header__theme-toggle[data-front-theme-mode="dark"] .site-header__theme-svg--sun {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.site-header__theme-toggle {
	width: 44px;
	padding: 0;
}

.site-header__action-icon {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.15;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-header__cart {
	min-height: 46px;
	padding-inline: 13px 22px;
}

.site-header__cart-icon-wrap {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	line-height: 0;
}

.site-header__action:hover,
.site-header__action:focus-visible,
.site-header__nav-link:hover,
.site-header__nav-link:focus-visible {
	outline: 0;
	background: #e8f0f4;
	color: var(--site-header-accent-dark);
}

.site-header__action:active {
	background: #0d5570;
	color: #fff;
}

.site-header__theme-toggle[data-front-theme-mode="dark"] {
	background: linear-gradient(135deg, rgba(16, 56, 79, .98), rgba(13, 85, 112, .94));
	color: #fff;
}

.site-header__theme-toggle:hover,
.site-header__theme-toggle:focus-visible {
	outline: 0;
	border-color: rgba(253, 195, 0, .82);
	background:
		radial-gradient(circle at 18% 0, rgba(253, 195, 0, .28), transparent 36%),
		linear-gradient(135deg, #fff8df, #ffffff);
	color: #101820;
	box-shadow: 0 10px 22px rgba(138, 100, 28, .13);
}

.site-header__theme-toggle:active {
	border-color: #101820;
	background: #101820;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.site-header__theme-toggle[data-front-theme-mode="dark"]:hover,
.site-header__theme-toggle[data-front-theme-mode="dark"]:focus-visible {
	border-color: #9edcf2;
	background: #9edcf2;
	color: #071923;
}

.site-header__account.is-authenticated::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 28px;
	width: 10px;
	height: 10px;
	border: 2px solid var(--site-header-surface);
	border-radius: 50%;
	background: var(--site-header-success);
}

.site-header__cart-count {
	position: absolute;
	top: -7px;
	right: auto;
	left: calc(100% - 11px);
	display: inline-grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 5px;
	border: 2px solid var(--site-header-surface);
	border-radius: 999px;
	background: var(--site-header-focus);
	color: var(--site-header-ink);
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
}

.site-header__nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	margin-left: 14px;
	padding: 0;
	border: 1px solid var(--site-header-line);
	border-radius: 8px;
	background: var(--site-header-surface);
	color: var(--site-header-ink);
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-header__nav-toggle:hover,
.site-header__nav-toggle:focus-visible {
	outline: 0;
	border-color: rgba(253, 195, 0, .82);
	background: #fdc300;
	color: #101820;
	box-shadow: 0 10px 22px rgba(138, 100, 28, .13);
}

.site-header__nav-toggle:active,
.site-header__nav-toggle[aria-expanded="true"] {
	border-color: #0d5570;
	background: #0d5570;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.site-header__nav-icon,
.site-header__nav-icon::before,
.site-header__nav-icon::after {
	position: absolute;
	left: 10px;
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.site-header__nav-icon {
	top: 20px;
}

.site-header__nav-icon::before,
.site-header__nav-icon::after {
	content: "";
	left: 0;
}

.site-header__nav-icon::before {
	top: -7px;
}

.site-header__nav-icon::after {
	top: 7px;
}

.site-header__nav-toggle[aria-expanded="true"] .site-header__nav-icon {
	background: transparent;
}

.site-header__nav-toggle[aria-expanded="true"] .site-header__nav-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.site-header__nav-toggle[aria-expanded="true"] .site-header__nav-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

.site-header__nav {
	position: relative;
	border-top: 0;
}

.site-header__nav::before {
	content: "";
	display: block;
	width: min(1240px, calc(100% - 32px));
	height: 1px;
	margin: 0 auto;
	background: var(--site-header-line);
}

.site-header__nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	align-items: stretch;
	padding: 0;
	list-style: none;
}

.site-header__nav-link {
	display: flex;
	align-items: center;
	min-height: 48px;
    font-size: 1.0625rem;
	padding: 0 13px;
	border-radius: 0;
	border-bottom: 3px solid transparent;
	color: var(--site-header-ink);
	font-weight: 700;
	text-decoration: none;
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible {
	color: var(--site-header-accent-dark);
	border-bottom-color: rgba(15, 95, 143, 0.34);
}

.site-header__nav-link.is-active,
.site-header__nav-link[aria-current="page"] {
	color: var(--site-header-accent-dark);
	border-bottom-color: var(--site-header-focus);
	background: linear-gradient(180deg, rgba(15, 95, 143, 0.06), rgba(15, 95, 143, 0));
}

.site-header__nav-link:active {
	color: #101820;
	border-bottom-color: #101820;
	background: rgba(242, 201, 76, 0.2);
}

.site-header a:focus-visible,
.site-header button:focus-visible {
	outline: 3px solid var(--site-header-focus);
	outline-offset: 3px;
}

.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 104px;
	z-index: 90;
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--site-header-accent-dark);
	color: #fff;
	box-shadow: 0 14px 32px rgba(23, 33, 43, 0.22);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top:hover {
	background: var(--site-header-accent);
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.back-to-top svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (min-width: 1181px) {
	body.has-fixed-site-header {
		padding-top: 0;
	}

	.site-header {
		position: sticky;
		right: 0;
		left: 0;
	}

	.site-header.is-hidden {
		transform: translateY(calc(-100% - 16px));
	}
}

@media (max-width: 1180px) {
	.site-header {
		position: relative;
		transform: none;
	}

	body.has-open-site-nav {
		overflow: visible;
	}

	.site-header__inner {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		column-gap: 14px;
		row-gap: 10px;
	}

	.site-header__brand {
		flex: 0 1 auto;
	}

	.site-header__actions {
		flex: 0 0 auto;
		gap: 8px;
	}

	.site-header__search {
		order: 3;
		flex: 1 0 100%;
	}

	.site-header__action-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.site-header__action {
		width: 44px;
		padding: 0;
	}

	.site-header__actions > .site-header__theme-toggle,
	.site-header__actions > .site-header__theme-picker {
		display: none;
	}

	.site-header__cart-count {
		top: -7px;
		left: calc(100% - 12px);
	}

	.site-header__account-greeting {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.site-header__account-menu {
		display: inline-flex;
		flex: 0 0 auto;
		order: 0;
		align-items: center;
		justify-content: center;
		gap: 0;
		min-width: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.site-header__account-menu > .site-header__logout-button {
		display: none;
	}

	.site-header__account-menu .site-header__account {
		justify-content: center;
		width: 44px;
		min-height: 42px;
		padding: 0;
	}

	.site-header__account-menu .site-header__account-greeting {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.site-header__account.is-authenticated::after {
		top: 7px;
		left: 29px;
	}

	.site-header__mobile-account-panel {
		align-items: center;
		background:
			radial-gradient(circle at 8% 0, rgba(253, 195, 0, .22), transparent 34%),
			linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 245, 248, .9));
		border: 1px solid rgba(15, 95, 143, .16);
		border-radius: 8px;
		box-sizing: border-box;
		display: flex;
		gap: 10px;
		justify-content: space-between;
		margin: 10px auto 0;
		min-width: 0;
		padding: 10px 12px;
		width: min(100% - 20px, 1180px);
	}

	.site-header__mobile-account-panel strong,
	.site-header__mobile-account-panel span {
		display: block;
	}

	.site-header__mobile-account-panel strong {
		color: #12384f;
		font-size: .9rem;
		font-weight: 900;
		line-height: 1.2;
		max-width: min(52vw, 260px);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.site-header__mobile-account-panel span {
		color: #506473;
		font-size: .78rem;
		font-weight: 750;
		line-height: 1.25;
	}

	.site-header__mobile-logout-button {
		align-items: center;
		background:
			radial-gradient(circle at 100% 0, rgba(255, 255, 255, .42), transparent 42%),
			linear-gradient(135deg, rgba(255, 244, 244, .82), rgba(255, 255, 255, .56));
		border: 1px solid rgba(142, 38, 38, .18);
		border-radius: 7px 2px 7px 2px;
		color: #8d2f2f;
		display: inline-flex;
		font-size: .78rem;
		font-weight: 900;
		justify-content: center;
		min-height: 32px;
		padding: 0 10px;
		text-decoration: none;
		white-space: nowrap;
	}

	.site-header__mobile-logout-button:hover,
	.site-header__mobile-logout-button:focus-visible {
		background:
			radial-gradient(circle at 100% 0, rgba(255, 255, 255, .52), transparent 42%),
			linear-gradient(135deg, rgba(255, 232, 232, .92), rgba(255, 255, 255, .66));
		border-color: rgba(142, 38, 38, .28);
		color: #6f1f1f;
		outline: 0;
	}

	.site-header__mobile-logout-button:active {
		background: #8d2f2f;
		border-color: rgba(142, 38, 38, .42);
		color: #fff;
	}

	.site-header__nav-toggle {
		display: inline-grid;
		place-items: center;
		margin-left: 0;
	}

	.front-account-status__inner {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: .45rem .6rem;
		padding: .7rem 0;
	}

	.front-account-status a {
		margin-left: 24px;
	}

	.site-header__nav {
		position: static;
		display: none;
		max-height: none;
		overflow: visible;
		border-top: 0;
		background: var(--site-header-surface);
	}

	.site-header__nav::before {
		display: none;
	}

	.site-header.is-nav-open .site-header__nav,
	.site-header[data-nav-open="true"] .site-header__nav,
	.site-header:has(.site-header__nav-toggle[aria-expanded="true"]) .site-header__nav,
	.site-header__nav.is-open {
		display: block;
	}

	.site-header__nav-list {
		display: block;
		width: min(100% - 20px, 1180px);
		padding: 8px 0;
		background: var(--site-header-surface);
		box-shadow: none;
	}

	.site-header__nav-link {
		min-height: 52px;
		padding: 0 24px;
		border-radius: 0;
	}
}

@media (max-width: 560px) {
	.site-header__inner {
		width: min(100% - 20px, 1180px);
		gap: 10px;
	}

	.site-header__logo {
		width: 136px;
	}

	.site-header .site-header__logo-link {
		width: 136px;
	}

	.site-header .site-header__brand .site-header__logo {
		width: 100%;
	}

	.site-header .site-header__search-button {
		width: 42px;
		padding: 0;
		overflow: hidden;
		font-size: 0;
		white-space: nowrap;
	}

	.site-header .site-header__search-button::before {
		content: "";
		display: block;
		width: 21px;
		height: 21px;
		margin: auto;
		background-color: currentColor;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='black' stroke-width='2.4'/%3E%3Cpath d='m16 16 4.2 4.2' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='black' stroke-width='2.4'/%3E%3Cpath d='m16 16 4.2 4.2' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	.back-to-top {
		right: 14px;
		bottom: 92px;
		width: 42px;
		height: 42px;
	}
}

.site-header__suggestion-author { display: block; margin-top: 3px; font-size: .8rem; font-weight: 400; color: var(--site-header-muted); }

/* Direct category access in the mobile navigation. */
.site-header__nav-item--mobile-categories { display: none; }
@media (max-width: 1180px) {
	.site-header__nav-item--mobile-categories { display: block; }
}

@media (min-width: 1181px) {
    .site-header__nav-list { flex-wrap: nowrap; gap: 2px; }
    .site-header__nav-link { padding-inline: 8px; font-size: 1rem; white-space: nowrap; }
}

/* Shared floating control, including article pages and home page overrides. */
#front-back-to-top.back-to-top {
	position: fixed;
	right: 24px;
	bottom: calc(104px + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	margin: 0;
	width: 46px;
	height: 46px;
	background: var(--site-header-accent-dark);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
}
#front-back-to-top.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}
#front-back-to-top.back-to-top:hover { background: var(--site-header-accent); }
#front-back-to-top.back-to-top:active { transform: translateY(1px); }
#front-back-to-top.back-to-top:focus-visible { outline: 3px solid var(--site-header-accent); outline-offset: 4px; }
@media (max-width: 1180px) {
	#front-back-to-top.back-to-top {
		right: calc(14px + env(safe-area-inset-right, 0px));
		bottom: calc(92px + env(safe-area-inset-bottom, 0px));
		width: 48px;
		height: 48px;
	}
}
@media (prefers-reduced-motion: reduce) {
	#front-back-to-top.back-to-top { transition: none; }
}
