/**
 * Dynamic FAQ - Frontend accordion styles
 *
 * Critical layout/reset styles are inline to prevent builder overrides.
 * This file only handles interactive states (hover, focus) and the
 * hidden-attribute override needed for max-height animation.
 */

.dfaq-accordion-trigger:hover {
	opacity: 0.7;
}

.dfaq-accordion-trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Override native hidden so max-height transition works */
.dfaq-accordion-content[hidden] {
	display: block !important;
	max-height: 0 !important;
	visibility: hidden;
}

.dfaq-accordion-answer p {
	margin: 0 0 8px 0;
}

.dfaq-accordion-answer p:last-child {
	margin-bottom: 0;
}
