@charset "UTF-8";
/**
 * Emplacement : the7-child/css/saidanature-styles-encadre.css
 * Catégorie : SAIDANATURE
 * Description : Styles personnalisés pour les Boxes de SAIDANATURE
 * Version : 1.1
 * Auteur : Hassen Ksantini - Cheneyen Magazine® & Saïda Nature Network®
 */

/* 🔒 Sécurité : empêcher l'accès direct au fichier */
defined('ABSPATH') || die();

/* ✅ Style de base commun à tous les encadrés 
.saida-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid #cccccc;       /* Bordure fine */
    border-left: 5px solid #2c5e1a;  /* Bordure verte à gauche */
    border-radius: 8px;              /* Coins arrondis */
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05); /* Ombre douce */
    background-color: #f5fdf4;       /* Vert très pâle par défaut */
    font-family: "Georgia", serif;
}*/

/* ✅ Icône à gauche */
.saida-box .saida-icon {
    font-size: 2.5em;
    color: #2c5e1a;
    flex-shrink: 0;
    margin-top: 5px;
    margin-right: 10px;
    width: 2.5em;
    text-align: center;
}

/* ✅ Titre de l'encadré */
.saida-box h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.2em;
    color: #2c5e1a;
}

/* === VARIANTS PAR TYPE D'ENCADRÉ === */

/* 📖 Histoire - Story - Récit */
/* Couleurs principales : violet #7349c9 (bordure gauche et icône), lavande #f4f0ff (fond), mauve pâle #dccfff (bordure) */
.saida-story {
    border: 1px solid #dccfff;              /* Lavande très pâle */
    border-left: 12px solid #7349c9;        /* Violet prune */
    background-color: #f4f0ff;              /* Lilas clair */
    padding: 15px 20px;
    border-radius: 18px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 6px 18px rgba(33, 134, 122, 0.15);
    font-family: 'Segoe UI', sans-serif;
    margin: 1em 0;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}
.saida-story .saida-icon::before {
    content: "\f518"; /* 📖 fa-book-open */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.5em;
    color: #7349c9;
}

/* 🧪 Fiche technique - Données scientifiques */
/* Couleurs : vert profond #21867a, menthe #ebfaf1, vert jade clair #c3f3dc */
.saida-fiche {
    border: 1px solid #c3f3dc;              /* Vert d’eau */
    border-left: 12px solid #21867a;        /* Vert sarcelle foncé */
    background-color: #ebfaf1;              /* Menthe glacée pâle */
    padding: 15px 20px;
    border-radius: 18px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 6px 18px rgba(33, 134, 122, 0.15);
    font-family: 'Segoe UI', sans-serif;
    margin: 1em 0;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}
.saida-fiche .saida-icon::before {
    content: "\f06c"; /* 🌿 fa-leaf */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.5em;
    color: #21867a;
}

/* 📊 Tableau ou infos scientifiques */
/* Couleurs : bleu roi #2e58c9, bleu pâle #eff4ff, bleu ciel #c8dcfb */
.saida-tableau {
    border: 1px solid #c8dcfb;              /* Bleu ciel pâle */
    border-left: 12px solid #2e58c9;        /* Bleu roi */
    background-color: #eff4ff;              /* Bleu neige */
    padding: 15px 20px;
    border-radius: 18px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 6px 18px rgba(46, 88, 201, 0.15);
    font-family: 'Segoe UI', sans-serif;
    margin: 1em 0;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}
.saida-tableau .saida-icon::before {
    content: "\f080"; /* 📊 fa-chart-bar */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.5em;
    color: #2e58c9;
}

/* 🟦 Informations générales - Info */
/* Couleurs : bleu #157ed2, bleu pastel #e6f4ff, azur clair #b3e5ff */
.saida-info {
    border: 1px solid #b3e5ff;              /* Azur clair */
    border-left: 12px solid #157ed2;        /* Bleu moyen profond */
    background-color: #e6f4ff;              /* Bleu pâle brumeux */
    padding: 15px 20px;
    border-radius: 18px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 6px 18px rgba(21, 126, 210, 0.15);
    font-family: 'Segoe UI', sans-serif;
    margin: 1em 0;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}
.saida-info .saida-icon::before {
    content: "\f05a"; /* ℹ️ fa-circle-info */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.5em;
    color: #157ed2;
}

/* ⚠️ Avertissement - Warning - Mise en garde */
/* Couleurs : Boston University Red #cc0000, Mordant Red 19 #ae0c00, abricot #ffe9b3, Lemon Chiffon #fffacd */
.saida-warning {
    border: 1px solid #cc0000;              /* Boston University Red */
    border-left: 12px solid #ae0c00;        /* Mordant Red 19 */
    background-color: #fffacd;              /* Lemon Chiffon */
    padding: 15px 20px;
    border-radius: 18px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 6px 18px rgba(212, 136, 6, 0.15);
    font-family: 'Segoe UI', sans-serif;
    margin: 1em 0;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}
.saida-warning .saida-icon::before {
    content: "\f071"; /* ⚠️ fa-triangle-exclamation */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.5em;
    color: #cc0000;
}


/* ✅ Succès - Success - Validation */
/* Couleurs : vert vif #389e0d, vert laitue #edfff0, vert menthe clair Vert pastel #c6f5d2, Dark Sea Green #8fbc8f */
.saida-success {
    border: 1px solid #8fbc8f;              /* Dark Sea Green */
    border-left: 12px solid #389e0d;        /* Vert herbe soutenu */
    background-color: #edfff0;              /* Vert très pâle */
    padding: 15px 20px;
    border-radius: 18px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 6px 18px rgba(56, 158, 13, 0.15);
    font-family: 'Segoe UI', sans-serif;
    margin: 1em 0;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}
.saida-success .saida-icon::before {
    content: "\f058"; /* ✅ fa-check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.5em;
    color: #389e0d;
}

.saida-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}


/* ✅ Responsive : empilement sur mobile */
@media (max-width: 768px) {
    .saida-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .saida-box .saida-icon {
        font-size: 1em;
        margin-bottom: 10px;
    }
}
