.news_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.news_item {
  border-radius: 5px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  padding: 16px;
  transform: translateY(30px);
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.9s ease;
}

.slider_news_item {
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 16px;
  transition: all 0.9s ease;
}

.news_item.fade {
  opacity: 1;
  transform: translateY(0);
}

.news_item:hover {
  box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
}

.news_title {
  font-size: 16px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_img_wrap {
  aspect-ratio: 16/9;
  border-radius: 5px;
  overflow: hidden;
}

.news_img_wrap img {
  transition: transform 0.9s ease;
}

.content_link:hover .news_img_wrap img {
  transform: scale(1.1);
}

.news_subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #333333;
}

@media screen and (min-width: 768px) {
  .news_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .news_title {
    font-size: 18px;
  }

  .news_subtitle {
    font-size: 14px;
  }
}

@media screen and (min-width: 1200px) {
  .news_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .news_item {
    padding: 24px;
  }

  .slider_news_item {
    padding: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .news_title {
    font-size: 20px;
  }

  .news_subtitle {
    font-size: 16px;
  }
}
