.tg-faq {
	--faq-padding-block: 0.75rem;
	--faq-padding-inline: 0.75rem;
	--faq-answer-gap: 1.125rem;
	--faq-icon-size: 1rem;
	--faq-arrow-size: 0.75rem;
	--faq-bubble: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' overflow='visible' width='20' height='19.986' viewBox='0 0 20 19.986' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Group'%3E%3Cpath id='Vector' d='M15.4891 1.63519C13.8597 0.56667 11.9533 -0.00171959 10.0047 3.90792e-06C4.48526 0.00531045 0.0106641 4.47555 5.64846e-06 9.99504C-0.00208069 11.938 0.573838 13.8376 1.65456 15.4522L0.0386935 19.3225C-0.0605887 19.5705 0.0600104 19.8521 0.308057 19.9514C0.423441 19.9976 0.552204 19.9976 0.667633 19.9514L4.53792 18.3355C9.14958 21.3596 15.3396 20.0726 18.3637 15.461C21.3878 10.8493 20.1008 4.65929 15.4891 1.63519ZM10.0145 19.0225C10.0112 19.0225 10.008 19.0225 10.0048 19.0225V19.0322C8.16646 19.0177 6.37543 18.4477 4.86692 17.397C4.78737 17.3415 4.69299 17.3111 4.59602 17.3099C4.53533 17.2979 4.47288 17.2979 4.41219 17.3099L1.38365 18.6065L2.65119 15.5876C2.71578 15.4348 2.69754 15.2595 2.6028 15.1232C1.53754 13.6255 0.965933 11.8329 0.967611 9.99504C0.962259 5.00394 5.00399 0.953549 9.99509 0.948197C14.9861 0.942845 19.0366 4.98457 19.0419 9.97567C19.0473 14.9668 15.0056 19.0172 10.0145 19.0225Z' fill='%23F5B800'/%3E%3C/g%3E%3C/svg%3E");

	display: grid;
	gap: 0.625rem;
	margin-block: var(--space-block);
	padding: 0;
	list-style: none;
}

.tg-faq:first-child {
	margin-block-start: 0;
}

.tg-faq:has(+ .tg-faq__schema:last-child) {
	margin-block-end: 0;
}

.tg-faq__item {
	border: 1px solid var(--border-muted);
	border-radius: 0.75rem;
	background: var(--color-black-600);
	background-clip: padding-box;
	transition: border-color var(--transition-speed) ease;
}

.tg-faq__item:has(.tg-faq__toggle[aria-expanded="true"]:not([hidden])) {
	border-color: var(--color-yellow-500);
	background-image: var(--gradient-blue);
}

.tg-faq__heading {
	margin: 0;
	font: inherit;
}

.tg-faq__toggle:not([hidden]),
.tg-faq__heading > .tg-faq__question {
	display: grid;
	grid-template-columns: var(--faq-icon-size) minmax(0, 1fr) var(--faq-arrow-size);
	align-items: start;
	gap: 0.5rem;
	inline-size: 100%;
	padding: var(--faq-padding-block) var(--faq-padding-inline);
	color: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: start;
	overflow-wrap: anywhere;
}

.tg-faq__toggle {
	border: 0;
	border-radius: inherit;
	background: transparent;
	cursor: pointer;
}

.tg-faq__toggle::before,
.tg-faq__heading > .tg-faq__question::before {
	inline-size: var(--faq-icon-size);
	block-size: var(--faq-icon-size);
	background:
		url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' overflow='visible' width='6.1476' height='8.25433' viewBox='0 0 6.1476 8.25433' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Group'%3E%3Cpath id='Vector' d='M6.11903 2.62526C5.9089 1.09426 4.58308 -0.0351312 3.0382 0.000835362C1.36936 -0.00451654 0.0106584 1.34117 0 3.01001C0 3.2772 0.216615 3.49381 0.483802 3.49381C0.750989 3.49381 0.967605 3.2772 0.967605 3.01001C0.988967 1.86665 1.93317 0.957102 3.07657 0.978464C4.21997 0.999827 5.12948 1.94403 5.10811 3.08743C5.08702 4.21559 4.16659 5.11916 3.03824 5.11934C2.77106 5.11934 2.55444 5.33595 2.55444 5.60314V7.77053C2.55444 8.03771 2.77106 8.25433 3.03824 8.25433C3.30543 8.25433 3.52205 8.03771 3.52205 7.77053V6.04826C5.1844 5.82017 6.34712 4.28762 6.11903 2.62526Z' fill='%23F5B800'/%3E%3C/g%3E%3C/svg%3E") 50% 40.5% / 31% auto no-repeat,
		url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' overflow='visible' width='1.05904' height='1.05904' viewBox='0 0 1.05904 1.05904' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Group'%3E%3Cpath id='Vector' d='M0.529521 1.05904C0.821967 1.05904 1.05904 0.821967 1.05904 0.529521C1.05904 0.237075 0.821967 0 0.529521 0C0.237074 0 0 0.237075 0 0.529521C0 0.821967 0.237074 1.05904 0.529521 1.05904Z' fill='%23F5B800'/%3E%3C/g%3E%3C/svg%3E") 50% 75% / 5.3% auto no-repeat,
		var(--faq-bubble) center / contain no-repeat;
	content: "";
}

.tg-faq__toggle[aria-expanded="true"]::before {
	background:
		url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' overflow='visible' width='8.93276' height='11' viewBox='0 0 8.93276 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath id='Vector' d='M0.381376 10.9618C0.527564 11.0169 0.689679 11.0118 0.832062 10.9474C0.974445 10.8831 1.08543 10.7648 1.14061 10.6186L1.90681 8.58817H7.01906L7.79298 10.6201C7.82047 10.6925 7.86195 10.7587 7.91504 10.815C7.96814 10.8713 8.03181 10.9166 8.10243 10.9483C8.17304 10.98 8.24921 10.9975 8.32657 10.9998C8.40394 11.002 8.48099 10.989 8.55332 10.9614C8.62566 10.9339 8.69185 10.8924 8.74813 10.8392C8.8044 10.7861 8.84965 10.7224 8.88129 10.6517C8.91293 10.5811 8.93034 10.5049 8.93253 10.4275C8.93471 10.3502 8.92163 10.2731 8.89403 10.2008L5.20109 0.504801C5.1396 0.354333 5.03436 0.225783 4.899 0.135791C4.76364 0.0457987 4.60438 -0.00149306 4.44184 3.59379e-05C4.2793 0.00156493 4.12096 0.0518447 3.98731 0.144368C3.85367 0.23689 3.75087 0.367397 3.69222 0.518996L0.0380166 10.2023C0.0106607 10.2748 -0.00215708 10.3518 0.000295902 10.4292C0.00274888 10.5066 0.0204246 10.5827 0.0523126 10.6532C0.0842006 10.7237 0.129675 10.7873 0.186138 10.8402C0.242601 10.8932 0.308944 10.9345 0.381376 10.9618ZM4.45107 1.84583L6.57017 7.40963H2.35153L4.45107 1.84583Z' fill='%23F5B800'/%3E%3C/svg%3E") center / auto 55% no-repeat,
		var(--faq-bubble) center / contain no-repeat;
}

.tg-faq__toggle::after {
	inline-size: var(--faq-arrow-size);
	block-size: var(--faq-arrow-size);
	background: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' overflow='visible' width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath id='Arrow 3' d='M9 2C9 1.44771 8.55228 1 8 1C7.44772 1 7 1.44771 7 2H8H9ZM8 14H9V2H8H7L7 14H8ZM7.29289 14.7071C7.68342 15.0976 8.31658 15.0976 8.70711 14.7071L15.0711 8.34315C15.4616 7.95262 15.4616 7.31946 15.0711 6.92893C14.6805 6.53841 14.0474 6.53841 13.6569 6.92893L8 12.5858L2.34315 6.92893C1.95262 6.53841 1.31946 6.53841 0.928932 6.92893C0.538408 7.31946 0.538408 7.95262 0.928932 8.34315L7.29289 14.7071Z' fill='%23F5B800'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform var(--transition-speed) ease;
	content: "";
}

.tg-faq__toggle[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

.tg-faq__answer {
	padding: calc(var(--faq-answer-gap) - var(--faq-padding-block)) var(--faq-padding-inline) var(--faq-padding-block);
	font-weight: 500;
	line-height: 1.44;
	overflow-wrap: anywhere;
}

.tg-faq__answer > * + * {
	margin-block-start: calc(var(--space-text) - 0.125rem);
}

@media (min-width: 48em) {
	.tg-faq {
		--faq-padding-block: 1rem;
		--faq-padding-inline: 1.5rem;
		--faq-answer-gap: 1.5rem;
		--faq-icon-size: 1.25rem;
		--faq-arrow-size: 1rem;

		gap: 0.75rem;
	}

	.tg-faq__toggle:not([hidden]),
	.tg-faq__heading > .tg-faq__question {
		align-items: center;
		gap: 0.75rem;
		font-size: 1.125rem;
	}

	.tg-faq__answer {
		line-height: inherit;
	}
}
