.pager__items {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  list-style-type: none;
  margin-block: 3.125rem 1.875rem;
  padding-inline-start: 0;
}

.pager__item {
  font-weight: 700;
  margin-inline: 0.40625rem;
}

.pager__item a {
  text-decoration: none;
}

.is-active a {
  color: var(--color-accent);
}

.pager__item--next a,
.pager__item--previous a {
  align-items: center;
  background-color: var(--color-accent-2);
  border-radius: 0.5rem;
  color: var(--color-white);
  display: flex;
  height: 3.5rem;
  justify-content: space-between;
  padding-inline: 0.8125rem;
}

.pager__item--next a:hover,
.pager__item--next a:focus,
.pager__item--previous a:hover,
.pager__item--previous a:focus {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.pager__item--next {
  margin-inline-start: 2.09375rem;
}

.pager__item--previous {
  margin-inline-end: 2.09375rem;
}

.pager__item--next a span:nth-child(2),
.pager__item--previous a span:nth-child(2) {
  display: none;
}

.pager__item--next a::after,
.pager__item--previous a::before {
  background: url("../../assets/images/site/icons/circled-arrow-white.png")
    center/contain no-repeat;
  content: "";
  display: block;
  height: 1.875rem;
  width: 1.875rem;
}

.pager__item--previous a::before {
  transform: rotate(180deg);
}

:dir(rtl) .pager__item--next a::after {
  transform: rotate(180deg);
}

:dir(rtl) .pager__item--previous a::before {
  transform: rotate(0deg);
}

.feed-icons {
  display: none;
}

@media screen and (min-width: 48rem) {
  .pager__items {
    margin-block: 4.9375rem 4.375rem;
  }

  .pager__item--next a,
  .pager__item--previous a {
    height: 4.5rem;
    padding-inline: 1.25rem;
  }

  .pager__item--next {
    flex: 1;
    max-width: 15.625rem;
    width: 100%;
  }

  .pager__item--previous {
    flex: 1;
    max-width: 15.625rem;
    width: 100%;
  }

  .pager__item--next a span:nth-child(2),
  .pager__item--previous a span:nth-child(2) {
    display: block;
  }
}
