/*
 * Process steps. Figma section/process 1940:48378 (1020 column): text/header
 * (header/XL + body/S grey), 24, then card/process per step: top row = green
 * tag/small "Step N" (subtitle/M) + 1px dark rule filling the width; below it
 * the 421 text column (header/M title, body/S text, 8 gap; 16 to the text link
 * and the tags) and the 480x320 photo r16, vertically centred. 370 per card,
 * 16 between cards. Mobile 2298:50388: pill + rule, photo 350x233 r16, then
 * title (header/M), text, tags; 24 between steps.
 */

.process-steps__inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.process-steps__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.process-step {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.process-step__top {
	display: flex;
	align-items: center;
	gap: 8px;
}

.process-step__top::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--c-text-dark);
}

.tag--step {
	padding: 8px 10px;
	border-color: var(--c-secondary);
	background: var(--c-secondary);
	color: var(--c-text-dark);
	font: var(--f-subtitle-m);
}

.process-step__body {
	display: grid;
	grid-template-columns: minmax(0, 421px) minmax(0, 480px);
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	min-height: 320px;
}

.process-step__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.process-step__title { font: var(--f-header-m); color: var(--c-text-dark); }
.process-step__desc { margin-top: -8px; font: var(--f-body-s); color: var(--c-text-dark); }

.process-step__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.process-step__media {
	aspect-ratio: 3 / 2;
	border-radius: var(--r-m);
	overflow: hidden;
	background: var(--c-bg-grey);
}

@media (max-width: 767px) {
	.process-steps__list { gap: 24px; }

	.process-step { gap: 16px; }

	.process-step__body {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		min-height: 0;
	}

	.process-step__media { order: -1; aspect-ratio: 350 / 233; }
}
