@charset "UTF-8";

/*Миксины*/

.news__image {
  overflow: hidden;
  width: 40.9%;
}

.news__image::before {
  content: "";
  display: block;
  margin-top: 65%;
}

.news__image img {
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.news {
  border: 1px solid var(--gray-2);
}

.news:hover .news__image img {
  -webkit-transform: scale(110%);
      -ms-transform: scale(110%);
          transform: scale(110%);
}

.news__video {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 64px;
  height: 64px;
  z-index: 1;
  background: #fff url(../img/icons/play.svg) center center/32px no-repeat;
  border-radius: 8px;
}

@media (max-width: 700px) {
  .news__image {
    width: 100%;
  }

  .news__video {
    width: 56px;
    height: 56px;
  }
}