.t-main-blog {
  margin-bottom: var(--spacing-lg-2);
}
.t-main-blog__header {
  padding-top: var(--spacing-lg-2);
  position: relative;
  overflow-y: hidden;
  margin-bottom: var(--spacing-lg);
}
.t-main-blog__background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
}
.t-main-blog__background img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  mix-blend-mode: var(--blend);
}
.t-main-blog__content {
  position: relative;
  z-index: 1;
}
.t-main-blog__article-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg) var(--spacing-md);
}
.t-main-blog__article-wrapper .m-article-card {
  --flex-items: 1;
  width: calc(100% / var(--flex-items) - (var(--flex-items) - 1) / var(--flex-items) * var(--spacing-md));
}
.t-main-blog__article-wrapper .m-article-card__featured {
  --flex-items: 1;
  width: calc(100% / var(--flex-items) * 2 - (var(--flex-items) - 2) / var(--flex-items) * var(--spacing-md));
}
.t-main-blog__article-wrapper .m-article-card__featured .o-mwt {
  padding-top: 0;
  padding-left: 0;
  margin-block: 0;
  height: 100%;
}
.t-main-blog__article-wrapper .m-article-card__featured .o-mwt__image {
  position: relative;
  height: 100%;
  max-height: 320px;
}
@media screen and (min-width: 990px) {
  .t-main-blog__article-wrapper .m-article-card__featured .o-mwt__image {
    width: 100%;
    max-height: unset;
  }
}
@media screen and (min-width: 990px) {
  .t-main-blog__article-wrapper .m-article-card__featured .o-mwt__image--wrapper {
    height: 100%;
  }
}
@media screen and (min-width: 990px) {
  .t-main-blog__article-wrapper .m-article-card__featured .o-mwt__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
.t-main-blog__article-wrapper .m-article-card__featured .o-mwt__inner {
  height: 100%;
}
.t-main-blog__article-wrapper .m-article-card__featured .o-mwt__content {
  margin-bottom: var(--spacing-md);
}
@media screen and (min-width: 768px) {
  .t-main-blog__article-wrapper .m-article-card__featured .o-mwt__content {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg-2);
  }
}
.t-main-blog__article-wrapper .m-article-card__featured .o-mwt__content--wrapper {
  display: flex;
  align-items: flex-end;
}
@media screen and (max-width: 768px) {
  .t-main-blog__article-wrapper .m-article-card__featured .o-mwt__content .a-btn {
    width: 100%;
    text-align: center;
  }
}
.t-main-blog__article-wrapper .m-article-card__featured .o-mwt .grid-flex {
  height: 100%;
}
@media screen and (min-width: 990px) {
  .t-main-blog__article-wrapper .m-article-card__featured .o-mwt__inner--media-outside-container .o-mwt__content-position--left {
    padding-right: 0;
  }
  .t-main-blog__article-wrapper .m-article-card__featured .o-mwt__inner--media-outside-container .o-mwt__content-position--right {
    padding-left: 0;
  }
}
@media screen and (min-width: 990px) {
  .t-main-blog__columns--1 .m-article-card,
  .t-main-blog__columns--1 .m-article-card__featured {
    --flex-items: 1;
  }
}
@media screen and (min-width: 990px) {
  .t-main-blog__columns--2 .m-article-card,
  .t-main-blog__columns--2 .m-article-card__featured {
    --flex-items: 2;
  }
}
@media screen and (min-width: 990px) {
  .t-main-blog__columns--3 .m-article-card,
  .t-main-blog__columns--3 .m-article-card__featured {
    --flex-items: 3;
  }
}
@media screen and (min-width: 990px) {
  .t-main-blog__columns--4 .m-article-card,
  .t-main-blog__columns--4 .m-article-card__featured {
    --flex-items: 4;
  }
}
.t-main-blog__filters {
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 40rem;
}
.t-main-blog__filters--wrapper {
  position: relative;
  z-index: 1;
}
.t-main-blog__filter {
  text-decoration: none;
  background-color: var(--color-sand-dark);
  color: var(--color-green-dark);
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid var(--color-na-light);
  border-radius: var(--border-radius-20);
  transition: background-color var(--default-transition-easing) var(--default-transition-timing), color var(--default-transition-easing) var(--default-transition-timing);
}
.t-main-blog__filter.active, .t-main-blog__filter:hover {
  background-color: var(--color-na-dark);
  border: 1px solid var(--color-na-light);
  color: var(--color-sand);
}
