/**
 * Block style: FAQ (.is-style-core--details--faq).
 * Registered and loaded by the Creator styles loader, only on pages that use it.
 *
 * Background, radius, padding, the gap under the question and the answer's
 * font size are block settings (see the FAQ variation). The details block has
 * no settings for its summary, so the question's type, its +/– icon and its
 * click area are set here.
 */
.is-style-core--details--faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
	list-style: none;
	cursor: pointer;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 800;
	line-height: 1.3;
}
.is-style-core--details--faq summary::-webkit-details-marker {
	display: none;
}
.is-style-core--details--faq summary::after {
	content: "+";
}
.is-style-core--details--faq[open] > summary::after {
	content: "–";
}

.is-style-core--details--faq:not(.block-editor-block-list__block) {
	position: relative;
}
.is-style-core--details--faq:not(.block-editor-block-list__block)
	summary::before {
	content: "";
	position: absolute;
	inset: 0;
}
.is-style-core--details--faq:not(.block-editor-block-list__block)[open]
	> summary {
	position: relative;
}
.is-style-core--details--faq:not(.block-editor-block-list__block)[open]
	> summary::before {
	inset: calc(-1 * var(--wp--preset--spacing--40))
		calc(-1 * var(--wp--preset--spacing--50)) 0;
}
