.pagination {
    margin:20px auto 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page_num {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    transition: .2s;
}

.page_num:hover:not(.active) {
    color: #005ba9;
}

.page_num.active {
    border-radius: 50%;
    background: #005ba9;
    color: #fff;
}

.page_icon {
    width: 26px;
    height: 26px;
    border: 4px solid #005ba9;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: background-color .25s ease,
                border-color .25s ease,
                transform .25s ease;
}

.page_icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 3px solid #005ba9;
    border-right: 3px solid #005ba9;
    transition: border-color .25s ease,
                transform .25s ease;
}

.page_icon.page_next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.page_icon.page_prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.page_icon:hover {
    background: #005ba9;
}

.page_icon:hover::before {
    border-color: #fff;
}