/* First-paint header, navigation and CTA safeguards. */
.wp-block-site-logo,
.wp-block-site-logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	line-height: 0;
}

.wp-block-site-logo img.custom-logo {
	width: 163px !important;
	height: auto !important;
	max-width: 100%;
	aspect-ratio: 309 / 192;
	object-fit: contain;
	flex: 0 0 auto;
}

.is-style-impowr-primary {
	white-space: nowrap !important;
	min-width: fit-content !important;
	flex-shrink: 0 !important;
}

.is-style-impowr-primary .wp-block-button__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.875rem 2rem !important;
	border: 1px solid rgb(7 9 101 / 0.02) !important;
	border-radius: 10px !important;
	background: linear-gradient(90deg, #7f1396, #0b01a2) !important;
	color: #ffffff !important;
	font: 600 1rem/normal var(--wp--preset--font-family--inter, 'Inter', sans-serif) !important;
	text-decoration: none !important;
}

/* Keep the homepage LCP text stable while the full design bundle loads. */
.wp-block-group.is-style-impowr-hero-container {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 6rem max(2rem, calc(50% - 590px)) 4rem !important;
	min-height: 650px;
	background: linear-gradient(180deg, #ffffff 0%, #faf9fc 100%);
	justify-content: center;
}

.wp-block-group.is-style-impowr-hero-container .wp-block-columns {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
}

.impowr-hero-title {
	position: relative;
	z-index: 2;
	min-width: 488px;
	margin: 0 !important;
	color: #070965 !important;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif) !important;
	line-height: 1.02 !important;
	letter-spacing: -0.008em !important;
}

.text-gradient {
	background: linear-gradient(90deg, #7f1396, #0b01a2);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

@media (max-width: 1024px) {
	.wp-block-image.is-style-impowr-hero-graphic {
		display: none;
	}

	.wp-block-group.is-style-impowr-hero-container .wp-block-columns {
		justify-content: center;
	}

	.wp-block-group.is-style-impowr-hero-container .wp-block-column {
		flex-basis: 100% !important;
		max-width: 700px;
		margin: 0 auto;
	}

	.impowr-hero-title {
		text-align: center;
	}
}

@media (max-width: 767px) {
	.wp-block-group.is-style-impowr-hero-container {
		min-height: 0;
		padding: 2.5rem 1.5rem 2rem !important;
	}

	.impowr-hero-title {
		min-width: 0;
	}
}

#mega-menu-wrap-max_mega_menu_1 {
	position: relative;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item {
	position: relative;
}

@media (min-width: 906px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item > ul.mega-sub-menu {
		display: block;
		visibility: hidden;
		opacity: 1;
		pointer-events: auto;
	}

	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1[data-effect="fade"] li.mega-menu-item > ul.mega-sub-menu,
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1[data-effect="fade_up"] li.mega-menu-item > ul.mega-sub-menu {
		opacity: 0;
	}
}

@media (max-width: 1024px) {
	.wp-block-site-logo img.custom-logo {
		width: 140px !important;
	}
}

@media (max-width: 781px) {
	.wp-block-site-logo img.custom-logo {
		width: 132px !important;
	}
}