.faq .container {
    margin: 0 auto;
    width: 90%;
    max-width: 1408px;
    padding: 128px 0;
}
.faq h1 {
    font-weight: 600;
    font-size: 48px;
    line-height: 66px;
    margin-bottom: 48px;
    text-align: center;
    width: 100%;
}


.faq .faq-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 72px;
}
.faq .faq-filters .filter-item {
    font-weight: 500;
    font-size: 28px;
    line-height: 38px;
    border: 2px solid #fff;
    color: #fff;
    height: 70px;
    background: transparent;
    transition: all 0.5s ease;
    cursor: pointer;
    border-radius: 200px;
    padding: 16px 32px;
}
.faq .faq-filters .filter-item:hover {
    background: #FFFFFF40;
    box-shadow: 0px 4px 16px 0px #FFFFFF40;
}
.faq .faq-filters .filter-item.active {
    background: #fff;
    color: #1A191D;
    box-shadow: 0px 4px 16px 0px #FFFFFF40;
}


.faq .content-wrapper {
    display: flex;
    flex-direction: column;
}
.faq .content-wrapper .content {
    display: none;
    justify-content: space-between;
}
.faq .content-wrapper .content.show {
    display: flex;
}
.faq .content-wrapper .column {
    width: calc(50% - 24px);
    display: flex;
    flex-direction: column;
    gap: 48px;
}


.faq .content-wrapper .card {
    background-color: #fff;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq .content-wrapper .card .card-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.faq .content-wrapper .card .card-header h3 {
    font-weight: 600;
    font-size: 26px;
    line-height: 36px;
    color: #1A191D;
    width: calc(100% - 40px - 24px);
}
.faq .content-wrapper .card .card-header img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.5s ease;
}
.faq .content-wrapper .card .card-header img:hover {
    opacity: 0.5;
}
.faq .content-wrapper .card.open .card-header img {
    transform: rotate(180deg);
}
.faq .content-wrapper .card.open .card-content {
    display: flex;
}
.faq .content-wrapper .card .card-content {
    display: none;
}
.faq .content-wrapper .card.open .card-content {
    display: flex;
}
.faq .content-wrapper .card .card-content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #1A191D;
}

.faq .faq-filters .toggle-filters {
    display: none;
}

@media (max-width: 820px) {

    /* major changes */
    .faq .faq-filters {
        flex-wrap: nowrap;
        width: max-content;
        justify-content: flex-start;
    }
    .faq .faq-filters.expanded {
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-start;
    }
    .faq .faq-filters .toggle-filters {
        display: flex;
        cursor: pointer;
        transition: all 0.5s ease;
    }
    .faq .faq-filters.expanded .toggle-filters {
        transform: rotate(180deg);
        opacity: 0.5;
    }

    .faq .content-wrapper .content {
        flex-direction: column;
        gap: 24px;
    }
    .faq .content-wrapper .column {
        width: 100%;
    }


    /* apply regular styles */
    .faq .container {
        width: calc(100% - 32px);
        padding: 48px 0;
    }

    .faq h1 {
        font-size: 24px;
        text-align: left;
        line-height: 33px;
        padding: 0 16px;
        margin-bottom: 24px;
    }

    .faq .faq-filters {
        gap: 16px;
        padding: 0 16px;
        margin-bottom: 32px;
    }
    .faq .faq-filters .toggle-filters {
        width: 24px;
        height: 24px;
    }
    .faq .faq-filters .filter-item {
        font-size: 14px;
        line-height: 19px;
        border: 1px solid #fff;
        height: 35px;
        padding: 0 16px;
        border-radius: 100px;
    }

    .faq .content-wrapper .column {
        gap: 24px;
    }
    .faq .content-wrapper .card {
        border-radius: 24px;
        padding: 16px;
        gap: 16px;
    }

    .faq .content-wrapper .card .card-header h3 {
        font-size: 14px;
        line-height: 19px;
    }
    .faq .content-wrapper .card .card-header img {
        width: 24px;
        height: 24px;
    }
    .faq .content-wrapper .card .card-content p {
        font-size: 14px;
        line-height: 19px;
    }
}
