.briefbeam-post-faq-widget {
	display: block;
	background: transparent;
}

.briefbeam-post-faq-title {
	margin: 0 0 18px;
	color: #1f1f26;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 700;
}

.briefbeam-post-faq-item {
	margin: 0 0 12px;
	border: 1px solid #d5d7db;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 3px 12px rgba(18, 25, 38, 0.06);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.briefbeam-post-faq-item[open] {
	border-color: #c9b9f7;
	box-shadow: 0 8px 22px rgba(90, 55, 170, 0.12);
}

.briefbeam-post-faq-item:last-child {
	margin-bottom: 0;
}

.briefbeam-post-faq-question {
	padding: 16px 18px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #faf8ff;
	color: #2d1a63;
}

.briefbeam-post-faq-question-text {
	flex: 1 1 auto;
}

.briefbeam-post-faq-question::-webkit-details-marker {
	display: none;
}

.briefbeam-post-faq-question:focus-visible {
	outline: 2px solid rgba(93, 57, 168, 0.35);
	outline-offset: -2px;
}

.briefbeam-post-faq-toggle-icon {
	width: 18px;
	height: 18px;
	position: relative;
	flex: 0 0 auto;
	color: #5d39a8;
}

.briefbeam-post-faq-toggle-icon::before,
.briefbeam-post-faq-toggle-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
	border-radius: 999px;
}

.briefbeam-post-faq-toggle-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.briefbeam-post-faq-item[open] .briefbeam-post-faq-toggle-icon::after {
	transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.briefbeam-post-faq-answer {
	padding: 0 18px 16px;
	color: #393943;
	background: #ffffff;
	line-height: 1.65;
}

.briefbeam-post-faq-answer > :first-child {
	margin-top: 0;
}

.briefbeam-post-faq-answer > :last-child {
	margin-bottom: 0;
}

.briefbeam-post-faq-empty {
	margin: 0;
	padding: 12px 14px;
	background: #f8f9fa;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

@media (max-width: 767px) {
	.briefbeam-post-faq-title {
		font-size: 26px;
	}

	.briefbeam-post-faq-question {
		padding: 14px 15px;
	}

	.briefbeam-post-faq-answer {
		padding: 0 15px 14px;
	}
}
