/* Pager (brandbook "Pager"): core's pager (templates/navigation/
   pager.html.twig) under a list. Page links are 44 px tap targets in the
   primary colour, centred, wrapping; the current page is navy with white
   text. 16 px above it by default; an area that frames the pager in its
   own band (the wallet's section footer) sets the margin to 0. */
.mm-pager {
  margin-top: var(--mm-space-4);
}

.mm-pager .pager__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--mm-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-pager .pager__item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--mm-space-2);
  border-radius: var(--mm-radius-control);
  color: var(--mm-primary);
  text-decoration: none;
}

.mm-pager .pager__item a:hover {
  background: var(--mm-primary-surface);
}

.mm-pager .pager__item.is-active a {
  background: var(--mm-primary);
  color: var(--mm-surface);
  font-weight: 600;
}
