/* Avive FAQs — [avive_faqs]. Colours and fonts come from the Elementor global kit. */

.avf {
	--avf-primary: var(--e-global-color-primary, #00c7b1);
	--avf-secondary: var(--e-global-color-secondary, #041e42);
	--avf-text: var(--e-global-color-text, #2d2926);
	--avf-border: #dfe3e8;

	max-width: 900px;
	margin: 0 auto;
	color: var(--avf-text);
}

.avf .avf__heading,
.avf .avf__group {
	margin: 0 0 12px;
	color: var(--avf-secondary);
	line-height: 1.2;
}
.avf .avf__heading { font-size: clamp(24px, 3vw, 32px); }
.avf .avf__group { margin-top: 36px; font-size: 22px; scroll-margin-top: 120px; }

.avf__topics ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}
.avf__topics a,
.avf__tags a {
	display: inline-block;
	border-radius: 999px;
	background: #e3f8f5;
	color: var(--avf-secondary);
	text-decoration: none;
}
.avf__topics a { padding: 8px 16px; font-size: 15px; font-weight: 600; }
.avf__topics a:hover,
.avf__tags a:hover { background: var(--avf-primary); }

.avf__list { border-top: 1px solid var(--avf-border); }
.avf__item { border-bottom: 1px solid var(--avf-border); }

.avf__question {
	position: relative;
	padding: 18px 44px 18px 0;
	color: var(--avf-secondary);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}
.avf__question::-webkit-details-marker { display: none; }
.avf__question::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	color: var(--avf-primary);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
}
.avf__item[open] > .avf__question::after { content: "\2212"; }
.avf__question:hover { color: #0b3470; }
.avf__question:focus-visible { outline: 3px solid var(--avf-primary); outline-offset: 2px; }

.avf__answer { padding: 0 0 20px; font-size: 16px; line-height: 1.65; }
.avf__answer > :first-child { margin-top: 0; }
.avf__answer p:last-of-type { margin-bottom: 0; }

.avf .avf__where {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 10px;
	border-left: 3px solid var(--avf-secondary);
	background: #f0f3f7;
	font-size: 14px;
	font-weight: 600;
}

.avf__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
.avf__tags a { padding: 3px 10px; font-size: 13px; }

@media (max-width: 767px) {
	.avf__question { font-size: 16px; padding-right: 36px; }
}
