@import '../../_global/styles/mixins';
@import '../../_global/styles/vars';

.pagination {
  --pagination-button-margin: 5px;

  @media(max-width: 767px) {
    --pagination-button-margin: 3px;
  }

  ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 calc(var(--pagination-button-margin) * -1);
    width: 100%;
  }

  .btn {
    margin: var(--pagination-button-margin);
    padding-left: 5px;
    padding-right: 5px;

    &.current {
      --button-bg-color: var(--theme-color-primary-dimmed-04);
      --button-text-color: var(--theme-color-primary);

      &::after {
        display: none;
      }
    }
  }
}