

/* Start:/local/templates/main/components/bitrix/news.list/news-grid/style.css?17338231202353*/
.news__grid {
  --font-family: 'Overpass', sans-serif;
  --second-family: 'Oswald', sans-serif;
}

.news__item a {
  transition: .25s;
}

.news-item__img img {
  height: 16.5vw;
  width: 100%;
  object-fit: cover;
  transition: .5s;
}

.news-item__img {
  position: relative;
  margin-bottom: 20px;

  overflow: hidden;
}

.news-item__description {
  margin-bottom: 0;
}

.news-item__date {
  position: absolute;
  left: 0;
  top: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 13px;

  color: #000;
  padding: 15px 20px;
}

.news__grid {
  --gap: 45px;
  --columns: 3;
  gap: var(--gap);

  display: flex;
  flex-wrap: wrap;
}

.news__item {
  width: calc((100% / var(--columns)) - var(--gap) + (var(--gap) / var(--columns)));
  height: auto;
}

.news__grid .news__item {
  margin-bottom: 0;

}

.news-item__title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 120%;
  color: #000;
  text-decoration: none;
  margin-bottom: 15px;
  display: inline-block;
}

.news-item__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-item__bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.news-item__link {
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  background: #000;
  padding: 10px 20px;
  text-decoration: none;

}

.news-item-link__icon {
  margin-left: 30px;
}



@media(min-width: 769px) {
  .news-item__link:hover {
    background: #4982CF;
    color: #fff;
  }

  .news-item__title:hover {
    color: #4982CF;
  }

  .news__item:hover .news-item__img img {
    transform: scale(1.1);
  }

}

@media(max-width: 1024px) {
  .news__grid {
    --gap: 25px;
  }

  .news-item__title {
    font-size: calc(8px + 1.7vw);
  }

}


@media(max-width: 768px) {
  .news__grid {
    --gap: 15px;
    --columns: 2;
  }

  .news-item__img img {
    height: 25vw;
  }

  .news-item__date {
    padding-top: 9px;
    padding-bottom: 6px;
  }

}

@media(max-width: 460px) {
  .news__grid {
    --columns: 1;
    --gap: 35px;
  }

  .news-item__img img {
    height: 49vw;
  }

  .news-item__title {
    font-size: calc(8px + 4vw);
  }
  .news-item__bottom {
    margin-top: 20px;
  }
}
/* End */
/* /local/templates/main/components/bitrix/news.list/news-grid/style.css?17338231202353 */
