.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
}
.pagination > :last-child {
  justify-self: end;
}
.pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.page {
  min-inline-size: 2.75rem;
  justify-content: center;
  text-decoration: none;
}
.page[aria-current='page'] {
  border-radius: var(--radius-sm);
  background: var(--interactive-primary);
  color: var(--text-inverse);
}
@media (max-width: 479px) {
  .pages {
    display: none;
  }
}
