/* === How It Works Block === */

/* Mobile: vertical timeline (circle left, content right) */
.le-how-it-works-block .steps-list {
	display: flex;
	flex-direction: column;
}

.le-how-it-works-block .how-it-works-step {
	display: flex;
	flex-direction: row;
	gap: 1rem;
}

.le-how-it-works-block .step-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
}

/* Vertical connector — mobile only */
.le-how-it-works-block .how-it-works-step .step-indicator::after {
	content: '';
	display: block;
	width: 2px;
	flex: 1;
	min-height: 1.5rem;
	background: rgba(255, 255, 255, 0.2);
	margin-top: 0.5rem;
}

.le-how-it-works-block .step-content {
	flex: 1;
	padding-top: 0.625rem;
	/* visually center first text line with circle */
}

/* === Desktop: horizontal timeline === */
@media (min-width: 1024px) {
	.le-how-it-works-block .steps-list {
		display: grid;
	}

	.le-how-it-works-block .how-it-works-step {
		flex-direction: column;
		padding-bottom: 0;
	}

	.le-how-it-works-block .step-indicator {
		flex-direction: row;
		align-items: center;
	}

	/* Horizontal connector — desktop only */
	.le-how-it-works-block .how-it-works-step .step-indicator::after {
		content: unset;
	}

	.le-how-it-works-block .how-it-works-step.has-connector .step-indicator::after {
		content: '';
		width: auto;
		height: 2px;
		min-height: 0;
		flex: 1;
		margin-top: 0;
		margin-left: 1rem;
	}

	.le-how-it-works-block .step-content {
		padding-top: 0;
	}
}