.dki-faq {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.dki-faq__heading {
	margin-bottom: 1.5rem;
}

.dki-faq__item {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	margin-bottom: 8px;
	overflow: hidden;
}

.dki-faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-size: inherit;
	font-weight: 600;
	color: inherit;
	transition: background-color 0.15s ease;
}

.dki-faq__question:hover {
	background-color: rgba(0, 0, 0, 0.03);
}

.dki-faq__question-text {
	flex: 1;
}

.dki-faq__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	transition: transform 0.25s ease;
}

.dki-faq__icon svg {
	width: 100%;
	height: 100%;
}

/* Plus icon bars */
.dki-faq__icon-bar {
	display: block;
	position: absolute;
	background: currentColor;
	border-radius: 2px;
}

.dki-faq__icon {
	position: relative;
}

.dki-faq__icon-bar--h {
	width: 14px;
	height: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.dki-faq__icon-bar--v {
	width: 2px;
	height: 14px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Open state — chevron rotates, plus collapses vertical bar */
.dki-faq__item--open .dki-faq__icon svg {
	transform: rotate(180deg);
}

.dki-faq__item--open .dki-faq__icon-bar--v {
	transform: translate(-50%, -50%) scaleY(0);
	opacity: 0;
}

/* Answer body */
.dki-faq__body {
	overflow: hidden;
}

.dki-faq__body[hidden] {
	display: none;
}

.dki-faq__answer {
	padding: 0 1.25rem 1.25rem;
	color: inherit;
}

.dki-faq__answer p:last-child {
	margin-bottom: 0;
}

/* Editor placeholder */
.dki-faq--empty {
	color: #999;
	font-style: italic;
	padding: 1rem;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

@media (max-width: 767px) {
	.dki-faq__question {
		padding: 0.875rem 1rem;
	}

	.dki-faq__answer {
		padding: 0 1rem 1rem;
	}
}
