/* ==========================================================================
   GF Faq widget
   ========================================================================== */

/* Header */
.gf-faq__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
	text-align: center;
}

.gf-faq__title {
	margin: 0;
	font-family: var(--gf-font-alt);
	font-size: 64px;
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: -1.28px;
	color: var(--gf-navy);
}

.gf-faq__subtitle {
	max-width: 940px;
	margin: 0;
	font-family: var(--gf-font-body);
	font-size: 18px;
	line-height: 1.43;
	letter-spacing: -.36px;
	color: #808080;
}

/* List */
.gf-faq__list {
	margin: 0 auto;
}

.gf-faq__item {
	border-bottom: 1px solid #dcdcdc;
}

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

.gf-faq__question,
.gf-faq__question:hover,
.gf-faq__question:focus {
	background: transparent;
	color: #151515;
}

.gf-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	width: 100%;
	padding: 30px 0;
	border: 0;
	border-radius: 0;
	font-family: var(--gf-font-body);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.43;
	letter-spacing: -.44px;
	text-align: left;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	transition: color .2s ease;
}

.gf-faq__question:hover,
.gf-faq__item.is-open .gf-faq__question {
	color: var(--gf-navy);
}

.gf-faq__question:focus-visible {
	outline: 2px solid var(--gf-navy);
	outline-offset: 4px;
}

/* Icon (rotates when open) */
.gf-faq__icon {
	--gf-faq-icon: 22px;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: var(--gf-faq-icon);
	height: var(--gf-faq-icon);
	margin-right: 14px;
	font-size: var(--gf-faq-icon);
	color: #000;
	transition: transform .3s ease;
}

.gf-faq__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.gf-faq__chevron {
	display: block;
	width: 60%;
	height: 60%;
	margin-top: -30%;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: rotate(45deg);
}

.gf-faq__item.is-open .gf-faq__icon {
	transform: rotate(180deg);
}

/* Answer (animated open/close) */
.gf-faq__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .35s ease;
}

.gf-faq__item.is-open .gf-faq__answer {
	grid-template-rows: 1fr;
}

.gf-faq__answer-clip {
	min-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: visibility .35s;
}

.gf-faq__item.is-open .gf-faq__answer-clip {
	visibility: visible;
}

.gf-faq__answer-inner {
	padding: 4px 70px 60px 0;
	font-family: var(--gf-font-body);
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -.36px;
	color: #808080;
}

.gf-faq__answer-inner p {
	margin: 0 0 1em;
}

.gf-faq__answer-inner > :last-child {
	margin-bottom: 0;
}

.gf-faq__answer-inner a {
	color: var(--gf-navy);
}

/* Responsive */
@media (max-width: 1440px) {
	.gf-faq__title {
		font-size: 56px;
	}

	.gf-faq__question {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.gf-faq__head {
		margin-bottom: 24px;
	}

	.gf-faq__title {
		font-size: 36px;
		letter-spacing: -.72px;
	}

	.gf-faq__subtitle {
		font-size: 15px;
	}

	.gf-faq__subtitle br {
		display: none;
	}

	.gf-faq__question {
		gap: 16px;
		padding: 20px 0;
		font-size: 17px;
	}

	.gf-faq__icon {
		--gf-faq-icon: 18px;
		margin-right: 4px;
	}

	.gf-faq__answer-inner {
		padding: 0 0 28px;
		font-size: 15px;
	}
}
