// Rewrite pagination
.pagination
  margin-top 3rem
  justify-content center

  .space
    align-self flex-end

  .page-number, .current, .extend
    outline 0
    border 0
    background-color transparent
    font-size .9rem
    padding .5rem .75rem
    line-height 1.25
    border-radius .125rem

  .page-number
    margin 0 .05rem

  .page-number:hover, .current
    transition background-color .2s ease-in-out
    background-color var(--link-hover-bg-color)
