/* Custom blog listing animation */
  .fade {
  animation-name: animateIn;
  animation-duration: 350ms;
  animation-delay: calc(var(--animation-order) * 100ms);
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
}

@keyframes animateIn {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-8px);
  }
  
  100% {
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
}

/* Custom blog with sidebar */
.body-container--blog-post .inner-content {
  display:flex;
  flex-wrap:wrap;
}

.body-container--blog-post .inner-content .blog-post-content {
  width:70%;
  padding-right: 50px;
}
.body-container--blog-post .inner-content .resources-sidebar {
  width:30%;
  height: fit-content;
  position: sticky;
  top: 40px;
  padding-top:40px;
}

.resources-sidebar .blog-nav-links {
  display:flex;
  flex-direction:column;
}
.resources-sidebar .blog-nav-links a,
.resources-sidebar .related-link {
  font-size:14px;
  padding-bottom: 5px;
}
.resources-sidebar .newsletter-title {
  font-size:16px;
  color: rgb(36 40 56);
}

.resources-sidebar h4,
.resources-sidebar h4 a {
    padding: 10px 0px 5px;
    margin: 0;
    font-size: 16px;
    font-weight:600;
    color: rgb(36 40 56);
}

.blog_cta.global {
  padding:80px 0;
}

@media (max-width:868px) {
  /* Custom blog with sidebar */
  .body-container--blog-post .inner-content {
    flex-direction:column;
  }
  
  .blog_cta.global {
    padding:40px 0;
  }

  .body-container--blog-post .inner-content .blog-post-content {
    width:100%;
    padding-right: 0px;
  }

  .body-container--blog-post .inner-content .resources-sidebar {
    width:100%;
    height: fit-content;
    position: relative;
    top: 0;
    padding-top: 10px;
    padding-bottom: 40px;
    border-top: 1px solid #252838;
  }
}

.blog-post p {
  line-height:1.6rem;
}

.blog-post li {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Blog header */
.blog-post__body h2 {
    font-size: 1.6rem;
  padding-top:90px;
  margin-top:-90px;
}
.blog-post__body h3 {
  font-size: 1.4rem;
}
.blog-post__body h4 {
  font-size:1.2rem;
}

.blog-header {
  background-color: #464646;
  background-size:cover;
  background-repeat:no-repeat;
  background-position: center;
  padding:80px 0;

}

.blog-header .h-row {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
}

.body-container--blog-index {
  background-color: #fff;
}

.blog-header__inner {
  width:50%;
}

.subscribe-form {
  width:50%;
}

.blog-header__inner h1 {
  color:#fff;
  text-transform:uppercase;
  font-size: 50px;
  line-height: 120%;
  max-width:490px;
  word-break: keep-all;
}
@media (max-width: 768px) {
  .blog-header__inner h1 {
    font-size: 42px;
  }
}
.blog-header__inner p {
  color:#fff;
  font-size: 36px;
  line-height: 120%;
  max-width:490px;
  font-family: P22 Underground, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.blog-header__form {
  margin: 0 1rem;
}

@media screen and (min-width: 768px) {
  .blog-header__form {
    margin: 0 auto;
    width: 500px;
  }
}

.blog-index__post .inner-post {

  border-radius:20px;
  padding-bottom:20px;
}

.blog-index__post .inner-post .blog-btn {
  color: #34393B;
  display:block;
  font-size: 18px;
  line-height: 22px;
  position:relative;
}

.blog-index__post .inner-post .blog-btn::after {
  content:'';
  background-image: url(https://26047855.fs1.hubspotusercontent-eu1.net/hubfs/26047855/Blog_Template/Vector.svg);
  background-repeat:no-repeat;
  height:14px;
  width:18px;
  position: absolute;
  top: 3px;
  margin-left: 10px;
  transition:all .4s ease;
}

.blog-index__post .inner-post .blog-btn:hover::after {
  margin-left:20px;
}

.blog-index__post .inner-post .blog-index__post-content {
  padding:0;
  color:#34393B;
}

.blog-index__post .inner-post .blog-index__post-content p {
  font-size: 18px;
line-height: 120%;
}


.blog-index__post .image-holder {
  height:250px;
  width:100%;
  background: #eee;
  overflow:hidden;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, rgba(0,119,46,1) 0%, rgba(0,119,170,1) 100%);
}
.blog-index__post .image-holder img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  transition: all 1.4s ease;
}

.blog-index__post .holder-link:hover .image-holder img {
    height: 140%;
    width: 140%;
}

.blog-index__post-content--small h3 {
  min-height: 68px;
  font-weight: 400;
  display: flex;
  align-items: center;
  font-size: 26px;
  line-height: 120%;
}

.blog-index__post-content--small h3 a:hover {
  color:#34393B;
  text-decoration:none;
}

.blog-index__post .image-holder .image-text {
  font-size: 24px;
  font-weight: 600;
  color:#fff;
  text-decoration:none;
  padding: 20px;
  text-align: center;
}
.blog-index__post .holder-link:hover {
  text-decoration:none;
}

/* Blog header - author listing */

.blog-header__author-avatar {
  border-radius: 50%;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.15);
  display: block;
  height: auto;
  margin: 0 auto 1.4rem;
  width: 200px;
}

.blog-header__author-social-links a {
  background-color: #000;
  border-radius: 50%;
  display: inline-block;
  height: 40px;
  margin: 0 5px;
  position: relative;
  width: 40px;
}

.blog-header__author-social-links a:hover,
.blog-header__author-social-links a:focus {
  background-color: #494A52;
}

.blog-header__author-social-links svg {
  fill: #FFF;
  height: 15px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
}

/* Blog listing */

.blog-index {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0 40px!important;
}

.blog-index__post {
  flex: 0 0 100%;
  padding: 1rem;
}

@media screen and (min-width: 768px) {
  .blog-index__post {
    flex: 0 0 calc(100%/2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-index__post {
    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-post__body a {
  color: #34393B;
  text-decoration:underline;
  text-underline-offset: 3px;
}

.blog-post__body a:hover {
  color: #34393B;
}


.blog-index__post-content h3 {
  margin: 0.7rem 0;
}

.blog-index__post-content a {
  color: #34393B;
}

/* Blog pagination */

.blog-pagination {
  display: flex;
  justify-content: center;
}

.blog-pagination__link {
  border: 2px solid transparent;
  border-radius: 50%;
  line-height: 1;
  margin: 0 0.1rem;
  padding: 10px 15px;
  text-decoration: none;
  display: flex;
    align-items: center;
}

.blog-pagination__link--active {
  border-color: #007632;
  color: #34393B;
}

.blog-pagination__link:hover,
.blog-pagination__link:focus {
  text-decoration: none;
  border-color: #007632;
}

.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 {
  color: #B0C1D4;
  cursor: default;
  pointer-events: none;
}

.blog-pagination__prev-link svg,
.blog-pagination__next-link svg {
  fill: #34393B;
  margin: 0 10px;
}

.blog-pagination__prev-link--disabled svg,
.blog-pagination__next-link--disabled svg {
  fill: #34393B20;
}

.blog-pagination__number-link:hover,
.blog-pagination__number-link:focus {
  border: 2px solid #fff;
  color:#34393B;
  background-color: #EAF0E2;
}

.blog-pagination__link.blog-pagination__next-link,
.blog-pagination__link.blog-pagination__prev-link  {
  border:none;
}

/* Blog post */

.post_header {
  padding: 160px 0;
  background-color:#252838;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position:relative;
}
.post_header .blog-post__meta {
  display:flex;
  gap:10px;
  color:#fff;
  padding:0;
}
.post_header .breadcrumbs {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
  color:#fff;
  font-size:16px;
}
.post_header .breadcrumbs a {
  color:#fff;
}

.post_header .breadcrumbs a:hover {
  color:#fff;
  text-decoration:none;
}

.post_header .breadcrumbs svg {
  height:10px;
  width:10px;
}

.post_header .blog-post__meta a {
  color:#fff;
  font-size: unset;
  text-underline-offset: 4px;
}

.post_header .blog-post__meta a:hover {
  color:#fff;
}

.post_header:after {
  content:"";
  background-color: #000000a1;
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  z-index:0;
}
.post_header .content-wrapper {
  position:relative;
  z-index:2;
}
.post_header h1 {
  color: #fff;
}

.blog-post {
  margin: 0 auto;
  padding: 40px 10px!important;
  max-width: 800px;
}


.blog-index__post--small .blog-post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-post__meta {
  padding: 10px 0 0;
  color: #0007;
  font-size:15px;
}

.blog-post__meta a {
  color: #007632;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size:15px;
}
.blog-post__meta a:hover {
  color:#007632;
}

.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: #fff;
  padding:20px 0 40px!important;
}

.blog-related-posts h2 {
  text-align:center;
  color:#34393B;
  font-size: 36px;
  line-height: 120%;
}

.blog-related-posts h3 {
  text-align: left;
}

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

.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-related-posts__title a {
  color: #494a52;
}

/* 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 screen and (max-width: 868px) {
  
  ..blog-header .h-row {
    flex-direction:column;
  }
  .subscribe-form {
    width:100%;
  }
  .blog-header__inner {
    width:100%;
  }
  .case-study .inner-header .header-title {
    width:100%;
    padding-right: 0px;
  }
  .case-study .inner-header .header-image {
    width:100%;
  }
  
  
  .blog-post table {
    zoom:.6
  }
  

  .blog-index__post-content--small h3 {
    min-height:20px;
  }
  .blog-header {
    padding:40px  20px;
  }
  .post_header h1 {
    font-size: 25px;
  }
  .post_header {
    padding: 40px 0;
  }
  .post_header .blog-post__meta {
    display:inline;
  }
  .blog-post__body h2 {
    font-size: 1.4rem;
  }
  .blog-post__body h3 {
   font-size: 1.1rem;
  } 
  .blog-post__body h4 {
    font-size:1rem;
  }
  .blog-related-posts {
    padding: 20px 0 60px;
  }
  .blog-related-posts h2 {
    font-size: 1.6rem;
    margin:0;
    padding:10px;
  }
}

@media screen and (max-width: 568px) {
  
  .blog-post table {
    zoom:.4
  }
    .blog-index__post {
    padding: 20px 0;
  }