/* =======================================================================
 * ax-faqs — Support page FAQ accordion + keyword search
 * Reuses the search + count styling from ax-collection.css
 * (.ax-collection__search / .ax-collection__count), so the search looks and
 * behaves exactly like the one in [ax_collection_filters], including the
 * purple active/focus state. This file adds only the accordion.
 * All selectors are prefixed with #top to beat Enfold specificity.
 * ==================================================================== */
#top .ax-faqs {
	color: #111;
	font-family: "Montserrat", sans-serif;
}

#top .ax-faqs .ax-collection__search {
	width: 251px;
	max-width: 100%;
	margin-bottom: 0px;
}

#top .ax-faqs__item {
	border-bottom: 1px solid #e4e4e4 !important;
}

#top .ax-faqs__list .ax-faqs__item:last-child {
	border-bottom: unset !important;
}

#top .ax-faqs__item[hidden] {
	display: none;
}

#top .ax-faqs__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 22px 4px;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: "Montserrat", sans-serif;
}

#top .ax-faqs__q-text {
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ax-purple);
}

#top #faqs_page .ax-faqs__q-text {
	font-size: 16px;
}

#top .ax-faqs__q-text mark {
	background: rgba(68,65,146,.14);
	color: inherit;
	border-radius: 3px;
	padding: 0 2px;
}

#top .ax-faqs__toggle {
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	border: 1px solid var(--ax-purple);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, border-color .2s ease;
}

#top .ax-faqs__toggle svg {
	width: 20px;
	height: 20px;
}

#top #faqs_page .ax-faqs__toggle {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

#top #faqs_page .ax-faqs__toggle svg {
	width: 12px;
	height: 12px;
}

#top .ax-faqs__toggle svg path {
	stroke: var(--ax-purple);
	stroke-width: 2;
	stroke-linecap: round;
	transition: stroke .2s ease, opacity .2s ease;
}

#top .ax-faqs__item.is-open .ax-faqs__q-text {
	color: var(--ax-green);
	font-weight: 800;
}

#top .ax-faqs__item:hover .ax-faqs__toggle {
	background: #444192;
	border-color: #444192;
}

#top .ax-faqs__item:hover .ax-faqs__toggle svg path {
	stroke: #fff;
}

#top .ax-faqs__item.is-open .ax-faqs__toggle {
	background: var(--ax-green);
	border-color: var(--ax-green);
}

#top .ax-faqs__item.is-open .ax-faqs__toggle svg path {
	stroke: #fff;
}

#top .ax-faqs__item.is-open .ax-faqs__toggle .ax-faqs__v {
	opacity: 0;
}

#top .ax-faqs__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .3s ease;
}

#top .ax-faqs__item.is-open .ax-faqs__a {
	grid-template-rows: 1fr;
}

#top .ax-faqs__a-inner {
	overflow: hidden;
}

#top .ax-faqs__a-content {
	padding: 0 4px 28px;
	max-width: 920px;
	font-size: 18px;
	line-height: 1.74;
	color: #000;
}

#top #faqs_page .ax-faqs__a-content {
	max-width: 1220px;
	font-size: 14px;
}

#top .ax-faqs__a-content p {
	margin: 0 0 1em;
}

#top .ax-faqs__a-content > :last-child {
	margin-bottom: 0;
}

#top .ax-faqs__empty {
	display: none;
	padding: 28px 4px;
	color: #444192;
	font-family: Montserrat;
	font-size: 16px;
	font-weight: 600;
	line-height: 26px;
}

#top .ax-faqs__empty.is-shown {
	display: block;
}

#top .ax-faqs .ax-collection__count {
    margin: 0 0 88px;
}

@media (max-width: 989px) {
	#top .ax-faqs .ax-collection__count {
		margin: 0 0 16px;
	}
}

/* ---- mobile ---- */
@media (max-width:760px) {
	#top .ax-faqs .ax-collection__search {
		width: 100%;
	}

	#top .ax-faqs__q {
		gap: 16px;
		padding: 18px 0;
	}

	#top .ax-faqs__q-text {
		font-size: 19px;
	}

	#top .ax-faqs__a-content {
		font-size: 15px;
	}
}
