/* Header and primary navigation: layouts, sticky position, header button. */

.site-header {
	position: relative;
	z-index: 30;
	box-shadow: 0 2px 12px rgba(24, 39, 65, 0.035);
}

.sp-position-sticky .site-header {
	position: sticky;
	top: 0;
}

body.admin-bar.sp-position-sticky .site-header {
	top: 32px;
}

.site-header .primary-navigation a {
	transition: color 0.18s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	color: var(--sp-link);
}

.sp-header-cta {
	padding: 0.65rem 1.2rem;
	background: var(--sp-brand);
	color: #fff !important;
	text-decoration: none;
	border-radius: 0;
	white-space: nowrap;
	font-weight: 700;
}

.sp-header-cta:hover {
	filter: brightness(0.92);
}

.sp-header-centered .header-inner {
	flex-wrap: wrap;
	justify-content: center;
	padding-block: 1rem;
}

.sp-header-centered .site-branding {
	width: 100%;
	text-align: center;
}

.sp-header-centered .custom-logo {
	margin-inline: auto;
}

.sp-header-minimal .site-description {
	display: none;
}

.sp-header-minimal .header-inner {
	min-height: 68px;
}

.sp-header-minimal .primary-navigation a {
	font-weight: 500;
}

@media (max-width: 900px) {
	.sp-header-centered .header-inner {
		justify-content: space-between;
	}

	.sp-header-centered .site-branding {
		width: auto;
		text-align: left;
	}

	.site-header .sp-header-cta {
		margin-left: auto;
	}
}

@media (max-width: 782px) {
	body.admin-bar.sp-position-sticky .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.site-header .sp-header-cta {
		order: 2;
	}

	.site-header .primary-navigation {
		order: 3;
	}

	body.admin-bar.sp-position-sticky .site-header {
		top: 0;
	}
}

/* Custom header image (Appearance > Header). */
.sp-header-image img {
	display: block;
	width: 100%;
	height: auto;
}
