.news {
  display: grid;
  margin-top: 50px;
}
.news__header {
  background: #F2F2F2;
}
.news__header-content {
  display: grid;
  gap: 15px;
  padding-top: 30px;
  padding-bottom: 150px;
}
.news__name {
  color: #0072BC;
  font-size: 3.2rem;
  font-weight: 500;
  text-align: center;
}
.news__title {
  font-size: 2.4rem;
  text-align: center;
  color: #3A3A3A;
  font-weight: bold;
}
.news__text {
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  color: #6E6E6E;
  justify-self: center;
  max-width: 580px;
}
.news__link {
  justify-self: center;
}
.news__list {
  position: relative;
  top: -125px;
  display: grid;
  gap: 50px;
}
@media (min-width: 786px) {
  .news {
    margin-top: 100px;
  }
  .news__name {
    font-size: 3.8rem;
  }
  .news__title {
    font-size: 4.2rem;
  }
  .news__text {
    font-size: 2.4rem;
  }
  .news__list {
    grid-template-columns: repeat(3, 1fr);
    align-content: flex-start;
  }
}

.card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto 1fr;
  padding: 10px;
  gap: 25px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  background: #fff;
  align-items: flex-start;
  border-radius: 5px;
}
.card__image {
  width: 100%;
  grid-column: 1/3;
}
.card__title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #0072BC;
  grid-column: 1/3;
}
.card__text {
  font-weight: 400;
  color: #6E6E6E;
  font-size: 1.6rem;
  grid-column: 1/3;
}
.card__link {
  justify-self: flex-start;
  align-self: flex-end;
  width: 100%;
}
.card__date {
  justify-self: flex-end;
  align-self: flex-end;
  font-weight: 500;
  font-size: 1.6rem;
  color: #6E6E6E;
}

.search {
  display: grid;
  margin-top: 50px;
  gap: 25px;
}
.search__title {
  font-size: 1.8rem;
  color: #3A3A3A;
  text-align: center;
}
.search__image {
  width: 100%;
}
.search__list {
  display: grid;
  gap: 25px;
}
.search__element {
  display: flex;
  flex-direction: column;
  background: #F2F2F2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}
.search__element-content {
  padding: 25px;
  display: grid;
  gap: 25px;
}
.search__element-title {
  text-align: center;
  font-size: 1.8rem;
  color: #3A3A3A;
}
.search__text {
  text-align: center;
  font-size: 1.6rem;
  color: #6E6E6E;
}
.search__link {
  background: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1.6rem;
  text-transform: uppercase;
  padding: 5px;
  border-radius: 5px;
  font-weight: bold;
  color: #3A3A3A;
  border: solid 1px #6E6E6E;
  transition: background 0.3s, color 0.3s;
}
.search__link:hover, .search__link:focus {
  background: #3A3A3A;
  color: #fff;
}
@media (min-width: 786px) {
  .search {
    gap: 50px;
  }
  .search__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .search__title {
    font-size: 2.8rem;
  }
  .search__element-title {
    font-size: 2rem;
  }
}/*# sourceMappingURL=module.css.map */