.faq-wrapper{
    width: calc(100% - 2px);
    background: var(--wrapper-bg);
    color: var(--wrapper-text);
    border-radius: var(--border-radius);
    border: 1px solid #d8dfef;
    position: relative;
    overflow: hidden;
    margin-bottom: 1em;
    box-shadow: var(--box-shadow);
}

.faq-question{
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    line-height: 1.4rem;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-icon{
    position: absolute;
    top: 1rem;
    right: .5rem;
    width: 1.2rem;
    height: 1.2rem;
    align-items: center;
    display: flex;
    height: 1.25rem;
    justify-content: center;
    margin-left: auto;
}

.faq-icon span:first-child{
    background-color: #313233;
    height: 0.125rem;
    opacity: 1;
    position: absolute;
    transform: rotate(-90deg);
    transition: all .2s ease-in-out;
    width: 60%;
}

.faq-icon span:last-child{
    background-color: #313233;
    height: 60%;
    transform: rotate(-90deg);
    transition: all .2s ease-in-out;
    width: 0.125rem;
}

.faq-question.active .faq-icon span:first-child{
    opacity: 0;
    transform: rotate(0deg);
}

.faq-question.active .faq-icon span:last-child{
    opacity: 1;
    transform: rotate(90deg);
}

.faq-answer{
    width: 100%;
    height: 0; 
    background-color: rgba(0,0,0,.1);
    overflow: hidden;
    transition: height .3s;
}

.faq-answer-text{
    padding: 1rem 2rem;
}