/**
 * Section: About Preview (Homepage)
 * ---------------------------------------------------------------------------
 * File: assets/css/sections/about-preview.css
 * PHP:  template-parts/sections/about-preview.php
 *
 * This section is almost entirely composed from existing components
 * (Section Header, Feature Card, Button) and the `.grid`/`.container`
 * utilities — this file only supplies the two-column split between the
 * text column and the card grid, using existing spacing tokens for the
 * gap and section padding. No new colour, spacing, or typography value
 * is introduced anywhere in this file.
 *
 * Accessibility: no new interactive elements beyond what the reused
 * components already handle (focus-visible, semantic headings) — nothing
 * extra needed here.
 *
 * Responsive: single column (text, then cards) by default; two-column
 * from tablet up, matching the Phase 1 responsive rule for this section.
 */

.gdq-about-preview {
	background-color: var(--gdq-color-bg-primary);
	padding-block: var(--gdq-space-6);
}

.gdq-about-preview__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gdq-space-5);
	align-items: start;
}

.gdq-about-preview__text p + p {
	margin-top: var(--gdq-space-3);
}

.gdq-about-preview__action {
	margin-top: var(--gdq-space-4);
}

@media (min-width: 768px) { /* mirrors --gdq-bp-tablet */
	.gdq-about-preview {
		padding-block: var(--gdq-space-7);
	}

	.gdq-about-preview__inner {
		/* Text column narrower than the card-grid column — matches the
		   approved design's proportions. A grid-column fraction is a
		   layout ratio, not a design token, so no new variable is needed
		   for this (the same reasoning layout.css already applies to its
		   own one-off structural values). */
		grid-template-columns: 1fr 1.2fr;
		gap: var(--gdq-space-6);
	}
}

@media (min-width: 1200px) { /* mirrors --gdq-bp-desktop */
	.gdq-about-preview {
		padding-block: var(--gdq-space-8);
	}
}
