.wd-soma-schema-pro-faq-mount[hidden] {
	display: none !important;
}

.wd-soma-schema-pro-faq {
	--wd-soma-faq-ink: #081a2e;
	--wd-soma-faq-accent: #ff6b5a;
	--wd-soma-faq-soft: #f7f3ec;
	--wd-soma-faq-line: #b9c2cc;
	margin-top: 34px;
	margin-bottom: 8px;
	direction: rtl;
	text-align: right;
}

.wd-soma-schema-pro-faq__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.wd-soma-schema-pro-faq__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--wd-soma-faq-accent);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 8px 22px rgba(255, 107, 90, .22);
}

.wd-soma-schema-pro-faq__title {
	margin: 0 !important;
	color: var(--wd-soma-faq-ink) !important;
	font-size: clamp(20px, 2.1vw, 26px) !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
}

.wd-soma-schema-pro-faq__list {
	display: grid;
	gap: 10px;
}

.wd-soma-schema-pro-faq__item {
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(185, 194, 204, .68);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(8, 26, 46, .055);
	transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.wd-soma-schema-pro-faq__item[open] {
	border-color: rgba(255, 107, 90, .62);
	box-shadow: 0 10px 30px rgba(8, 26, 46, .075);
}

.wd-soma-schema-pro-faq__question {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 60px;
	margin: 0;
	padding: 16px 54px 16px 18px;
	background: linear-gradient(135deg, rgba(247, 243, 236, .88), rgba(255, 255, 255, .98));
	color: var(--wd-soma-faq-ink);
	font-size: 15px;
	font-weight: 750;
	line-height: 1.9;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.wd-soma-schema-pro-faq__question::-webkit-details-marker {
	display: none;
}

.wd-soma-schema-pro-faq__question::before,
.wd-soma-schema-pro-faq__question::after {
	position: absolute;
	right: 19px;
	top: 50%;
	width: 15px;
	height: 2px;
	border-radius: 99px;
	background: var(--wd-soma-faq-accent);
	content: "";
	transform: translateY(-50%);
	transition: transform .2s ease, opacity .2s ease;
}

.wd-soma-schema-pro-faq__question::after {
	transform: translateY(-50%) rotate(90deg);
}

.wd-soma-schema-pro-faq__item[open] > .wd-soma-schema-pro-faq__question::after {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}

.wd-soma-schema-pro-faq__question:focus-visible {
	outline: 3px solid rgba(255, 107, 90, .24);
	outline-offset: -3px;
}

.wd-soma-schema-pro-faq__answer {
	padding: 17px 20px 19px;
	border-top: 1px solid rgba(185, 194, 204, .38);
	background: #fff;
	color: #425064;
	font-size: 14px;
	line-height: 2;
}

.wd-soma-schema-pro-faq__answer > :last-child {
	margin-bottom: 0;
}

.wd-soma-schema-pro-faq__answer a {
	color: var(--wd-soma-faq-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* If the native Schema Pro FAQ block is already visible, keep it as the
   source UI and only normalize one-open-at-a-time behavior in JavaScript. */
.wd-soma-schema-pro-faq-native {
	max-width: 100%;
}

@media (max-width: 767px) {
	.wd-soma-schema-pro-faq {
		margin-top: 28px;
	}

	.wd-soma-schema-pro-faq__head {
		gap: 10px;
		margin-bottom: 13px;
	}

	.wd-soma-schema-pro-faq__mark {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
		border-radius: 10px;
		font-size: 18px;
	}

	.wd-soma-schema-pro-faq__title {
		font-size: 20px !important;
	}

	.wd-soma-schema-pro-faq__list {
		gap: 8px;
	}

	.wd-soma-schema-pro-faq__item {
		border-radius: 14px;
	}

	.wd-soma-schema-pro-faq__question {
		min-height: 56px;
		padding: 14px 48px 14px 14px;
		font-size: 14px;
		line-height: 1.85;
	}

	.wd-soma-schema-pro-faq__question::before,
	.wd-soma-schema-pro-faq__question::after {
		right: 17px;
		width: 14px;
	}

	.wd-soma-schema-pro-faq__answer {
		padding: 15px 16px 17px;
		font-size: 13.5px;
		line-height: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wd-soma-schema-pro-faq__item,
	.wd-soma-schema-pro-faq__question::before,
	.wd-soma-schema-pro-faq__question::after {
		transition: none;
	}
}
