/* PWD SEO – FAQ block. Colours follow the theme (PWD Theme variables with neutral fallbacks). */
.pwd-faq { display: grid; gap: 10px; }
.pwd-faq__item {
	border: 1px solid var(--pwd-border, rgba(0, 0, 0, .12));
	border-radius: var(--pwd-radius, 10px);
	background: var(--pwd-surface, transparent);
}
.pwd-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}
.pwd-faq__q::-webkit-details-marker { display: none; }
.pwd-faq__q::after {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform .2s ease;
}
.pwd-faq__item[open] > .pwd-faq__q::after { transform: rotate(-135deg) translateY(-3px); }
.pwd-faq__q:focus-visible { outline: 2px solid var(--pwd-accent, currentColor); outline-offset: 2px; border-radius: inherit; }
.pwd-faq__title { margin: 0; font-size: 1.05em; line-height: 1.4; }
.pwd-faq__a { padding: 0 20px 18px; color: var(--pwd-muted, inherit); }
.pwd-faq__a > :first-child { margin-top: 0; }
.pwd-faq__a > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .pwd-faq__q::after { transition: none; } }

/* Editor */
.pwd-faq--editor .pwd-faq__edit { position: relative; padding: 12px 14px; border: 1px dashed rgba(0, 0, 0, .2); border-radius: 8px; }
.pwd-faq--editor .pwd-faq__edit-q { font-weight: 600; margin-bottom: 6px; }
.pwd-faq--editor .pwd-faq__edit-tools { position: absolute; top: 6px; right: 6px; display: flex; gap: 2px; opacity: .5; }
.pwd-faq--editor .pwd-faq__edit:hover .pwd-faq__edit-tools { opacity: 1; }
