/* Blog post */

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

.image-container img {
    max-height: 323px;
    object-fit: cover;
}
 
.blog-post__body{
  z-index: 1; 
}
@media (min-width: 768px) {
    .blog-post {
        display: grid;
        grid-template-columns: auto 50%;
        column-gap: 55px;
        row-gap: 24px;
        grid-template-areas: 'content image'
        'blog blog';
    }
    .blog-post .content  {
        grid-area: content;
    }
    .blog-post .image-container  {
        grid-area: image;
    }
    .blog-post .blog-post__body  {
        grid-area: blog;
    }
}

.blog-post__meta {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
    .blog-post__meta{
        margin-bottom: 0;
    }
}
.blog-post__meta a {
  text-decoration: underline;
}

.blog-post__timestamp {
  display: block;
  font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
}

@media (min-width: 998px) {
    .blog-post__timestamp {
        font-size: 16px;
        line-height: 27px;
        margin-bottom: 24px;
    }
}
.blog-post__tags svg {
  height: auto;
  margin-right: 0.35rem;
  width: 15px;
}

.blog-post__tag-link {
  color: #006080 !important;
font-weight: 700;
font-size: 16px;
line-height: 24px;
text-decoration: none !important;
}

.blog-post .image-container img {
    max-width: 100%;;
}
@media (max-width: 997.9px) {
    .blog-post h1 {
        font-weight: 800;
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 16px;
    }
}

@media (min-width: 998px) {
    .blog-post h1 {
        font-weight: 800;
        font-size: 32px;
        line-height: 44px;
    }
}


/* Blog related posts */

.blog-related-posts {
  background-color: #F8F8F8;
  padding: 48px 0  !important;
  margin-bottom: 0;
  margin-top: 48px;
}
.blog-related-posts h2 {
    margin-bottom: 32px;
}
@media (min-width: 768px) and (max-width: 997.9px) {
    .content-wrapper {
        padding: 0 48px !important;
    }
}
@media (min-width: 998px) {
    .blog-related-posts {
        margin-top: 80px;
        padding: 80px 0 !important;
    }
    .blog-related-posts h2 {
        margin-bottom: 40px;
        text-align: center;
    }
}

@media (max-width: 997.9px) {
    .blog-related-posts h2 {
        text-align: center;
        font-weight: 800;
      font-size: 22px;
      line-height: 30px;
      }
}


.blog-related-posts__list {
  display: grid;
  row-gap: 16px;
}
.blog-related-posts__list img {
   max-width: 100%;
   width: 100%;
  }
.block-promo {
    background: white;
}

article.blog-post {
    padding:40px 0 0 ;
}
@media (min-width:768px){
    article.blog-post {
        padding-top:48px;
    }
}
.blog-related-posts__content p {
    margin-bottom: 16px;
}
@media (min-width:998px){
    article.blog-post {
        padding-top:80px;
    }
    .blog-related-posts__content p {
        margin-bottom: 24px;
    }
}

.blog-related-posts__title-link {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}
.blog-related-posts__title {
    margin-bottom: 8px;
}


@media (max-width: 998px) {

    .header h2 {
        font-size: 22px;
        line-height: 30px;
    }
    .block-header h3 {
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
    }
}


@media (min-width: 768px) {
    .blog-related-posts__list {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 16px;
      }
}
@media (min-width: 998px) {
    .blog-related-posts__list {
        column-gap: 24px;
}
.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 {

}


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