/* =========================================
   STYLE GÉNÉRAL DE L'ARTICLE DE BLOG
   ========================================= */

/* Définit la largeur maximale de l'article pour une lecture confortable */
.blog-post .container {
    max-width: 900px;
    margin: 40px auto; /* Ajoute de l'espace autour */
    padding: 0 20px;
    background-color: #ffffff;
}

/* Style du corps de l'article (texte de base) */
.article-content p, 
.article-content li, 
.article-content ol, 
.article-content ul {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

/* =========================================
   TITRES ET EN-TÊTE
   ========================================= */

.article-header {
    border-bottom: 2px solid #f39c12; /* Ligne de séparation sous l'en-tête */
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900; /* Extra gras pour l'impact */
    color: #2c3e50; /* Couleur foncée */
    font-size: 2.2em;
    line-height: 1.2;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 0.9em;
    color: #7f8c8d;
    font-style: italic;
}

.article-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #e67e22; /* Couleur orange/terre pour la chaleur */
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid #f39c12;
    padding-left: 10px;
}

/* =========================================
   LISTES ET CITATIONS (POINTS CLÉS)
   ========================================= */

/* Style pour la citation clé ("À retenir") */
.key-takeaway {
    background-color: #f7f9f9; /* Fond léger */
    border-left: 5px solid #3498db; /* Bande bleue pour l'aspect éducatif */
    padding: 20px 20px 20px 30px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.05em;
    color: #2c3e50;
}

.key-takeaway strong {
    color: #3498db; /* Mise en avant du "À retenir" */
}

/* Style des listes pour les rendre plus aérées */
.article-content ul,
.article-content ol {
    padding-left: 25px;
}

.article-content ul li {
    list-style-type: disc;
}

/* =========================================
   PIED DE PAGE DE L'ARTICLE (CTA)
   ========================================= */

.article-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px dashed #bdc3c7;
    text-align: center;
}

.article-footer h4 {
    font-family: 'Montserrat', sans-serif;
    color: #ffc400;
    margin-bottom: 20px;
}

.cta-list {
    list-style: none;
    padding: 0;
    display: flex; /* Aligner les boutons en ligne */
    justify-content: center;
    gap: 15px; /* Espace entre les boutons */
}

/* Style des boutons d'appel à l'action (CTA) */
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f39c12; /* Couleur principale Eduautrement */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e67e22;
}

/* =========================================
   RESPONSIVE (Pour les petits écrans)
   ========================================= */
@media (max-width: 600px) {
    .article-title {
        font-size: 1.8em;
    }
    
    .article-content p,
    .article-content li {
        font-size: 1em;
    }

    .cta-list {
        flex-direction: column; /* Empiler les boutons sur mobile */
    }

    .btn-secondary {
        display: block;
        width: 100%; /* Pleine largeur */
    }
}