.so-custom-pagination {
    text-align: center;
    --main-href-size: 2.7em;
}

.so-custom-pagination a {
    display: inline-block;
    height: var(--main-href-size);
    min-width: var(--main-href-size);;
    line-height: var(--main-href-size);;
    padding: 0 0.7em;
    background-color: var(--color-white);
    color: var(--color-text);
 }
 
 .so-custom-pagination a.current {
    color: var(--color-primary);
 }

 .so-custom-pagination .direction {
    border-radius: 50%;
    width: var(--main-href-size);;
    color: transparent;
    background-repeat: no-repeat;
    background-size: 0.5em;
    background-position: center;
 }

 .so-custom-pagination .direction.prev {
    margin-right: 1.2em;
    background-image: url( './../../images/arrow-left.svg' );
 }

 .so-custom-pagination .direction.next {
    margin-left: 1.2em;
    background-image: url( './../../images/arrow-right.svg' );
 }

 .so-custom-pagination .first {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
 }

 .so-custom-pagination .last {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
 }
 