/* ==========================================================================
   B24 FAQ Block — frontend styles
   ========================================================================== */

.b24-faq {
	border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #e8f4ee;
    margin-top: 30px;
	margin-bottom: 0px;
    margin-right: 0;
    margin-left: 0;
    padding-top: 34px;
}

.b24-faq__header {
	font-size: 34px;
    line-height: 1.2;
	margin-bottom: 0;
	padding-right: 48px;
    padding-left: 48px;
	padding-bottom: 43px;
}

/* Item list */

.b24-faq__items {
	background-color: #f3f9f6;
}

.b24-faq__item {
	border-bottom: 1px solid #e2e2e2;
}

/* Question / toggle button */

.b24-faq__question {
	margin: 0;
}

.b24-faq__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

.b24-faq__toggle:hover {
	color: #1a73e8;
}

.b24-faq__toggle:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
	border-radius: 2px;
}

.b24-faq__question-text {
	flex: 1 1 auto;
	color: #000;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 32px;
}

/* Chevron icon */

.b24-faq__toggle-icon-container {
	flex-shrink: 0;
	background-color: #E4F2EB;
    border-radius: 100%;
    margin-right: 15px;
    width: 25px;
    height: 25px;
    text-align: center;
}

.b24-faq__toggle-icon {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate( 45deg );
	transition: transform 0.25s ease;
	margin-bottom: 3px; /* optical alignment with text */
	
}

.b24-faq__toggle[aria-expanded="true"] .b24-faq__toggle-icon {
	transform: rotate( -135deg );
	margin-bottom: -3px;
}

/* Answer panel */

.b24-faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px;
}

.b24-faq__answer > * {
	margin-top: 0;
}

.b24-faq__answer > *:last-child {
	margin-bottom: 1.25rem;
}
