/* WeTheme FAQ Accordion Widget */
.wetheme-faq {
	width: 100%;
	direction: rtl;
	text-align: right;
}

.wtf-header {
	margin-bottom: 32px;
}

.wtf-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	color: #35425a;
}

.wtf-subtitle {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	color: #8a8a8a;
}

.wtf-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wtf-item {
	background-color: #f5f5f5;
	border: 1px solid transparent;
	border-radius: 16px;
	overflow: hidden;
	transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.wtf-item.wtf-item--open {
	background-color: #fff;
	border-color: #ebebeb;
}

.wtf-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 20px 24px;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: right;
	font: inherit;
	color: inherit;
}

.wtf-trigger:focus-visible {
	outline: 2px solid #35425a;
	outline-offset: 2px;
}

.wtf-question {
	flex: 1;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	color: #35425a;
}

.wtf-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: #35425a;
	user-select: none;
}

.wtf-icon::before {
	content: "+";
}

.wtf-item--open .wtf-icon::before {
	content: "\2212";
}

.wtf-panel {
	overflow: hidden;
	transition: height 0.3s ease;
}

.wtf-panel[hidden] {
	display: block;
	height: 0 !important;
	visibility: hidden;
}

.wtf-panel-inner {
	padding: 0 24px 20px;
}

.wtf-answer {
	margin: 0;
	padding-top: 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.85;
	color: #777;
}

@media (max-width: 767px) {
	.wtf-title {
		font-size: 22px;
	}

	.wtf-subtitle {
		font-size: 14px;
	}

	.wtf-trigger {
		padding: 16px 18px;
	}

	.wtf-panel-inner {
		padding: 0 18px 16px;
	}

	.wtf-question {
		font-size: 15px;
	}
}
