/*
 * Valor Maintenance — From Request to Closeout
 * Connected vertical stepper: numbered nodes joined by a rail read as a process,
 * paired with a full-height closeout photo that stretches to the stepper's height.
 */

.vm-process {
	background-color: #ffffff;
}

.vm-process__body {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
	align-items: stretch;
	column-gap: 3.5rem;
	max-width: 1040px;
	margin: 0 auto;
}

.vm-process__image {
	background-image: url("../images/process-closeout.jpg");
	background-size: cover;
	background-position: center;
	border-radius: 8px;
}

.vm-process__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	padding: 0;
}

.vm-process__step {
	position: relative;
	display: grid;
	grid-template-columns: 48px 1fr;
	column-gap: 1.5rem;
	padding: 0 0 2.75rem;
	text-align: left;
}

.vm-process__step:last-child {
	padding-bottom: 0;
}

.vm-process__step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 23px;
	top: 40px;
	bottom: 0;
	width: 2px;
	background-color: var(--vm-border);
}

.vm-process__number {
	position: relative;
	z-index: 1;
	grid-column: 1;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background-color: var(--wp--preset--color--brand);
	color: #ffffff;
	font-size: 1.15rem;
	font-weight: 700;
	border-radius: 50%;
	box-shadow: 0 0 0 5px #ffffff;
}

.vm-process__icon {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: var(--wp--preset--color--brand);
	background-color: var(--vm-bg-light);
	border: 1px solid var(--vm-border);
	border-radius: 50%;
}

.vm-process__step h3 {
	grid-column: 2;
	grid-row: 2;
	color: var(--vm-heading);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 1rem 0 0.35rem;
}

.vm-process__step p {
	grid-column: 2;
	grid-row: 3;
	color: var(--vm-muted);
	font-size: 0.92rem;
	line-height: 1.65;
	margin: 0;
	max-width: 560px;
}

@media (max-width: 1023px) {
	.vm-process__body {
		grid-template-columns: 1fr;
		row-gap: 2.5rem;
		max-width: 720px;
	}

	.vm-process__image {
		height: 320px;
	}
}

@media (max-width: 599px) {
	.vm-process__image {
		height: 240px;
	}

	.vm-process__step {
		grid-template-columns: 44px 1fr;
		column-gap: 1.1rem;
		padding-bottom: 2.25rem;
	}

	.vm-process__number {
		width: 44px;
		height: 44px;
		font-size: 1.05rem;
	}

	.vm-process__step:not(:last-child)::after {
		left: 21px;
		top: 38px;
	}

	.vm-process__step h3 {
		font-size: 1.05rem;
	}
}
