/* StudioAlpha SEO — category landing content */

.sa-seo-landing {
	max-width: 70ch;
	margin: 3rem auto 0;
}

.sa-seo-landing__text > :first-child {
	margin-top: 0;
}

.sa-seo-landing h2 {
	margin: 2rem 0 0.75rem;
	font-size: 1.25rem;
}

/* FAQ — <details> so it works with JavaScript disabled and shifts nothing. */
.sa-seo-faq__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.sa-seo-faq__item summary {
	padding: 0.85rem 2rem 0.85rem 0;
	position: relative;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

/* Hide the native marker in both engines, we draw our own. */
.sa-seo-faq__item summary::-webkit-details-marker {
	display: none;
}

.sa-seo-faq__item summary::marker {
	content: '';
}

.sa-seo-faq__item summary::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0.35rem;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.35rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.sa-seo-faq__item[open] summary::after {
	transform: rotate(-135deg);
	margin-top: -0.1rem;
}

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

.sa-seo-faq__answer {
	padding: 0 0 1rem;
}

.sa-seo-faq__answer > :first-child {
	margin-top: 0;
}

.sa-seo-related ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sa-seo-related li {
	margin: 0;
}

.sa-seo-related a {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	text-decoration: none;
}

.sa-seo-related a:hover,
.sa-seo-related a:focus {
	border-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
	.sa-seo-faq__item summary::after {
		transition: none;
	}
}
