/*** INDEX ***\

= HEADER
= ACCORDION
= ICON (+ / x)
= ANSWER
= RESPONSIVE

\*** END INDEX ***/

.faq {
	margin: 80px auto;
}

/*
//======================================================================
// HEADER
//======================================================================
*/

.faq__header {
	text-align: center;
	margin-bottom: 50px;
}

.faq__title {
	margin: 0 0 20px;
	font-size: 3.125em;
	font-size: var(--font50px, 3.125em);
	font-weight: 700;
	font-weight: var(--fw700, 700);
	color: var(--black2, #161414);
}

.faq__subtitle {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.25em;
	font-size: var(--font20px, 1.25em);
	line-height: 1.6;
	color: #626469;
}

.faq__subtitle p {
	margin: 0 0 10px;
}

.faq__subtitle p:last-child {
	margin-bottom: 0;
}

/*
//======================================================================
// ACCORDION
//======================================================================
*/

.faq__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #ededed;
}

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

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin: 0;
	padding: 28px 0;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: inherit;
	font-family: inherit;
	font-size: 1.563em;
	font-size: var(--font25px, 1.563em);
	font-weight: 700;
	font-weight: var(--fw700, 700);
	color: var(--black2, #161414);
	transition: color .25s ease;
}

.faq__question:hover,
.faq__item.is-open .faq__question {
	color: #81c155;
}

.faq__q-text {
	flex: 1 1 auto;
}

/*
//======================================================================
// ICON (+ / x)
//======================================================================
*/

.faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	color: #2f2d2d;
	transition: color .25s ease;
}

.faq__item.is-open .faq__icon {
	color: #81c155;
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform .3s ease;
}

.faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

/* open state: rotate the two bars into an "x" */
.faq__item.is-open .faq__icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.faq__item.is-open .faq__icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/*
//======================================================================
// ANSWER (class-driven open/close animation)
//======================================================================
*/

.faq__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .3s ease;
}

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

.faq__answer-inner {
	overflow: hidden;
	min-height: 0;
	padding-bottom: 28px;
	font-size: 1.25em;
	font-size: var(--font20px, 1.25em);
	line-height: 1.7;
	color: #626469;
}

.faq__answer-inner > :first-child {
	margin-top: 0;
}

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

.faq__answer-inner a {
	color: var(--green, #c0ea6a);
	text-decoration: underline;
}

/*
//======================================================================
// RESPONSIVE
//======================================================================
*/

@media (max-width: 1100px) {
	.container-1074 {
		width: 90%;
	}
}

@media (max-width: 767px) {
	.faq {
		margin: 50px auto;
	}

	.faq__header {
		margin-bottom: 34px;
	}

	.faq__title {
		font-size: 2.5em;
	}

	.faq__subtitle {
		font-size: 1.125em;
	}

	.faq__question {
		gap: 14px;
		padding: 20px 0;
		font-size: 1.25em;
	}

	.faq__answer-inner {
		padding-bottom: 20px;
		font-size: 1.063em;
	}
}
