.news-pagination-wrap {
    clear: both;
    width: 100%;
    padding: 12px 15px 20px;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
    font-family: Stolzl, Arial, sans-serif;
}

.news-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-pagination .news-pagination__pages > li {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
}

.news-pagination__page,
.news-pagination__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border: 1px solid #e5e8ec;
    border-radius: 50%;
    background: #fff;
    color: #3e3e3e;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.news-pagination__arrow {
    gap: 8px;
    min-width: 90px;
    padding: 0 14px;
    border-radius: 24px;
}

.news-pagination__page:hover,
.news-pagination__page:focus,
.news-pagination__arrow:hover,
.news-pagination__arrow:focus {
    border-color: #ff7043;
    color: #ff7043;
    text-decoration: none;
    transform: translateY(-1px);
}

.news-pagination__page--current {
    border-color: #ff7043;
    background: #ff7043;
    color: #fff;
    cursor: default;
}

.news-pagination__page--current:hover,
.news-pagination__page--current:focus {
    color: #fff;
    transform: none;
}

.news-pagination__arrow--disabled {
    border-color: #f0f1f3;
    color: #b8bdc5;
    cursor: default;
}

@media (max-width: 575px) {
    .news-pagination-wrap {
        padding-right: 0;
        padding-left: 0;
    }

    .news-pagination {
        gap: 3px;
    }

    .news-pagination__pages {
        gap: 3px;
    }

    .news-pagination__page,
    .news-pagination__arrow {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .news-pagination__arrow {
        min-width: 32px;
        padding: 0;
    }

    .news-pagination__arrow--disabled {
        display: none;
    }

    .news-pagination__arrow-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}
