.nav-link {
	color: var(--nav-link);
	text-decoration: none;
	transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.current,
.current > .nav-link {
	color: var(--nav-link-active);
}

.nav-mobile-section > .nav-mobile-entries {
	display: none;
	flex-direction: column;
}

.nav-mobile-section.active > .nav-mobile-entries {
	display: flex;
}

.nav-mobile-entries > li.has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.nav-toggle:empty::before {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

li.open > .nav-toggle {
	transform: rotate(180deg);
}

.nav-mobile-children {
	flex-basis: 100%;
	display: flex;
	flex-direction: column;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

li.open > .nav-mobile-children {
	max-height: 500px;
}

html.nav-scroll-locked {
	overflow: hidden;
	scrollbar-gutter: stable;
}

.nav-link.has-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--nav-badge-gap);
}

.nav-link.has-badge::after {
	content: "";
	flex: 0 0 auto;
	width: var(--nav-badge-size);
	height: var(--nav-badge-size);
	background: var(--nav-badge-icon) center / contain no-repeat;
}

.nav-badge-new {
	--nav-badge-icon: var(--nav-badge-new-icon);
}