.actus-personnalisees-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.actus-card {
    position: relative;
    display: block;
    width: calc(33.333% - 30px);
    margin: 15px;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important; /* Ombre toujours visible */
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
}

.actus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); /* Ombre renforcée au survol */
}

.actus-image {
    width: 100%;
    padding-top: 56.25%; /* Ratio 16:9 */
    background-size: cover;
    background-position: center center;
}

.actus-content {
    padding: 20px;
    text-align: center;
}

.actus-content h2 {
    margin: 0 0 10px;
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.actus-content h2 a {
    text-decoration: none; /* Assurez-vous que les liens dans les titres n'ont pas de souligné */
    color: inherit;
}

.en-savoir-plus {
    display: inline-block;
    padding: 10px 25px;
    background-color: #a88672; /* Couleur principale */
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.en-savoir-plus:hover {
    background-color: #8a695a; /* Couleur assombrie pour le hover */
}

/* Styles Responsives */
@media (max-width: 991px) {
    .actus-card {
        width: calc(50% - 30px);
    }
}

@media (max-width: 767px) {
    .actus-card {
        width: 100%;
        margin: 15px 0;
    }
}

/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a.current {
    background-color: #a88672;
    color: #fff;
}

.pagination a:hover {
    background-color: #8a695a;
    color: #fff;
}
