/* Blog listing */

.blog-index {
  display: flex;
  flex-wrap: wrap;
}

.blog-index__post {
  flex: 0 0 100%;
  padding: 1.4rem 1rem;
}

@media screen and (min-width: 768px) {
  .blog-index__post--small {
    flex: 0 0 calc(100% / 2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-index__post--small {
    flex: 0 0 calc(100% / 3);
  }
}

@media screen and (min-width: 768px) {
  .blog-index__post--large {
    display: flex;
    flex: 1 0 100%;
  }
}

.blog-index__post-image {
  height: auto;
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .blog-index__post-image-wrapper--large {
    flex: 1 1 48%;
  }

  .blog-index__post-content--large {
    flex: 1 1 48%;
    padding-left: 2rem;
  }

  .blog-index__post-content--full-width {
    flex: 1 1 100%;
    padding-left: 0;
  }
}

.blog-index__post-title {
  font-size: 1.25rem;
  font-family: 'regulator-nova', sans-serif;
}

.blog-index__post-timestamp {
  display: block;
}

.blog-index__post-author {
  align-items: center;
  display: flex;
}

.blog-index__post-author-image {
  border-radius: 50%;
  height: auto;
  margin-right: 0.35rem;
  width: 30px;
}

.blog-index__post-tags,
.blog-index__post-title,
.blog-index__post-timestamp,
.blog-index__post-author,
.blog-index__post-image--small {
  margin: 0 0 0.7rem;
}

/* Blog pagination */

.blog-pagination {
  display: flex;
  justify-content: center;
}

.blog-pagination__link {
  border: 2px solid transparent;
  border-radius: 4px;
  line-height: 1.5;
  margin: 0 0.1rem;
  padding: 10px 20px;
  text-decoration: none;
  transition: all .15s linear;
}

.blog-pagination__link:hover,
.blog-pagination__link:focus {
  -webkit-transform: translate(0px,-2px);
  -ms-transform: translate(0px,-2px);
  transform: translate(0px,-2px);
}

.blog-pagination__link--active {
  border-color: #B0C1D4;
}

.blog-pagination__link:hover,
.blog-pagination__link:focus {
  text-decoration: none;
}

.blog-pagination__prev-link {
  margin-right: 0.25rem;
}

.blog-pagination__next-link {
  margin-left: 0.25rem;
}

.blog-pagination__link.blog-pagination__prev-link--disabled,
.blog-pagination__link.blog-pagination__next-link--disabled {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.blog-pagination__prev-link svg,
.blog-pagination__next-link svg {
  margin: 0 0.3rem;
}

.blog-pagination__prev-link--disabled svg,
.blog-pagination__next-link--disabled svg {
  fill: #B0C1D4;
}

.blog-pagination__number-link:hover,
.blog-pagination__number-link:focus {
  border: 2px solid #2b2b2b;
}

@media (max-width: 767px) {
  .blog-pagination__number-link {
    display: none;
  }
}

.th-blog-listings-3 .blog-card-body h3 {
  margin-top: 20px;
}

.blog-top-card h3 {
  margin-top: 10px;
}
/* Blog post */

.blog-post-hero {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.blog-post-hero .blog-post-name h1 {
  color: #ffffff;
}

.blog-post {
  margin: 0 auto;
  padding-right: 15px !important;
  padding-left: 15px !important;
  max-width: 960px;
}

.blog-post h1 {
  font-family: 'regulator-nova', sans-serif;
  font-weight: 600;
  color: #33475B;
  margin-top: 50px;
}

.blog-post h2, h3 {
  font-family: 'regulator-nova', sans-serif;
  font-weight: 700;
  color: #33475B;
  margin-top: 0px;
  margin-bottom: 5px;
}

.blog-post h4, h5{
  color: #3a3a3a;
  margin-top: 50px;
  margin-bottom: 25px;
}

.blog-post p {
  font-family: 'poppins', sans-serif;
  line-height: 2.75em;
  margin-top: 25px;
}

.blog-post ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  line-height: 2.75em;
  margin-top: 25px;
}

.blog-post ol {
  padding: 0;
  margin: 0;
  line-height: 2.75;
  margin-top: 25px;
}

.blog-post figure {
  margin: 1rem 0;
}

.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: 10px;
  width: 15px;
}

.blog-post__tag-link {
  font-size: 0.875rem;
}

/* Blog related posts */

.blog-related-posts {
  background-color: #F8FAFC;
}

.blog-related-posts__list {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
}

.blog-related-posts__list .blog-related-posts__post {
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
  padding: 20px 12px;
}

.blog-related-posts__post .blog-related-posts__content .blog-related-posts-text h2 {
  font-size: 16px;
}

.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;
}
