/* Codflux Widgets - FAQ - v2.3.0 */
.cfx-faq{
	--faq-bg:#ffffff;
	--faq-bg-open:#ffffff;
	--faq-border:#dbe9d3;
	--faq-border-h:#b6dba8;
	--faq-border-open:#3aa626;
	--faq-shadow:rgba(47,166,31,.28);
	--faq-q:#10281a;
	--faq-q-open:#10281a;
	--faq-a:#4b5a52;
	--faq-icon:#2f8f1e;
	--faq-icon-bg:#e3f4db;
	--faq-icon-open:#ffffff;
	--faq-icon-bg-open:#34a822;
	--faq-icon-box:34px;
	--faq-gap:14px;
	--faq-speed:300ms;

	display:flex;
	flex-direction:column;
	gap:var(--faq-gap);
	width:100%;
	font-family:inherit;
	line-height:1.6;
	-webkit-font-smoothing:antialiased;
}
.cfx-faq,.cfx-faq *,.cfx-faq *::before,.cfx-faq *::after{box-sizing:border-box}
.cfx-faq h2,.cfx-faq h3,.cfx-faq h4,.cfx-faq h5,.cfx-faq p{margin:0;padding:0}

/* ---------- item ---------- */
.cfx-faq .cfx-faq__item{
	background:var(--faq-bg);
	border:1px solid var(--faq-border);
	border-radius:22px;
	overflow:hidden;
	transition:border-color var(--faq-speed) ease,background-color var(--faq-speed) ease,box-shadow var(--faq-speed) ease;
}
.cfx-faq .cfx-faq__item:hover{border-color:var(--faq-border-h)}
.cfx-faq .cfx-faq__item.is-open{background:var(--faq-bg-open);border-color:var(--faq-border-open)}
.cfx-faq.has-shadow .cfx-faq__item.is-open{box-shadow:0 14px 30px -16px var(--faq-shadow)}

/* ---------- question button (theme button styles are reset on purpose) ---------- */
.cfx-faq .cfx-faq__q{font-size:inherit;font-weight:inherit;line-height:inherit}
.cfx-faq .cfx-faq__btn{
	-webkit-appearance:none;
	appearance:none;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
	width:100%;
	min-height:0;
	margin:0;
	padding:22px 28px;
	border:0;
	border-radius:0;
	background:transparent;
	color:var(--faq-q);
	text-align:left;
	text-transform:none;
	letter-spacing:normal;
	cursor:pointer;
	box-shadow:none;
	font-family:inherit;
}
.cfx-faq .cfx-faq__btn:hover,.cfx-faq .cfx-faq__btn:focus,.cfx-faq .cfx-faq__btn:active{background:transparent;color:var(--faq-q);border:0;box-shadow:none}
.cfx-faq .cfx-faq__item.is-open .cfx-faq__btn,
.cfx-faq .cfx-faq__item.is-open .cfx-faq__btn:hover{color:var(--faq-q-open)}
.cfx-faq .cfx-faq__btn:focus-visible{outline:2px solid var(--faq-border-open);outline-offset:-4px;border-radius:20px}
.cfx-faq .cfx-faq__qtext{font-size:18px;line-height:1.4;font-weight:700;letter-spacing:-.1px;color:inherit}
.cfx-faq.is-icon-left .cfx-faq__btn{flex-direction:row-reverse;justify-content:flex-end}
.cfx-faq.is-icon-left .cfx-faq__qtext{flex:1 1 auto}

/* ---------- icon ---------- */
.cfx-faq .cfx-faq__icon{
	position:relative;
	flex:0 0 auto;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:var(--faq-icon-box);
	height:var(--faq-icon-box);
	border-radius:50%;
	background:var(--faq-icon-bg);
	color:var(--faq-icon);
	transition:background-color var(--faq-speed) ease,color var(--faq-speed) ease,transform var(--faq-speed) ease;
}
.cfx-faq .cfx-faq__btn:hover .cfx-faq__icon{background:var(--faq-icon-bg-open);color:var(--faq-icon-open)}
.cfx-faq .cfx-faq__item.is-open .cfx-faq__icon{background:var(--faq-icon-bg-open);color:var(--faq-icon-open)}

.cfx-faq .cfx-faq__bar{position:absolute;left:50%;top:50%;display:block;background:currentColor;border-radius:2px;transition:transform var(--faq-speed) ease,opacity var(--faq-speed) ease}
.cfx-faq .cfx-faq__bar--h{width:42%;height:2px;margin:-1px 0 0 -21%}
.cfx-faq .cfx-faq__bar--v{width:2px;height:42%;margin:-21% 0 0 -1px}
.cfx-faq .cfx-faq__item.is-open .cfx-faq__bar--v{transform:scaleY(0);opacity:0}
.cfx-faq .cfx-faq__chev{display:none;width:50%;height:50%;transition:transform var(--faq-speed) ease}

.cfx-faq.is-chevron .cfx-faq__bar{display:none}
.cfx-faq.is-chevron .cfx-faq__chev{display:block}
.cfx-faq.is-chevron .cfx-faq__item.is-open .cfx-faq__chev{transform:rotate(180deg)}

/* ---------- answer (smooth height without measuring) ---------- */
.cfx-faq .cfx-faq__panel{
	display:grid;
	grid-template-rows:0fr;
	visibility:hidden;
	transition:grid-template-rows var(--faq-speed) ease,visibility 0s linear var(--faq-speed);
}
.cfx-faq .cfx-faq__item.is-open .cfx-faq__panel{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows var(--faq-speed) ease,visibility 0s}
.cfx-faq .cfx-faq__inner{min-height:0;overflow:hidden}
.cfx-faq .cfx-faq__a{padding:0 28px 24px;font-size:15.5px;line-height:1.75;color:var(--faq-a)}
.cfx-faq .cfx-faq__a p{margin:0 0 .8em}
.cfx-faq .cfx-faq__a p:last-child{margin-bottom:0}
.cfx-faq .cfx-faq__a a{color:var(--faq-icon);text-decoration:underline}
.cfx-faq .cfx-faq__a ul,.cfx-faq .cfx-faq__a ol{margin:0 0 .8em 1.2em;padding:0}

/* ---------- responsive ---------- */
@media (max-width:767px){
	.cfx-faq{--faq-icon-box:30px}
	.cfx-faq .cfx-faq__btn{padding:18px 18px;gap:14px}
	.cfx-faq .cfx-faq__qtext{font-size:16px}
	.cfx-faq .cfx-faq__a{padding:0 18px 20px;font-size:15px}
	.cfx-faq .cfx-faq__item{border-radius:18px}
}

@media (prefers-reduced-motion:reduce){
	.cfx-faq .cfx-faq__item,.cfx-faq .cfx-faq__icon,.cfx-faq .cfx-faq__bar,.cfx-faq .cfx-faq__chev,.cfx-faq .cfx-faq__panel{transition:none !important}
}
