/* BS Homepage FAQ Widget */

.bs-faq {
	width: 100%;
}

.bs-faq__heading {
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	font-weight: 700;
	color: #0d2a4a;
	margin-top: 0;
	margin-bottom: 1.75rem;
	line-height: 1.2;
}

/* List */

.bs-faq__item {
	border-bottom: 2px solid var(--rbb-general-primary-color, rgba(13, 42, 74, 0.15));
}

/* Question button */
.bs-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.125rem 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: #0d2a4a;
	transition: opacity 0.2s ease;
}

.bs-faq__question:hover {
	opacity: 0.75;
}

.bs-faq__question:focus-visible {
	outline: 2px solid #0d2a4a;
	outline-offset: 2px;
}

.bs-faq__question-text {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	flex: 1;
}

/* Icon — circle with + / − */
.bs-faq__icon {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
}

.bs-faq__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Vertical bar fades/scales out when open, leaving only the horizontal "−" */
.bs-faq__icon-v {
	transform-origin: center;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.bs-faq__item.is-open .bs-faq__icon-v {
	transform: scaleY(0);
	opacity: 0;
}

/* Answer */
.bs-faq__answer {
	height: 0;
	overflow: hidden;
	transition: height 0.35s ease;
}

.bs-faq__answer-body {
	padding-bottom: 1.25rem;
	color: #3a3a3a;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.bs-faq__answer-body > :first-child {
	margin-top: 0;
}

.bs-faq__answer-body > :last-child {
	margin-bottom: 0;
}

/* Button */
.bs-faq__footer {
	margin-top: 2rem;
}

.bs-faq__button {
	display: inline-block;
	padding: 0.8125rem 2.25rem;
	color: #ffffff;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 999px;
	transition: background-color 0.2s ease;
	line-height: 1;
	text-decoration-line: none !important;
}

.bs-faq__button:hover,
.bs-faq__button:focus {
	color: #ffffff;
	text-decoration: none;
	text-decoration-line: none;
}
