/* =========================================================
   PAGINATION
========================================================= */

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    margin-top: 60px;
}


/* =========================================================
   BOUTONS PRÉCÉDENT / SUIVANT
========================================================= */

.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 44px;
    padding: 0 18px;

    color: #008b45;
    background: #ffffff;

    border: 1px solid #dfe8e3;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.pagination-button span {
    font-size: 18px;
    line-height: 1;
}

.pagination-button:hover {
    color: #ffffff;
    background: #008b45;
    border-color: #008b45;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 139, 69, .15);
}


/* Désactivé */

.pagination-disabled {
    color: #aab4af;
    background: #f5f7f6;
    border-color: #e6ebe8;

    cursor: not-allowed;
}

.pagination-disabled:hover {
    color: #aab4af;
    background: #f5f7f6;
    border-color: #e6ebe8;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   NUMÉROS
========================================================= */

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 7px;
}


.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: #315b3e;
    background: #ffffff;

    border: 1px solid #dfe8e3;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


.pagination-number:hover {
    color: #ffffff;

    background: #008b45;

    border-color: #008b45;

    transform: translateY(-2px);
}


/* Page active */

.pagination-number.active {
    color: #ffffff;

    background: #008b45;

    border-color: #008b45;

    box-shadow:
        0 7px 18px rgba(0, 139, 69, .20);
}


/* =========================================================
   INFORMATIONS
========================================================= */

.news-pagination-info {
    margin-top: 20px;

    text-align: center;

    color: #7c8781;

    font-size: 12px;
    display: none;
}

.news-pagination-info strong {
    color: #315b3e;
    font-weight: 800;
}


/* =========================================================
   EMPTY
========================================================= */

.news-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 350px;

    padding: 50px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e2e9e5;
    border-radius: 12px;
}


.news-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin-bottom: 20px;

    color: #008b45;

    background: rgba(0, 139, 69, .08);

    border-radius: 50%;
}


.news-empty-icon svg {
    width: 30px;
    height: 30px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.news-empty h3 {
    margin: 0 0 10px;

    color: #153f2d;

    font-size: 22px;
    font-weight: 800;
}


.news-empty p {
    max-width: 450px;

    margin: 0;

    color: #7b8680;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE PAGINATION
========================================================= */

@media (max-width: 700px) {

    .news-pagination {
        gap: 10px;
    }

    .pagination-button {
        width: 44px;
        padding: 0;
        font-size: 0;
    }

    .pagination-button span {
        font-size: 19px;
    }

    .pagination-numbers {
        gap: 5px;
    }

    .pagination-number {
        width: 40px;
        height: 40px;
    }

}


@media (max-width: 450px) {

    .news-pagination {
        gap: 6px;
    }

    .pagination-number {
        width: 36px;
        height: 36px;

        font-size: 12px;
    }

    .pagination-button {
        width: 36px;
        min-height: 36px;
    }

    .news-pagination-info {
        font-size: 11px;
    }

}
