/* Wrapper: Flexbox row on desktop, column on mobile */
.step-timeline-wrapper-ab40861e {
	display: flex;
	flex-direction: row;
	gap: 20px;
	width: 100%;
}

.step-timeline-card-ab40861e {
	background: #ffffff;
	border-radius: 12px;
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	min-width: 0; /* allows text to wrap properly in flex items */
	transition: all 0.3s ease;
}

/* Connectors */
.step-timeline-card-ab40861e:not(:last-child)::after {
	content: '';
	position: absolute;
	background-color: #e5e7eb;
	z-index: -1;
}

/* Header with Icon and Number */
.step-timeline-header-ab40861e {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.step-timeline-icon-bg-ab40861e {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #e6f7f2;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}

.step-timeline-icon-ab40861e {
	font-size: 18px;
	color: #10b981;
	display: flex;
}

.step-timeline-icon-ab40861e svg {
	width: 1em;
	height: 1em;
	fill: #10b981;
}

.step-timeline-number-ab40861e {
	font-size: 32px;
	font-weight: 800;
	color: #f3f4f6;
	line-height: 1;
}

.step-timeline-body-ab40861e {
	flex-grow: 1;
}

.step-timeline-title-ab40861e {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.step-timeline-desc-ab40861e {
	font-size: 14px;
	color: #6b7280;
	margin: 0 0 20px 0;
	line-height: 1.6;
}

.step-timeline-footer-ab40861e {
	font-size: 12px;
	font-style: italic;
	color: #9ca3af;
	margin-top: auto;
	border-top: 1px solid #f3f4f6;
	padding-top: 16px;
}

/* Desktop Connectors */
@media (min-width: 768px) {
	.step-timeline-card-ab40861e:not(:last-child)::after {
		top: 44px; /* aligned with icon center */
		right: -20px; /* span the gap */
		width: 20px;
		height: 2px;
	}
}

/* Mobile Layout */
@media (max-width: 767px) {
	.step-timeline-wrapper-ab40861e {
		flex-direction: column;
		gap: 30px;
	}

	/* Mobile Connectors */
	.step-timeline-card-ab40861e:not(:last-child)::after {
		bottom: -30px;
		left: 44px; /* align under icon */
		width: 2px;
		height: 30px;
	}
}
