@import url('fonts.css');
@import url('colors.css');


.faq {
    display: flex;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
 
    align-self: stretch;

    border-radius: 0.4rem;
    border: 0.1rem solid #D9D9D9;
    transition: 0.3s ease-in-out;
    background: #FFFFFF;
    margin-bottom: 1rem;
    
}


.q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    cursor: pointer;

}


.q h1 {
    margin: 0;
    color: var(--text-color);
    font-family: Inter;
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

.faq .q img {
    transition: 0.3s ease-in-out;
    
}

.faq.active .q img {
    transition: 0.3s ease-in-out;
    rotate: -180deg;
}



.a {
    width: 100%;
    display: flex;
    justify-content: left;
    flex-direction: column;
    
    color: var(--text-color);
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 1.4rem */

    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.2s ease-in-out;
}

.faq.active .a {
    max-height: 100vh; /* Adjust to fit content */
    opacity: 1;
}





.a ul, .a p {
    margin: 0;
    margin-bottom: 0.2rem;
}


.a b {
    font-weight: 500;
}