.faq_section{
    width: 100%;
    height: 300px;
    box-sizing: border-box;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    background: var(--component);
}

/* --- Details --- */

.faq_section details{
    width: 100%;
    height: fit-content;
    border-bottom: 1px solid var(--border);
}

/* text */

.faq_section details p{
    width: 600px;
    padding-bottom: 10px;
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
    color: var(--text2);
}

/* --- Summary --- */

.faq_section summary{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.faq_section summary:hover{
    cursor: pointer;
    opacity: 0.7;
}

/* span */

.faq_section summary span{
    font-size: 15px;
    color: var(--text1);
}

/* image */

.faq_section summary img{
    width: 18px;
    height: 18px;
    margin-left: auto;
    transition: 0.3s;
}

.faq_section details[open] summary img{
    transform: rotate(180deg);
}

/* --- Media --- */

@media screen and (max-width: 1000px) {
    
    .faq_section details p{
        width: 90%;
    }
}

@media screen and (max-width: 700px) {

    .faq_section{
        height: 400px;
        padding: 40px;
    }

    /* text */
    
    .faq_section details p{
        width: 100%;
    }
}