.news-manager {
    margin-bottom: 2rem;
}

.news-manager .image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.news-manager .image-gallery__item {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Assure que chaque image est un carré */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
}

.news-manager .image-gallery__item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.news-manager .image-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garde l'image bien ajustée dans le carré sans déformation */
    transition: transform 0.3s ease-in-out;
}

.news-manager .image-gallery__item:hover .image-gallery__image {
    transform: scale(1.1);
}


.news-manager .wordings {
    padding: 20px 0;
    flex-grow: 1;
}

.news-manager .news-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.news-manager .news-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.news-manager .news-text p.chapeau {
    font-size: 1.2rem;
    max-width: 90%;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.news-manager .news-text h2 {
    font-size: 1.2rem;
    margin: 35px 0 25px;
    font-weight: normal;
    color: var(--blue);

}

.news-manager .news-text h3 {
    font-size: 1.1rem;
    margin: 15px 0 15px;
    font-weight: normal;
    color: var(--blue);

}

.news-manager ul {
    list-style: disc inside !important;
    padding-left: 0 !important;
}

.news-manager li {
    margin: 0.2em 0 !important;
}

.news-manager .summaries {
    border-top: 1px solid #aaa;
}

.news-manager .summaries h3 {
    margin: 0 0 25px 0;
    color: #999;
    padding-top: 30px
}

.news-manager .summaries ul {
    list-style: none;
    padding: 0 60px 0 0;
    margin: 0
}

.news-manager .summaries li {
    padding: 0;
    margin: 0 0 50px;
    background: #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.news-manager .summaries .attachment {
    height: 80px;
    width: 80px;
    background-position: center;
    background-size: cover;
}

.news-manager .summaries .wording {
    flex: 1;
    padding-left: 25px
}

.news-manager .summaries p {
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.news-manager .summaries .date {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #aaa
}

.news-manager .summaries .category {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px
}

.news-manager .summaries .title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px
}

.news-manager .summaries .text {
    /* font-size:1.2rem;*/
    margin-bottom: 15px
}

.news-manager .summaries .more a {
    font-size: 0.9rem;
    color: #F29400 !important;
}

.news-manager .attachment {}

.news-manager .attachment img {
    max-width: 100%;
}

.news-manager .main-item a {
    color: var(--blue);

}


.news-manager .main-item p {
    margin-bottom: 15px;
}

.news-manager .main-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-manager .main-item li {
    position: relative;
}

.news-manager .main-item li a {
    color: var(--red);
    padding-left: 25px;
    /* Couleur de texte du lien */
    text-decoration: none;
    /* Pas de soulignement */
    transition: color 0.3s ease;




}

.news-manager .main-item li a::before {
    content: "\f061";
    /* Code unicode de fa-arrow-right */
    font-family: "Font Awesome 6 Free";
    /* Font Awesome */
    font-weight: 900;
    /* Assure que l'icône est en style "solid" */
    color: var(--red);
    /* Couleur rouge en harmonie avec le logo */
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
    /* Transition pour l’animation */
}

.news-manager .main-item li a:hover::before {
    color: #D9534F;
    transform: translateX(5px);
    /* La flèche se déplace vers la droite */
}