.newsItem {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  max-height: 300px;
  padding: 50px 0px;
  border-bottom: 2px solid #7a7a7a;
}

.newsItem>img {
  width: 100%;
  max-width: 260px;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.newsItem .niBody {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
}

.newsItem .niBody h3 {
  font-size: 27px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.newsItem .niBody p {
  font-size: 16px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.newsItem .niBody a {
  line-height: 43px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: #1d1d1d;
  display: inline-block;
  background-color: #fff;
  width: 220px;
  border: 1px solid #fff;
  border-radius: 10px;
  margin-top: 9px;
  transition: all 0.5s ease-in-out;
}
.newsItem .niBody a:hover{
  background-color: #1d1d1d;
  color: #fff;
}

@media (max-width:960px) {
  .mainBlog h2{
    margin-bottom: unset;
  } 
  .newsItem{
    gap: 20px;
  }
  .newsItem>img{
    max-width: 220px;
    max-height: 220px;
    aspect-ratio: 1/1;
  }
  .newsItem .niBody{
    gap: 10px;
  }
  .newsItem .niBody p {
    -webkit-line-clamp: 6;
  }
}
@media (max-width:640px) {
  .newsItem{
    max-height: unset;
  }
  .newsItem>img{
    aspect-ratio: 140 / 260;
  }
  .newsItem .niBody h3{
    font-size: 18px;
  }
}
@media (max-width:480px) {
  .newsItem{
    flex-direction: column;
  }
  .newsItem>img{
    width: 100%;
    max-width: unset;
    aspect-ratio: unset;
  }
}


/** --- paginator --- **/
.paginator{
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.paginator span{
  display: inline-block;
  width: 42px;
  height: 42px;
  text-align: center;
  cursor: pointer;
  margin: 5px;
  border-radius: 10px;
  border: 1px solid #fff;
  transition: all 0.5s;
  color: #fff;
}
.paginator span:hover{
  background-color: #fff;
  border: 1px solid #fff;
  color: #1d1d1d;
}
.paginator span > a{
  display: inline-block;
  padding: 10px;
  color: #fff;
}
.paginator span:hover > a{
  color: #1d1d1d;
}
.paginator .current{
  border: 1px solid #fff;
  background-color: #fff;
  color: #1d1d1d;
  border-radius: 10px;
}
.paginator .current>a{
  color: #1d1d1d;
}
.paginator .current:hover > a{
  color: #1d1d1d;
}
.paginator span > .toEnd {
  width: 100%;
  height: 100%;
  background-image: url('/images/arrow.svg');
  background-repeat: no-repeat;
  background-position: 7px 15px;
  transform: rotate(-90deg);
}
.paginator span:hover > .toEnd {
  background-image: url('/images/arrow_black.svg');
}
.paginator span > .toStart {
  width: 100%;
  height: 100%;
  background-image: url('/images/arrow.svg');
  background-repeat: no-repeat;
  background-position: 7px 15px;
  transform: rotate(90deg);
}
.paginator span:hover > .toStart {
  background-image: url('/images/arrow_black.svg');
}
@media (max-width: 960px){
  .paginator{
    margin-top: 0px;
    margin-bottom: 0px;
  }
}