﻿.faq__box{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item{
    background: var(--white);
    border-radius: 4px;
}
.faq-item__btn{
    border: none;
    outline: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    border-radius: 0 4px 0 4px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--blue-accent);
    color: white;
    transition: all 0.3s;
}
.faq-item__btn svg{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}
.faq-item.active .faq-item__plus,
svg.faq-item__minus{
    transform: translate(-50%, -50%) rotate(180deg) scale(0);
}
.faq-item.active .faq-item__minus{
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
.faq-item__title{
    padding: 16px 24px;
}
.faq-item__content{
    opacity: 0;
    pointer-events: none;
    display: none;
    font-family: var(--second-family);
    transition: all 0.3s;
    user-select: none;
}
.faq-item.active .faq-item__content{
    opacity: 1;
    pointer-events: unset;
}
.faq-item__content>div{
    padding: 0 24px 16px;
}
.faq-item__top{
    user-select: none;
    cursor: pointer;
}
.faq-item.active{
    background: var(--blue-accent);
    color: white;
    border-radius: 4px 8px 4px 4px;
}
.faq-item.active .faq-item__btn{
    background: var(--white);
    color: var(--blue-accent);
}

@media all and (max-width: 768px){
    .faq-item__title{
        padding: 16px;
    }
    .faq-item__content>div{
        padding: 0 16px 16px;
    }
}