/**
 * Path: `grid gap-10 lg:grid-cols-12 lg:gap-16`, the text in 7 and the
 * picture in 5, swapped with flip. The lead `mt-5 text-xl font-medium
 * leading-relaxed`, the text `mt-5 text-lg` muted, the checklist `mt-8`,
 * the button `mt-8`, the links `mt-6 flex-col gap-2.5`.
 *
 * Under the picture (`aspect-[4/5] rounded-xl`) the blocks `mt-8
 * space-y-6`, or with cards only `grid gap-4 sm:grid-cols-2 lg:grid-cols-1`.
 * A card `rounded-xl border border-border/60 bg-card p-6`, its text
 * `text-sm` muted, its links `mt-4 gap-2`, its figures `grid-cols-3 gap-4`,
 * each value `text-2xl font-bold`, its label `mt-1 text-xs leading-snug`,
 * the text after them `mt-4`. A note is a dashed box, `rounded-lg border
 * border-dashed bg-surface-cool p-5 text-sm` muted. Details is the
 * accordion, `rounded-lg border bg-card px-5`, the question `py-4 text-base
 * font-medium`, the answer `pb-4 space-y-3 text-sm leading-relaxed` muted.
 */

.sba-c-path .sba-c-path-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

.sba-c-path .sba-c-path-lead {
	margin: 20px 0 0;
	color: var(--sba-charcoal);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.625;
}

.sba-c-path .sba-c-path-main .sba-c-prose {
	margin-top: 20px;
}

.sba-c-path .sba-c-path-action {
	margin-top: 32px;
}

.sba-c-path .sba-c-path-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

/* Each link in the 24px line of the prototype's list item. */
.sba-c-path .sba-c-path-links li {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.sba-c-path .sba-c-path-figure img {
	aspect-ratio: 4 / 5;
}

.sba-c-path .sba-c-path-blocks {
	display: grid;
	gap: 24px;
	margin-top: 32px;
}

.sba-c-path .sba-c-path-blocks-cards {
	gap: 16px;
}

.sba-c-path .sba-c-path-block-card {
	padding: 24px;
	border: 1px solid color-mix(in srgb, var(--sba-border) 60%, transparent);
	border-radius: 12px;
	background-color: var(--sba-surface);
}

.sba-c-path .sba-c-path-card-text,
.sba-c-path .sba-c-path-note-box {
	color: var(--sba-slate);
	font-size: 14px;
	line-height: 20px;
}

.sba-c-path .sba-c-path-card-text p,
.sba-c-path .sba-c-path-note-box p {
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.sba-c-path .sba-c-path-stats + .sba-c-path-card-text {
	margin-top: 16px;
}

.sba-c-path .sba-c-path-block-card .sba-c-path-links {
	gap: 8px;
	margin-top: 16px;
}

.sba-c-path .sba-c-path-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

.sba-c-path .sba-c-path-stats dd {
	margin: 0;
	color: var(--sba-charcoal);
	font-size: 24px;
	font-weight: var(--sba-heading-weight);
	letter-spacing: var(--sba-heading-tracking);
	line-height: 32px;
}

.sba-c-path .sba-c-path-stats dt {
	margin-top: 4px;
	color: var(--sba-slate);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.375;
}

.sba-c-path .sba-c-path-note-box {
	padding: 20px;
	border: 1px dashed var(--sba-border);
	border-radius: var(--sba-radius);
	background-color: var(--sba-surface-cool);
}

.sba-c-path .sba-c-path-details {
	padding: 0 20px;
	border: 1px solid var(--sba-border);
	border-radius: var(--sba-radius);
	background-color: var(--sba-surface);
}

.sba-c-path .sba-c-path-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	color: var(--sba-charcoal);
	font-family: var(--sba-font-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	list-style: none;
	cursor: pointer;
}

.sba-c-path .sba-c-path-details summary::-webkit-details-marker {
	display: none;
}

.sba-c-path .sba-c-path-details summary:focus-visible {
	outline: 2px solid var(--sba-ring);
	outline-offset: 2px;
}

.sba-c-path .sba-c-path-details summary .sba-i {
	flex: 0 0 auto;
	font-size: 16px;
	transition: transform 0.2s ease;
}

.sba-c-path .sba-c-path-details[open] summary .sba-i {
	transform: rotate(180deg);
}

.sba-c-path .sba-c-path-details-text {
	padding-bottom: 16px;
	color: var(--sba-slate);
	font-size: 14px;
	line-height: 1.625;
}

.sba-c-path .sba-c-path-details-text > * {
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.sba-c-path .sba-c-path-details-text > * + * {
	margin-top: 12px;
}

@media (min-width: 640px) {
	.sba-c-path .sba-c-path-blocks-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.sba-c-path .sba-c-path-split {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 64px;
	}

	.sba-c-path .sba-c-path-main {
		grid-column: span 7;
	}

	.sba-c-path .sba-c-path-aside {
		grid-column: span 5;
	}

	.sba-c-path .sba-c-path-flip .sba-c-path-main {
		order: 2;
	}

	.sba-c-path .sba-c-path-blocks-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sba-c-path .sba-c-path-details summary .sba-i {
		transition: none;
	}
}
