.kma-faq {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.kma-faq__item {
	margin: 0;
	border-style: solid;
	border-color: #d9dee8;
	border-width: 1px;
	overflow: clip;
	background: #fff;
}

.kma-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	margin: 0;
	padding: 18px 20px;
	cursor: pointer;
	list-style: none;
	text-align: start;
	user-select: none;
}

.kma-faq__summary::-webkit-details-marker {
	display: none;
}

.kma-faq__summary::marker {
	content: '';
}

.kma-faq__question {
	flex: 1 1 auto;
	font-weight: 700;
	line-height: 1.45;
}

.kma-faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.kma-faq__icon::before,
.kma-faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 180ms ease, opacity 180ms ease;
}

.kma-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.kma-faq__item[open] .kma-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
	opacity: 0;
}

.kma-faq__content {
	text-align: start;
}

.kma-faq__content-inner {
	padding: 18px 20px;
}

.kma-faq__content-inner > :first-child {
	margin-top: 0;
}

.kma-faq__content-inner > :last-child {
	margin-bottom: 0;
}

.kma-faq__item[open] .kma-faq__content {
	animation: kma-faq-reveal 180ms ease both;
}

.kma-faq__summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}

.kma-faq__empty {
	padding: 16px;
	border: 1px dashed #c6ccd6;
	background: #f7f8fa;
	color: #4f5f73;
	text-align: center;
}

@keyframes kma-faq-reveal {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.kma-faq__icon::before,
	.kma-faq__icon::after,
	.kma-faq__item[open] .kma-faq__content {
		transition: none;
		animation: none;
	}
}
