.faqs {
	background: var(--color-pearl);
}

.faqs__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.faqs__list {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 48rem;
}

.faqs__item {
	border-bottom: 1px solid rgba(11, 95, 129, 0.16);
}

.faqs__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.15rem 0;
	border: 0;
	background: transparent;
	color: var(--color-ocean);
	font-family: var(--font-family-serif);
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.faqs__question-text {
	flex: 1 1 auto;
}

.faqs__icon {
	display: block;
	width: 0.5rem;
	height: auto;
	flex: 0 0 auto;
	transform: rotate(90deg);
	transition: transform 0.25s ease;
}

.faqs__question[aria-expanded="true"] .faqs__icon {
	transform: rotate(-90deg);
}

.faqs__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s ease;
}

.faqs__item.is-open .faqs__answer {
	grid-template-rows: 1fr;
}

.faqs__answer-inner {
	overflow: hidden;
	min-height: 0;
}

.faqs__answer-inner .section-text {
	padding-bottom: 1.15rem;
	opacity: 0;
	transform: translateY(-0.35rem);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.faqs__item.is-open .faqs__answer-inner .section-text {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.faqs__icon,
	.faqs__answer,
	.faqs__answer-inner .section-text {
		transition: none;
	}
}

@media (min-width: 992px) {
	.faqs__inner {
		gap: 3rem;
	}

	.faqs__question {
		padding: 1.35rem 0;
	}
}
