/**
 * @file
 * Styles for the pager.
 */

.pager__items {
  margin: 0.25em 0 0.25em 1.5em; /* LTR */
  padding: 0;
  [dir="rtl"] & {
    margin: 0.25em 1.5em 0.25em 0;
  }
}

.pager__item {
  display: inline-block;
  margin: 0;
  padding: 0 0.4em;
  color: #757575;
  font-size: 1.08em;
  & a {
    padding: 0 5px 2px;
    transition: border-bottom-color 0.2s;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    line-height: 1.55em;
    -webkit-font-smoothing: antialiased;
  }
  &.is-active a {
    color: #2a678c;
    border-bottom-width: 3px;
    border-bottom-color: #2a678c;
    font-weight: 700;
  }
  & a:hover,
  & a:focus {
    color: #3395d2;
    border-bottom-color: #3395d2;
  }
}

.pager__item--next a,
.pager__item--last a,
.pager__item--first a,
.pager__item--previous a {
  color: #2a678c;
  border-bottom-width: 0;
}
