:root {
	--page-journey: 78px;
}

.page-journey {
	position: fixed;
	z-index: 850;
	top: var(--header);
	right: 0;
	left: 0;
	border-top: 1px solid rgba(19, 43, 61, 0.08);
	border-bottom: 1px solid var(--line);
	background: rgba(248, 250, 249, 0.965);
	box-shadow: 0 12px 30px rgba(7, 19, 31, 0.035);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.site-header.is-scrolled + .page-journey {
	top: 72px;
}

.page-journey[hidden],
.nav-open .page-journey,
.cookie-control-open .page-journey {
	display: none;
}

.journey-anchor {
	scroll-margin-top: calc(var(--header) + var(--page-journey) + 20px);
}

.page-journey-desktop {
	display: grid;
	min-height: var(--page-journey);
	align-items: stretch;
	grid-template-columns: minmax(180px, 0.9fr) minmax(0, 4fr) minmax(165px, 0.9fr);
}

.page-journey-current,
.page-journey-next {
	display: flex;
	min-width: 0;
	justify-content: center;
	flex-direction: column;
}

.page-journey-current {
	padding-right: 22px;
	border-right: 1px solid var(--line);
}

.page-journey-current > span,
.page-journey-next > span {
	color: #526675;
	font-size: 0.56rem;
	font-weight: 780;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.page-journey-current > strong {
	margin-top: 4px;
	color: var(--ink);
	font-size: 0.82rem;
	font-weight: 760;
	line-height: 1.2;
}

.page-journey-current > small {
	margin-top: 2px;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.63rem;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.page-journey-list,
.page-journey-list ol,
.page-journey-list li {
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
}

.page-journey-list ol {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	list-style: none;
}

.page-journey-list a {
	position: relative;
	display: flex;
	height: 100%;
	min-width: 0;
	padding: 10px 8px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 3px;
	color: #526675;
	text-align: center;
	transition: background 180ms ease, color 180ms ease;
}

.page-journey-list a::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: 5px;
	height: 5px;
	border: 1px solid #97a5ae;
	border-radius: 50%;
	background: #f8faf9;
	content: "";
	transform: translate(-50%, -50%);
}

.page-journey-list a span {
	font-size: 0.52rem;
	font-weight: 760;
	letter-spacing: 0.13em;
}

.page-journey-list a strong {
	max-width: 100%;
	font-size: 0.61rem;
	font-weight: 720;
	letter-spacing: 0.025em;
	line-height: 1.25;
}

.page-journey-list a:hover,
.page-journey-list a:focus-visible,
.page-journey-list a.is-active {
	background: rgba(0, 169, 123, 0.055);
	color: var(--ink);
}

.page-journey-list a.is-active::before {
	border-color: var(--signal-dark);
	background: var(--signal-dark);
	box-shadow: 0 0 0 4px rgba(0, 169, 123, 0.09);
}

.page-journey-next {
	padding-left: 22px;
	border-left: 1px solid var(--line);
}

.page-journey-next strong {
	display: flex;
	min-width: 0;
	margin-top: 6px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 760;
	line-height: 1.25;
}

.page-journey-next b {
	color: var(--signal-dark);
	font-size: 0.95rem;
	font-weight: 520;
	transition: transform 180ms ease;
}

.page-journey-next:hover b,
.page-journey-next:focus-visible b {
	transform: translateX(3px);
}

.page-journey-mobile {
	display: none;
}

.page-journey-progress {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	overflow: hidden;
	background: rgba(19, 43, 61, 0.08);
}

.page-journey-progress i {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--signal-dark);
	transform: scaleX(0.142857);
	transform-origin: left center;
	transition: transform 280ms ease;
}

@media (max-width: 1180px) {
	:root {
		--page-journey: 66px;
	}

	.page-journey-desktop {
		display: none;
	}

	.page-journey-mobile {
		position: relative;
		display: grid;
		min-height: var(--page-journey);
		grid-template-columns: minmax(0, 1fr) minmax(138px, auto);
	}

	.page-journey-mobile details {
		position: static;
		min-width: 0;
	}

	.page-journey-mobile summary {
		display: grid;
		min-height: var(--page-journey);
		padding: 8px 20px 8px 0;
		align-content: center;
		align-items: center;
		grid-template-columns: minmax(0, 1fr) auto;
		list-style: none;
		cursor: pointer;
	}

	.page-journey-mobile summary::-webkit-details-marker {
		display: none;
	}

	.page-journey-mobile summary > span {
		color: #526675;
		font-size: 0.55rem;
		font-weight: 780;
		letter-spacing: 0.14em;
		line-height: 1.2;
		text-transform: uppercase;
	}

	.page-journey-mobile summary > strong {
		max-width: 100%;
		overflow: hidden;
		color: var(--ink);
		font-size: 0.82rem;
		font-weight: 760;
		line-height: 1.25;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.page-journey-mobile summary > small {
		display: inline-flex;
		min-height: 44px;
		padding-left: 18px;
		align-items: center;
		grid-column: 2;
		grid-row: 1 / 3;
		gap: 9px;
		color: var(--muted);
		font-size: 0.62rem;
		font-weight: 720;
		letter-spacing: 0.05em;
	}

	.page-journey-mobile summary i {
		color: var(--signal-dark);
		font-size: 1rem;
		font-style: normal;
		transition: transform 180ms ease;
	}

	.page-journey-mobile details[open] summary i {
		transform: rotate(45deg);
	}

	.page-journey-panel {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: grid;
		max-height: calc(100dvh - var(--header) - var(--page-journey) - 16px);
		padding: 10px;
		overflow-y: auto;
		border: 1px solid var(--line);
		background: rgba(248, 250, 249, 0.99);
		box-shadow: 0 26px 54px rgba(7, 19, 31, 0.15);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-journey-panel a {
		display: grid;
		min-height: 68px;
		padding: 10px 14px;
		align-items: center;
		border-bottom: 1px solid var(--line);
		grid-template-columns: 32px minmax(0, 1fr) auto;
		gap: 10px;
		color: var(--text);
	}

	.page-journey-panel a:last-child {
		border-bottom: 0;
	}

	.page-journey-panel a:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.page-journey-panel a > span:first-child {
		color: #526675;
		font-size: 0.58rem;
		font-weight: 760;
		letter-spacing: 0.12em;
	}

	.page-journey-panel a > span:nth-child(2) {
		display: flex;
		min-width: 0;
		flex-direction: column;
	}

	.page-journey-panel a strong {
		font-size: 0.77rem;
		font-weight: 760;
		line-height: 1.25;
	}

	.page-journey-panel a small {
		margin-top: 2px;
		color: var(--muted);
		font-size: 0.63rem;
		line-height: 1.3;
	}

	.page-journey-panel a b {
		color: var(--muted);
		font-size: 0.82rem;
		font-weight: 500;
	}

	.page-journey-panel a:hover,
	.page-journey-panel a:focus-visible,
	.page-journey-panel a.is-active {
		background: rgba(0, 169, 123, 0.055);
	}

	.page-journey-panel a.is-active {
		box-shadow: inset 2px 0 0 var(--signal-dark);
	}

	.page-journey-mobile .page-journey-next {
		min-width: 0;
		padding: 8px 0 8px 18px;
	}

	.page-journey-mobile .page-journey-next strong {
		max-width: 100%;
		margin-top: 3px;
		overflow: hidden;
		font-size: 0.68rem;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (max-width: 680px) {
	.page-journey-mobile {
		grid-template-columns: minmax(0, 1fr) 116px;
	}

	.page-journey-mobile summary {
		padding-right: 10px;
	}

	.page-journey-mobile summary > small {
		padding-left: 10px;
		font-size: 0;
	}

	.page-journey-mobile summary > small i {
		font-size: 1rem;
	}

	.page-journey-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-journey-panel a {
		border-bottom: 1px solid var(--line);
	}

	.page-journey-panel a:last-child {
		border-bottom: 0;
		grid-column: auto;
	}

	.page-journey-mobile .page-journey-next {
		padding-left: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.page-journey-progress i,
	.page-journey-next b,
	.page-journey-mobile summary i {
		transition: none;
	}
}

@media print {
	.page-journey {
		display: none !important;
	}
}
