.category-post img {
  width: 100% !important;
}

.page-links,
.pagination {
  text-align: center;
}

.page-links {
  margin-bottom: 20px;
}

.page-links,
.pagination .nav-links {
  margin-bottom: 30px;
}

.page-links .page-numbers,
.page-links .post-page-numbers,
.pagination .nav-links .page-numbers,
.pagination .nav-links .post-page-numbers {
  position: relative;
  margin: 0 0.3em;
  padding: 0.2em 0.3em;
  text-decoration: none;
  z-index: 1;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .page-links .page-numbers,
  .page-links .post-page-numbers,
  .pagination .nav-links .page-numbers,
  .pagination .nav-links .post-page-numbers {
    padding: 0.7em 1em;
  }
}

@media (min-width: 768px) {
  .page-links .page-numbers:not(.dots):not(.current):before,
  .page-links .post-page-numbers:not(.dots):not(.current):before,
  .pagination .nav-links .page-numbers:not(.dots):not(.current):before,
  .pagination .nav-links .post-page-numbers:not(.dots):not(.current):before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: #4d3bfe;
    -webkit-transform: scaleY(0) translateZ(0);
    transform: scaleY(0) translateZ(0);
    -webkit-transform-origin: bottom center;
    -ms-transform-origin: bottom center;
    transform-origin: bottom center;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: -1;
  }
  .page-links .page-numbers:not(.dots):not(.current):hover,
  .page-links .post-page-numbers:not(.dots):not(.current):hover,
  .pagination .nav-links .page-numbers:not(.dots):not(.current):hover,
  .pagination .nav-links .post-page-numbers:not(.dots):not(.current):hover {
    color: #fff;
  }
  .page-links .page-numbers:not(.dots):not(.current):hover:before,
  .page-links .post-page-numbers:not(.dots):not(.current):hover:before,
  .pagination .nav-links .page-numbers:not(.dots):not(.current):hover:before,
  .pagination
    .nav-links
    .post-page-numbers:not(.dots):not(.current):hover:before {
    -webkit-transform: scaleY(1) translateZ(0);
    transform: scaleY(1) translateZ(0);
  }
}

.page-links .page-numbers.dots,
.page-links .post-page-numbers.dots,
.pagination .nav-links .page-numbers.dots,
.pagination .nav-links .post-page-numbers.dots {
  opacity: 0.7;
}

.page-links .page-numbers.current,
.page-links .post-page-numbers.current,
.pagination .nav-links .page-numbers.current,
.pagination .nav-links .post-page-numbers.current {
  -webkit-box-shadow: inset 0 0 0 1px #ced4da;
  box-shadow: inset 0 0 0 1px #ced4da;
  color: #666;
}
