/**
 * FAQ post (single-faq.php; frame faq-single-for-grid-overview).
 *
 * The intro (editor content: dark text, orange links) and the questions
 * accordion stack in the main column. Shared layout: singles.css.
 *
 * Logical properties only (RTL follows the active language). Tokens used
 * only here are local to this template.
 *
 * @package cartrack
 */

/* FAQ post: the intro and the accordion stack with a block gap. */
.sp-single--faq .sp-single__main {
	display: flex;
	flex-direction: column;
	gap: var(--single-block-gap);
}

/* Intro: dark text with orange inline links (frame). */
.sp-single--faq .sp-single__intro {
	--prose-text: var(--color-text);
}

.sp-single--faq .sp-single__intro a {
	color: var(--color-primary);
	text-decoration: none;
}

/* TODO: verify hover state in Figma (no hover frame supplied). */
@media (hover: hover) {
	.sp-single--faq .sp-single__intro a:hover {
		text-decoration: underline;
	}
}

/* Questions line up with the intro text. */
.sp-single__accordion {
	--accordion-faq-padding-x: 0;
}

.sp-single__accordion .accordion__title {
	min-inline-size: 0;
	overflow-wrap: anywhere;
}
