.news-box-items .thumb {
    height: 250px; /* Ajustez cette hauteur si nécessaire */
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-box-items .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre la zone sans déformation */
    border-radius: 15px; /* Garde les coins arrondis comme existant */
}

.news-box-items .content {
    margin-top: 25px;
    flex-grow: 1; /* Permet au contenu de prendre l'espace restant */
}

.news-section .row.g-4 .col-xl-4, 
.news-section .row.g-4 .col-lg-6, 
.news-section .row.g-4 .col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Les éléments s'étirent pour avoir la même hauteur */
}

.news-box-items {
    display: flex;
    flex-direction: column;
    height: 100%; /* Assure que chaque carte d'actualité prend toute la hauteur disponible dans sa colonne */
}

/* Styles pour le feed Instagram */
.instagram-post {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.instagram-post img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-stats {
    color: white;
    text-align: center;
}

.instagram-stats span {
    margin: 0 10px;
    font-size: 1.2em;
}

.instagram-stats i {
    margin-right: 5px;
} 