/**
 * Renewed front-page sections.
 *
 * All selectors are scoped to .renewal-hero or .renewal-reasons so the
 * existing campaign, movie, service and footer sections remain unchanged.
 */

.renewal-hero,
.renewal-reasons {
	--front-color-navy: #06265d;
	--front-color-blue: #1458ad;
	--front-color-action: var(--renewal-color-primary);
	--front-color-action-hover: var(--renewal-color-primary-hover);
	--front-color-orange: #ff9800;
	--front-color-orange-deep: #ff7800;
	--front-color-paper: var(--renewal-color-paper);
	--front-color-ink: var(--renewal-color-ink);
	--front-shadow-card: 0 0.65rem 1.5rem rgb(6 38 93 / 14%);
}

.renewal-hero {
	background:
		linear-gradient(
			90deg,
			rgb(255 255 255 / 98%) 0%,
			rgb(255 255 255 / 94%) 25%,
			rgb(255 255 255 / 55%) 43%,
			rgb(255 255 255 / 0%) 66%
		),
		url("../img/hero-renewal.jpg") center / cover no-repeat;
	color: var(--front-color-navy);
	min-height: clamp(31rem, 43vw, 38rem);
	position: relative;
}

.renewal-hero__inner {
	align-items: end;
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1fr) minmax(19rem, 22.5rem);
	margin-inline: auto;
	max-width: 76rem;
	min-height: inherit;
	padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.25rem, 3.5vw, 2.5rem);
	width: 100%;
}

.renewal-hero__copy {
	max-width: 39rem;
}

.renewal-hero__title {
	color: var(--front-color-navy);
	font-size: clamp(2.88rem, 5.19vw, 4.56rem);
	font-weight: 600;
	letter-spacing: 0.015em;
	line-height: 1.3;
	margin: 0;
}

.renewal-hero__lead {
	color: var(--front-color-blue);
	font-size: clamp(1.44rem, 2.13vw, 1.81rem);
	font-weight: 600;
	line-height: 1.75;
	margin: clamp(1.35rem, 2.6vw, 2rem) 0 0;
}

.renewal-hero__benefits {
	align-items: stretch;
	display: flex;
	gap: clamp(0.65rem, 1.4vw, 1rem);
	list-style: none;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: 0;
}

.renewal-hero__benefit {
	align-items: center;
	aspect-ratio: 1;
	background: linear-gradient(145deg, var(--front-color-orange), var(--front-color-orange-deep));
	border-radius: 50%;
	color: var(--front-color-paper);
	display: flex;
	flex: 0 1 9.25rem;
	flex-direction: column;
	font-size: 1.1rem;
	font-weight: 600;
	justify-content: center;
	line-height: 1.45;
	min-width: 0;
	padding: 0.75rem;
	text-align: center;
	text-shadow: 0 1px 1px rgb(130 55 0 / 22%);
}

.renewal-hero__benefit strong {
	font-size: 1.45rem;
	line-height: 1.25;
	font-weight: 600;
}

.renewal-hero__login {
	background: var(--front-color-navy);
	border: 1px solid rgb(255 255 255 / 85%);
	border-radius: 2rem;
	box-shadow: 0 1.25rem 2.75rem rgb(0 20 57 / 26%);
	color: var(--front-color-paper);
	padding: clamp(1.65rem, 3vw, 2.25rem) clamp(1.4rem, 2.5vw, 1.8rem);
}

.renewal-hero__login-title {
	color: var(--front-color-paper);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 1.15rem;
	text-align: center;
}

.renewal-hero__login-button,
.renewal-hero__support-button {
	align-items: center;
	display: flex;
	font-weight: 600;
	justify-content: center;
	min-height: 4.4rem;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.renewal-hero__login-button {
	background: var(--front-color-paper);
	border: 1px solid var(--front-color-paper);
	border-radius: 0.2rem;
	color: var(--front-color-navy);
	font-size: 1.45rem;
	gap: 0.75rem;
	height: auto;
	margin: 0;
	padding-inline: 1rem;
	width: 100%;
}

.renewal-hero__login-button:hover,
.renewal-hero__login-button:focus-visible {
	background: var(--renewal-color-primary-soft);
	color: var(--front-color-blue);
	transform: translateY(-1px);
}

.renewal-hero .top-main-eNet .renewal-hero__login-icon {
	flex: 0 0 auto;
	height: 2.5rem;
	margin-right: 0;
	width: auto;
}

.renewal-hero__support-button {
	background: var(--front-color-action);
	border: 1px solid rgb(255 255 255 / 75%);
	color: var(--front-color-paper);
	font-size: 1.2rem;
	margin-top: 0.85rem;
	padding-inline: 1rem 2.5rem;
	position: relative;
}

.renewal-hero__support-button::after {
	border-right: 1px solid currentcolor;
	border-top: 1px solid currentcolor;
	content: "";
	height: 0.55rem;
	position: absolute;
	right: 1.15rem;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	width: 0.55rem;
}

.renewal-hero__support-button:hover,
.renewal-hero__support-button:focus-visible {
	background: var(--front-color-action-hover);
	color: var(--front-color-paper);
	transform: translateY(-1px);
}

.renewal-hero a:focus-visible,
.renewal-reasons a:focus-visible {
	outline: 3px solid var(--renewal-color-focus);
	outline-offset: 3px;
}

.renewal-reasons {
	background: var(--front-color-paper);
	color: var(--front-color-ink);
	padding: clamp(3rem, 5vw, 3.5rem) clamp(1.25rem, 3.5vw, 2.5rem);
}

.renewal-reasons__inner {
	margin-inline: auto;
	max-width: 72rem;
}

.renewal-reasons__heading {
	margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
	text-align: center;
}

.renewal-reasons__eyebrow {
	font-size: 36px;
    font-weight: bold;
	line-height: 1.1;
	margin: 0;
}

.renewal-reasons__title {
	color: var(--front-color-ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0.7rem 0 0;
}

.renewal-reasons__grid {
	display: grid;
	gap: clamp(1rem, 2.4vw, 2.25rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.renewal-reasons__card {
	align-items: center;
	background: var(--front-color-paper);
	border: 1px solid #909090;
	border-radius: 10px;
	/*box-shadow: var(--front-shadow-card);*/
	display: flex;
	flex-direction: column;
	min-height: 18rem;
	padding: 1.5rem 1.1rem 1.65rem;
	text-align: center;
}

.renewal-reasons__icon {
	filter: grayscale(100%) brightness(0.15);
	height: 5.2rem;
	margin-bottom: 0.8rem;
	object-fit: contain;
	width: 5.2rem;
}

.renewal-reasons__card-title {
	color: var(--front-color-blue);
	font-size: clamp(1.21rem, 1.725vw, 1.44rem);
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
}

.renewal-reasons__card-text {
	color: var(--front-color-ink);
	font-size: 1.0rem;
	line-height: 1.75;
	margin: 0.9rem 0 0;
	text-align:left;
}

@media (max-width: 70rem) {
	.renewal-hero {
		background-position: 58% center;
	}

	.renewal-hero__inner {
		gap: 2rem;
		grid-template-columns: minmax(0, 1fr) minmax(18rem, 20rem);
	}

	.renewal-reasons__grid {
		gap: 1.25rem;
	}
}

@media (max-width: 56rem) {
	.renewal-hero {
		background:
			linear-gradient(
				90deg,
				rgb(255 255 255 / 98%) 0%,
				rgb(255 255 255 / 92%) 48%,
				rgb(255 255 255 / 62%) 100%
			),
			url("../img/hero-renewal.jpg") right center / cover no-repeat;
	}

	.renewal-hero__inner {
		align-items: stretch;
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.renewal-hero__copy {
		margin-inline: auto;
		max-width: 36rem;
		text-align: center;
		width: 100%;
	}

	.renewal-hero__benefits {
		justify-content: center;
	}

	.renewal-hero__login {
		margin-inline: auto;
		max-width: 32rem;
		width: 100%;
	}

	.renewal-reasons__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 36rem) {
	.renewal-hero__inner {
		padding-block: 2.75rem 3.25rem;
	}

	.renewal-hero__title {
		font-size: clamp(2rem, 10vw, 2.65rem);
	}

	.renewal-hero__lead {
		font-size: 1rem;
	}

	.renewal-hero__benefits {
		gap: 0.45rem;
	}

	.renewal-hero__benefit {
		font-size: clamp(0.62rem, 2.8vw, 0.75rem);
		padding: 0.45rem;
	}

	.renewal-hero__benefit strong {
		font-size: clamp(1rem, 5vw, 1.25rem);
	}

	.renewal-hero__login {
		border-radius: 1.4rem;
	}

	.renewal-reasons__grid {
		grid-template-columns: 1fr;
	}

	.renewal-reasons__card {
		min-height: 0;
	}
}
