/* ============================ */
/* RECETTES.CSS (Thème Poivre)  */
/* ============================ */
/* CE FICHIER EST MAINTENANT COHÉRENT
   AVEC LE THÈME DE styles.css
*/
/* ============================ */


/* Grimoire de Recettes (Accordéon) */
.recipe-grimoire {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    background-color: var(--surface-2); /* Thème */
    border-radius: 8px;
    border: 1px solid var(--border); /* Thème */
    padding: 1rem 2.5rem;
    box-shadow: var(--shadow); /* Thème */
}
/* Ancien h3 devenu h2 : on garde la taille par défaut d'un h3 */
.recipe-grimoire .section-subtitle {
    font-size: 1.17em;
}

.recipe-item {
    border-bottom: 1px solid var(--border); /* Thème */
}
.recipe-item:last-child {
    border-bottom: none;
}

.recipe-toggle {
    width: 100%;
    background: none;
    border: none;
    color: var(--text); /* Thème */
    font-family: 'Lora', serif;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
}
.recipe-toggle:hover {
    color: var(--accent); /* Thème */
}
.recipe-toggle i {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--accent); /* Thème */
}
.recipe-toggle.active i {
    transform: rotate(180deg);
}

.recipe-content {
    /* Style pour l'animation de déroulement */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;

    padding: 0 1rem;
    color: var(--muted); /* Thème */
    line-height: 1.7;
}
.recipe-content.active {
    max-height: 2000px; /* Hauteur max pour le contenu */
    opacity: 1;
    padding: 0 1rem 2rem 1rem;
}

.recipe-content h3 {
    font-size: 1.2rem;
    color: var(--accent); /* Thème */
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: 'Lora', serif;
}
.recipe-content ul,
.recipe-content ol {
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}
.recipe-content li {
    margin-bottom: 0.75rem;
}