/**
 * @file
 * Standard Drupal Pager styling for Wares Point Theme.
 */

.pager {
  margin: var(--wp-space-2xl) 0;
  text-align: center;
}

.pager__items {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--wp-space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.pager__item {
  display: inline-block;
  margin: 0;
}

.pager__item a,
.pager__item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--wp-space-sm);
  border-radius: var(--wp-radius-sm);
  border: 1px solid var(--wp-border-soft);
  background-color: var(--wp-white);
  color: var(--wp-text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--wp-transition-fast);
}

.pager__item a:hover,
.pager__item a:focus {
  background-color: var(--wp-cream-light);
  border-color: var(--wp-sand-primary);
  color: var(--wp-brown-deep);
}

.pager__item.is-active a,
.pager__item.is-active span {
  background-color: var(--wp-brown-deep);
  border-color: var(--wp-brown-deep);
  color: var(--wp-white);
}

.pager__item--ellipsis {
  padding: 0 var(--wp-space-xs);
  color: var(--wp-text-muted);
}
