/* 1B.7B header/nav/mega/hero corrections only. */

.yepx-site-header,
.yepx-site-header.yepx-header {
	border-top: 0;
	outline: 0;
}

.yepx-site-header .yepx-header__cta .yepx-btn:hover,
.yepx-hero .yepx-slider__actions .yepx-btn:hover,
.yepx-hero .yepx-btn--primary:hover {
	transform: none;
}

.yepx-hero,
.yepx-hero__inner {
	min-height: 0;
}

.yepx-hero .yepx-hero-benefits li,
.yepx-home-v2 .yepx-hero .yepx-hero-benefits li {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-height: 24px !important;
	border-radius: 0 !important;
	font-weight: 500;
	color: var(--yepx-color-muted, #4b6270);
}

.yepx-hero .yepx-hero-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
}

@media (min-width: 1366px) {
	.yepx-site-header .yepx-nav-toggle,
	.yepx-site-header .yepx-nav-overlay {
		display: none !important;
	}

	.yepx-nav--primary {
		height: 100%;
		flex: 1 1 auto;
		min-width: 0;
	}

	.yepx-nav--primary > ul {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		height: 100%;
		margin: 0;
		padding: 0;
		gap: 1.15rem;
		list-style: none;
	}

	.yepx-nav--primary > ul > li {
		display: flex;
		align-items: stretch;
		height: 100%;
		margin: 0;
		position: relative;
	}

	.yepx-nav--primary > ul > li > a,
	.yepx-nav--primary > ul > li > .yepx-submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		margin: 0;
		margin-block: 0;
		padding-block: 0;
		padding-inline: 0.15rem;
		line-height: 1.2;
		font-size: 0.90625rem;
		font-weight: 650;
		border: 0;
		box-shadow: none;
	}

	.yepx-nav--primary > ul > li > a:hover,
	.yepx-nav--primary > ul > li > a:focus,
	.yepx-nav--primary > ul > li.current-menu-item > a,
	.yepx-nav--primary > ul > li.current-menu-ancestor > a {
		font-weight: 650;
		padding-block: 0;
	}

	.yepx-nav--primary > ul > li > .yepx-submenu-toggle {
		display: none;
	}

	.yepx-site-header .yepx-header__cta {
		margin-inline-start: 1.25rem;
		flex: 0 0 auto;
	}

	.yepx-nav--primary .yepx-mega,
	.yepx-site-header .yepx-nav--primary .yepx-mega {
		background: #fff;
		opacity: 1;
		grid-template-columns: 260px minmax(0, 1fr);
	}

	.yepx-nav--primary .yepx-mega__rail {
		width: 260px;
		min-width: 250px;
		max-width: 270px;
	}

	.yepx-nav--primary .yepx-mega__rail-btn .yepx-nav__label {
		white-space: nowrap;
		overflow: visible;
		text-overflow: unset;
		line-height: 1.2;
		align-self: center;
		height: auto;
		max-height: none;
	}

	.yepx-nav--primary .yepx-mega__rail-btn {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 20px;
		align-items: center;
		gap: 0;
		min-height: 50px;
		white-space: nowrap;
		font-weight: 650;
		box-shadow: inset 0 0 0 1px transparent;
	}

	.yepx-nav--primary .yepx-mega__rail-btn:hover {
		background: rgba(6, 186, 243, 0.1);
		box-shadow: inset 0 0 0 1px rgba(6, 186, 243, 0.22);
		font-weight: 650;
	}

	.yepx-nav--primary .yepx-mega__rail-btn:hover .yepx-mega__rail-chevron {
		transform: translateX(3px);
	}

	.yepx-nav--primary .yepx-mega__rail-btn[aria-selected="true"] {
		background: rgba(6, 186, 243, 0.18);
		box-shadow: inset 3px 0 0 var(--yepx-color-primary);
		font-weight: 650;
	}

	.yepx-nav--primary .yepx-mega__rail-chevron,
	.yepx-nav--primary .yepx-mega__card-chevron {
		justify-self: end;
		align-self: center;
	}

	.yepx-nav--primary .yepx-mega__links a {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 20px;
		align-items: center;
		min-height: 100px;
		height: auto;
		padding: 0.75rem 0.85rem;
		background: #fff;
	}

	.yepx-nav--primary .yepx-mega__links a:hover {
		transform: translateY(-1px);
		background: #fff;
	}

	.yepx-nav--primary .yepx-mega__links .yepx-nav__label,
	.yepx-nav--primary .yepx-mega__links .yepx-icon-well,
	.yepx-nav--primary .yepx-mega__links .yepx-mega__card-chevron,
	.yepx-nav--primary .yepx-mega__links .yepx-nav__desc {
		grid-column: auto;
	}

	.yepx-nav--primary .yepx-mega__links .yepx-nav__label {
		display: block;
		overflow: visible;
		white-space: normal;
		-webkit-line-clamp: unset;
		line-clamp: unset;
		text-overflow: unset;
	}

	.yepx-nav--primary .yepx-mega .yepx-nav__desc {
		display: none !important;
	}

	.yepx-nav--primary .yepx-mega__all a {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 20px;
		align-items: center;
		min-height: 52px;
		width: 100%;
	}

	.yepx-hero__inner {
		align-items: flex-start;
		min-height: 0;
		padding-block: 3.5rem 4rem;
	}

	.yepx-hero .yepx-slider.is-desktop .yepx-slider__slide,
	.yepx-hero .yepx-slider-noscript .yepx-slider__slide {
		align-items: start;
		grid-template-columns: minmax(37.5rem, 1fr) minmax(0, 1fr);
		gap: 2.5rem;
	}

	.yepx-hero .yepx-slider__title,
	.yepx-hero h1.yepx-slider__title {
		max-width: 40rem;
		font-size: clamp(48px, 4vw, 60px);
		line-height: 1.08;
		text-wrap: balance;
	}

	.yepx-hero .yepx-slider__actions .yepx-btn--ghost {
		background: transparent;
		color: var(--yepx-color-navy);
		border: 1px solid rgba(8, 42, 61, 0.18);
		box-shadow: none;
	}

	.yepx-hero__device {
		position: relative;
		isolation: isolate;
		overflow: visible;
	}

	.yepx-hero .yepx-hero-floats {
		position: absolute;
		inset: 0;
		pointer-events: none;
		z-index: 2;
	}

	.yepx-hero .yepx-float-card {
		display: flex !important;
		width: 210px;
		min-width: 185px;
		max-width: 230px;
		padding: 0.7rem 0.8rem;
		align-items: center;
		pointer-events: auto;
	}

	.yepx-hero .yepx-float-card .yepx-icon-well {
		width: 44px;
		height: 44px;
		min-width: 44px;
	}

	.yepx-hero .yepx-float-card[data-pos="top-right"] { top: 0; right: 0; }
	.yepx-hero .yepx-float-card[data-pos="middle-right"] { top: 54%; right: -6px; }
	.yepx-hero .yepx-float-card[data-pos="bottom-right"] { bottom: 0; right: 2%; }
	.yepx-hero .yepx-float-card[data-pos="bottom-left"] { bottom: 6%; left: -22%; }
}

body:has(.is-mega-open)::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(8, 42, 61, 0.06);
	z-index: 45;
	pointer-events: none;
}

@media (max-width: 1365px) {
	.yepx-site-header .yepx-nav-toggle {
		display: inline-flex !important;
	}

	.yepx-site-header .yepx-drawer:not(.is-open) {
		display: none !important;
		width: 0 !important;
		transform: none !important;
		position: fixed !important;
	}

	.yepx-site-header .yepx-drawer.is-open {
		display: flex !important;
		flex-direction: column;
		position: fixed !important;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(22rem, 100vw);
		z-index: 60;
	}

	.yepx-site-header .yepx-nav--primary .yepx-mega {
		display: none;
	}

	.yepx-site-header__inner,
	.yepx-site-header .yepx-header__inner,
	.yepx-hero > .yepx-hero__inner {
		width: calc(100% - 64px);
	}

	.yepx-site-header__inner,
	.yepx-site-header .yepx-header__inner {
		height: 64px;
		min-height: 64px;
	}

	.yepx-hero__inner {
		min-height: 0;
		padding-block: 1.75rem 2rem;
		align-items: flex-start;
	}

	.yepx-hero .yepx-slider__title,
	.yepx-hero h1.yepx-slider__title {
		font-size: clamp(2rem, 8vw, 2.5rem);
		text-wrap: pretty;
	}

	.yepx-hero .yepx-hero-floats {
		height: 46%;
		top: auto;
		bottom: 0;
	}

	.yepx-hero .yepx-float-card:nth-child(n + 3),
	.yepx-hero .yepx-float-card[data-pos="bottom-right"] {
		display: none !important;
	}

	.yepx-hero .yepx-float-card[data-pos="top-right"] {
		top: 6%;
		right: 4%;
		left: auto;
		bottom: auto;
	}

	.yepx-hero .yepx-float-card[data-pos="middle-right"] {
		top: auto;
		bottom: 8%;
		left: 4%;
		right: auto;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.yepx-hero .yepx-float-card {
		animation-name: yepx-float-1b7a !important;
		animation-duration: 6.4s !important;
		animation-timing-function: ease-in-out !important;
		animation-iteration-count: infinite !important;
		animation-direction: alternate !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yepx-hero .yepx-float-card,
	.yepx-nav--primary .yepx-mega,
	.yepx-drawer {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}
