/* Blog post */
.blog-hero-image {
  background-position: center;
  background-size: cover;
  height: 100%;
  left: 0;
  opacity: 0.24;
  overflow: overlay;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}
.blog-post {
  margin: 0 auto;
  max-width: 960px;
}

.blog-post__meta {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 36px 0 0;
}

.blog-post__meta a {
  text-decoration: underline;
}

.blog-post__timestamp {
  display: block;
}

.blog-post__tags svg {
  height: auto;
  margin-right: 0.35rem;
  width: 15px;
}

.blog-post__tag-link {
  font-size: 0.875rem;
}
.blog-post-hero-container {
  background-color: var(--darkGreen);
  border-radius: 30px;
  display: block;
  margin: 180px auto 0;
  overflow: hidden;
  padding: 45px;
  position: relative;
}
.blog-post-hero-container * {
  color: #fff !important;
}
.blog-post-hero-container h1,
.blog-post-hero-container .blog-post__meta {
  position: relative;
  z-index: 5;
}
.blog-post-hero-container .social-sharing__icon {
  display: flex; !important;
}
.blog-post h2 {
  margin: 48px 0 12px !important;
}
.blog-post h3 {
  margin: 36px 0 9px !important;
}

/* Blog related posts */

.blog-related-posts {
  background-color: var(--gray);
}

.blog-related-posts h2 {
  text-align: center;
}

.blog-related-posts__list {
  display: flex;
  flex-wrap: wrap;
}

.blog-related-posts__post {
  flex: 0 0 100%;
  padding: 1rem;
}
.blog-listing {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr 1fr;
}
.blog-listing .blog-listing__post-image,
.blog-related-posts__image {
  border-radius: 10px;
  height: auto;
  margin: 0 0 18px !important;
  max-height: 240px;
  min-height: 240px;
  object-fit: cover;
  width: 100%;
}
.blog-listing .blog-listing__post-button img {
  display: none;
}
.blog-listing .blog-listing__post-title {
  margin: 0 0 18px !important;
}  
@media (max-width: 1024px) {  
  .blog-listing {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 768px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 3);
  }
}

.blog-related-posts__image {
  height: auto;
  max-width: 100%;
}

.blog-related-posts__title {
  margin: 0.7rem 0;
}

/* Blog comments */

.blog-comments {
  margin: 0 auto;
  max-width: 680px;
}

.blog-comments .hs-submit {
  text-align: center;
}

.blog-comments .comment-reply-to {
  border: 0 none;
}

.blog-comments .comment-reply-to:hover,
.blog-comments .comment-reply-to:focus {
  background-color: transparent;
  text-decoration: underline;
}
@media (max-width: 767px) {  
  .blog-listing {
    grid-template-columns: 1fr;
  }
}