.fi-faq-wrapper {
    margin-top: 24px;
}

.fi-faq-content-shortcode:last-child .fi-faq-content-shortcode__answer,
.fi-faq-content-shortcode:last-child .fi-faq-content-shortcode__question,
.fi-faq-content-shortcode:last-of-type .fi-faq-content-shortcode__answer,
.fi-faq-content-shortcode:last-of-type .fi-faq-content-shortcode__question {
    border-bottom: none;
}

.fi-faq-content-shortcode:last-child .fi-faq-content-shortcode__question:not(.active),
.fi-faq-content-shortcode:last-of-type .fi-faq-content-shortcode__question:not(.active) {
    padding-bottom: 0;
}

.fi-faq-content-shortcode {
    padding: 16px 24px;
    border-radius: 16px;
    background: var(--surface-3, #F2F6FA);
    margin-top: 8px;
    margin-bottom: 8px;
}

.fi-faq-content-shortcode:last-of-type {
    margin-bottom: 0;
}

.fi-faq-content-shortcode__question {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.fi-faq-content-shortcode__question:after {
    content: '';
    width: 24px;
    height: 24px;
    display: flex;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.29236 7.3665C1.90238 7.77148 1.90238 8.42645 2.29236 8.83043L10.5559 17.393C10.7381 17.5847 10.9573 17.7373 11.2003 17.8416C11.4433 17.9459 11.705 17.9996 11.9694 17.9996C12.2338 17.9996 12.4954 17.9459 12.7384 17.8416C12.9814 17.7373 13.2007 17.5847 13.3828 17.393L21.7074 8.76843C21.8934 8.57269 21.998 8.31348 21.9999 8.04344C22.0017 7.7734 21.9007 7.51278 21.7174 7.3145C21.6268 7.21628 21.5171 7.13769 21.395 7.0836C21.2728 7.0295 21.1409 7.00106 21.0073 7.00003C20.8737 6.999 20.7414 7.0254 20.6184 7.0776C20.4954 7.1298 20.3845 7.20669 20.2925 7.3035L12.6758 15.1971C12.5848 15.293 12.4751 15.3694 12.3536 15.4216C12.232 15.4738 12.1011 15.5007 11.9689 15.5007C11.8366 15.5007 11.7057 15.4738 11.5842 15.4216C11.4626 15.3694 11.353 15.293 11.2619 15.1971L3.70529 7.3665C3.6143 7.27062 3.50473 7.19426 3.38328 7.14208C3.26182 7.0899 3.13102 7.06299 2.99883 7.06299C2.86664 7.06299 2.73583 7.0899 2.61438 7.14208C2.49292 7.19426 2.38336 7.27062 2.29236 7.3665Z' fill='%23BDBDBD'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.fi-faq-content-shortcode__question.active:after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.29236 7.3665C1.90238 7.77148 1.90238 8.42645 2.29236 8.83043L10.5559 17.393C10.7381 17.5847 10.9573 17.7373 11.2003 17.8416C11.4433 17.9459 11.705 17.9996 11.9694 17.9996C12.2338 17.9996 12.4954 17.9459 12.7384 17.8416C12.9814 17.7373 13.2007 17.5847 13.3828 17.393L21.7074 8.76843C21.8934 8.57269 21.998 8.31348 21.9999 8.04344C22.0017 7.7734 21.9007 7.51278 21.7174 7.3145C21.6268 7.21628 21.5171 7.13769 21.395 7.0836C21.2728 7.0295 21.1409 7.00106 21.0073 7.00003C20.8737 6.999 20.7414 7.0254 20.6184 7.0776C20.4954 7.1298 20.3845 7.20669 20.2925 7.3035L12.6758 15.1971C12.5848 15.293 12.4751 15.3694 12.3536 15.4216C12.232 15.4738 12.1011 15.5007 11.9689 15.5007C11.8366 15.5007 11.7057 15.4738 11.5842 15.4216C11.4626 15.3694 11.353 15.293 11.2619 15.1971L3.70529 7.3665C3.6143 7.27062 3.50473 7.19426 3.38328 7.14208C3.26182 7.0899 3.13102 7.06299 2.99883 7.06299C2.86664 7.06299 2.73583 7.0899 2.61438 7.14208C2.49292 7.19426 2.38336 7.27062 2.29236 7.3665Z' fill='%23005293'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}

.fi-faq-content-shortcode__question h2,
.fi-faq-content-shortcode__question h3,
.fi-faq-content-shortcode__question h4,
.fi-faq-content-shortcode__question h5,
.fi-faq-content-shortcode__question h6 {
    font-family: 'Inconsolata';
    color: var(--text-primary, #000);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 0;
    cursor: pointer;
    margin-top: 0;
}

.fi-faq-content-shortcode__answer {
    margin-top: 8px;
}

.fi-faq-content-shortcode__answer > p {
    color: var(--text-secondary, #757575);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.fi-faq-content-shortcode__answer > p:last-of-type {
    margin-bottom: 0;
}

@media only screen and (max-width: 991px) {
    .fi-faq-content-shortcode {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .fi-faq-content-shortcode__question h2,
    .fi-faq-content-shortcode__question h3,
    .fi-faq-content-shortcode__question h4,
    .fi-faq-content-shortcode__question h5,
    .fi-faq-content-shortcode__question h6 {
        font-size: 16px;
        line-height: 20px;
    }
}

.fi-faq-content-shortcode:first-of-type {
    margin-top: 24px;
}
