@media screen and (max-width: 749px) {
  .articles-wrapper .article {
    width: 100%;
  }
}

.article {
  display: flex;
  align-items: center;
}
.product__type .tag-name {
  font-weight: 500;
  color: var(--color-base-accent-2);
}
.article.grid__item {
  padding: 0;
}
.article-card-wrapper .card.article-card > .card__content{
  padding: 2rem;
}
.article-card .card__heading {
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-weight: 600;
  line-height: 2.2rem;
  text-transform: capitalize;
}
.grid--peek .article-card {
  box-sizing: border-box;
}

.article-card__image-wrapper > a {
  display: block;
}

.article-card__title {
  text-decoration: none;
  word-break: break-word;
}

.article-card__title a:after {
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}
.blog .card__inner.ratio::before,
.template-search .article-card-wrapper .ratio::before {
  padding-bottom: 67.42857142857143%;
}
.article-card__link.link {
  padding: 0;
  background: transparent;
  color: var(--color-base-accent-2);
  min-width: 0;
  min-height: 0;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: underline;
  line-height: 22px;
}
.article-card__link.link:hover {
  color: var(--color-base-accent-1);
  text-decoration: none;
}
.article-card__link {
  text-underline-offset: 0.3rem;
}

.article-card__info {
  padding-top: 0rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-base-accent-1);
  padding-bottom: 5px;
  text-transform: uppercase;
}
.article-card__info .icon {
  width: 15px;
  height: 16px;
  vertical-align: middle;
}
.article-card__footer {
  letter-spacing: 0.1rem;
  font-size: 1.4rem;
}

/* .article-card__footer:not(:last-child) {
  margin-bottom: 1rem;
} */

.article-card__footer:last-child {
  margin-top: auto;
}

.article-card__excerpt {
  width: 100%;
  margin: 0rem;
  color: var(--color-base-text);
  line-height: 2.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding-bottom: 5px;
}

.article-card__link:not(:only-child) {
  margin-right: 3rem;
}

@media screen and (min-width: 990px) {
  .article-card__link:not(:only-child) {
    margin-right: 4rem;
  }
}

.article-card__image--small .ratio::before {
  padding-bottom: 11rem;
}

.article-card__image--medium .ratio::before {
  padding-bottom: 22rem;
}

.article-card__image--large .ratio::before {
  padding-bottom: 33rem;
}

@media screen and (min-width: 750px) {
  .article-card__image--small .ratio::before {
    padding-bottom: 14.3rem;
  }

  .article-card__image--medium .ratio::before {
    padding-bottom: 21.9rem;
  }

  .article-card__image--large .ratio::before {
    padding-bottom: 27.5rem;
  }
}

@media screen and (min-width: 990px) {
  .article-card__image--small .ratio::before {
    padding-bottom: 17.7rem;
  }

  .article-card__image--medium .ratio::before {
    padding-bottom: 30.7rem;
  }

  .article-card__image--large .ratio::before {
    padding-bottom: 40.7rem;
  }
}

/* check for flexbox gap in older Safari versions */
@supports not (inset: 10px) {
  .articles-wrapper.grid {
    margin: 0 0 5rem 0;
  }

  @media screen and (min-width: 750px) {
    .articles-wrapper.grid {
      margin-bottom: 7rem;
    }
  }
}
