main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 150px;
    align-self: stretch;
    margin-bottom: 150px;
}

.faq-main-section {
    margin-right: 0;
    max-width: 1360px;
}

section {
    align-items: center;
    gap: 30px;
    max-width: 1280px;
}

.top-faq {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 60px;
    margin-top: 60px;
}

.faq {
    display: flex;
    flex-direction: column;
    flex: 1.45;
    height: fit-content;
}

.faq-topic-item {
    border-bottom: 1px solid var(--Black);
    padding: 0 0 1rem 0;
    margin-bottom: 45px;
}

.faq-topic-item h4 {
    /*font-size: 24px;*/
}


.faq-topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-questions-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .3s ease;

}

.faq-questions-wrapper h4 {
    /*font-size: 20px;*/
}

.faq-topic-item.active .faq-topic-header {
    border-bottom: 1px solid var(--Beige);
    padding: 0 0 1rem 0;
}

.faq-topic-item.active .faq-questions-wrapper {
    max-height: 1000px;
    opacity: 1;
    padding: 29px 0 30px 1rem;
}

.faq-question-item {
    margin: 1rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq-topic-item.active .faq-questions-wrapper .faq-question {
    padding-bottom: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .3s ease;
    padding: 0 1.5rem 0;
}

.faq-question-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.arrow {
    transition: transform .3s ease;
}

.faq-topic-item.active .topic-arrow {
    transform: rotate(180deg);
}

.faq-question-item.active .question-arrow {
    transform: rotate(180deg);
}

.faq-image-div {
    flex: 1;
    position: relative;
}


.faq-image-sticky {
    position: sticky;
    top: calc(50vh - 353.5px);
    padding-bottom: 40px;
}

.faq-image {
    width: 100%;
    height: 707px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

@media (min-width: 1380px) {
    .faq-image {
        border-radius: 10px;
    }
}



.faq-contact {
    display: flex;
    justify-content: space-between;
    width: -webkit-fill-available;
    gap: 55px;
}

.faq-topic-header .arrow {
    align-self: center;
}


@media (max-width: 600px) {
    
    main {
        gap: 60px;
    }

    .faq-main-section {
        margin: 60px 20px 0px 20px;
        max-width: 1280px;
    }

    .top-faq {
        flex-direction: column;
    }

    .faq-image-div {
        display: none;
    }

    .faq-image {
        height: 300px;
        border-radius: 10px;
    }

    .faq-contact {
        gap: 19px;
        flex-direction: column;
    }

    .faq-contact .button-large {
        width: 100%
    }


}