 /* Style personnalisé */
        .header {
            background-color: #53a57f;
            padding: 10px 0;
        }

        .header a {
            color: white;
            text-decoration: none;
            padding: 0 15px;
            font-weight: bold;
        }

        .header .active {
            text-decoration: underline;
        }

        /* Styles de la bannière */
        .banner {
            text-align: center;
            height: 300px;
            position: relative;
            background: url('/images/E1.jpg') no-repeat center center;
            background-size: cover;
        }

        .banner h1 {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 2.5rem;
        }

        .social-icons {
            background-color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            padding: 20px 0;
        }

        .social-icons img {
            width: 40px;
            height: 40px;
            margin: 0 10px;
        }

        /* Limite encore plus la largeur de l'article principal */
        .article-card {
            border: 2px solid #53a57f;
            background-color: #53a57f;
            color: white;
            padding: 10px;
            /* Réduit le padding */
            border-radius: 20px;
            max-width: 80%;
            /* Laisse la carte occuper tout l'espace de sa colonne */
            text-align: justify;
            margin-bottom: 15px;
            /* Espace entre les cartes */
        }

        /* Section des articles connexes */
        .related-article-card {
            border: 2px solid #53a57f;
            background-color: #53a57f;
            padding: 5px;
            color: white;
            /* Réduit le padding */
            border-radius: 20px;
            width: 100%;
            max-width: 300px;
            /* Limite la largeur des cartes connexes */
            text-align: left;
            /* Aligne le texte à gauche */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            /* Assure que le contenu et le bouton sont espacés */
        }

        .related-article-card .read-more-btn {
            margin-top: 10px;
            /* Espace entre le contenu et le bouton */
            align-self: flex-end;
            /* Aligne le bouton à droite */
            background-color: white;
            color: black;
            border: none;
            padding: 5px 10px;
            border-radius: 5px;
            text-decoration: none;
        }

        .related-articles-section {
            display: flex;
            justify-content: center;
            /* Centre les cartes horizontalement */
            gap: 10px;
            /* Espacement entre les cartes */
        }

        .search-bar {
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

        .search-bar input {
            border: 2px solid #53a57f;
            border-radius: 5px;
            padding: 10px 20px;
        }

        .search-bar button {
            background-color: #53a57f;
            border: 2px solid #53a57f;
            padding: 10px 20px;
            margin-left: 10px;
            border-radius: 5px;
        }

        h2 {
            text-align: center;
            /* Centre le titre */
            text-decoration: underline;
            font-size: 1rem;
        }

        /* Styles pour les commentaires */
        .comments-section {
            /* background-color: #f9f9f9; */
            padding: 15px;
            border-radius: 10px;
            max-width: 100%;
            /* Assure que la section prend 100% de la largeur disponible */
            margin: 0 auto;
            /* Centre la section horizontalement */
        }

        .comments-section h3 {
            margin-bottom: 20px;
            text-align: left;
            /* Aligne le titre à gauche */
        }

        .comments-section .card {
            border: 1px solid #ddd;
            border-radius: 10px;
            /* Ajoute des bordures arrondies aux cartes */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            /* Ajoute une légère ombre pour un effet plus net */
        }

        .comments-section .card-body {
            padding: 10px;
            background-color: #fff;
        }

        .comments-section .form-label {
            font-weight: bold;
            /* Met en évidence le label des champs */
        }

        .comments-section textarea.form-control {
            resize: vertical;
            /* Permet à l'utilisateur de redimensionner verticalement le textarea */
        }

        .comments-section button.btn {
            background-color: #53a57f;
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 16px;
            transition: background-color 0.3s ease;
        }

        .comments-section button.btn:hover {
            background-color: #218838;
            /* Change légèrement la couleur lors du survol pour un effet interactif */
        }


        /* Styles pour le bouton like */
        .btn-like {
            background: none;
            border: none;
            cursor: pointer;
        }

        .btn-like .fas {
            color: red;
        }

        .btn-like .far {
            color: gray;
        }

        .page-number.active {
            background-color: #53a57f;
            color: black;
            border-radius: 5px;
            padding: 5px 10px;
        }

        .pagination {
            margin: 20px 0;
        }

        .page-number {
            padding: 5px 10px;
            margin: 0 5px;
            background-color: #53a57f;
            /* Fond vert pour les nombres */
            color: white;
            /* Texte en blanc pour le contraste */
            border-radius: 5px;
            /* Bordures arrondies */
            text-decoration: none;
        }

        .page-number:hover {
            background-color: #45a049;
            /* Couleur au survol */
        }

        .post-image {
            max-height: 200px;
            /* Ajuste la hauteur maximale selon tes besoins */
            width: auto;
            /* Maintient le ratio d'aspect de l'image */
            object-fit: cover;
            /* Coupe l'image si nécessaire pour remplir l'espace sans déformer */
            display: block;
            /* Pour centrer */
            margin-left: auto;
            margin-right: auto;
        }
