/*
Version control
2026-10-27 : Remove FAQ hub separator outlines after the more-link rows.
2026-10-27 : Vertically center FAQ hub more links and add double right arrows.
2026-10-27 : Remove the inherited underline from FAQ question headings.
2026-10-27 : Add scoped, mobile-first FAQ content and accordion presentation.
*/

.faq-content-next {
	--faq-border: #d9e2ec;
	--faq-focus: #1769aa;
	--faq-surface: #f7fafc;
}

.faq-content-next .faq-item {
	border-top: 1px solid var(--faq-border);
}

.faq-content-next .faq-item:last-of-type {
	border-bottom: 1px solid var(--faq-border);
}

.faq-content-next .faq-question {
	position: relative;
	margin: 0;
	padding: 1rem 2.75rem 1rem 0;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.faq-content-next.faq-enhanced .faq-question {
	cursor: pointer;
}

.faq-content-next.faq-enhanced .faq-question::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 0.25rem;
	width: 1.5rem;
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	transform: translateY(-50%);
	transition: transform 160ms ease;
}

.faq-content-next.faq-enhanced .faq-question[aria-expanded="true"]::after {
	transform: translateY(-50%) rotate(45deg);
}

.faq-content-next .faq-question:focus-visible {
	outline: 3px solid var(--faq-focus);
	outline-offset: 3px;
}

.faq-content-next .faq-answer {
	padding: 0 0 1rem;
	overflow-wrap: anywhere;
}

.faq-content-next .faq-answer[hidden] {
	display: none;
}

.faq-content-next .faq-answer > :last-child {
	margin-bottom: 0;
}

.faq-content-next .faq-answer img,
.faq-content-next .faq-answer video,
.faq-content-next .faq-answer iframe {
	max-width: 100%;
	height: auto;
}

.faq-content-next .faq-answer table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.faq-content-next .faq-answer a {
	overflow-wrap: anywhere;
}

.faq-content-next .faq-more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	line-height: 1.4;
}

.faq-content-next .faq-more-link::after {
	content: "\00BB";
	line-height: 1;
}

.faq-content-next > hr {
	border: 0;
}

@media (min-width: 737px) {
	.faq-content-next .faq-question {
		padding-block: 1.2rem;
	}

	.faq-content-next .faq-answer {
		padding: 0 1.25rem 1.25rem;
		background: var(--faq-surface);
	}
}

@media (prefers-reduced-motion: reduce) {
	.faq-content-next.faq-enhanced .faq-question::after {
		transition: none;
	}
}