/**
 * FAQ Page Styles
 *
 * @package Aomo_Web
 * @since 1.0.0
 */

.faq-page {
	padding: 2rem 0;
}

.faq-list {
	margin-top: 3rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq-item {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 1.5rem;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: #333;
	transition: background-color 0.3s ease;
}

.faq-question:hover {
	background-color: #f8f9fa;
}

.faq-question:focus {
	outline: 2px solid #0073aa;
	outline-offset: -2px;
}

.faq-question-text {
	flex: 1;
}

.faq-icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #0073aa;
	color: #fff;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1;
	transition: transform 0.3s ease;
}

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

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-answer[aria-hidden="false"] {
	max-height: 1000px;
}

.faq-answer-content {
	padding: 0 1.5rem 1.5rem;
	font-size: 1rem;
	line-height: 1.8;
	color: #666;
}

.faq-answer-content p {
	margin-bottom: 1rem;
}

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

.no-faqs {
	text-align: center;
	padding: 3rem 0;
	color: #666;
}

/* Responsive */
@media (max-width: 768px) {
	.faq-question {
		padding: 1rem;
		font-size: 1rem;
	}

	.faq-answer-content {
		padding: 0 1rem 1rem;
	}
}
