/*
 * Homepage process cards.
 *
 * The content stays in native Divi blurbs. Keep every rule scoped to the
 * homepage work section because the shared step classes also appear elsewhere.
 */
body.home .et_pb_section.pp-divi-work .pp-divi-step-row {
	align-items: stretch;
	gap: 18px;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step-row > .et_pb_column {
	min-width: 0;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step {
	background: linear-gradient(145deg, #fff 0%, #fff 70%, rgba(255, 144, 0, 0.045) 100%);
	border: 1px solid rgba(23, 23, 23, 0.1);
	border-radius: 12px;
	box-shadow: 0 12px 34px rgba(17, 24, 32, 0.06);
	isolation: isolate;
	min-height: 224px;
	padding: 26px 24px 24px;
	position: relative;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step::before {
	background: transparent;
	border-radius: 0;
	color: rgba(216, 117, 0, 0.13);
	content: counter(pp-divi-step);
	counter-increment: pp-divi-step;
	display: block;
	font-family: var(--pp-font-ui);
	font-size: clamp(96px, 8vw, 118px);
	font-variant-numeric: tabular-nums;
	font-weight: 900;
	height: auto;
	letter-spacing: -0.08em;
	line-height: 0.82;
	margin: 0;
	pointer-events: none;
	position: absolute;
	right: 16px;
	text-align: right;
	top: 18px;
	width: auto;
	z-index: 0;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step::after {
	background: linear-gradient(90deg, var(--pp-orange), rgba(255, 144, 0, 0.22));
	border-radius: 999px;
	content: "";
	height: 3px;
	left: 24px;
	pointer-events: none;
	position: absolute;
	top: 28px;
	width: 42px;
	z-index: 1;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step .et_pb_blurb_content {
	position: relative;
	z-index: 1;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step .et_pb_blurb_container {
	padding-top: 60px;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step .et_pb_module_header {
	text-wrap: balance;
}

body.home .et_pb_section.pp-divi-work .pp-divi-step .et_pb_blurb_description {
	max-width: 38ch;
	text-wrap: pretty;
}

body.home .et_pb_section.pp-divi-work .pp-process-step-action {
	margin: 0;
	padding: 0;
}

body.home .et_pb_section.pp-divi-work .pp-process-step-copy {
	margin: 12px 0 0;
	padding: 0;
}

body.home .et_pb_section.pp-divi-work .pp-process-title-link,
body.home .et_pb_section.pp-divi-work .pp-process-title-link:visited {
	align-items: center;
	background: var(--pp-orange);
	border: 1px solid var(--pp-orange);
	border-radius: 8px;
	box-shadow: 0 8px 18px rgba(216, 117, 0, 0.16);
	color: var(--pp-ink);
	display: inline-flex;
	font-family: var(--pp-font-ui);
	font-size: 17px;
	font-weight: 900;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 10px 15px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

body.home .et_pb_section.pp-divi-work .pp-process-title-link::after {
	content: "\2192";
	font-size: 16px;
	line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
	body.home .et_pb_section.pp-divi-work .pp-process-title-link:hover {
		background: var(--pp-orange-deep);
		border-color: var(--pp-orange-deep);
		box-shadow: 0 10px 22px rgba(216, 117, 0, 0.22);
		color: var(--pp-ink);
	}
}

body.home .et_pb_section.pp-divi-work .pp-process-title-link:focus-visible {
	outline: 3px solid rgba(255, 144, 0, 0.34);
	outline-offset: 3px;
}

@media (min-width: 1101px) {
	body.home .et_pb_section.pp-divi-work .pp-process-step-action,
	body.home .et_pb_section.pp-divi-work .pp-process-step-copy {
		transform: translateY(-10px);
	}
}

@media (min-width: 641px) and (max-width: 1100px) {
	body.home #page-container .et_pb_section.pp-divi-work .pp-divi-step-row {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	body.home #page-container .et_pb_section.pp-divi-work .pp-divi-step-row {
		gap: 14px;
		grid-template-columns: 1fr !important;
	}

	body.home .et_pb_section.pp-divi-work .pp-divi-step {
		min-height: 0;
		padding: 22px 20px 20px;
	}

	body.home .et_pb_section.pp-divi-work .pp-divi-step::before {
		font-size: 86px;
		right: 14px;
		top: 15px;
	}

	body.home .et_pb_section.pp-divi-work .pp-divi-step::after {
		left: 20px;
		top: 23px;
		width: 34px;
	}

	body.home .et_pb_section.pp-divi-work .pp-divi-step .et_pb_blurb_container {
		padding-top: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .et_pb_section.pp-divi-work .pp-process-title-link {
		transition: none;
	}
}
