a {
    text-decoration: none;
}

.actualites-container {
    width: 100%;
    padding: 0 2rem;
}

.actualites-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 4rem;
}

.actualite-item {
    width: 30rem;
    height: 50rem;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 0 0 0 3rem;
}

.actualite-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.actualite-item:nth-child(3n + 1) .actualite-content {
    background-color: #4F80FF;
}

.actualite-item:nth-child(3n + 2) .actualite-content {
    background-color: #FF8C61;
}

.actualite-item:nth-child(3n) .actualite-content {
    background-color: #9D69A3;
}

.actualite-item:hover {
    cursor: pointer;
}

.actualite-item:hover .actualite-content {
    background-color: #232323;
}

.actualite-item:hover .actualite-placeholder {
    filter: invert(1);
}

.actualite-item:hover .actualite-image-img {
    filter: brightness(0.75);
}

.actualite-placeholder, .actualite-image-img {
    transition: filter 0.3s ease;
}

.actualite-content-top {
    width: 100%;
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.actualite-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.actualite-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.actualite-content-bottom {
    width: 100%;
    height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    gap: 1rem;
}

.actualite-text {
    color: #FFF;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Open Sans', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.actualite-content h2 {
    color: #FFF;
    text-align: center;
    font-size: 1.2em;
    margin: auto 0;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}