.contentContainer {
  margin-top: 50px;
  direction: rtl;
  display: flex;
  gap: 30px;
  flex-direction: column;
}

last-news-content {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(290px, 100%));
  gap: 20px;
  width: 100%;
  height: max-content;
}

.newsItem {
  background: var(--white);
  border-radius: 20px;
  position: relative;
  width: 290px;
  height: 360px;
}

.newsImgContainer {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.newsImgContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  transition: var(--transition);
}

.newsContent {
  height: 160px;
  width: 100%;
  padding: 15px 18px;
  position: relative;
}

.newsTitle {
  text-align: center;
  font-size: 13pt;
  font-family: PeydaBold;
  display: -webkit-box;
  width: 100%;
  max-height: 50px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.newsBody {
  margin-top: 7px;
  font-size: 15px;
  text-align: justify;
  display: -webkit-box;
  width: 100%;
  height: 45px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showNewsBtn {
  position: absolute;
  bottom: 15px;
  left: 23px;
  color: var(--darkBlue);
  font-size: 11pt;
  text-decoration: none;
}

.moreNews {
  width: 170px;
  height: 50px;
  margin: 0 auto;
  background: var(--darkBlue);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 12pt;
  transition: var(--transition);
}

.moreNews:hover {
  background: #2e58e5;
}

footer {
  margin-top: 30px;
}
