/**
 * Styles pour le composant faq
 */

.atom-faq .content-texte-faq {
    width: 40%;
    flex-shrink: 0;
}

.atom-faq .content-faq {
    width: 100%;
}

.atom-faq .content-faq details {
    border-radius: var(--L, 20px);
    box-shadow: var(--wp--preset--shadow--crisp);
}

.atom-faq .content-faq details summary {
    list-style: none;
    /* Remove default arrow */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.atom-faq .content-faq details summary::-webkit-details-marker {
    display: none;
    /* Remove default arrow in WebKit */
}

.atom-faq .content-faq details summary::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M5.75 0C6.16421 0 6.5 0.335786 6.5 0.75V5H10.75C11.1642 5 11.5 5.33579 11.5 5.75C11.5 6.16421 11.1642 6.5 10.75 6.5H6.5V10.75C6.5 11.1642 6.16421 11.5 5.75 11.5C5.33579 11.5 5 11.1642 5 10.75V6.5H0.75C0.335786 6.5 0 6.16421 0 5.75C0 5.33579 0.335786 5 0.75 5H5V0.75C5 0.335786 5.33579 0 5.75 0Z' fill='%231F0FFF'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.atom-faq .content-faq details[open] summary::after {
    transform: rotate(45deg);
}

.atom-faq .content-faq details p {
    color: var(--wp--preset--color--noir) !important;
    font-style: normal;
    font-weight: 500;
}

@media (max-width: 1023px) {
    .atom-faq {
        padding: 40px 0px !important;
    }

    .atom-faq .rangee {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .atom-faq .wrapper-faq {
        gap: 40px !important;
    }

}

@media (max-width: 783px) {
    .atom-faq .wrapper-faq {
        display: flex;
        flex-direction: column;
        gap: 20px !important;
    }

    .atom-faq .content-texte-faq {
        width: 100%;
    }

    .atom-faq .content-faq {
        width: 100%;
    }
}