/* ==========================================================================
   FAQ Page Styles
   ========================================================================== */

:root {
	--le-dark: #1a1a2e;
	--le-dark-light: #2d2d44;
	--le-primary: #1a1a2e;
	--le-accent: #e74c3c;
	--le-text: #374151;
	--le-text-light: #6b7280;
	--le-border: #e5e7eb;
	--le-bg-light: #f9fafb;
	--le-white: #ffffff;
}

/* Ensure sections have proper backgrounds (override Flatsome dark page bg) */
.le-faq-content {
	background: var(--le-white);
}

/* Hero */
.le-faq-hero {
	background: var(--le-dark);
	color: var(--le-white);
	padding: 60px 0 80px;
}

.le-hero-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 48px;
	font-weight: 700;
	margin: 16px 0;
	font-style: italic;
	color: var(--le-white);
}

.le-hero-subtitle {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	max-width: 600px;
	margin-bottom: 30px;
	line-height: 1.6;
}

/* Breadcrumb */
.le-breadcrumb {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}
.le-breadcrumb a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}
.le-breadcrumb a:hover {
	color: var(--le-white);
}
.le-breadcrumb-sep {
	margin: 0 8px;
}
.le-breadcrumb strong {
	color: var(--le-white);
}

/* Search */
.le-faq-search {
	position: relative;
	max-width: 600px;
}

.le-faq-search-icon {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--le-text-light);
}

#le-faq-search-input {
	width: 100%;
	padding: 16px 20px 16px 52px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: var(--le-white);
	font-size: 15px;
	color: var(--le-text);
	outline: none;
	transition: border-color 0.2s;
}

#le-faq-search-input:focus {
	border-color: var(--le-accent);
}

#le-faq-search-input::placeholder {
	color: var(--le-text-light);
}

/* Main Content */
.le-faq-content {
	padding: 50px 0 60px;
}

/* Sidebar */
.le-faq-sidebar {
	position: sticky;
	top: 100px;
}

.le-faq-sidebar-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--le-text);
}

.le-faq-cat-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--le-text);
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	text-align: left;
	margin-bottom: 4px;
}

.le-faq-cat-btn:hover {
	background: var(--le-bg-light);
}

.le-faq-cat-btn.active {
	background: var(--le-dark);
	color: var(--le-white);
}

/* Override Flatsome uppercase on buttons */
.le-faq-cat-btn,
.le-faq-question {
	text-transform: none !important;
	letter-spacing: normal !important;
}

.le-faq-cat-btn svg {
	flex-shrink: 0;
}

/* FAQ Groups */
.le-faq-group {
	margin-bottom: 40px;
}

.le-faq-group-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	font-style: italic;
	color: var(--le-text);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.le-faq-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 8px;
	border-radius: 12px;
	background: var(--le-dark);
	color: var(--le-white);
	font-size: 12px;
	font-weight: 600;
	font-style: normal;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Accordion */
.le-faq-item {
	border-bottom: 1px solid var(--le-border);
}

.le-faq-item:first-child {
	border-top: 1px solid var(--le-border);
}

.le-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 0;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	font-size: 15px;
	font-weight: 500;
	color: var(--le-text);
	font-style: italic;
	transition: color 0.2s;
}

.le-faq-question:hover {
	color: var(--le-dark);
}

.le-faq-question-text {
	flex: 1;
	padding-right: 16px;
}

.le-faq-chevron {
	flex-shrink: 0;
	transition: transform 0.3s;
	color: var(--le-text-light);
}

.le-faq-item.open .le-faq-chevron {
	transform: rotate(180deg);
}

.le-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	color: var(--le-text-light);
	font-size: 14px;
	line-height: 1.7;
}

.le-faq-item.open .le-faq-answer {
	max-height: 500px;
	padding-bottom: 18px;
}

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

/* No results */
.le-faq-no-results {
	text-align: center;
	padding: 60px 20px;
	color: var(--le-text-light);
	font-size: 16px;
}

/* Bottom CTA */
.le-faq-cta {
	background: var(--le-bg-light);
	padding: 60px 0;
}

.le-faq-cta h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 28px;
	font-style: italic;
	margin-bottom: 12px;
}

.le-faq-cta p {
	color: var(--le-text-light);
	margin-bottom: 24px;
}

/* Buttons */
.le-btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
}

.le-btn-primary {
	background: var(--le-dark);
	color: var(--le-white);
}

.le-btn-primary:hover {
	background: var(--le-dark-light);
	color: var(--le-white);
}

/* Responsive */
@media (max-width: 768px) {
	.le-faq-hero {
		padding: 40px 0 60px;
	}

	.le-hero-title {
		font-size: 32px;
	}

	.le-faq-sidebar {
		position: static;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-bottom: 30px;
	}

	.le-faq-sidebar-title {
		width: 100%;
	}

	.le-faq-cat-btn {
		padding: 8px 14px;
		font-size: 13px;
		border-radius: 20px;
		border: 1px solid var(--le-border);
		margin-bottom: 0;
	}

	.le-faq-cat-btn.active {
		border-color: var(--le-dark);
	}

	.le-faq-cat-btn svg {
		display: none;
	}

	.le-faq-group-title {
		font-size: 18px;
	}
}
