/*
 * AlphaBloom lower-page layout hotfix — v0.8.3
 * Neutralizes the legacy fixed side header and mirrors the homepage header.
 */

html body:not(.home) {
	margin: 0 !important;
	padding-left: 0 !important;
	background: #fff !important;
}

html body:not(.home) main,
html body:not(.home) footer {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
}

html body:not(.home) main {
	padding-top: 72px !important;
	overflow: clip !important;
}

html body:not(.home) #header.site_header {
	position: fixed !important;
	z-index: 1000 !important;
	top: 0 !important;
	right: 0 !important;
	bottom: auto !important;
	left: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 72px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(17, 17, 22, 0.06) !important;
	background: rgba(255, 255, 255, 0.76) !important;
	box-shadow: none !important;
	color: #111116 !important;
	transform: none !important;
	-webkit-backdrop-filter: blur(24px) saturate(170%) !important;
	backdrop-filter: blur(24px) saturate(170%) !important;
	transition: height 240ms cubic-bezier(0.2, 0.75, 0.3, 1), background-color 240ms ease, box-shadow 240ms ease !important;
}

html body:not(.home).admin-bar #header.site_header {
	top: 32px !important;
}

html body:not(.home) #header.site_header.is-scrolled {
	height: 64px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	box-shadow: 0 9px 30px rgba(17, 17, 22, 0.07) !important;
}

html body:not(.home) #header.site_header::before,
html body:not(.home) #header.site_header::after {
	display: none !important;
	content: none !important;
}

html body:not(.home) #header.site_header .site_header_inner {
	display: flex !important;
	width: min(1240px, calc(100vw - 64px)) !important;
	max-width: none !important;
	height: 100% !important;
	align-items: center !important;
	gap: 28px !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

html body:not(.home) #header.site_header .site_brand {
	display: inline-flex !important;
	width: 136px !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body:not(.home) #header.site_header .site_brand img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
}

html body:not(.home) #header.site_header .site_nav {
	display: block !important;
	margin-left: auto !important;
}

html body:not(.home) #header.site_header .site_nav ul {
	display: flex !important;
	align-items: center !important;
	gap: clamp(18px, 2vw, 31px) !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

html body:not(.home) #header.site_header .site_nav a {
	position: relative !important;
	display: inline-block !important;
	padding: 0 !important;
	color: #27272f !important;
	font-size: 13px !important;
	font-weight: 560 !important;
	letter-spacing: normal !important;
	text-decoration: none !important;
	opacity: 1 !important;
}

html body:not(.home) #header.site_header .site_nav a::after {
	position: absolute !important;
	right: 0 !important;
	bottom: -7px !important;
	left: 0 !important;
	display: block !important;
	width: auto !important;
	height: 1px !important;
	background: currentColor !important;
	content: "" !important;
	transform: scaleX(0) !important;
	transform-origin: right !important;
	transition: transform 220ms cubic-bezier(0.2, 0.75, 0.3, 1) !important;
}

html body:not(.home) #header.site_header .site_nav a:hover,
html body:not(.home) #header.site_header .site_nav a:focus-visible {
	color: #27272f !important;
	opacity: 1 !important;
}

html body:not(.home) #header.site_header .site_nav a:hover::after,
html body:not(.home) #header.site_header .site_nav a:focus-visible::after {
	transform: scaleX(1) !important;
	transform-origin: left !important;
}

html body:not(.home) #header.site_header .site_header_cta {
	display: inline-flex !important;
	min-height: 40px !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #111116 !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 650 !important;
	text-decoration: none !important;
	transition: transform 180ms cubic-bezier(0.2, 0.75, 0.3, 1), background 180ms ease !important;
}

html body:not(.home) #header.site_header .site_header_cta:hover,
html body:not(.home) #header.site_header .site_header_cta:focus-visible {
	background: #3157d5 !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
}

html body:not(.home) #header.site_header .sp_nav {
	display: none !important;
}

@media (max-width: 1080px) {
	html body:not(.home) #header.site_header .site_nav ul {
		gap: 17px !important;
	}

	html body:not(.home) #header.site_header .site_nav a {
		font-size: 12px !important;
	}
}

@media (max-width: 900px) {
	html body:not(.home) main {
		padding-top: 64px !important;
	}

	html body:not(.home) #header.site_header {
		height: 64px !important;
	}

	html body:not(.home) #header.site_header .site_header_inner {
		width: calc(100% - 36px) !important;
	}

	html body:not(.home) #header.site_header .site_brand {
		width: 124px !important;
	}

	html body:not(.home) #header.site_header .site_nav,
	html body:not(.home) #header.site_header .site_header_cta {
		display: none !important;
	}

	html body:not(.home) #header.site_header .sp_nav {
		display: block !important;
		margin-left: auto !important;
	}
}

@media (max-width: 782px) {
	html body:not(.home).admin-bar #header.site_header {
		top: 46px !important;
	}
}
