/**
 * FAQ Builder - Frontend Styles
 */

.faq-builder-container {
	margin: 20px 0;
}

.faq-item {
	margin-bottom: 0;
	border-bottom: 1px solid #e0e0e0;
	margin-top: 0;
}

.faq-question-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	padding: 32px 0;
	cursor: pointer;
	text-align: left;
	transition: all 0.3s ease;
}

.faq-question-toggle:hover {
	opacity: 0.8;
}

.faq-question-toggle:focus,
.faq-question-toggle:active,
.faq-question-toggle:focus-visible {
	outline: none;
	box-shadow: none;
	border: none;
}

.faq-question-toggle[aria-expanded="true"] .faq-caret {
	transform: rotate(180deg);
}

.faq-question {
	margin: 0;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 21px;
	font-weight: 400;
	color: #333;
	flex: 1;
	padding-right: 20px;
	padding-bottom: 0;
	line-height: 1.4;
}

.faq-caret {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: #333;
	transition: transform 0.3s ease;
}

.faq-caret svg {
	width: 100%;
	height: 100%;
}

.faq-answer {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #666;
	line-height: 1.6;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
	max-height: 1000px;
	padding: 0 0 15px 0;
}

.faq-answer p {
	margin-bottom: 10px;
}

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

.faq-answer a {
	color: #0073aa;
	text-decoration: underline;
}

.faq-answer a:hover {
	color: #005177;
}

