/* MAKA FAQ Accordion */
.maka-faq-wrap {
	width: 100%;
}

.maka-faq-item {
	margin: 0 0 var(--maka-faq-gap) 0;
	border: 1px solid var(--maka-faq-border);
	border-radius: var(--maka-faq-radius);
	background: var(--maka-faq-bg);
	overflow: hidden;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.maka-faq-item:last-child {
	margin-bottom: 0;
}

.maka-faq-item[open] {
	background: var(--maka-faq-open-bg);
	border-color: var(--maka-faq-accent);
	box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.maka-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: var(--maka-faq-q-py) var(--maka-faq-q-px);
	cursor: pointer;
	list-style: none;
	color: var(--maka-faq-q-color);
	font-size: var(--maka-faq-q-size);
	font-weight: var(--maka-faq-weight);
	line-height: 1.35;
	-webkit-tap-highlight-color: transparent;
}

.maka-faq-question::-webkit-details-marker {
	display: none;
}

.maka-faq-question::marker {
	display: none;
	content: "";
}

.maka-faq-question:hover .maka-faq-question-text {
	color: var(--maka-faq-accent);
}

.maka-faq-question:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--maka-faq-accent) 32%, transparent);
	outline-offset: -3px;
}

.maka-faq-question-text {
	flex: 1 1 auto;
	transition: color .2s ease;
}

.maka-faq-icon {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}

.maka-faq-icon::before,
.maka-faq-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: var(--maka-faq-icon);
	border-radius: 999px;
	transform: translate(-50%, -50%);
	transition: transform .2s ease, opacity .2s ease;
}

.maka-faq-icon::before {
	width: 16px;
	height: 2px;
}

.maka-faq-icon::after {
	width: 2px;
	height: 16px;
}

.maka-faq-item[open] .maka-faq-icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg);
}

.maka-faq-answer {
	padding: 0 var(--maka-faq-a-px) var(--maka-faq-a-pb);
	color: var(--maka-faq-a-color);
	font-size: var(--maka-faq-a-size);
	line-height: 1.65;
}

.maka-faq-answer-inner {
	border-top: 1px solid color-mix(in srgb, var(--maka-faq-border) 78%, transparent);
	padding-top: 16px;
}

.maka-faq-answer p:first-child {
	margin-top: 0;
}

.maka-faq-answer p:last-child,
.maka-faq-answer ul:last-child,
.maka-faq-answer ol:last-child {
	margin-bottom: 0;
}

.maka-faq-answer a {
	color: var(--maka-faq-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.maka-faq-empty {
	padding: 14px 18px;
	border: 1px dashed #ccd4cc;
	border-radius: 10px;
	background: #fafcfa;
	color: #667085;
}

@media (max-width: 767px) {
	.maka-faq-question {
		gap: 16px;
	}

	.maka-faq-icon {
		flex-basis: 20px;
		width: 20px;
		height: 20px;
	}
}
