/* FAQ page */

.bsmarty-faq-page {
	background: #fafafa;
	color: #171717;
}

.bsmarty-faq-page__inner {
	padding-bottom: 3rem;
}

.bsmarty-faq-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	color: #737373;
}

.bsmarty-faq-breadcrumb__list a {
	color: #525252;
	text-decoration: none;
}

.bsmarty-faq-breadcrumb__list a:hover {
	color: var(--bsmarty-blue, #2563eb);
}

.bsmarty-faq-breadcrumb__list li + li::before {
	content: '/';
	margin-right: 0.5rem;
	color: #a3a3a3;
}

.bsmarty-faq-page__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	color: #171717;
}

.bsmarty-faq-page__updated {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	color: #737373;
}

.bsmarty-faq-page__lead {
	margin: 0 0 2rem;
	font-size: 1rem;
	line-height: 1.65;
	color: #404040;
}

.bsmarty-faq-page__sections {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.bsmarty-faq-section__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.875rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: #171717;
}

.bsmarty-faq-section__emoji {
	font-size: 1.25rem;
	line-height: 1;
}

.bsmarty-faq-section__items {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.bsmarty-faq-item {
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 1rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 247, 255, 0.62));
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	backdrop-filter: blur(18px) saturate(145%);
	box-shadow:
		0 12px 32px rgba(37, 99, 235, 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 0.88);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bsmarty-faq-item:hover {
	border-color: rgba(147, 168, 255, 0.52);
	box-shadow:
		0 16px 38px rgba(37, 99, 235, 0.11),
		inset 0 1px 0 rgba(255, 255, 255, 0.94);
	transform: translateY(-2px);
}

.bsmarty-faq-item[open] {
	border-color: rgba(37, 99, 235, 0.36);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 242, 255, 0.74));
	box-shadow:
		0 18px 42px rgba(37, 99, 235, 0.13),
		inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.bsmarty-faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.125rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.45;
	color: #171717;
	cursor: pointer;
	list-style: none;
}

.bsmarty-faq-item__question::-webkit-details-marker {
	display: none;
}

.bsmarty-faq-item__question::after {
	content: '+';
	flex: 0 0 auto;
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--bsmarty-blue, #2563eb);
}

.bsmarty-faq-item[open] .bsmarty-faq-item__question::after {
	content: '−';
}

.bsmarty-faq-item__answer {
	padding: 0 1.125rem 1rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #404040;
}

.bsmarty-faq-item__answer a {
	color: var(--bsmarty-blue, #2563eb);
	text-decoration: none;
}

.bsmarty-faq-item__answer a:hover {
	text-decoration: underline;
}

@supports not (backdrop-filter: blur(1px)) {
	.bsmarty-faq-item {
		background: #fff;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bsmarty-faq-item {
		transition: none;
	}

	.bsmarty-faq-item:hover {
		transform: none;
	}
}
