/**
 * Subpage section: FAQ (template-parts/sections/subpage/section-faq.php).
 *
 * section-four-faq and faq-main ("General"): heading (and button) on the
 * left, questions on the right (the shared .accordion--faq). --stacked puts
 * the heading above the questions at every width; --hairline adds a thin
 * rule under the section, between FAQ groups. Mobile (proposal, TODO: no
 * mobile frame): heading and button above, then the full-width accordion.
 * Values come from assets/css/tokens.css.
 *
 * @package cartrack
 */

.faq__layout {
	display: grid;
	gap: var(--space-lg);
	align-items: start;
}

.faq__button {
	margin-top: var(--space-md);
}

.faq--hairline .faq__layout {
	padding-bottom: var(--faq-hairline-gap);
	border-bottom: 1px solid var(--faq-hairline-colour);
}

@media (min-width: 64em) { /* --bp-lg */
	.faq__layout {
		grid-template-columns: var(--faq-columns);
		gap: var(--faq-column-gap);
	}

	.faq--stacked .faq__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--faq-stacked-gap);
	}
}
