/* VFW Claims FAQs Styles - Accordion Layout */

.faqs_container {
    display: flex;
    flex-direction: row;
    gap: 0;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
}

.single_faq {
	border-bottom: 1px solid #e0e0e0;
	background: #fff;
	width: 50%;
}

/*
.single_faq:first-child {
	border-top: 1px solid #e0e0e0;
}
*/
.faq-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 1.25rem 1.5rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
	background: none !important;
	border: none;
	padding: 0;
	width: calc(100% - 3rem);
	text-align: left;
	box-shadow: none !important;
}
.facetwp-facet.facetwp-facet-faq_search.facetwp-type-search {
    text-align: center;
}
.facetwp-type-search input.facetwp-search {
    box-shadow: 2px 4px 5px 1px #00000029;
    width: 700px;
    max-width: 100%;
}

.facetwp-facet input.facetwp-search,
.facetwp-facet input.facetwp-location {
    margin: 0;
    padding-right: 30px;
    min-width: 240px;
    border: 1px solid black;
}

.faq-header:hover {
	background-color: #f8f8f8;
}

.faq-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #333;
	line-height: 1.4;
	flex: 1;
	padding-right: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 8px 5px 4px;
}

.faq-icon {
	color: #9a1c20;
	flex-shrink: 0;
}

.faq-toggle {
	display: none;
}

.faq-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 1.5rem;
}

a.faq-term-filter.facetwp-ignore {
    font-size: .65em;
    padding: 7px 12px;
}

.single_faq.is-open .faq-content {
	max-height: 2000px;
	padding-bottom: 1.5rem;
}

.faq_terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.faq-term-filter {
	display: inline-block;
	padding: 0.4rem 0.875rem;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	font-size: 0.8125rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

.faq-term-filter:hover {
	background: #9a1c20;
	border-color: #9a1c20;
	color: #fff;
}

.faq-body {
	line-height: 1.6;
	color: #555;
}

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

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

.faq-links {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.faq-link {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1rem;
	background: #f8f8f8;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #9a1c20;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.faq-link::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 0.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M7 3H3C2.44772 3 2 3.44772 2 4V13C2 13.5523 2.44772 14 3 14H12C12.5523 14 13 13.5523 13 13V9M10 2H14M14 2V6M14 2L7 9' stroke='%239a1c20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.faq-link:hover {
	background: #9a1c20;
	border-color: #9a1c20;
	color: #fff;
}

.faq-link:hover::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M7 3H3C2.44772 3 2 3.44772 2 4V13C2 13.5523 2.44772 14 3 14H12C12.5523 14 13 13.5523 13 13V9M10 2H14M14 2V6M14 2L7 9' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}



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

	.faq-title {
		font-size: 1rem;
	}

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

	.single_faq {
		width: 100%;
	}

	.single_faq.is-open .faq-content {
		padding-bottom: 1rem;
	}

	.faq-toggle {
		font-size: 1rem;
	}

	.faq-term-filter {
		font-size: 0.75rem;
		padding: 0.3rem 0.7rem;
	}
}
