.pager__items {
  display: flex;
  gap: 0 3px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 04;
}

.pager__item > a {
  font-size: 22px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  text-align: center;
  color: var(--beforce-lightblue);
  border: 1px solid var(--beforce-lightblue);
  transition: background-color .25s ease-in-out;
}

@media (max-width: 767px) {
  .pager__item > a {
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
}

.pager__item > a:hover,
.pager__item.is-active > a {
  color: #fff;
  background-color: var(--beforce-lightblue);
}

.pager__item > a {
  display: block;
  text-decoration: none;
}

.pager__item--first > a,
.pager__item--last > a {
  position: relative;
  width: 85px;
  border-radius: 30px;
  background-color: var(--beforce-lightblue);
}

@media (max-width: 767px) {
  .pager__item--first,
  .pager__item--last {
    display: none;
  }
}

.pager__item--first > a:after,
.pager__item--last > a:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 29px;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .pager__item--first > a:after,
  .pager__item--last > a:after {
    width: 35px;
    height: 19px;
  }
}

.pager__item--first > a:after {
  background-image: url('/themes/custom/ebm/images/arrow-white-left.svg');
}

.pager__item--last > a:after {
  background-image: url('/themes/custom/ebm/images/arrow-white-right.svg');
}