/*=- /Content/Layouts/Clean/stylesheets/media-articles.less -=*/

.media-articles {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 5px;
  justify-content: center;
}
.media-articles .article {
  position: relative;
  flex: 0 0 calc(32.333%);
  max-width: calc(32.333%);
}
.media-articles .article-image {
  position: relative;
  height: 11rem;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
}
.media-articles .article-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  z-index: 1;
}
.title-image {
  position: absolute;
  bottom: 14px;
  right: 16px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  text-shadow: 0 2px 6px rgba(29, 25, 25, 0.6);
  white-space: nowrap;
}
@media (max-width: 992px) {
  .media-articles .article {
    flex: 0 0 calc(49%);
    max-width: calc(49%);
  }
}
@media (max-width: 576px) {
  .media-articles .article {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .media-articles .article-image {
    height: 200px;
  }
}
.media-item-image-1 img {
  width: 100%;
}
