/* Perguntas Frequentes — acordeão com <details> nativo (core/details). */

/* ---------- Lista de perguntas (60% da largura em computador e tablet) ---------- */
.on-faq { width: 60%; padding-top: 40px; }
.on-faq__title {
	font-family: var(--f-serif);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--c-primary);
	text-align: center;
}
.on-faq__list { display: flex; flex-direction: column; gap: 20px; }

.on-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px;
	border-bottom: 1px solid var(--c-grey);
	font-family: var(--f-sans);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--c-primary);
	list-style: none;
	cursor: pointer;
}
.on-faq__item summary::-webkit-details-marker { display: none; }
/* Seta (chevron do Font Awesome, 15px de altura) — igual aberta ou fechada, como na produção. */
.on-faq__item summary::after {
	content: "";
	flex: none;
	width: 13.125px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: url("../../icons/chevron-down.svg") center / contain no-repeat;
	mask: url("../../icons/chevron-down.svg") center / contain no-repeat;
}

/* Resposta */
.on-faq__item > :not(summary) {
	margin: 0;
	padding: 10px;
	font-family: var(--f-sans);
	font-size: 17px;
	line-height: 1.5;
	color: var(--c-primary);
}
.on-faq__item > ul { padding-left: 50px; list-style: disc; }
.on-faq__item a { color: inherit; }

/* ---------- "Didn't find the answer…" ---------- */
.on-faq-contact { align-items: center; text-align: center; }
.on-faq-contact > * { width: 100%; }

.on-frequently-asked-questions .is-style-fill .wp-block-button__link {
	border: 0;
	background-color: var(--c-primary);
	color: var(--c-text);
}
.on-frequently-asked-questions .is-style-fill .wp-block-button__link:hover,
.on-frequently-asked-questions .is-style-fill .wp-block-button__link:focus-visible { background-color: var(--c-primary-hover); color: var(--c-text); }

@media (max-width: 767px) {
	.on-faq { width: var(--container); }
	.on-faq, .on-faq-contact { padding-bottom: 60px; }
	.on-faq__title { font-size: 32px; }
	.on-faq__item > :not(summary) { font-size: 16px; }
}
