.swiper-top-posts {
  padding: 30px 0;
}

.top-post-items {
  position: relative;
  display: block;
}

.top-post-items img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.top-post-items div {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.new_posts_list .title {
  color: #fff;
  background-color: #0d5628;
  font-size: 18px;
  padding: 12px;
  font-weight: bold;
}

.new_posts_list .swiper-top-posts .swiper-button-next,
.new_posts_list .swiper-top-posts .swiper-button-prev {
  background-color: gray;
  width: 20px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.new_posts_list .swiper-top-posts .swiper-button-next::after,
.new_posts_list .swiper-top-posts .swiper-button-prev::after {
  font-size: 18px;
  position: relative;
}

.swiper-top-posts .top-post-items .category-name {
  color: #fff;
  background: #0d5628;
  position: absolute;
  border-radius: 16px;
  margin: 0.5em;
  padding: 0 8px;
  top: 0;
  left: 0;
  font-size: 11px;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0d5628 !important;
}
