.elementor-3830 .elementor-element.elementor-element-0744157{--display:flex;}/* Start custom CSS for html, class: .elementor-element-6a27e8d *//* ✅ Style des posts */
.custom-post-item {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

/* ✅ Ajout d'un espace sous le badge pour éviter qu'il cache le titre */
.custom-post-item .post-title {
    margin-top: 25px; /* Augmenté pour éviter le chevauchement */
    font-size: 18px;
    color: #005e8d;
    font-weight: bold;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.custom-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
}

/* ✅ Étiquette du type de post */
.post-nature {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #005e8d;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    z-index: 10;
}

/* ✅ Extrait du post */
.post-excerpt {
    color: #555;
    font-size: 14px;
    margin-top: 5px;
}

/* ✅ Adaptation pour mobile */
@media screen and (max-width: 768px) {
    .post-nature {
        font-size: 12px;
        padding: 3px 8px;
        top: 5px;
        right: 5px;
    }

    .custom-post-item .post-title {
        font-size: 16px;
        margin-top: 25px; /* Augmenté pour éviter le chevauchement */
    }

    .post-excerpt {
        font-size: 13px;
    }
}



#load-more-btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px 15px;
    background-color: #005e8d;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#load-more-btn:hover {
    background-color: #003d5c;
}

#load-more-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}
.post-niveau {
    display: inline-block;
    background-color: #001a3c; /* gris clair */
    color: #FFFFFF; /* texte foncé */

    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    margin-top: 10px;
    font-size:12px;
}/* End custom CSS */