/* Blog post */

.blog-post {
  margin: 0 auto;
  max-width: 960px;
}

.blog-post__meta {
  margin-bottom: 1.4rem;
}

.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 related posts */

.blog-related-posts {
  background-color: #9f0c1a;
}

.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;
}

@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-specific h2 styling */
.blog-post h2 {
  font-size: 48px !important; /* Your desired font size */
  color: #0A2549 !important; /* Your desired color */
  font-family: 'Open Sans', sans-serif !important; /* Ensure the correct font */
  font-weight: 700 !important; /* Desired font weight */
  text-transform: none !important; /* Override global text-transform */
  line-height: 1.5 !important; /* Desired line-height */
  letter-spacing: 0px !important; /* Ensure no unintended spacing */
  margin-bottom: 1rem !important; /* Adjust spacing below header */
  word-break: break-word !important; /* Prevent word overflow issues */
}

/* Blog-specific h3 styling */
.blog-post h3 {
  font-size: 36px !important; /* Your desired font size */
  color: #0A2549 !important; /* Your desired color */
  font-family: 'Open Sans', sans-serif !important; /* Ensure the correct font */
  font-weight: 600 !important; /* Desired font weight */
  text-transform: capitalize !important; /* Example of text-transform */
  line-height: 1.4 !important; /* Desired line-height */
  letter-spacing: 0px !important; /* Ensure no unintended spacing */
  margin-bottom: 0.75rem !important; /* Adjust spacing below header */
  word-break: break-word !important; /* Prevent word overflow issues */
}

}

/* 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;
}


body .blog_listing .blog_wrapper .blog:hover .blog_content_container{
  height: unset;
  min-height: max-content;
  position: absolute;
  bottom: 0;
}