/* =========================================================
   MHP FRONT PAGE
   ========================================================= */

.mhp-front-page {
	width: min(1320px, calc(100% - 32px));
	margin: 18px auto 64px;
}

.mhp-home-hero {
	display: grid;
	grid-template-columns: minmax(0, 2.35fr) minmax(280px, .95fr);
	gap: 22px;
}

.mhp-home-promo {
	position: relative;
	display: block;
	min-width: 0;
	height: 520px;
	overflow: hidden;
	border-radius: 4px;
	background: #ececea;
	color: #182126;
	text-decoration: none;
	isolation: isolate;
}

.mhp-home-promo__image {
	position: absolute;
	inset: -1px;
	z-index: -3;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1);
	transition: transform .55s cubic-bezier(.2,.65,.25,1);
}

.mhp-home-promo--large .mhp-home-promo__image {
	background-position: center center;
}

.mhp-home-promo--small .mhp-home-promo__image {
	background-position: center center;
}

.mhp-home-promo:hover .mhp-home-promo__image,
.mhp-home-promo:focus-visible .mhp-home-promo__image {
	transform: scale(1.055);
}

.mhp-home-promo__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
}

.mhp-home-promo--large .mhp-home-promo__shade {
	background: linear-gradient(
		90deg,
		rgba(255,255,255,.94) 0%,
		rgba(255,255,255,.82) 29%,
		rgba(255,255,255,.12) 58%,
		rgba(255,255,255,0) 78%
	);
}

.mhp-home-promo--small .mhp-home-promo__shade {
	background: linear-gradient(
		0deg,
		rgba(255,255,255,.88) 0%,
		rgba(255,255,255,.50) 33%,
		rgba(255,255,255,0) 62%
	);
}

.mhp-home-promo__content {
	position: absolute;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 520px;
	pointer-events: none;
}

.mhp-home-promo--large .mhp-home-promo__content {
	top: 50%;
	left: clamp(28px, 4.2vw, 62px);
	width: min(48%, 520px);
	transform: translateY(-50%);
}

.mhp-home-promo--small .mhp-home-promo__content {
	right: 26px;
	bottom: 34px;
	left: 26px;
	align-items: center;
	text-align: center;
}

.mhp-home-promo__kicker {
	margin-bottom: 9px;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mhp-home-promo__title {
	font-size: clamp(2rem, 3.3vw, 3.15rem);
	font-weight: 850;
	letter-spacing: -.045em;
	line-height: .98;
}

.mhp-home-promo--small .mhp-home-promo__title {
	font-size: clamp(1.65rem, 2.45vw, 2.25rem);
}

.mhp-home-promo__text {
	margin-top: 16px;
	max-width: 430px;
	font-size: 1rem;
	line-height: 1.55;
}

.mhp-home-promo__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 24px;
	padding: 0 24px;
	border-radius: 4px;
	background: #1e2b31;
	color: #fff;
	font-size: .9rem;
	font-weight: 800;
	line-height: 1;
}

.mhp-home-promo:hover .mhp-home-promo__button {
	background: #11191d;
}

.mhp-home-featured-products {
	padding-top: 56px;
}

.mhp-home-section-heading {
	max-width: 760px;
	margin-bottom: 24px;
}

.mhp-home-section-kicker {
	margin-bottom: 7px;
	color: #687078;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mhp-home-section-heading h2 {
	margin: 0;
	font-size: clamp(1.7rem, 2.4vw, 2.35rem);
	letter-spacing: -.035em;
}

.mhp-home-section-heading p {
	margin: 10px 0 0;
	color: #687078;
	font-size: 1rem;
}

.mhp-home-products ul.products {
	margin-top: 0;
}

.mhp-home-page-content {
	margin-top: 56px;
	padding-top: 34px;
	border-top: 1px solid var(--mhp-border, #dedede);
}

@media (max-width: 900px) {
	.mhp-front-page {
		width: min(100% - 24px, 1320px);
		margin-top: 14px;
	}

	.mhp-home-hero {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.mhp-home-promo {
		height: 440px;
	}

	.mhp-home-promo--small {
		height: 330px;
	}

	.mhp-home-promo--large .mhp-home-promo__content {
		top: auto;
		right: 22px;
		bottom: 26px;
		left: 22px;
		width: auto;
		max-width: 620px;
		transform: none;
	}

	.mhp-home-promo--large .mhp-home-promo__shade {
		background: linear-gradient(
			0deg,
			rgba(255,255,255,.94) 0%,
			rgba(255,255,255,.68) 42%,
			rgba(255,255,255,0) 73%
		);
	}

	.mhp-home-promo--large .mhp-home-promo__image {
		background-position: 68% center;
	}

	.mhp-home-promo__title {
		font-size: clamp(1.85rem, 7vw, 2.6rem);
	}

	.mhp-home-featured-products {
		padding-top: 42px;
	}
}

@media (max-width: 520px) {
	.mhp-home-promo {
		height: 390px;
	}

	.mhp-home-promo--small {
		height: 290px;
	}

	.mhp-home-promo__text {
		font-size: .94rem;
	}

	.mhp-home-promo__button {
		min-height: 44px;
		margin-top: 18px;
		padding-inline: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mhp-home-promo__image {
		transition: none;
	}

	.mhp-home-promo:hover .mhp-home-promo__image,
	.mhp-home-promo:focus-visible .mhp-home-promo__image {
		transform: none;
	}
}


/* =========================================================
   SAVINGS + EXPANDED MENU DIRECTORY
   ========================================================= */

.mhp-home-directory {
	display: grid;
	grid-template-columns: minmax(280px, .78fr) minmax(0, 2.15fr);
	gap: 0;
	margin-top: 58px;
	border: 1px solid var(--mhp-border, #dedede);
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.mhp-home-save-card {
	position: relative;
	display: block;
	min-height: 570px;
	overflow: hidden;
	background: #202326;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}

.mhp-home-save-card__image {
	position: absolute;
	inset: -1px;
	z-index: -3;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1);
	transition: transform .55s cubic-bezier(.2,.65,.25,1);
}

.mhp-home-save-card:hover .mhp-home-save-card__image,
.mhp-home-save-card:focus-visible .mhp-home-save-card__image {
	transform: scale(1.055);
}

.mhp-home-save-card__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(
			0deg,
			rgba(10,14,16,.88) 0%,
			rgba(10,14,16,.46) 44%,
			rgba(10,14,16,.12) 74%,
			rgba(10,14,16,.04) 100%
		);
}

.mhp-home-save-card__badge {
	position: absolute;
	top: 38px;
	left: 34px;
	display: grid;
	place-items: center;
	width: 112px;
	height: 112px;
	padding: 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.95);
	color: #183142;
	text-align: center;
	line-height: 1;
}

.mhp-home-save-card__badge span {
	font-size: .69rem;
	font-weight: 800;
	letter-spacing: .035em;
}

.mhp-home-save-card__badge strong {
	display: block;
	margin-top: 4px;
	font-size: 2.05rem;
	font-weight: 900;
	letter-spacing: -.05em;
}

.mhp-home-save-card__content {
	position: absolute;
	right: 34px;
	bottom: 40px;
	left: 34px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	pointer-events: none;
}

.mhp-home-save-card__kicker {
	margin-bottom: 8px;
	color: rgba(255,255,255,.82);
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.mhp-home-save-card__title {
	max-width: 300px;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: .98;
}

.mhp-home-save-card__text {
	max-width: 320px;
	margin-top: 13px;
	color: rgba(255,255,255,.92);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.45;
}

.mhp-home-save-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 20px;
	padding: 0 20px;
	border-radius: 4px;
	background: #fff;
	color: #172229;
	font-size: .88rem;
	font-weight: 850;
}

.mhp-home-menu-directory {
	padding: 38px 42px 34px;
	min-width: 0;
}

.mhp-home-menu-directory__head {
	max-width: 760px;
	margin-bottom: 28px;
}

.mhp-home-menu-directory__head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2vw, 2rem);
	letter-spacing: -.035em;
}

.mhp-home-menu-directory__head p {
	margin: 9px 0 0;
	color: #687078;
	line-height: 1.55;
}

.mhp-home-menu-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 36px;
}

.mhp-home-menu-group h3 {
	margin: 0 0 11px;
	color: #142b39;
	font-size: .9rem;
	font-weight: 900;
	letter-spacing: .015em;
}

.mhp-home-menu-group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mhp-home-menu-group > ul > li {
	margin: 0 0 7px;
}

.mhp-home-menu-group a,
.mhp-home-menu-group .mhp-home-menu-label {
	position: relative;
	display: inline-block;
	padding-left: 18px;
	color: #5b6267;
	font-size: .91rem;
	line-height: 1.42;
	text-decoration: none;
}

.mhp-home-menu-group a::before,
.mhp-home-menu-group .mhp-home-menu-label::before {
	content: "→";
	position: absolute;
	top: 0;
	left: 0;
	color: #8a9094;
	font-weight: 700;
}

.mhp-home-menu-group a:hover {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mhp-home-menu-item-has-children > .mhp-home-menu-label,
.mhp-home-menu-item-has-children > a {
	margin-top: 7px;
	color: #142b39;
	font-weight: 800;
}

.mhp-home-menu-sublist {
	margin: 7px 0 11px 14px !important;
	padding-left: 12px !important;
	border-left: 1px solid #e4e4e2;
}

.mhp-home-menu-sublist li {
	margin: 5px 0;
}

.mhp-home-menu-sublist a,
.mhp-home-menu-sublist span {
	padding-left: 0;
	font-size: .86rem;
}

.mhp-home-menu-sublist a::before,
.mhp-home-menu-sublist span::before {
	display: none;
}

.mhp-home-menu-standalone {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e7e7e5;
}

.mhp-home-menu-standalone a,
.mhp-home-menu-standalone span {
	color: #202124;
	font-size: .88rem;
	font-weight: 800;
	text-decoration: none;
}

.mhp-home-menu-standalone a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1050px) {
	.mhp-home-directory {
		grid-template-columns: minmax(250px, .85fr) minmax(0, 1.65fr);
	}

	.mhp-home-menu-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.mhp-home-directory {
		grid-template-columns: 1fr;
		margin-top: 44px;
	}

	.mhp-home-save-card {
		min-height: 430px;
	}

	.mhp-home-save-card__image {
		background-position: center 42%;
	}

	.mhp-home-menu-directory {
		padding: 30px 24px;
	}

	.mhp-home-menu-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 520px) {
	.mhp-home-save-card {
		min-height: 390px;
	}

	.mhp-home-save-card__badge {
		top: 22px;
		left: 22px;
		width: 94px;
		height: 94px;
	}

	.mhp-home-save-card__badge strong {
		font-size: 1.7rem;
	}

	.mhp-home-save-card__content {
		right: 22px;
		bottom: 26px;
		left: 22px;
	}

	.mhp-home-menu-directory {
		padding: 27px 20px;
	}

	.mhp-home-menu-groups {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mhp-home-save-card__image {
		transition: none;
	}

	.mhp-home-save-card:hover .mhp-home-save-card__image,
	.mhp-home-save-card:focus-visible .mhp-home-save-card__image {
		transform: none;
	}
}
