.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
}

.pagination__indicator a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #757575;
  text-decoration: none;
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  padding: .28571rem .5rem;
}
.pagination__indicator.active a {
  color: #333;
  border-block-end: 2px solid rgb(0 0 0 / 100%);
}

.pagination__parts-wrapper,
.pagination__parts {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 959px) {
  .pagination__parts-wrapper,
  .pagination__parts {
    gap: 6px;
  }
}

.pagination__parts-wrapper--reverse,
.pagination__parts--reverse {
  flex-direction: row-reverse;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination__button {
  width: 40px;
  height: 40px;
}

.pagination__button img {
  width: 20px;
}

@media (max-width: 959px) {
  .pagination__button {
    width: 32px;
    height: 32px;
  }

  .pagination__button .icon {
    width: 12px;
  }
}

.pagination__button--previous {
  transform: rotate(-90deg);
}
.pagination__button--next {
  transform: rotate(90deg);
}

.pagination__indicator {
  padding: 0px;
}

@media (max-width: 959px) {
  .pagination__indicator {
    padding: 6px;
  }

  .pagination__indicator.is-text + .pagination__indicator {
    display: none;
  }

  .pagination__indicator.active {
    display: block;
  }
}
