/**
 * TS SEO Setup – FAQ section inserted at the end of a page.
 *
 * Inherits fonts and colors from the theme; only spacing, the question rows and the marker.
 *
 * @package Ts_Seo_Setup
 */

.ts-seo-faq {
	margin-top: 2.5em;
	margin-bottom: 2.5em;
}

.ts-seo-faq details {
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.ts-seo-faq details:first-of-type {
	border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.ts-seo-faq summary {
	display: flex;
	position: relative;
	gap: 1em;
	align-items: center;
	justify-content: space-between;
	padding: 0.9em 0;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.ts-seo-faq summary::-webkit-details-marker {
	display: none;
}

.ts-seo-faq summary::after {
	flex: none;
	font-size: 1.4em;
	font-weight: 400;
	line-height: 1;
	content: "+";
}

.ts-seo-faq details[open] summary::after {
	content: "–";
}

.ts-seo-faq summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ts-seo-faq details > p {
	margin-top: 0;
	padding-bottom: 1em;
}
