.kumyy-section-nav[hidden] {
	display: none !important;
}

.kumyy-section-anchor-target {
	position: relative;
}

.kumyy-section-anchor {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.kumyy-section-nav {
	--kumyy-section-nav-top: 0px;
	position: fixed;
	top: var(--kumyy-section-nav-top);
	right: 0;
	left: 0;
	z-index: 998;
	width: 100%;
	margin: 0;
	border-top: 1px solid #e8ecf2;
	border-bottom: 1px solid #e1e6ed;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, box-shadow 180ms ease;
}

.kumyy-section-nav.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	box-shadow: 0 8px 24px rgba(31, 41, 55, 0.09);
}

.kumyy-section-nav__inner {
	display: flex;
	align-items: stretch;
	width: min(100%, 1320px);
	min-height: 52px;
	margin: 0 auto;
	padding: 0 24px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
}

.kumyy-section-nav__inner::-webkit-scrollbar {
	display: none;
}

.kumyy-section-nav__link {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	color: #596779;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 160ms ease, background-color 160ms ease;
}

.kumyy-section-nav__link::after {
	position: absolute;
	right: 16px;
	bottom: 0;
	left: 16px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: #F5445A;
	content: '';
	opacity: 0;
	transform: scaleX(0.55);
	transition: opacity 160ms ease, transform 160ms ease;
}

.kumyy-section-nav__link:hover,
.kumyy-section-nav__link:focus-visible,
.kumyy-section-nav__link.is-active {
	color: #F5445A;
	background: #fff6f7;
}

.kumyy-section-nav__link.is-active::after {
	opacity: 1;
	transform: scaleX(1);
}

.kumyy-section-nav__link:focus-visible {
	outline: 2px solid #F5445A;
	outline-offset: -3px;
}

@media (max-width: 767.98px) {
	.kumyy-section-nav {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kumyy-section-nav,
	.kumyy-section-nav__link,
	.kumyy-section-nav__link::after {
		transition: none;
	}
}
