.blog-category {
  margin: 0 0 48px;
}

.blog-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 32px;
}

.blog-category__title {
  margin: 0 20px 0 0;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;

}

.blog-category__link {
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #5184D8;
}

.blog-category__footer {
  display: none;
}

@media all and (max-width: 650px) {
  .blog-category {
    margin: 0 0 32px;
  }

  .blog-category__link:not(._footer) {
    display: none;
  }

  .blog-category__footer {
    position: relative;
    display: block;
    padding: 40px 0 32px;
  }
  .blog-category__footer::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left, rgba(35, 42, 50, 0.05), rgba(35, 42, 50, 0.15) 35%, rgba(35, 42, 50, 0.15) 65%, rgba(35, 42, 50, 0.05));
  }

  .blog-category:last-child {
    margin-bottom: 0;
  }

  .blog-category:last-child .blog-category__footer {
    padding-bottom: 0;
  }

  .blog-category:last-child .blog-category__footer::after {
    display: none;
  }
}
