/* ============================================================
   Cordelia – FAQ skin (style accordéon Flatsome)
   Usage : [mixit7_faq class="mixit7-faq-cordelia"]
   ============================================================ */

/* Category wrapper centré max 660px */
.mixit7-faq-cordelia .mixit7-faq-category {
    max-width: 660px;
    margin: 0 auto 2.5em;
}

/* Titre de catégorie — 48px comme sur la page originale */
.mixit7-faq-cordelia .mixit7-faq-category-title {
    font-family: 'Canela', sans-serif;
    font-weight: 300;
    font-size: 48px;
    color: #000;
    margin-bottom: 0.5em;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
}

/* Item : bordure top + bottom uniquement, pas de gauche/droite */
.mixit7-faq-cordelia .mixit7-faq-item {
    border: none !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0;
    margin-bottom: 0 !important;
    overflow: visible;
    position: relative;
}

/* Bouton question */
.mixit7-faq-cordelia .mixit7-faq-question {
    font-family: Inter, sans-serif;
    font-size: 110%;
    font-weight: 300;
    color: #212121;
    padding: 0.6em 1em;
    background: transparent;
    border: none;
    border-radius: 0;
    text-transform: none;
    margin-bottom: 0;
    transition: background-color 0.3s;
}

/* Hover — outline: none annule la bordure bleue du plugin */
.mixit7-faq-cordelia .mixit7-faq-question:hover,
.mixit7-faq-cordelia .mixit7-faq-question:focus-visible {
    background-color: transparent !important;
    outline: none !important;
}

/* Fond gris + gras au clic (état ouvert) */
.mixit7-faq-cordelia .mixit7-faq-item.is-open > .mixit7-faq-question {
    background-color: rgba(0, 0, 0, 0.04);
    color: #212121;
    font-weight: 700;
}

/* Icone + (fermé) */
.mixit7-faq-cordelia .mixit7-faq-icon {
    width: 0.7em;
    height: 0.7em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='4' x2='12' y2='20'/%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='4' x2='12' y2='20'/%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
}

/* Icone − (ouvert) — annule la rotation du plugin */
.mixit7-faq-cordelia .mixit7-faq-item.is-open .mixit7-faq-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3C/svg%3E");
    transform: none;
}

/* Contenu de la réponse */
.mixit7-faq-cordelia .mixit7-faq-item.is-open .mixit7-faq-answer {
    background-color: rgba(0, 0, 0, 0.04);
}

.mixit7-faq-cordelia .mixit7-faq-answer-inner {
    padding: 0.8em 1em 1.2em;
    font-size: 100%;
    line-height: 1.6;
    color: #212121;
}
