/**
 * Farm Process Steps widget styles.
 *
 * Purpose: Port of style.css §11 (.process-grid, .process-grid-6, .step-card, .step-number,
 *          .step-icon) and responsive rules (2 columns <1050, 1 column <820); footer button wrapper
 *          from index.html L434 (text-align center, margin-top 36px).
 * Dependencies: assets/css/base.css.
 * Consumers: Widget acfarm_process_steps.
 * Since: 0.1.0 Initial introduction; see CHANGELOG.md.
 */

.acfarm_process_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	position: relative;
	list-style: none;
}

.acfarm_process_grid_three {
	grid-template-columns: repeat(3, 1fr);
}

.acfarm_step_card {
	background: var(--acfarm_color_paper);
	border: 1px solid var(--acfarm_color_line);
	border-radius: var(--acfarm_radius_card);
	padding: 28px 22px;
	position: relative;
	box-shadow: var(--acfarm_shadow_sm);
}

.acfarm_step_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.acfarm_step_number {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: var(--acfarm_color_blue);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--acfarm_font_sans);
	font-weight: 700;
	font-size: 1.05rem;
	box-shadow: 0 4px 10px rgba(49, 95, 124, 0.25);
}

.acfarm_step_icon {
	color: var(--acfarm_color_muted_light);
	font-size: 22px;
}

.acfarm_step_icon svg { width: 24px; height: 24px; fill: currentColor; }

.acfarm_step_title {
	font-size: 1.25rem;
	margin-bottom: 8px;
}

.acfarm_step_card .acfarm_step_text {
	font-size: 0.88rem;
	color: var(--acfarm_color_muted);
	line-height: 1.55;
}

.acfarm_process_footer {
	text-align: center;
	margin-top: 36px;
}

@media (max-width: 1050px) {
	.acfarm_process_grid,
	.acfarm_process_grid_three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
	.acfarm_process_grid,
	.acfarm_process_grid_three { grid-template-columns: 1fr; }

	.acfarm_process_footer .acfarm_btn { white-space: normal; }
}
