article.news-manager {
    position: relative;
}

article.news-manager .article-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

article.news-manager .item {
    padding: 80px 0;
    border-bottom: 7px solid var(--orange);
}

article.news-manager .item:last-child {
    border-bottom: none;
}

article.news-manager .attachment {}

article.news-manager .attachment img {}

article.news-manager .wordings {
    padding-right: 100px;
}

article.news-manager h2.item-title {
    color: var(--blue);
    font-size: 1.7rem;
    font-weight: bold;


}

article.news-manager div.item-text {}





article.news-manager .attachments-wrapper {}

article.news-manager .attachments-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

article.news-manager .attachment {
    flex: 0 0 auto;
    /* Chaque élément prend la place nécessaire */
    width: 100vw;
    /* Utilise toute la largeur de l'écran pour être responsive */
    max-width: 100%;
    /* Limite à 100% du conteneur pour ne pas déborder */
    position: relative;
    padding-bottom: 100%;
    /* Maintient le ratio 1:1 */
    scroll-snap-align: center;
    background-color: white;
    /* Couleur de fond pour voir le carré */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

article.news-manager .attachment img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 96%;
    max-height: 96%;
    object-fit: contain;
}






@media screen and (max-width: 992px) {

    article.news-manager .wordings {
        padding: 0 0 !important;
    }
}


@media screen and (max-width: 767px) {
    article.news-manager .attachments-wrapper {

        margin: 0 0 35px 0 !important;
    }



}

.swipe-icon-left,
.swipe-icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #999;
    opacity: 0.5;
}

.swipe-icon-left {
    left: 10px;
}

.swipe-icon-right {
    right: 10px;
}