.pagination {
    align-items: center;
    display: flex;
    gap: 5vw;
    justify-content: center;
    margin-left: -5vw;
    position: relative;
    width: 92.5vw;
}
.prev, .next {
    align-items: center;
    aspect-ratio: 1/1;
    background-color: var(--whiteBis);
    border: .0625rem solid var(--mColor);
    bottom: -2.5vw;
    display: flex!important;
    height: auto;
    justify-content: center;
    position: absolute;
    width: 3rem;
}
.prev {
    left: 2.5vw;
}
.next {
    right: 2.5vw;
}
.page-numbers {
    color: var(--tColor);
    font-family: var(--ffMBo);
    font-size: var(--fsTitleH2);
}
.current {
    color: var(--mColor);
    font-family: var(--ffMBo);
    font-size: var(--fsTitleH2);
}
.prev + .separator, .separator:has(+ .next) {
    display: none;
}
.separator {
    margin-top: -.25rem;
}

@media screen and (min-width: 575.98px) {
    .prev, .next {
        bottom: -1.5vw;
    }
    .prev {
        left: 5vw;
    }
    .next {
        right: 5vw;
    }
    .pagination--actus {
        margin-top: 12.5vw;
    }
}

@media screen and (min-width: 767.98px) {
    .pagination--actus {
        margin-top: 7.5vw;
    }
}

@media screen and (min-width: 991.98px) {
    .pagination {
        margin-left: 0;
        margin-top: -2.5vw;
        width: 62.5vw;
    }
    .pagination--actus {
        width: 100%;
    }
    .prev, .next {
        position: static;
    }
    .prev:has(+ .prev.page-numbers), .next.page-numbers ~ a ~ .next {
        display: none!important;
    }
}

@media screen and (min-width: 1199.98px) {
    .pagination--actus {
        margin-top: 1.5vw;
    }
}

@media screen and (min-width: 1399.98px) {
    .pagination {
        margin-top: -7.5vw;
        width: 54.5vw;
    }
    .pagination--actus {
        margin-top: .5vw;
        width: 100%;
    }
}


@media screen and (min-width: 1599.98px) {
    .pagination {
        gap: 2.5vw;
    }
}

@media screen and (min-width: 1919.98px) {
    .pagination {
        margin-top: -8.5vw;
        width: 48.5vw;
    }
    .pagination--actus {
        margin-top: .5vw;
        width: 100%;
    }
}