.pagination .tn-pagination li a {
  border-radius: 0.5rem;
  border: 0.063rem solid #c3c4c5;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  color: #c3c4c5;
}

.pagination .tn-pagination li.next a::before {
  font-family: 'icon-main' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pagination .tn-pagination li.previous a::before {
  font-family: 'icon-main' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: rotate(180deg);
}

.pagination .tn-pagination li.active a {
  border-color: #ec1c24;
  background: #ec1c24;
  color: #fff;
  cursor: default;
}

.pagination .tn-pagination li.disabled a {
  cursor: default;
  display: none;
}

@media (min-width: 1025px) {
  .tn-pagination li a {
    width: 2rem;
    height: 2.5rem;
    font-size: 1.125rem;
  }
}

@media (max-width: 1024px) {
  .tn-pagination li a {
    width: 2rem;
    height: 2.5rem;
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .tn-pagination li a {
    width: 2.125rem;
    height: 2.375rem;
    font-size: 1rem;
  }
}
