.article-block__item {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: #FFFFFF;
  box-shadow: 18px 18px 20px #E9E9E9, -18px -18px 20px #FAFAFA;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.article-block__item_inverse .article-block__name {
  color: #fff;
}
.article-block__item_inverse .tags-list__item {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.article-block__item-wrapper {
  margin-bottom: 32px;
}
.article-block__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.article-block__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.article-block__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-block__img {
  max-width: 100%;
  max-height: 100%;
}
.article-block__img-wrapper {
  width: 120px;
  height: 120px;
  display: flex;
  margin: 0 auto 40px;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}
.article-block__img-wrapper picture {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.article-block__name {
  font-weight: bold;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  color: #231F25;
}
.article-block__tags {
  margin-top: 16px;
}
@media screen and (max-width: 1279px) {
  .article-block__img-wrapper {
    margin-bottom: 30px;
  }
  .article-block__name {
    font-size: 18px;
  }
}
@media screen and (max-width: 1199px) {
  .article-block__content {
    padding: 20px;
  }
  .article-block__img-wrapper {
    width: 80px;
    height: 80px;
  }
  .article-block__name {
    font-size: 16px;
  }
}
@media screen and (max-width: 649px) {
  .article-block__item-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .article-block__content {
    justify-content: center;
  }
  .article-block__img-wrapper {
    width: 120px;
    height: 120px;
  }
}
@media (hover: hover) {
  .article-block__item:hover {
    box-shadow: 18px 18px 20px #d5d5d5, -18px -18px 20px #f2f2f2;
  }
}
