.rf-site-header {
	background: var(--rf-color-surface);
	border-bottom: 1px solid var(--rf-color-border);
	position: sticky;
	top: 0;
	z-index: 40;
}

.rf-site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

.rf-site-branding {
	flex-shrink: 0;
}

.rf-site-branding img,
.rf-site-branding .custom-logo {
	display: block;
	width: 11.875rem;
	max-width: 11.875rem;
	height: auto;
	max-height: none;
	object-fit: contain;
}

.rf-site-title {
	font-family: var(--rf-font-heading);
	font-weight: 700;
	text-decoration: none;
	color: var(--rf-color-text);
	font-size: 1.125rem;
}

.rf-site-nav {
	flex: 1;
}

.rf-site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.75rem;
}

.rf-site-nav a {
	text-decoration: none;
	color: var(--rf-color-text);
	font-size: 0.9375rem;
	font-weight: 500;
	padding-bottom: 0.15rem;
	border-bottom: 2px solid transparent;
}

.rf-site-nav .current-menu-item > a,
.rf-site-nav a:hover {
	color: var(--rf-color-primary);
	border-bottom-color: var(--rf-color-primary);
}

.rf-site-nav a:focus-visible,
.rf-site-header__cta .rf-btn:focus-visible,
.rf-site-nav-toggle:focus-visible {
	outline: 2px solid var(--rf-color-primary);
	outline-offset: 3px;
}

.rf-site-header__cta {
	margin-left: auto;
	flex-shrink: 0;
}

.rf-btn--header {
	background: var(--rf-color-primary);
	color: #fff;
	border-radius: var(--rf-radius);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
	min-height: 2.75rem;
	padding: 0.55rem 1.15rem;
}

.rf-btn--header:hover {
	background: var(--rf-color-primary-dark);
}

.rf-site-nav-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	background: transparent;
	cursor: pointer;
	margin-left: auto;
	border-radius: var(--rf-radius);
}

.rf-site-nav-toggle__bars,
.rf-site-nav-toggle__bars::before,
.rf-site-nav-toggle__bars::after {
	display: block;
	width: 1.2rem;
	height: 2px;
	background: var(--rf-color-text);
	margin: 0 auto;
	position: relative;
}

.rf-site-nav-toggle__bars::before,
.rf-site-nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.rf-site-nav-toggle__bars::before {
	top: -6px;
}

.rf-site-nav-toggle__bars::after {
	top: 6px;
}

@media (max-width: 1024px) {
	.rf-site-branding img,
	.rf-site-branding .custom-logo {
		width: 8.75rem;
		max-width: 8.75rem;
	}
	.rf-site-branding {
		order: 1;
	}

	.rf-site-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		order: 3;
		margin-left: 0.35rem;
	}

	.rf-site-header__cta {
		order: 2;
		margin-left: auto;
	}

	.rf-site-header__inner {
		flex-wrap: wrap;
	}

	.rf-site-nav {
		display: none;
		flex-basis: 100%;
		order: 4;
	}

	.rf-site-header.is-nav-open .rf-site-nav {
		display: block;
	}

	.rf-site-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0.35rem 0 0.75rem;
	}

	.rf-site-nav a {
		display: block;
		padding: 0.7rem 0;
		border-bottom: 0;
	}
}

@media (max-width: 480px) {
	.rf-site-header__inner {
		padding-top: 0.7rem;
		padding-bottom: 0.7rem;
	}

	.rf-site-branding img,
	.rf-site-branding .custom-logo {
		width: 7.5rem;
		max-width: 7.5rem;
	}

	.rf-btn--header {
		padding: 0.5rem 0.85rem;
		font-size: 0.8125rem;
	}
}
