/*
 * FAQ-4: questions by topic in tabs.
 * A centred head, a centred row of tabs, one topic to a tab. Each panel is an
 * accordion at the width of running text. Tabs: tabs.css. Accordion:
 * accordion.css.
 */

.wprk-faq-4 .wprk-faq-4__tabs {
	margin-block: 0;
}

.wprk-faq-4 .wprk-tabs > .wp-block-tab-list {
	justify-content: center;
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size);
}

/* On a phone the row scrolls (tabs.css); a centred row that holds more than fits could not be moved back to its first tab. */
@media (max-width: 599px) {
	.wprk-faq-4 .wprk-tabs > .wp-block-tab-list {
		justify-content: flex-start;
	}
}

.wprk-faq-4 .wprk-tabs > .wp-block-tab-panels {
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size);
}

/* The row of tabs already draws the line the list would start with. */
.wprk-faq-4 .wprk-faq-4__list {
	border-block-start: 0;
}

.wprk-faq-4 .wprk-faq-4__list .wp-block-accordion-panel {
	max-width: none;
}
