.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: $spacer;
    border-top: 1px solid var(--color-gray-light);

    a:hover {
        text-decoration: none;
    }

    &-left {
        justify-content: left;
    }

    &-right {
        justify-content: right;
    }

    &-pages {
        display: flex;
        padding: 0;
        margin-bottom: 0;
        list-style: none;
    }

    // .page-link,
    // .page-separator {
    //     color: var(--color-gray);
    //     text-decoration: none;
    // }
    .page-info {
        margin-right: auto;
    }

    .page-link-prev,
    .page-link-next {
        display: flex;
        align-items: center;

        &::before,
        &::after {
            font-family: efile;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-style: normal;
            font-variant: normal;
            font-weight: 400;
            text-decoration: none;
            text-transform: none;
            font-size: 1.5rem;
            line-height: 1.5rem;
        }
    }

    .page-link-prev {
        margin-right: $spacer * .25;

        &::before {
            content: "\e009";
        }
    }
    .page-link-next {
        margin-left: $spacer * .25;

        &::after {
            content: "\e00a";
        }
    }
}

@include media-breakpoint-down(sm) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;

        .page-info {
            flex: 1 0 100%;
            margin-bottom: $spacer;
            text-align: center;
        }
    }
}