/* FAQ page. */

body.faq-page {
	background: #ffffff;
}

body.faq-page .site {
	padding-top: var(--hero-inset);
}

body.faq-page .site-main--faq {
	padding-block: 0;
}

body.faq-page .site-header {
	background-color: transparent;
}

body.faq-page .site-header.is-scrolled {
	background-color: rgb(1 19 37 / 0.92);
	backdrop-filter: blur(12px);
}

body.faq-page.has-mobile-nav-open .site-header {
	background-color: var(--color-navy);
}

.faq-hero {
	position: relative;
	width: calc(100% - (var(--hero-inset) * 2));
	margin-top: calc(var(--header-height) * -1);
	margin-inline: auto;
	min-height: 30.75rem;
	overflow: hidden;
	border-radius: 1.5rem;
	color: #f5f5f5;
	background: #011325;
}

.faq-hero__media {
	position: absolute;
	inset: 0;
}

.faq-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.faq-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(88deg, rgb(0 0 0 / 0.58) 23.45%, rgb(0 0 0 / 0.116) 74.71%);
}

.faq-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	min-height: 30.75rem;
	padding-top: 9.125rem;
	padding-bottom: 3.25rem;
}

.faq-hero__title {
	margin: 0 0 1.5rem;
	color: #f5f5f5;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 4.5vw, 4.0625rem);
	font-weight: 600;
	line-height: 1.062;
}

.faq-hero__title span {
	color: #0fdf84;
}

.faq-hero__lede {
	max-width: 37.7rem;
	margin: 0 0 1.55rem;
	color: rgb(255 255 255 / 0.93);
	font-size: 1rem;
	line-height: 1.547;
}

.faq-hero__search {
	display: flex;
	width: min(100%, 28.1875rem);
	overflow: hidden;
	border-radius: 0.75rem;
	background: #ffffff;
}

.faq-hero__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 1rem 1.25rem;
	color: #1c1b1b;
	background: transparent;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.34;
}

.faq-hero__search input::placeholder {
	color: #1c1b1b;
	opacity: 1;
}

.faq-hero__search input:focus {
	outline: none;
}

.faq-hero__search button {
	display: grid;
	flex: none;
	place-items: center;
	width: 3.375rem;
	border: 0;
	background: #0d8651;
	cursor: pointer;
}

.faq-board {
	padding: 5.625rem 0 5rem;
}

.faq-board__layout {
	display: grid;
	gap: 1.5rem;
}

.faq-nav {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.6875rem 1.625rem;
	border: 2px solid #eeeeee;
	border-radius: 1rem;
	background: #ffffff;
}

.faq-nav__item {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	width: 100%;
	padding: 1.25rem;
	border: 0;
	border-radius: 0.75rem;
	color: #1c1b1b;
	background: transparent;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.03rem;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}

.faq-nav__item img {
	flex: none;
}

.faq-nav__item.is-active {
	color: #0d8651;
	background: rgb(13 134 81 / 0.12);
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.faq-item {
	border: 2px solid #eeeeee;
	border-radius: 1rem;
	background: #ffffff;
}

.faq-item[hidden] {
	display: none;
}

.faq-item summary {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 1.6875rem;
	list-style: none;
	cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item__question {
	flex: 1;
	color: #010101;
	font-family: "Space Grotesk", var(--font-display), sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
}

.faq-item__icon {
	position: relative;
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
}

.faq-item__icon img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.faq-item__minus {
	display: none;
}

.faq-item[open] .faq-item__plus {
	display: none;
}

.faq-item[open] .faq-item__minus {
	display: block;
}

.faq-item__answer {
	margin: -0.4rem 0 0;
	padding: 0 3.5rem 1.6875rem 1.6875rem;
	color: rgb(1 1 1 / 0.6);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.446;
}

.faq-empty {
	margin: 0;
	color: rgb(1 1 1 / 0.6);
	font-size: 1rem;
}

.faq-empty[hidden] {
	display: none;
}

body.faq-page .home-cta__title {
	max-width: 45.8rem;
}

body.faq-page .home-cta__copy {
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.5;
}

@media (min-width: 64rem) {
	.faq-board__layout {
		grid-template-columns: 27.625rem minmax(0, 1fr);
		gap: 3rem;
		align-items: start;
	}

	body.faq-page .home-cta__inner {
		align-items: flex-start;
	}
}
