.rr-header {
	position: sticky;
	top: 0;
	z-index: 20;
	width: 100%;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px);
}

.rr-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	width: min(100% - 5.25rem, 1510px);
	min-height: 88px;
	margin: 0 auto;
}

.rr-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	width: clamp(174px, 18vw, 292px);
	line-height: 1;
}

.rr-logo__image {
	display: block;
	width: 100%;
	height: auto;
}

.rr-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.35rem, 2.1vw, 3.05rem);
	flex: 1 1 auto;
	height: 88px;
	min-width: 0;
}

.rr-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #101b35;
	font-size: clamp(0.88rem, 0.72vw, 1rem);
	line-height: 1;
	white-space: nowrap;
	transition: color 180ms ease;
}

.rr-nav__link:hover,
.rr-nav__link.is-active {
	color: var(--rr-blue-deep);
}

.rr-nav__link.is-active::after {
	position: absolute;
	left: 50%;
	bottom: 17px;
	width: 51px;
	height: 3px;
	content: "";
	background: var(--rr-blue-deep);
	border-radius: 999px;
	transform: translateX(-50%);
	box-shadow: 0 4px 9px rgba(8, 119, 242, 0.28);
}

.rr-youtube-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.72rem;
	flex: 0 0 auto;
	min-width: 223px;
	min-height: 54px;
	padding: 0 1.5rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff0000 0%, #ff0033 54%, #cc0000 100%);
	color: var(--rr-white);
	font-size: 0.96rem;
	line-height: 1;
	box-shadow: 0 13px 24px rgba(255, 0, 0, 0.28);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.rr-youtube-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 28px rgba(230, 33, 23, 0.36);
}

.rr-youtube-button__icon {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
}

.rr-youtube-button__icon-image {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

@media (max-width: 1180px) {
	.rr-header__inner {
		gap: 1.1rem;
		width: min(100% - 2rem, 1510px);
	}

	.rr-logo {
		width: 214px;
	}

	.rr-nav {
		gap: 1rem;
	}

	.rr-youtube-button {
		min-width: 184px;
		padding: 0 1.05rem;
	}
}

@media (max-width: 940px) {
	.rr-header {
		position: relative;
	}

	.rr-header__inner {
		flex-wrap: wrap;
		min-height: 0;
		padding: 1.05rem 0 0.95rem;
	}

	.rr-logo {
		width: 192px;
	}

	.rr-nav {
		order: 3;
		justify-content: flex-start;
		width: 100%;
		height: 46px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.rr-nav::-webkit-scrollbar {
		display: none;
	}

	.rr-nav__link {
		height: 46px;
	}

	.rr-nav__link.is-active::after {
		bottom: 3px;
		width: 40px;
	}
}

@media (max-width: 620px) {
	.rr-header__inner {
		width: min(100% - 1.2rem, 1510px);
	}

	.rr-logo {
		width: 156px;
	}

	.rr-youtube-button {
		min-width: 48px;
		min-height: 44px;
		padding: 0 0.72rem;
	}

	.rr-youtube-button b {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}