/* Mobile fullscreen drill-down. Scoped to drawer mode. Desktop Priority+ untouched. */

html.yepx-nav-mode-drawer .yepx-site-header,
html.yepx-nav-mode-drawer .yepx-site-header.yepx-header,
html.yepx-nav-mode-drawer.yepx-nav-open .yepx-site-header {
	overflow: visible !important;
}

html.yepx-nav-mode-drawer .yepx-site-header .yepx-header__inner,
html.yepx-nav-mode-drawer .yepx-site-header__inner {
	align-items: center;
}

html.yepx-nav-mode-drawer .yepx-site-header .yepx-branding,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-site-branding,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-header__cta,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-nav-toggle {
	align-self: center;
}

html.yepx-nav-mode-drawer .yepx-site-header .yepx-nav-toggle,
html.yepx-nav-mode-drawer .yepx-nav-toggle {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline-offset: 2px;
	display: grid !important;
	place-items: center;
	color: var(--yepx-ink, #102c3b);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

html.yepx-nav-mode-drawer .yepx-site-header .yepx-nav-toggle:hover,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-nav-toggle:focus,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-nav-toggle:active,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-nav-toggle[aria-expanded="true"] {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

html.yepx-nav-mode-drawer .yepx-nav-toggle:focus-visible {
	outline: 2px solid var(--yepx-color-focus, #0a7ca8);
	outline-offset: 2px;
}

html.yepx-nav-mode-drawer .yepx-nav-toggle__icon {
	position: relative;
	width: 24px;
	height: 18px;
	display: grid;
	place-items: center;
}

html.yepx-nav-mode-drawer .yepx-nav-toggle__bar {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transition:
		transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
		opacity 180ms cubic-bezier(0.4, 0, 0.2, 1),
		top 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

html.yepx-nav-mode-drawer .yepx-nav-toggle__bar:nth-child(1) {
	top: 1px;
}

html.yepx-nav-mode-drawer .yepx-nav-toggle__bar:nth-child(2) {
	top: 8px;
}

html.yepx-nav-mode-drawer .yepx-nav-toggle__bar:nth-child(3) {
	top: 15px;
}

html.yepx-nav-mode-drawer .yepx-nav-toggle[aria-expanded="true"] .yepx-nav-toggle__bar:nth-child(1) {
	top: 8px;
	transform: rotate(45deg);
}

html.yepx-nav-mode-drawer .yepx-nav-toggle[aria-expanded="true"] .yepx-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

html.yepx-nav-mode-drawer .yepx-nav-toggle[aria-expanded="true"] .yepx-nav-toggle__bar:nth-child(3) {
	top: 8px;
	transform: rotate(-45deg);
}

html.yepx-nav-mode-drawer .yepx-drawer__head,
html.yepx-nav-mode-drawer .yepx-drawer__brand,
html.yepx-nav-mode-drawer .yepx-drawer__topbar,
html.yepx-nav-mode-drawer .yepx-drawer__cta,
html.yepx-nav-mode-drawer .yepx-drawer-close {
	display: none !important;
}

html.yepx-nav-mode-drawer .yepx-nav-overlay {
	display: none !important;
}

html.yepx-nav-mode-drawer .yepx-drawer,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-drawer,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-drawer:not(.is-open),
html.yepx-nav-mode-drawer body > .yepx-drawer,
html.yepx-nav-mode-drawer body > .yepx-drawer:not(.is-open) {
	display: flex !important;
	flex-direction: column;
	position: fixed !important;
	top: var(--yepx-visible-header-bottom, 0px) !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	transform: translate3d(100%, 0, 0) !important;
	transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
	visibility: visible !important;
	pointer-events: none;
	overflow: hidden !important;
	z-index: 49;
	contain: none;
	gap: 0;
}

html.yepx-nav-mode-drawer .yepx-drawer.is-open,
html.yepx-nav-mode-drawer .yepx-site-header .yepx-drawer.is-open,
html.yepx-nav-mode-drawer body > .yepx-drawer.is-open {
	transform: translate3d(0, 0, 0) !important;
	pointer-events: auto;
}

html.js.yepx-nav-mode-drawer .yepx-drawer > .yepx-nav--primary {
	display: none !important;
}

html.yepx-nav-mode-drawer .yepx-drill {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	background: #fff;
}

html.yepx-nav-mode-drawer .yepx-drill[hidden] {
	display: none !important;
}

html.yepx-nav-mode-priority .yepx-drill {
	display: none !important;
}

.yepx-drill__viewport {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.yepx-drill__panel {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	transform: translate3d(100%, 0, 0);
	transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.yepx-drill__panel.is-active {
	transform: translate3d(0, 0, 0);
	z-index: 2;
	pointer-events: auto;
}

.yepx-drill__panel.is-behind {
	transform: translate3d(-100%, 0, 0);
	z-index: 1;
	pointer-events: none;
}

.yepx-drill__panel:not(.is-active) {
	pointer-events: none;
}

.yepx-drill__back {
	position: sticky;
	top: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 54px;
	min-height: 52px;
	max-height: 56px;
	padding: 0 16px;
	margin: 0;
	border: 0;
	border-bottom: 1px solid rgba(8, 42, 61, 0.08);
	background: #fff;
	color: var(--yepx-ink, #102c3b);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: start;
	cursor: pointer;
}

.yepx-drill__back:focus-visible {
	outline: 2px solid var(--yepx-color-focus, #0a7ca8);
	outline-offset: -2px;
}

.yepx-drill__back-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	display: block;
}

.yepx-drill__back-label {
	flex: 1 1 auto;
	min-width: 0;
}

.yepx-drill__list {
	list-style: none;
	margin: 0;
	padding: 0 0 env(safe-area-inset-bottom, 0px);
}

.yepx-drill__item {
	margin: 0;
	padding: 0;
}

.yepx-drill__row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	height: 54px;
	max-height: 56px;
	padding: 0 16px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--yepx-ink, #102c3b);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: start;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
}

.yepx-drill__row:hover,
.yepx-drill__row:focus {
	background: var(--yepx-nav-hover-bg, #f4f6f7);
}

.yepx-drill__row:focus-visible {
	outline: 2px solid var(--yepx-color-focus, #0a7ca8);
	outline-offset: -2px;
}

.yepx-drill__label {
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
	font-size: 15px;
	font-weight: 600;
}

.yepx-drill__row .yepx-icon-well {
	width: 40px;
	height: 40px;
	min-width: 40px;
	flex: 0 0 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
}

.yepx-drill__chevron {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-inline-start: auto;
	color: currentColor;
	display: block;
}

.yepx-drill__row--happy,
.yepx-drill__item--happy > .yepx-drill__row {
	color: var(--yepx-success, #198754);
}

.yepx-drill__row--happy .yepx-nav__happy-icon,
.yepx-drill__row--happy svg.yepx-nav__happy-icon {
	display: block;
	width: 22px;
	height: 22px;
	min-width: 22px;
	flex: 0 0 22px;
	color: inherit;
}

.yepx-drill__row--happy:hover,
.yepx-drill__row--happy:focus-visible {
	color: var(--yepx-success-dark, #146c43);
	background: var(--yepx-success-soft, #eaf7ef);
}

.yepx-drill__row--all .yepx-drill__label {
	font-weight: 650;
}

body.yepx-nav-open {
	overflow: hidden;
}

html.yepx-nav-mode-drawer .yepx-drawer.is-open {
	touch-action: pan-y;
}

@media (prefers-reduced-motion: reduce) {
	html.yepx-nav-mode-drawer .yepx-nav-toggle__bar,
	html.yepx-nav-mode-drawer .yepx-drawer,
	html.yepx-nav-mode-drawer .yepx-drawer.is-open,
	html.yepx-nav-mode-drawer .yepx-site-header .yepx-drawer,
	html.yepx-nav-mode-drawer .yepx-site-header .yepx-drawer.is-open,
	html.yepx-nav-mode-drawer body > .yepx-drawer,
	html.yepx-nav-mode-drawer body > .yepx-drawer.is-open,
	.yepx-drill__panel,
	.yepx-drill__panel.is-active,
	.yepx-drill__panel.is-behind {
		transition: none !important;
	}

	html.yepx-nav-mode-drawer .yepx-drawer:not(.is-open),
	html.yepx-nav-mode-drawer .yepx-site-header .yepx-drawer:not(.is-open),
	html.yepx-nav-mode-drawer body > .yepx-drawer:not(.is-open) {
		transform: translate3d(100%, 0, 0) !important;
	}

	html.yepx-nav-mode-drawer .yepx-drawer.is-open,
	html.yepx-nav-mode-drawer .yepx-site-header .yepx-drawer.is-open,
	html.yepx-nav-mode-drawer body > .yepx-drawer.is-open {
		transform: translate3d(0, 0, 0) !important;
	}

	.yepx-drill__panel {
		transform: translate3d(100%, 0, 0) !important;
	}

	.yepx-drill__panel.is-active {
		transform: translate3d(0, 0, 0) !important;
	}

	.yepx-drill__panel.is-behind {
		transform: translate3d(-100%, 0, 0) !important;
	}
}

.no-js .yepx-drill,
html.no-js .yepx-drill {
	display: none !important;
}

.no-js .yepx-nav-toggle,
html.no-js .yepx-site-header .yepx-nav-toggle {
	display: none !important;
}

.no-js .yepx-drawer,
html.no-js .yepx-site-header .yepx-drawer,
html.no-js .yepx-site-header .yepx-drawer:not(.is-open),
html.no-js .yepx-site-header .yepx-drawer.is-open {
	display: block !important;
	position: static !important;
	inset: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	max-height: none !important;
	transform: none !important;
	visibility: visible !important;
	pointer-events: auto !important;
	overflow: visible !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0.5rem 0 !important;
	border-radius: 0 !important;
}

.no-js .yepx-drawer > .yepx-nav--primary,
html.no-js .yepx-drawer > .yepx-nav--primary {
	display: block !important;
}
