@charset "UTF-8";

/*Миксины*/

.news__year {
  opacity: 0.6;
}

.news-list {
  -webkit-box-align: unset;
      -ms-flex-align: unset;
          align-items: unset;
  gap: 24px;
}

.news__big-block {
  width: calc(50% - 12px);
}

.news__small-block {
  /* width: calc((((100vw - (40px * 2)) + 24px) / 8 * 2) - 24px + 0px); */
  width: calc((100% - 48px) / 3);
}
.news-list .v2_press_block {
	width: calc((100% - 72px) / 4);
}
/* .news-list .v2_press_block .v2_press_block__picture {
	height: 231px;
} */

.news__item {
  display: block;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}
.news__item .corners {
	opacity: 0;
	transition: 250ms ease;
}
.news__item:hover .corners {
    opacity: 1;
}
.news-list--full-height .news__item {
  height: 100%;
}

.news__image {
  width: 100%;
  border-radius: 8px;
  background: url(../img/icons/no-image.svg) center center/auto calc(100% - 64px) no-repeat;
  background-color: #fff;
  margin-bottom: 24px;
  overflow: hidden;
}
.news__image img {
  background-color: #fff;
}

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

.news__image video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news__tags {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 32px 24px;
  gap: 12px;
}

.news__logo img {
  margin: 0;
  height: 24px;
  width: auto;
  position: relative;
  background: none;
}

.news__info {
  gap: 12px 24px;
}

.news__date {
  width: calc(25% - 12px);
}

.news__title {
  width: calc(75% - 12px);
  overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 3;
           line-clamp: 3;
   -webkit-box-orient: vertical;
}

.news__small-block {
  gap: 48px;
}

.news__small-block .news__image {
  margin-bottom: 16px;
  /* display: none; */
}

.news__small-block .news__info {
  gap: 8px;
}

.news__small-block .news__date,
.news__small-block .news__title {
  width: 100%;
}

.news__more {
  /* margin-top: auto; */
  margin-top: 20px;
}

.theme-light .news__image {
  background-color: #141414;
}

.theme-light .news__year path {
  stroke: #141414;
}

.theme-light .news__item {
  border: 1px solid rgba(20, 20, 20, 0.1);
}

.theme-light .news__image img {
  background-color: #141414;
}

.news__year .corners-text span {
  animation: fadeChange 2s infinite linear;
}
@keyframes fadeChange {
  0% {opacity: 1;}
  1% {opacity: 0.5;}
  6% {opacity: 0;}
  10% {opacity: 0;}
  11% {opacity: 1;}
  15% {opacity: 1;}
  16% {opacity: 0;}
  20% {opacity: 0;}
  21% {opacity: 1;}
  25% {opacity: 1;}
  26% {opacity: 0;}
  30% {opacity: 0;}
  31% {opacity: 1;}
  40% {opacity: 1;}
  41% {opacity: 0;}
  50% {opacity: 0;}
  51% {opacity: 1;}
  100% {opacity: 1;}
}

@media (max-width: 1280px) {
  .news__big-block {
    width: 100%;
  }

  .news__small-block {
    width: calc(50% - 12px);
  }
  .news-list .v2_press_block {
  	width: calc(50% - 12px);
  }
}

@media (max-width: 680px) {
  .news__year svg {
    width: 24px;
    height: 24px;
  }

  .news__image {
    margin-bottom: 16px;
  }

  .news__info {
    gap: 8px;
  }

  .news__date {
    width: 100%;
  }

  .news__title {
    width: 100%;
  }

  .news__small-block {
    width: 100%;
  }
  .news-list .v2_press_block {
  	width: 100%;
  }
}

/* .news__small-block .fit-image img{
	object-fit: fill;
} */