section.news {
  background: #f9f9f9;
}

section.news .article-card {
  display: block;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  position: relative;
}

section.news .article-card--big {
  min-height: 160px;
}
section.news .article-card--small {
  min-height: 140px;
}

section.news .article-card .image_wrapper {
  position: relative;
  display: block;
  overflow: hidden;
}

section.news .article-card .image_wrapper img {
  width: 100%;

  border-radius: 10px;
  aspect-ratio: 2/1;
}

section.news .article-card--big .image_wrapper img {
  -webkit-mask: url(#svg-mask-card-big) no-repeat center;
  mask: url(#svg-mask-card-big) no-repeat center;
  -webkit-mask-size: cover;
  mask-size: cover;
}
section.news .article-card--small .image_wrapper img {
  -webkit-mask: url(#svg-mask-card-small) no-repeat center;
  mask: url(#svg-mask-card-small) no-repeat center;
  -webkit-mask-size: cover;
  mask-size: cover;
}

section.news .article-card .image_wrapper .label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: transparent;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

section.news .article-card .date {
  opacity: 0.5;
}

section.news .article-card:hover .btn-secondary svg {
  transform: translateX(5px);
}

@media (max-width: 1199px) {
  section.news .article-card .image_wrapper .label {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  section.news .article-card--big .image_wrapper,
  section.news .article-card--big .image_wrapper img,
  section.news .article-card--small .image_wrapper,
  section.news .article-card--small .image_wrapper img {
    max-height: 250px;
  }

  section.news .article-card .image_wrapper .label {
    font-size: 16px;
  }

  section.news .article-card--big .image_wrapper img {
    -webkit-mask: url(#svg-mask-card-small) no-repeat center;
    mask: url(#svg-mask-card-small) no-repeat center;
  }
}

@media (max-width: 576px) {
  section.news .article-card .image_wrapper .label {
    font-size: 10px;
  }
}
