@charset "UTF-8";

.faq-page {
	background: #fff;
}

.faq-page-width {
	width: min(100% - 40px, 1120px);
	margin-inline: auto;
}

.faq-hero {
	padding: 72px 0 64px;
	text-align: center;
	background:
		linear-gradient(135deg, rgba(11, 44, 103, 0.98), rgba(24, 70, 146, 0.94)),
		#0b2c67;
	color: #fff;
}

.faq-hero__eyebrow {
	margin: 0 0 12px;
	color: #f3ba37;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.faq-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.35;
	letter-spacing: 0.04em;
}

.faq-hero__lead {
	margin: 20px 0 0;
	font-size: 16px;
	line-height: 1.8;
}

.faq-content {
	padding-top: 48px;
	padding-bottom: 88px;
}

.faq-category-nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 64px;
}

.faq-category-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 10px 14px;
	border: 1px solid #cbd5e4;
	border-radius: 4px;
	background: #fff;
	color: #0b2c67;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-category-nav a::after {
	content: "↓";
	margin-left: 8px;
	color: #41669f;
	font-weight: 400;
}

.faq-category-nav a:hover,
.faq-category-nav a:focus-visible {
	border-color: #0b2c67;
	background: #f3f7fc;
	text-decoration: none;
}

.faq-category {
	scroll-margin-top: 24px;
}

.faq-category + .faq-category {
	margin-top: 72px;
}

.faq-category__title {
	margin: 0 0 20px;
	padding: 0 0 14px 18px;
	border-bottom: 2px solid #0b2c67;
	color: #0b2c67;
	font-size: clamp(22px, 3vw, 28px);
	line-height: 1.4;
	position: relative;
}

.faq-category__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.22em;
	width: 5px;
	height: 1em;
	border-radius: 2px;
	background: #f3ba37;
}

.faq-list {
	border-top: 1px solid #dce2ea;
}

.faq-item {
	border-bottom: 1px solid #dce2ea;
	background: #fff;
}

.faq-item summary {
	position: relative;
	padding: 22px 64px 22px 24px;
	color: #2d3440;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.7;
	list-style: none;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

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

.faq-item summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 24px;
	display: grid;
	width: 28px;
	height: 28px;
	transform: translateY(-50%);
	place-items: center;
	color: #0b2c67;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
}

.faq-item[open] summary {
	background: #f5f8fc;
	color: #0b2c67;
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-item summary:hover {
	background: #f8fafc;
	color: #0b2c67;
}

.faq-item summary:focus-visible {
	outline: 3px solid #f3ba37;
	outline-offset: -3px;
}

.faq-answer {
	padding: 24px;
	border-top: 1px solid #e7ebf1;
	background: #fbfcfe;
	color: #333;
	font-size: 16px;
	line-height: 1.9;
}

.faq-answer p {
	margin: 0;
}

.faq-answer p + p {
	margin-top: 12px;
}

@media screen and (max-width: 749px) {
	.faq-page-width {
		width: min(100% - 32px, 1120px);
	}

	.faq-hero {
		padding: 48px 0 42px;
	}

	.faq-hero__lead {
		font-size: 14px;
	}

	.faq-content {
		padding-top: 32px;
		padding-bottom: 64px;
	}

	.faq-category-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 48px;
	}

	.faq-category-nav a {
		min-height: 60px;
		font-size: 13px;
	}

	.faq-category + .faq-category {
		margin-top: 56px;
	}

	.faq-item summary {
		padding: 18px 52px 18px 16px;
		font-size: 15px;
	}

	.faq-item summary::after {
		right: 14px;
	}

	.faq-answer {
		padding: 20px 16px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.faq-category-nav a,
	.faq-item summary {
		transition: none;
	}
}
