/* Native Yoast content adopts the established property FAQ typography and cards. */
.nh-yoast-faq {
	display: grid;
	gap: 10px;
	min-width: 0;
	padding: 24px;
	border-radius: 24px;
	background: rgb(244 237 218 / 50%);
}

.nh-yoast-faq .schema-faq-section {
	min-width: 0;
	margin: 0;
	padding: 24px 40px;
	border: 0;
	border-radius: 24px;
	background: #fff;
}

.nh-yoast-faq .schema-faq-question {
	display: block;
	font: 600 24px/1.15 Manrope, Arial, sans-serif;
	letter-spacing: -.02em;
	overflow-wrap: anywhere;
}

.nh-yoast-faq summary {
	position: relative;
	padding-inline-end: 56px;
	list-style: none;
	cursor: pointer;
}

.nh-yoast-faq summary::-webkit-details-marker {
	display: none;
}

.nh-yoast-faq summary::after {
	position: absolute;
	top: 0;
	right: 0;
	width: 24px;
	height: 24px;
	background: var(--nh-mint, #76b9a1);
	mask: url('ui-states/faq-plus.svg') center / contain no-repeat;
	content: '';
}

.nh-yoast-faq details:where([open]:not([data-nh-expanded='false'])) > summary::after {
	mask-image: url('ui-states/faq-minus.svg');
}

.nh-yoast-faq details.nh-disclosure {
	cursor: pointer;
}

.nh-yoast-faq details.nh-disclosure:hover > summary::after {
	background-color: var(--nh-teal, #11565b);
}

.nh-yoast-faq details.nh-disclosure[data-nh-pressed='true'] > summary::after {
	background-color: var(--nh-mint, #76b9a1);
}

.nh-yoast-faq summary:focus-visible {
	outline: 2px solid var(--nh-teal, #11565b);
	outline-offset: 6px;
	border-radius: 4px;
}

.nh-yoast-faq .schema-faq-answer {
	margin: 12px 0 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: -.01em;
	overflow-wrap: anywhere;
}

.nh-yoast-faq .schema-faq-answer img {
	max-width: 100%;
	height: auto;
}

.nh-yoast-faq .schema-faq-answer > :first-child {
	margin-top: 0;
}

.nh-yoast-faq .schema-faq-answer > :last-child {
	margin-bottom: 0;
}

.nh-yoast-faq .schema-faq-answer p,
.nh-yoast-faq .schema-faq-answer ul,
.nh-yoast-faq .schema-faq-answer ol {
	margin-block: 0 1em;
	font-size: inherit;
	line-height: inherit;
}

.nh-yoast-faq .schema-faq-answer ul,
.nh-yoast-faq .schema-faq-answer ol {
	padding-inline-start: 1.4em;
}

.nh-yoast-faq .schema-faq-answer li + li {
	margin-top: .35em;
}

@media (width <= 700px) {
	.nh-yoast-faq {
		padding: 12px;
	}

	.nh-yoast-faq .schema-faq-section {
		padding: 24px;
	}

	.nh-yoast-faq summary {
		min-height: 24px;
		padding-inline-end: 36px;
	}

	.nh-yoast-faq .schema-faq-question {
		font-size: 20px;
	}

	.nh-yoast-faq .schema-faq-answer {
		font-size: 14px;
	}
}
