.article {
  background: #fff;
  border: 1px solid rgba(69, 83, 241, 0.05);
  box-shadow: 0px 8px 32px rgba(69, 83, 241, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
@media only screen and (min-width: 768px) {
  .article {
    height: 45rem;
  }
}
.article__header {
  padding: 1.6rem 2.4rem 0;
}
.article__head {
  display: flex;
  align-items: center;
}
.article__head span {
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 120%;
  color: #606492;
}
.article__head span:not(:first-of-type) {
  margin-left: 1.6rem;
}
.article__head span.article__media {
  background-color: #f95a00;
  border-radius: 0.4rem;
  padding: 0.2rem 0.4rem;
  text-transform: uppercase;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
@media only screen and (min-width: 768px) {
  .article__head span.article__media {
    font-size: 1.1rem;
  }
}
.article__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  right: 0;
  top: 0;
  gap: 0.5rem;
  margin-left: 1.6rem;
  z-index: 5;
}
.article__tags span:not(:first-of-type) {
  margin: 0;
}
.article__img {
  width: 100%;
  max-height: 20rem;
  background: #eaeaf9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  overflow: hidden;
  z-index: 0;
}
.article__img .just-watched {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 26, 27, 0.5);
  z-index: 2;
  color: #fff;
}
.article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.article__person {
  display: flex;
  align-items: flex-end;
  margin-top: -2.6rem;
  padding: 0 1rem;
}
.article__person-img {
  width: 6.6rem;
  height: 6.6rem;
  border-radius: 20rem;
  border: 5px solid #fff;
  box-shadow: 0px 0px 13px rgba(69, 83, 241, 0.1);
  overflow: hidden;
  box-sizing: content-box;
}
.article__person-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.article__person-wrap {
  margin-left: 1rem;
  flex: 1;
}
.article__person-name {
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 140%;
  color: #191919;
}
.article__person-position {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 140%;
  color: #606492;
  margin-top: 0.2rem;
}
@media only screen and (min-width: 992px) {
  .article__person-position {
    font-size: 1rem;
    line-height: 130%;
  }
}
.article__content {
  padding: 1.2rem 2.4rem 0;
  overflow: hidden;
  z-index: 99;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media only screen and (min-width: 992px) {
  .article__content {
    border-radius: 12px;
    height: 100%;
    padding: 1.6rem 2.4rem 5.8rem;
  }
}
.article__title {
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 140%;
  color: #191919;
  transition: 0.2s ease-in-out;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
}
@media only screen and (min-width: 768px) {
  .article__title {
    min-height: 6.72rem;
  }
}
.article__descr {
  flex: 1;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 140%;
  color: #606492;
  margin-top: 1.2rem;
  transition: 0.2s ease-in-out;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
}
.article__descr h1,
.article__descr h2,
.article__descr h3,
.article__descr h4,
.article__descr h5,
.article__descr h6,
.article__descr p,
.article__descr span,
.article__descr li,
.article__descr a {
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.article__descr h1,
.article__descr h2,
.article__descr h3,
.article__descr h4,
.article__descr h5,
.article__descr h6,
.article__descr p,
.article__descr ul,
.article__descr ol {
  margin-bottom: 0.5rem;
}
.article__descr a {
  pointer-events: none;
  color: inherit !important;
  text-decoration: underline;
}
.article__descr h1,
.article__descr h2,
.article__descr h3,
.article__descr h4,
.article__descr h5,
.article__descr h6 {
  line-height: 130%;
}
.article__descr h1,
.article__descr h2,
.article__descr h3,
.article__descr h4,
.article__descr h5,
.article__descr h6,
.article__descr strong,
.article__descr b {
  font-weight: 600;
}
.article__descr li {
  margin-left: 1.6rem;
}
.article__descr ul li {
  list-style: disc;
}
.article__descr img,
.article__descr svg,
.article__descr div,
.article__descr iframe {
  display: none;
}
.article__bttn {
  justify-content: flex-start;
  padding: 0;
  min-height: auto;
  padding: 1.2rem 2.4rem 2.4rem;
  background-color: #fff;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  z-index: 999;
  font-size: 1.6rem;
  margin-top: auto;
}
@media only screen and (min-width: 992px) {
  .article__bttn {
    position: absolute;
    bottom: 0;
  }
}
.article__bttn:after {
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  mask-image: url(../../img/icons/article-arrow.svg);
}
.article:hover {
  border: 1px solid rgba(69, 83, 241, 0.05);
  box-shadow: 0px 20px 32px rgba(69, 83, 241, 0.16);
}
@media only screen and (min-width: 992px) {
  .article:hover .article__content {
    background-color: #fff;
    margin-top: -24rem;
    height: 100%;
  }
  .article:hover .article__title {
    -webkit-line-clamp: 5;
    min-height: 0;
  }
  .article:hover .article__descr {
    -webkit-line-clamp: 15;
  }
  .article:hover .article__title, .article:hover .article__descr {
    color: #191919;
  }
  .article:hover .article__bttn {
    color: #191919;
  }
  .article:hover .article__bttn::after {
    transform: rotate(45deg);
    background: #191919;
  }
}
.article--case .article__img {
  height: 11rem;
}

.blog__item.article {
  text-decoration: none;
}