*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

.row-grid {
  display: grid;
  gap: 20px;
}

@media screen and (min-width: 500px) {
  .row-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.news-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}

.news-image {
  width: 100%;
  max-width: 100%;
  display: block;
}

.news-title {
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
}
