/* 40px circles, the current page a little larger, centred under the grid —
   the same shape the reference design uses. */
.alt-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: var(--alt-pager-top, 60px);
  font-size: 16px;
}

.alt-pager__item,
.alt-pager__deco {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  color: var(--alt-text-color);
}

.alt-pager__item {
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.alt-pager__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.alt-pager__item:hover {
  background: var(--alt-heading-color);
  color: var(--alt-on-dark);
}

.alt-pager__item.is-current {
  width: 44px;
  height: 44px;
  background: var(--alt-heading-color);
  color: var(--alt-on-dark);
  font-weight: 600;
}

@media (max-width: 767px) {
  .alt-pager { margin-top: var(--alt-pager-top-m, 30px); }
}
