/* ==========================================================================
   KKK page (/kkk). Loaded after css/blog.css on the KKK template only.
   ========================================================================== */

/* Category pills under the hero */
.faq--nav {
	padding-top: 48px;
}
.faq--nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.faq--nav a {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 20px;
	border: 1px solid var(--up-line);
	border-radius: 65px;
	font-weight: 500;
	transition: border-color .2s ease, color .2s ease;
}
.faq--nav a:hover {
	border-color: var(--up-accent);
	color: var(--up-accent);
}

/* Groups: sticky heading left, accordion right */
.faq--group {
	padding-top: 112px;
}
.faq--group + .faq--group {
	margin-top: 112px;
	border-top: 1px solid var(--up-line);
}
.faq--group-sticky {
	position: sticky;
	top: 130px;
	padding-right: 48px;
}
.faq--group-head h2 {
	line-height: 48px;
	margin-bottom: 16px;
}
.faq--links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-size: 14px;
	line-height: 22px;
}
.faq--links a {
	color: var(--up-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .2s ease;
}
.faq--links a:hover {
	color: var(--up-accent);
}

/* Accordion rows (same rhythm as the services accordion) */
.faq-item {
	border-bottom: 1px solid var(--up-line);
}
.faq-item:first-child {
	border-top: 1px solid var(--up-line);
}
.faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
}
.faq-item summary::-webkit-details-marker {
	display: none;
}
.faq-item summary:focus-visible {
	outline: 1px solid var(--up-accent);
	outline-offset: 4px;
}
.faq-item summary h3 {
	font-size: 22px;
	line-height: 32px;
	font-weight: 700;
	margin: 0;
	transition: color .2s ease;
}
.faq-item summary:hover h3,
.faq-item[open] summary h3 {
	color: var(--up-accent);
}
.faq-item__icon {
	position: relative;
	flex: 0 0 auto;
	width: 24px;
	height: 32px;
	margin-right: 10px;
}
.faq-item__icon::before,
.faq-item__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform .3s ease, opacity .3s ease;
}
.faq-item__icon::before {
	width: 14px;
	height: 1.5px;
}
.faq-item__icon::after {
	width: 1.5px;
	height: 14px;
}
.faq-item[open] .faq-item__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}
.faq-item__answer {
	padding: 0 60px 32px 0;
	font-size: 16px;
	line-height: 30px;
	font-weight: 400;
}
.faq-item__answer p {
	margin: 0 0 16px;
}
.faq-item__answer > :last-child {
	margin-bottom: 0;
}
.faq-item__answer a {
	color: var(--up-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.faq-item__answer a:hover {
	color: #fff;
}
.faq-item__answer ul,
.faq-item__answer ol {
	margin: 0 0 16px;
	padding-left: 20px;
}
.faq-item__answer ul {
	list-style: disc;
}
.faq-item__answer ol {
	list-style: decimal;
}
.faq-item__answer li {
	list-style: inherit;
	margin-bottom: 6px;
}
.faq-item__answer li::marker {
	color: var(--up-accent);
}
.faq-item__answer strong {
	font-weight: 700;
}

/* Closing CTA: links inside the text */
.faq--cta {
	margin-top: 140px;
}
.faq--cta .desc p {
	margin: 0;
}
.faq--cta .desc a {
	color: var(--up-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.faq--cta .desc a:hover {
	color: #fff;
}

@media screen and (max-width: 990px) {
	.faq--nav {
		padding-top: 32px;
	}
	.faq--nav a {
		height: 40px;
		padding: 0 16px;
		font-size: 14px;
	}
	.faq--group {
		padding-top: 64px;
	}
	.faq--group + .faq--group {
		margin-top: 64px;
	}
	.faq--group-sticky {
		position: static;
		padding-right: 0;
		margin-bottom: 24px;
	}
	.faq--group-head h2 {
		line-height: 40px;
		margin-bottom: 8px;
	}
	.faq-item summary {
		padding: 20px 0;
		gap: 16px;
	}
	.faq-item summary h3 {
		font-size: 18px;
		line-height: 26px;
	}
	.faq-item__icon {
		height: 26px;
		margin-right: 0;
	}
	.faq-item__answer {
		padding: 0 0 24px;
		font-size: 16px;
		line-height: 28px;
	}
	.faq--cta {
		margin-top: 96px;
	}
}
