#faq {
    width: var(--base-width);
    padding: 50px 0;
    margin: 0 auto;
}
#faq h2 {
    text-align: center;
}

#faq #faq-list {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}
#faq #faq-list .faq-el {
    border-top: 3px solid var(--faq-border-color);
    border-bottom: 20px solid var(--base-bg-color);
    padding: 15px 15px 0 15px;
    overflow: hidden;
    transition: var(--base-transition);
}
#faq #faq-list .faq-el .faq-title {
    font-size: 1.3rem;
    font-family: "AvenirNext Demi", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
#faq #faq-list .faq-el .faq-title .faq-arrow {
    transition: var(--base-transition);
}
#faq #faq-list .faq-el .faq-title .faq-arrow img {
    width: 2rem;
    filter: var(--base-icon-color);
}
#faq #faq-list .faq-el .faq-text {
    color: var(--faq-text-color);
    padding-top: 5px;
    max-height: 0;
    transition: max-height 0.3s ease;
}
#faq #faq-list .faq-el.open .faq-title .faq-arrow img {
    transform: rotate(180deg);
    transition: var(--base-transition);
}
#faq #faq-list .faq-el.open .faq-text {
    max-height: 300px;
    transition: var(--base-transition);
}


@media screen and (max-width: 650px) {
    #faq #faq-list .faq-el.open .faq-text {
        max-height: 500px;
    }
}