.afc-how-It-works-section-block {
	--afc-how-green: #4caf50;
	--afc-how-heading: #ffffff;
	--afc-how-card-bg: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
	--afc-how-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	--afc-how-radius: 20px;
	--afc-how-max: 1200px;
	box-sizing: border-box;
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.afc-how-It-works-section-block .container {
    max-width: 1370px;
}

.afc-how-It-works-section-block *,
.afc-how-It-works-section-block *::before,
.afc-how-It-works-section-block *::after {
	box-sizing: inherit;
}

.afc-how-it-works__outer {
	
	padding: 0 16px 0;
}

.afc-how-it-works__surface {
	position: relative;
	border-radius: var(--afc-how-radius);
	overflow: hidden;
	min-height: 420px;
	background-position: bottom center;
	background-size: cover;
}
.mobile-list { display: none; }

.afc-how-it-works__surface::after {
	content: "";
	position: absolute;
	inset: 0;
	/*background: linear-gradient(187deg, rgba(44, 55, 73, 0.00) 44.52%, rgba(44, 55, 73, 0.85) 75.39%), url(<path-to-image>) lightgray -127.003px -230.31px / 84.687% 157.856% no-repeat;
	filter: blur(50px);*/
}

.afc-how-it-works__gradient {
	position: absolute;
	inset: 0;
	pointer-events: none;
	
	width: 100%;
	height: 100%;
}

.afc-how-it-works__inner {
	position: relative;
	z-index: 1;
	padding: 41px 26px 41px 40px;
}

.afc-how-it-works__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: end;
}

.afc-how-it-works__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-self: end;
	padding-bottom: clamp(4px, 1vw, 0px);
	max-width: 470px;
}

.afc-how-it-works__heading {
	margin: 0;
	color: var(--afc-how-heading);
	font-size: clamp(1.75rem, 2.2vw + 1rem, 2.80rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -1.12px;
	text-shadow: none;
}

.afc-how-it-works__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 16px 32px;
	border-radius: 40px;
	background-color: #ffffff;
	color: #000 !important;
	text-align: center;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	line-height: 10.8px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: color, background, border;
	transition: color, background, border;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-in-out;
	transition-timing-function: ease-in-out;
}

.afc-how-it-works__cta:hover,
.afc-how-it-works__cta:focus-visible {
	background-color: #000;
	color: #ffffff !important;
	outline: none;
}

.afc-how-it-works__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 2vw, 12px);
	max-width: 500px;
	margin: 0 0 0 auto;
}

.afc-how-it-works__step {
	position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 24px 34px 25px 24px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.80);
}

.afc-how-it-works__step-main {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	flex: 1;
}

.afc-how-it-works__step-num {
	color: #2B8700;
	font-family: Poppins !important;
	font-size: 40px;
	font-style: normal;
	font-weight: 400;
	line-height: 44px; 
	letter-spacing: -0.4px;
	max-width: 56px;
    width: 100%;
}

.afc-how-it-works__step-body {
	min-width: 0;
}

.afc-how-it-works__step-title {
	color: #000;
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	line-height: 28.8px;
	letter-spacing: -0.24px;
	margin: 0 0 8px 0;
}

.afc-how-it-works__step-copy {
	margin: 0;
	color: #000;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px;
}

@media (max-width: 991px) {
	.mobile-list { display: block; margin: 16px 0 0 0; }
	.afc-how-it-works__steps { display: none; }
	.mobile-list .afc-how-it-works__steps { 
		display: flex;
        margin: 0 auto;
        flex-wrap: wrap;
        gap: 8px;
	}
	.afc-how-it-works__outer { padding: 0; }
	.mobile-list .afc-how-it-works__cta {
		border-radius: 94px;
		background: #8FDB43;
		color: #000 !important;
		font-family: Montserrat;
		font-size: 18px;
		font-style: normal;
		font-weight: 700;
		line-height: 24px;
		letter-spacing: 0.9px;
		padding: 16px 32px;
		max-width: 345px;
		width: 100%;
		text-decoration: none;
		margin: 16px auto 0;
		align-items: center;
		justify-content: center;
		display: flex;
		border: 3px solid transparent;
	}
	.mobile-list .afc-how-it-works__cta:hover {
		background: transparent;
		color: #8FDB43;
		box-shadow: none;
		border: 3px solid #8FDB43;
	}
	.afc-how-it-works__step-main {
		flex-wrap: wrap;
		gap: 24px;
	}

	.afc-how-it-works__step {
		background-color: transparent;
		padding: 16px;
		border-bottom: 1px solid #C3C3C3;
		border-radius: 0;
	}

	.afc-how-it-works__step:last-child {
		border: 0;
	}
	.afc-how-it-works__grid {
		grid-template-columns: 1fr;
		align-items: stretch;
		gap: 28px;
	}

	.afc-how-it-works__intro {
		align-self: start;
		max-width: none;
		padding-bottom: 0;
		order: 1;
	}

	.afc-how-it-works__steps {
		order: 2;
	}

	.afc-how-it-works__surface {
		min-height: 310px;
        max-width: 644px;
        margin: 0 auto;
        width: 100%;
	}

	.afc-how-it-works__bg::after {
		background: linear-gradient(
			180deg,
			rgba(10, 12, 16, 0.78) 0%,
			rgba(10, 12, 16, 0.65) 35%,
			rgba(245, 246, 248, 0.97) 100%
		);
	}
	.afc-how-it-works__intro {
		max-width: 380px;
	}
	.afc-how-it-works__inner {
    	padding: 24px;
		width: 100%;
		position: absolute;
		bottom: 0;
	}

	.afc-how-it-works__intro a.afc-how-it-works__cta {
		display: none;
	}
	.afc-how-it-works__steps {
		max-width: 600px;
	}
}

@media (max-width: 480px) {
	.afc-how-it-works__outer {
		padding: 0 0 0;
	}
}
