.news-main__container {
  padding-bottom: 140px;
}

.news-main__title {
  margin-bottom: 60px;
}

.news-main__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 60px;
}
.news-main__item {
  min-height: 283px;
}
.news-main__link {
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  border-radius: 8px;
  height: 100%;
  overflow: hidden;
}
.news-main__item-img-wrap {
  min-width: 220px;
}
.news-main__item-img {
  height: 100%;
  border-radius: 8px 8px 0px 0px;
}
.news-main__item-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-main__item-date {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--grey-41);
  font-size: 13px;
  line-height: normal;
}

.news-main__item-title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 500;
  line-height: 120%;
}

.news-main__item-text {
  color: var(--grey-41);
}
.news-main__item-more {
  margin-top: auto;
  margin-left: auto;
}

.news-main__link:hover .news-main__item-more,
.news-main__link:focus .news-main__item-more {
  color: var(--main-hover);
}

.news-main__link:hover .news-main__item-title,
.news-main__link:focus .news-main__item-title {
  color: var(--main-hover);
}

@media screen and (max-width: 1280px) {
  .news-main__container {
    padding-top: 20px;
    padding-bottom: 120px;
  }
  .news-main__title {
    margin-bottom: 30px;
    font-size: 34px;
    line-height: 40px;
  }
  .news-main__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-main__item-title {
    font-size: 20px;
  }

  .news-main__item-more {
    margin-top: 20px;
    padding: 8px 16px;
  }
}

@media screen and (max-width: 768px) {
  .news-main__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .news-main__item-content {
    padding: 20px;
  }
  .news-main__item {
    min-height: auto;
  }
  .news-main__item-content {
    padding: 10px;
  }
  .news-main__item-img {
    width: 100%;
  }
}
