.pagination__wrap {
  text-align: center;
  margin: 30px 0;
}

.pagination__wrap .pagination__num {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

@media screen and (max-width: 1023px) {
  .pagination__wrap .pagination__num {
    font-size: 1.8rem;
  }
}

.pagination__wrap .pagination {
  display: flex;
  justify-content: center;
}

.pagination__wrap .pagination .page-item {
  margin: 0 5px;
}

@media screen and (max-width: 1023px) {
  .pagination__wrap .pagination .page-item {
    margin: 0 1rem;
    font-size: 2rem;
  }
}

.pagination__wrap .pagination .page-item .page-link {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination__wrap .pagination .page-item .page-link:hover {
  color: #fff;
  text-decoration: none;
  background-color: #333;
  border-color: #ddd;
}

.pagination__wrap .pagination .page-item .page-link:focus {
  z-index: 2;
  outline: 0;
  box-shadow: none;
}

@media screen and (max-width: 1023px) {
  .pagination__wrap .pagination .page-item.ellipsis {
    margin: 0 0;
  }
}

.pagination__wrap .pagination .page-item.ellipsis .page-link {
  border: none;
}

.pagination__wrap .pagination .page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #333;
  border-color: #ddd;
}

.pagination__wrap .pagination .page-item.disabled .page-link {
  color: #999;
  pointer-events: none;
  cursor: auto;
  background-color: inherit;
  border-color: #ddd;
}

.pagination__wrap .pagination .page-item a,
.pagination__wrap .pagination .page-item.active {
  text-decoration: none;
  transition: all 0.3s linear;
  background: #fff;
}

