/**
 * About Page — Card Grid Section Styles
 *
 * Scoped styles for the card grid wrapper rendered directly in page-about.php.
 * Individual card styles are handled by the card component stylesheet.
 */

/* ── Section wrapper ─────────────────────────────────────────────────────── */

.about-cards-section {
	padding-block: var(--space-8);
	background-color: var(--color-surface-secondary);
}

/* ── Section heading ─────────────────────────────────────────────────────── */

.about-cards-section__heading {
	font-family: var(--font-family-heading);
	font-size: var(--font-size-3xl);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-tight);
	color: var(--color-text-primary);
	text-align: center;
	margin-block-start: 0;
	margin-block-end: var(--space-7);
}

/* ── Card grid layout ────────────────────────────────────────────────────── */

.about-cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
}

@media (min-width: 640px) {
	.about-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.about-cards-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
