.page_nav a {
	text-decoration: none;
}
.page_nav a:not(.page_current){
	border: 1px solid var(--grey-light);
}
.navigation-wrapper {
    width: 100%;
    margin: 20px 0;
}

.page-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.page_nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page_nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.page_nav a:not(.page_current):hover {
    background-color: var(--grey-extra-light);
    color: var(--default-color);
}

.page_nav a.page_current {
    background-color: var(--red);
    color: #FFFFFF;
    cursor: default;
    pointer-events: none;
}

.page_arr {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prev_page, .next_page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--grey-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background-color: #FFFFFF;
}

.prev_page::after, .next_page::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--grey-extra-dark);
    border-right: 2px solid var(--grey-extra-dark);
    transition: border-color 0.2s ease;
}

.prev_page::after {
    transform: rotate(-135deg);
    left: 1px;
}

.next_page::after {
    transform: rotate(45deg);
    right: 1px;
}

a.prev_page:hover, a.next_page:hover {
    border-color: var(--grey);
    background-color: var(--grey-extra-light);
}

a.prev_page:hover::after, a.next_page:hover::after {
    border-color: var(--default-color);
}

.prev_page.disabled, .next_page.disabled {
    cursor: not-allowed;
    border-color: var(--grey-extra-light);
    background-color: var(--grey-extra-light);
}

.prev_page.disabled::after, .next_page.disabled::after {
    border-color: var(--grey);
}

@media (max-width: 767px) {
    .page-nav-container {
      /*  flex-direction: column;*/
        justify-content: center;
        gap: 16px;
    }

    .page_nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .page_arr {
        justify-content: center;
    }
}