/* Related Post Section */
.blog-related-posts__title {
  margin-bottom: 32px;
}
.blog-related-posts {
  margin-bottom: 64px;
}
.blog-related-posts__list {
  display: grid;
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  grid-template-rows: auto;
  min-height: 0;
  min-width: 0;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 768px) {
  .blog-related-posts__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*
@media screen and (min-width: 850px) {
  .blog-related-posts__list {
    grid-template-columns: repeat(3, 1fr);
  }
}*/

.related-post {
  background: #ffffff;
  box-shadow: 0px 0px 0px 1px rgba(26, 26, 26, 0.08),
    0px 1px 2px rgba(26, 26, 26, 0.04), 0px 1px 3px rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: 0150ms cubic-bezier(0.215, 0.61, 0.355, 1);
  overflow: hidden;
}

.related-post:hover {
  box-shadow: 0px 0px 0px 1px rgba(26, 26, 26, 0.08),
    0px 10px 15px rgba(26, 26, 26, 0.08), 0px 4px 6px rgba(26, 26, 26, 0.04);
  cursor: pointer;
  transform: translateY(-4px);
}

/* Related Post Image */

.related-post__image {
  display: block;
  height: 240px;
  width: 100%;
  object-fit: cover;
}

/* Related Post Content */

.related-post__content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  {# justify-content: space-between; #}
}

.related-post__tags {
  margin-bottom: 16px;
}

.related-post__tag-separator {
  margin: 0 4px;
  font-weight: 500;
  color: #6558ff;
  font-size: 0.65rem;
}

.related-post__tag-link {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.075em;
  font-size: 0.65rem;
  color: #6558ff;
}

.related-post__tag-link:hover ~ .related-post__tag-separator {
  text-decoration: none;
}

.related-post__title {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.related-post__title a {
  color: #1a1a1a;
}

.related-post__title a:hover,
.related-post__title a:focus,
.related-post__title a:active {
  color: #1a1a1a;
  text-decoration: none;
}

.related-post__title a:active {
  color: #285a95;
  text-decoration: none;
}

.related-post__post-summary {
  font-size: 0.75rem;
  line-height: 1.125rem;
  margin-bottom: 24px;
}

.related-post__post-summary h1,
.related-post__post-summary h2,
.related-post__post-summary h3,
.related-post__post-summary h4,
.related-post__post-summary h5,
.related-post__post-summary h6,
.related-post__post-summary p {
  display: inline;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.72);
}

.related-post__author {
  margin-bottom: 0;
}

.related-post__author-image-wrapper {
  display: inline-block;
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
  width: 32px;
}

.related-post__author-image {
  border-radius: 50%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}
.related-post__author-name {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .related-post__author-image-wrapper,
  .related-post__author-image {
    height: auto;
  }
}
