#masthead::before,
.site-header::before,
.site-main .entry-content > .wp-block-group:first-child::before,
.site-main .wp-block-post-content > .wp-block-group:first-child::before,
.asr-home-hero::before,
.asr-hero::before,
.asr-page-hero::before,
.asr-card::before,
.asr-cta::before {
	content: none !important;
	display: none !important;
}

#masthead,
.site-header {
	position: relative;
	margin-top: 24px !important;
}

.site-header-row-container-inner,
.site-header-row-layout-contained,
.site-main-header-inner-wrap,
.site-header-inner-wrap {
	padding-left: 42px !important;
	padding-right: 42px !important;
	padding-top: 5px !important;
	padding-bottom: 10px !important;
	box-sizing: border-box !important;
}

.custom-logo-link,
.site-branding {
	margin-left: 10px !important;
	transform: translateY(4px);
}

header nav a,
header .menu a,
header .main-navigation a,
.main-navigation .menu > li > a {
	font-size: 20px !important;
	padding: 8px 8px !important;
	white-space: nowrap !important;
	background-image: var(--asr-rainbow);
	background-repeat: no-repeat;
	background-position: 50% 100%;
	background-size: 0 3px;
	transition: background-size 0.25s ease, color 0.25s ease;
}

header nav a:hover,
header .menu a:hover,
header .main-navigation a:hover,
.main-navigation .menu > li > a:hover,
.current-menu-item > a,
.current_page_item > a {
	background-size: 100% 3px;
}

header .wp-block-button,
header .header-button,
header .kb-header-button,
header .button-wrap {
	margin-right: 10px !important;
	transform: translateY(4px);
}

header .wp-block-button__link,
header .header-button .button,
header .kb-button,
header .button {
	padding: 12px 20px !important;
	font-size: 14px !important;
	border-radius: 16px !important;
	white-space: nowrap !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

header .wp-block-button__link:hover,
header .header-button .button:hover,
header .kb-button:hover,
header .button:hover,
.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow:
		0 10px 22px rgba(36, 59, 103, 0.16),
		0 0 0 4px rgba(246, 223, 139, 0.14);
	filter: saturate(1.04);
}
body:has(.asr-kids-page) .custom-logo-link img,
body:has(.asr-kids-page) .site-branding img,
body:has(.asr-kids-page) .site-header img.custom-logo,
body:has(.asr-kids-page) #masthead img.custom-logo {
	width: auto !important;
	height: auto !important;
	max-height: 100px !important;
}

@media (max-width: 782px) {
	body:has(.asr-kids-page) .custom-logo-link img,
	body:has(.asr-kids-page) .site-branding img,
	body:has(.asr-kids-page) .site-header img.custom-logo,
	body:has(.asr-kids-page) #masthead img.custom-logo {
		max-height: 82px !important;
	}
}