/* ******************************************************************************
*********************************************************************************
This file contains all the neccessary styles for your blog. The styles included
are for the listing and post templates, featured images and pagination.
Also for the post meta infromation like tags, author and published date
*********************************************************************************
****************************************************************************** */
.hero--blog {
  background: linear-gradient(110.69deg, #2B304F 0%, #434C84 100%);
  color: var(--white);
  overflow: hidden;
  padding: 150px 0;
  position: relative;
}

.hero--blog:before,
.hero--blog:after {
  background-image: url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/shapes.svg');
  content: '';
  display: block;
  position: absolute;
  height: 410px;
  width: 400px;
  top: 0;
  left: 75%;
}

.hero--blog:after {
  left: auto;
  right: 75%;
  transform: scaleX(-1);
}

@media(max-width: 768px) {
  .hero--blog {
    padding: 2.75rem 0;
  }
  
  .hero--blog:before,
  .hero--blog:after { 
    display: none;
  }
}

.hero--blog__title {
  color: var(--white);
}

.single-post-content-wrapper ol li {
  color: var(--dark-blue);
  margin-bottom: 1rem;  
}

.blog-page .blog-post__body a 
  color: var(--teal);
  text-decoration: none;
}

.blog-page .blog-post__body a:hover 
  color: var(--teal-hover);
  text-decoration: none;
}

.post-content p,
.post-content li,
.post-content h2,
.post-content h3 {
  text-align: left !important;  
}

.blog-page {
  color: var(--dark-blue);
}

.post-content p {
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
}

.post-content p + h3 {
  margin-top: 2rem;
} 

.post-content h3 {
  font-size: clamp(1.125rem, calc(1.125rem + ((1vw - 0.2rem) * 0.5556)), 1.5rem);
  margin-bottom: 1.25rem;
}

.blog-page .post-content h2 {
  margin-top: 40px;
}

.blog-header-wrapper {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow-y: hidden
}

.blog-header-wrapper .topic-header-image-wrapper {
  max-height: 500px;
  position: relative
}

.blog-header-wrapper .topic-header-image-wrapper:after {
  content: '';
  display: block;
  padding-top: 41.6666666667%
}

.blog-header-wrapper .topic-header-image-wrapper>img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%,-50%)
}

.blog-header-wrapper .topic-header-image-wrapper .floating-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%)
}

.blog-header-wrapper .topic-header-image-wrapper .floating-image img {
  width: 340px
}

.blog-search input.hs-search-field__input {
  border: 0;
  background: transparent;
  border: 0;
  color: var(--grey);
  font-size: 16px;
  line-height: 24px;
  padding: 8px 0;
  outline: 0;
  width: 100%;
}

.blog-search input:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 1px;
  width: 100%;
  background-color: #edeff2;
}


.blog-search i {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: #999
}



.category-list {
  font-weight: 500;
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
  z-index: 6;
}

.category-list__item {
  display: inline-block;
}

.category-list__link {
  color: var(--teal);
  text-decoration: none;
}

.category-list__link:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}


.blog-index-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.archive-posts-pagination .posts-pagination {
  text-align: center;
}

.archive-posts-pagination {
  margin-bottom: 60px
}

@media(min-width: 992px) {
  .archive-posts-pagination {
    margin-bottom:100px
  }
}

@media(min-width: 1200px){
  .hs-blog-post  .content-wrapper,
  .hs-blog-post .page-center,
  .hs-blog-listing .page-center,
  .hs-blog-listing  .content-wrapper{
    max-width: 1140px;
  }
}


.archive-posts-pagination .posts-pagination {
  text-align: center;
  width: 100%;
}

.archive-posts-pagination .posts-pagination ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center
}

.archive-posts-pagination .posts-pagination ul li a,
.archive-posts-pagination .posts-pagination ul li>span {
  color: var(--teal);
  width: 35px;
  height: 35px;
  display: block;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  line-height: 15px;
  text-decoration: none;
}

.archive-posts-pagination .posts-pagination ul li a.elipses {
  width: 20px; 
}


.archive-posts-pagination .posts-pagination ul li a:hover {
  color: var(--teal-hover);
  text-decoration: none;
}

.archive-posts-pagination .posts-pagination ul li.disabled>span {
  background-color: rgba(197,200,206,0.27);
  color: var(--grey);
}

.archive-posts-pagination .posts-pagination ul li.active a {
  background-color: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 10px 0 rgba(0,0,0,0.1)
}

.blog-search {
  padding-right: 15px;
  padding-left: 15px;
  position: relative;
  width: 100%;
}

@media(max-width: 768px) {
  .blog-search {
    margin-top: 10px;
  }
}

.blog-search .hs-search-field__bar {
  border-bottom: 1px solid var(--graphite-light);
}

@media(min-width: 992px) {
  .blog-search input {
    padding:8px 10px
  }
}

@media(min-width: 992px) {
  .blog-header-wrapper .topic-header-image-wrapper .floating-image img {
    width:440px
  }

  .search-bar-left {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .search-bar-right {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.single-post__header {
  position: relative
  width: 100%;
}

.single-post__meta {
  color: var(--not-dark-blue);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 45px
}

@media(min-width: 992px) {
  .single-post__meta {
    display: flex;
    justify-content: center
  }
}

.single-post__time-required,
.single-post__date,
.categories {
  color: var(--not-dark-blue); 
}

.list-categories__link {
  color: var(--teal);
  text-decoration: none;
}

.list-categories__link:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

.single-post__date,
.single-post__time-required {
  margin-right: 5px
}

.single-post__date:after,
.single-post__time-required:after {
  content: '\2022';
  margin-left: 5px
}

.single-post__featured-image {
  margin-bottom: 30px;
  background-size: cover;
  background-position: center center
}

@media(max-width: 1199.98px) {
  .single-post__featured-image {
    padding-top:40%
  }
}

@media(min-width: 1200px) {
  .single-post__featured-image {
    height: 470px;
  }
}

.single-post__sidebar-title {
  color: var(--not-dark-blue); 
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 20px
}

.single-post__content {
  margin-bottom: 30px
}

.post-content h2 {
  color: var(--dark-blue);
  font-weight: 600;
  margin-bottom: 1.875rem
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  max-height: 1000px !important; /* overrites line 221 of _header.css which bizarely has max-height: 24px!important; */
}

.post-social-sharing {
  margin-bottom: 50px
}

.post-social-sharing ul.hs-blog-social-share-list {
  display: flex;
  align-items: flex-start
}

.post-social-sharing ul.hs-blog-social-share-list li {
  display: inline-flex;
  margin-right: 10px
}

/* sidebar author */
.author__link {
  text-decoration: none;
}

.author__link:hover {
  color: currentColor;
} 

.post-sidebar .avatar {
  height: 77px;
  margin: 0 auto;
  margin-bottom: 20px;
  width: 77px;
}

.post-sidebar .avatar img {
  border: 1px solid var(--wash);
  border-radius: 50%;
  object-position: center center;
  object-fit: cover;
}


.post-sidebar .job-title {
  color: var(--not-dark-blue); 
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 26px
}

.post-sidebar .bio {
  color:   color: var(--dark-blue);
  font-size: 1rem;
}

.tag-list {
  margin: 0;
  padding: 0;
}

.tag-list__item {
  display: inline-block
  color: var(--white);
}

.tag-list__link {
  background: var(--teal);
  border-radius: 3px;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 5px 15px;
  opacity: .9;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all .2s;
  text-decoration: none;
  letter-spacing: 0.03rem;
}

.tag-list__link:hover,
.tag-list__link:active,
.tag-list__link:focus {
  background: var(--teal-hover); 
  color: var(--white);
  text-decoration: none;
}

/* related articles on single post */
.related-posts-carousel {
  display: flex;
  flex-wrap: wrap;
  padding: 0 !important;
}

.related-posts-carousel__item {
  height: 100%;
  padding: 0 10px;
}

.related-articles {
  background: var(--graphite-light);
  padding: 40px 0;
  position: relative;
  overflow: hidden
}

@media(min-width: 992px) {
  .related-articles {
    padding: 90px 0;
  }
}

.post-content, .post-sidebar {
  width: 100%;
}

@media(min-width: 576px) {
  .related-articles-wrapper .related-articles {
    max-width:540px
  }
}

@media(min-width: 768px) {
  .related-articles-wrapper .related-articles {
    max-width:720px
  }
}

.slick-list {
  padding: 0 20px !important;
}

.slick-list [data-slick-index="0"] {
  margin-left: 0;
}

.slick-slide {
  height: inherit !important;
  padding-bottom: 60px;
}

.slick-slide > div {
  height: 100%;
}

.slick-track {
  display: flex !important;
}

.slick-arrow {
  background-repeat: no-repeat;
  background-color: var(--graphite-light);
  background-position: top center;
  border: none;
  height: 100%;
  width: 25px;
  background-size: 40px 100%;
  position: absolute;
  padding: 0;
  top: 0;
  display: inline-block;
  text-indent: -100000px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36.5707 44.7636L37.0462 44.2881C37.3613 43.973 37.3613 43.462 37.0462 43.1468L23.8994 30L37.0462 16.8531C37.3613 16.538 37.3613 16.027 37.0462 15.7118L36.5707 15.2363C36.2555 14.9212 35.7446 14.9212 35.4294 15.2363L21.2363 29.4294C20.9212 29.7445 20.9212 30.2555 21.2363 30.5706L35.4294 44.7637C35.7446 45.0788 36.2555 45.0788 36.5707 44.7636Z' fill='%2352C2CC'/%3E%3C/svg%3E%0A");
}


.slick-arrow:hover,
.slick-arrow:focus,
.slick-arrow:active {
  background-color: var(--graphite-light);
}

.slick-next {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7119 15.2364L21.2363 15.7119C20.9212 16.027 20.9212 16.5379 21.2363 16.8531L34.3831 30L21.2363 43.1469C20.9212 43.462 20.9212 43.973 21.2363 44.2882L21.7119 44.7637C22.027 45.0788 22.538 45.0788 22.8531 44.7637L37.0461 30.5706C37.3613 30.2555 37.3613 29.7445 37.0461 29.4293L22.8531 15.2364C22.538 14.9212 22.027 14.9212 21.7119 15.2364Z' fill='%2352C2CC'/%3E%3C/svg%3E%0A");
}

.slick-prev {
  left: 0;
  z-index: 1;
}

.single-post-cta-wrapper .title {
  color: var(--dark-blue);
}

.blog-search {
  position: relative;
}

.blog-search i {
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  color: #999
}

.blog-search input {
  width: 100%;
  border: 0;
  padding: 8px 0;
  color: #999;
  font-size: 16px;
  line-height: 24px;
  outline: 0;
  background: 0;
}

.excerpt a {
  text-decoration: none;
}

.post-content a,
.excerpt a {
  color: var(--teal);
  text-decoration: none;
}

.post-content a:hover,
.excerpt a:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

.hs-blog-social-share .hs-blog-social-share-item span {
  vertical-align: top !important;
}

.post-social-sharing {
  margin-bottom: 50px;
}
@media(min-width: 992px) {
  .blog-search input {
    padding:8px 10px
  }
}

.blog-search .hs-search-field__suggestions {
  border: 0;
  position: absolute;
  top: 44px;
  box-shadow: 0px 30px 40px 0px rgba(0,0,0,0.1);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: var(--white);
  overflow: hidden;
  z-index: 6;
}

.blog-search .hs-search-field__suggestions li#results-for {
  padding: 7px 20px;
}

.blog-search .hs-search-field__suggestions li a {
  color: var(--teal);
  font-size: 0.875rem;
  padding: 7px 20px;
  text-decoration: none;
}

.blog-search .hs-search-field__suggestions li a:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

.related-post {
  position: relative;
}

.user-header-wrapper .avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.user-header-wrapper .avatar img {
  border: 1px solid var(--wash);
  border-radius: 50%;
  object-position: center center;
  object-fit: cover;
}

.user-header-wrapper .name {
  color: var(--dark-blue);
  font-size: 35px;
  font-weight: 600;
  line-height: 40px;
  margin-bottom: 10px
}

.user-header-wrapper .job-title {
  color: #505050;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 10px
}

.user-header-wrapper .social {
  margin-bottom: 30px;
  display: flex;
  justify-content: center
}

.user-header-wrapper .social .social-item {
  margin: 0 10px
}

.user-header-wrapper .social .social-item a {
  display: flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1584c6;
  justify-content: center;
  align-items: center
}

.user-header-wrapper .social .social-item a span {
  color: #FFF
}

.user-header-wrapper .bio {
  color: #505050;
  font-size: 18px;
  line-height: 24px
}

.archive-posts-wrapper.is-list .post-wrapper .thumb {
  padding-top: 36.9863013699%
}

.post-wrapper .post-image {
  height: 167px;
  object-fit: cover;
  width: 100%;
}

.post-wrapper {
  box-shadow: 0px 24px 24px rgba(0, 0, 0, 0.08);
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  transition: box-shadow .2s
}

.post-wrapper .thumb {
  padding-top: 38%;
  width: 100%;
  background-size: cover;
  background-position: center center;
  position: relative
}

.post-wrapper .post-image-wrapper {
  padding-top: 0;
}

.post-wrapper .thumb a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0
}

.post-wrapper .post-data {
  padding: 25px;
  margin-bottom: 50px
}

.post-wrapper .post-data .title {
  font-weight: 600;
}

.post-wrapper .post-data .title a {
  color: var(--dark-blue);
  text-decoration: none;
}

.post-wrapper .post-data .title a:hover {
  text-decoration: underline; 
}

.post-wrapper .post-data .title a:before {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 5;
    content: '';
}

.post-wrapper .post-data .content {
  color: var(--not-dark-blue);
  font-size: 18px;
}

.post-wrapper .post-meta {
  align-items: center;
  bottom: 25px;
  display: flex;
  flex-basis: 100%;
  left: 0;
  justify-content: space-between;
  padding: 0 25px;
  position: absolute;
  width: 100%;
}

.post-wrapper .post-meta .author-link {
  position: relative;
  z-index: 5;
}

.post-wrapper .post-meta .author-link:hover .author-name,
.post-wrapper .post-meta .author-link:focus .author-name,
.post-wrapper .post-meta .author-link:active .author-name {
  opacity: 1;
  transform: translateY(calc(-100% - 6px));
  visibility: visible
}

.post-wrapper .post-meta .author-link .avatar {
  height: 30px;
  position: relative;
  width: 30px;
  z-index: 5;
}

.post-wrapper .post-meta .avatar img {
  border: 1px solid var(--wash);
  border-radius: 50%;
  object-position: center center;
  object-fit: cover;
}

.post-wrapper .post-meta .author-link .author-name {
  background-color: #15171a;
  border-radius: 3px;
  color: var(--white);
  font-weight: 600;
  opacity: 0;
  padding: 3px 8px;
  position: absolute;
  right: -30px;
  top: 3px;
  transform: translateY(calc(-100% + 8px));
  transition: opacity .2s,visibility .2s,-webkit-transform .3s;
  transition: transform .3s,opacity .2s,visibility .2s;
  transition: transform .3s,opacity .2s,visibility .2s,-webkit-transform .3s;
  visibility: hidden;
  white-space: nowrap;
  width: auto;
}

.post-wrapper .post-meta .date {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  text-align: right
}

.hero {
  background-color: var(--dark-blue);
  margin-bottom: 3rem;
}

@media(max-width: 768px) {
  .hero--single {
    display: none;
  }
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  max-width: 1400px;
  padding: 90px 0;
  margin: 0 auto;
}

.hero__heading {
  font-size: clamp(2.5rem, calc(2.5rem + ((1vw - 0.2rem) * 3.7037)), 5rem);
  color: var(--white);
  line-height: 1.2;
  margin: 0 auto;
  text-align: center;
  width: 75%;
}

.post-list .hero {
  margin-bottom: 0;
}

.post-list .hero__inner {
  min-height: 167px;
  padding: 0;
}

.post-list .hero__heading {
  font-size: 1.5rem; 
  width: 76%;
}

.hero--cyan {
  background-color: var(--teal);
}

.hero--cyan .hero__inner {
  background-position:
    10% 60px,
    90% 85%;
  background-repeat: no-repeat;
  background-image:
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Curve.png'),
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Angle-1.png');
}

.post-list .hero__inner {
  background-size: 5%;
}

.post-list .hero--cyan .hero__inner {
  background-position:
  14px 22px,
  90% 80%;
}

.hero--dark-blue .hero__inner,
.hero--darker-blue .hero__inner {
  background-position:
    90% 60px,
    140px 80%;
  background-repeat: no-repeat;
  background-image:
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Curve-2.png'),
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Angle-3.png');
}

.post-list .hero--dark-blue .hero__inner,
.post-list .hero--darker-blue .hero__inner {
  background-position:
    95% 18px,
    28px 80%;
}

.hero--dark-blue {
  background-color: #434C84;
}

.hero--darker-blue {
  background-color: var(--dark-blue);
}

.hero--yellow {
  background-color: var(--yellow);
}

.hero--yellow .hero__inner {
  background-position:
    7% 12%,
    96% 83%;
  background-repeat: no-repeat;
  background-image:
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Angle-teal-top-left.png'),
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Curve-2.png');
}

.hero--red {
  background-color: var(--red);
}

.hero--red .hero__inner {
  background-position:
    10% 60px,
    90% 80%;
  background-repeat: no-repeat;
  background-image:
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Angle-teal-top-left.png'),
    url('https://4984585.fs1.hubspotusercontent-na1.net/hubfs/4984585/Angle-1.png');
}

.post-list .hero--red .hero__inner {
  background-position:
  27px 28px,
  90% 80%;
}

.list-tags .hs-menu-wrapper ul {
  align-content: center;
  display: inline-block;
  justify-content: center;
  margin-left: -0.5rem;
}

.list-tags .hs-menu-wrapper ul li {
  display: inline-flex;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  margin-left: 0.5rem;
}

.list-tags .hs-menu-wrapper ul li a {
  background: var(--white);
  border: 1px solid var(--graphite-light);
  border-radius: 4px;
  color: var(--dark-blue);
  font-size: 0.875rem;
  line-height: 1;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
}

.list-tags .hs-menu-wrapper ul li a:hover,
.list-tags .hs-menu-wrapper ul li a:active,
.list-tags .hs-menu-wrapper ul li.active a {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  text-decoration: none;
}

.list-tags .hs-menu-wrapper ul li.active a:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
}