.newsSection {
  margin-top: 63px;
}

.heroNews {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 32px;
  overflow: hidden;
  z-index: 1;
}

.heroNews__yangilik {
  display: flex;
  align-items: flex-end;
  padding: 32px 40px;
  width: 100%;
  height: 100%;
}

.heroNews img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.heroNews::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  z-index: -1;
}

.heroNews__content {
  color: var(--white);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.heroNews__textDiv {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.heroNews__title {
  font-family: "Roboto";
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  text-transform: uppercase;
}

.heroNews__subtitle {
  font-family: "Roboto";
  font-size: 18px;
  line-height: 28px;
  color: #8F8F8F;
  max-width: 984px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.heroNews__content>.calendar {
  color: #8F8F8F;
}

.calendar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9A999B;
}

.calendar__svg {
  width: 20px;
  height: 20px;
  color: currentColor;
}

.calendar__time {
  font-family: "Roboto";
  font-size: 14px;
  line-height: 20px;
  margin-top: 3px;
}

.allNews {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.news__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #F0F0FF;
  border-radius: 24px;
  padding: 16px;
}

.news:hover .newsImage__img {
  transform: scale(1.1);
  transition: 0.3s;
}

.news:hover {
  border: 1px solid var(--pink);
  transition: 0.3s;
  box-shadow: 0 30px 45px rgba(0, 0, 0, 0.1);
}

.newsImage {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.newsImage__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.news__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news__title {
  font-family: "Exo 2";
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--blue);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news__desc {
  font-family: 'Roboto';
  font-size: 18px;
  line-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #5D5D5F;
}

/* ===== Hero-news ===== */
.heroYangilik {
  margin-bottom: 144px;
}

#lineClamp {
  display: -webkit-box;
  -webkit-line-clamp: unset;
}

.heroYangilikImage {
  position: relative;
  width: 100%;
  height: 630px;
  border-radius: 32px;
  overflow: hidden;
}

.heroYangilik__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.heroYangilik__title {
  font-family: "Roboto";
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  color: #020105;
  text-transform: uppercase;
}

.heroYangilik__subtitle {
  font-family: "Roboto";
  font-size: 18px;
  line-height: 28px;
  color: #8F8F8F;
  max-width: 984px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1800px) {
  .heroYangilik {
    margin-bottom: 72px;
  }

  .heroNews,
  .heroYangilikImage {
    height: 480px;
  }

  .heroNews__subtitle,
  .heroYangilik__subtitle {
    max-width: 1000px;
  }
}

@media (max-width: 1024px) {

  .heroNews,
  .heroYangilikImage {
    height: 400px;
  }

  .heroNews__title,
  .heroYangilik__title {
    font-size: 26px;
    line-height: 32px;
  }

  .heroNews__subtitle,
  .news__desc,
  .heroYangilik__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .allNews {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .news__title {
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {

  .heroNews,
  .heroYangilikImage {
    border-radius: 24px;
    padding: 20px;
  }

  .heroNews__textDiv {
    gap: 4px;
  }

  .heroNews__title,
  .heroYangilik__title {
    font-size: 24px;
    line-height: 30px;
  }

  .heroNews__subtitle,
  .news__desc,
  .heroYangilik__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .heroNews__content {
    gap: 10px;
  }

  .newsSection {
    margin-top: 40px;
  }

  .allNews {
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }

  .newsImage {
    height: 230px;
  }
}

@media (max-width: 600px) {
  .allNews {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .heroNews,
  .heroYangilikImage {
    height: 270px;
  }

  .heroNews__content>.calendar {
    color: #F0F0FF;
  }
}