:root {
	--gsl-steps-green: #454b40;
	--gsl-steps-gold: #ac740c;
	--gsl-steps-border: #e5e0d4;
	--gsl-steps-muted: #56604f;
	--gsl-steps-white: #ffffff;
}

/*
 * Portable "How It Works" section.
 *
 * Add `gsl-how-it-works` to the blue Section when the heading and cards are
 * saved together. When only the card Row is saved, add
 * `gsl-how-it-works-cards` to that green Row. Content-aware selectors keep the
 * styles working when Divi inserts an extra wrapper or renumbers modules.
 */
.et-db #et-boc .et-l .gsl-how-it-works {
	background: var(--gsl-steps-white);
}

/* Heading row: contains a heading, but no card images. */
.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 0.7rem;
	max-width: 1260px;
	margin-bottom: clamp(3.25rem, 6vw, 5.25rem);
}

.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) > .et_pb_column {
	float: none;
	width: 100%;
	margin: 0;
	text-align: center;
}

.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) .et_pb_text {
	width: 100%;
	max-width: 1260px;
	margin-right: auto;
	margin-left: auto;
}

.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) .et_pb_text:has(:is(h1, h2)) :is(.et_pb_text_inner, h1, h2, span) {
	margin: 0;
	padding: 0;
	color: var(--gsl-steps-green);
	font-family: var(--gsl-font-display);
	font-size: clamp(2.346rem, 4.232vw, 3.45rem);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.025em;
	text-align: center;
}

.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) .et_pb_text:not(:has(:is(h1, h2))) {
	margin: 0 auto;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) .et_pb_text:not(:has(:is(h1, h2))) :is(.et_pb_text_inner, p, span) {
	margin: 0;
	padding: 0;
	color: var(--gsl-steps-gold);
	font-family: var(--gsl-font-primary);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
}

/* Card row: identified by its Image modules, independent of row order. */
.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) {
	display: flex;
	align-items: stretch;
	gap: clamp(1rem, 2vw, 1.5rem);
	width: 90%;
	max-width: 1260px;
	counter-reset: gsl-step;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
)::after {
	display: none;
	content: none;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) > .et_pb_column {
	position: relative;
	display: flex;
	float: none;
	min-width: 0;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	background: var(--gsl-steps-white);
	border: 1px solid var(--gsl-steps-border);
	border-radius: 12px;
	box-shadow: 0 0 0 rgb(0 44 34 / 0%);
	counter-increment: gsl-step;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) > .et_pb_column:is(:hover, :focus-within) {
	border-color: var(--gsl-steps-gold);
	box-shadow: 0 14px 30px rgb(0 44 34 / 10%);
	transform: translateY(-3px);
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) > .et_pb_column::before {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	display: grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border-radius: 50%;
	background: var(--gsl-steps-gold);
	color: var(--gsl-steps-white);
	content: counter(gsl-step, decimal-leading-zero);
	font-family: var(--gsl-font-primary);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image {
	margin: 0;
	overflow: hidden;
	background: var(--gsl-steps-border);
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image::before {
	content: none;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image :is(.et_pb_image_wrap, img) {
	display: block;
	width: 100%;
	max-width: none;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) > .et_pb_column:is(:hover, :focus-within) .et_pb_image img {
	transform: scale(1.025);
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image + .et_pb_text {
	margin: 0;
	padding: 1.6rem 1.75rem 0.65rem;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image + .et_pb_text :is(h1, h2, h3, span) {
	margin: 0;
	padding: 0;
	color: var(--gsl-steps-green);
	font-family: var(--gsl-font-display);
	font-size: clamp(1.65rem, 2.4vw, 2.1rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.018em;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image + .et_pb_text + .et_pb_text {
	flex: 1 1 auto;
	margin: 0;
	padding: 0 1.75rem 1.8rem;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image + .et_pb_text + .et_pb_text :is(.et_pb_text_inner, p) {
	color: var(--gsl-steps-muted);
	font-family: var(--gsl-font-primary);
	font-size: 1rem;
	line-height: 1.58;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image + .et_pb_text + .et_pb_text p {
	margin: 0 0 0.75rem;
	padding: 0;
}

.et-db #et-boc .et-l :is(
	.et_pb_row.gsl-how-it-works-cards,
	.gsl-how-it-works .et_pb_row:has(.et_pb_image)
) .et_pb_image + .et_pb_text + .et_pb_text p:last-child {
	margin-bottom: 0;
}

@media (max-width: 980px) {
	.et-db #et-boc .et-l :is(
		.et_pb_row.gsl-how-it-works-cards,
		.gsl-how-it-works .et_pb_row:has(.et_pb_image)
	) {
		flex-direction: column;
	}

	.et-db #et-boc .et-l :is(
		.et_pb_row.gsl-how-it-works-cards,
		.gsl-how-it-works .et_pb_row:has(.et_pb_image)
	) > .et_pb_column {
		width: 100%;
		margin-right: 0;
	}
}

@media (max-width: 767px) {
	.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) {
		margin-bottom: 2.25rem;
	}

	.et-db #et-boc .et-l .gsl-how-it-works .et_pb_row:has(:is(h1, h2)):not(:has(.et_pb_image)) .et_pb_text:has(:is(h1, h2)) :is(.et_pb_text_inner, h1, h2, span) {
		font-size: clamp(2.024rem, 9.2vw, 2.76rem);
		line-height: 1;
	}

	.et-db #et-boc .et-l :is(
		.et_pb_row.gsl-how-it-works-cards,
		.gsl-how-it-works .et_pb_row:has(.et_pb_image)
	) .et_pb_image + .et_pb_text {
		padding: 1.35rem 1.25rem 0.55rem;
	}

	.et-db #et-boc .et-l :is(
		.et_pb_row.gsl-how-it-works-cards,
		.gsl-how-it-works .et_pb_row:has(.et_pb_image)
	) .et_pb_image + .et_pb_text + .et_pb_text {
		padding: 0 1.25rem 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.et-db #et-boc .et-l :is(
		.et_pb_row.gsl-how-it-works-cards,
		.gsl-how-it-works .et_pb_row:has(.et_pb_image)
	) > .et_pb_column,
	.et-db #et-boc .et-l :is(
		.et_pb_row.gsl-how-it-works-cards,
		.gsl-how-it-works .et_pb_row:has(.et_pb_image)
	) .et_pb_image img {
		transition: none;
	}
}
