/* Case Study post */

.case-study-post .hero-wrapper-outer{
  position: relative;
  overflow: hidden;
}

.case-study-post .hero-wrapper{
  padding-top: 80px !important;
  padding-bottom: 180px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: linear-gradient(180deg, #1F2E3C 0%, #264D68 100%);
  
  @media only screen and (min-width: 768px) {
    background: linear-gradient(90deg, #1F2E3C 18.08%, #264D68 99.96%);
    padding-top: 120px !important;
    padding-bottom: 220px !important;
  }
}

.case-study-post .hero-wrapper-outer .background-texture{
  position: absolute;
  right: 0px;
  bottom: 0px;
  
  @media only screen and (min-width: 768px) {
    bottom: unset;
    top: 0px;
  }
}

.case-study-post .hero-wrapper .hero-block-container{
  max-width: 1288px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.case-study-post .hero-wrapper .eyebrow{
  color: #9bb437;
}

.case-study-post .hero-wrapper .eyebrow+h1 {
  margin-top: 30px;
}

.case-study-post .hero-wrapper h1{
  color: #FFFFFF;
  max-width: 900px;
  margin-bottom: 0px;
}

.body-container--case-study .content-wrapper{
  max-width: 1034px;
  margin: 0 auto;
  padding-bottom: 80px;
  
  @media only screen and (min-width: 768px) {
    padding-bottom: 120px;
  }
}

/* Stats */

.case-study-post .stats-wrapper {
  margin: -120px 0px 80px !important;
  position: relative;
  z-index: 1;
}

.hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_module:has(.structured-text-wrapper){
  @media only screen and (min-width: 1024px) {
    width: 60%;
    display: inline-block;
  }
}

.hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_module:has(.facts-wrapper){
  margin-top: 80px;
  
  @media only screen and (min-width: 1024px) {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin-left: 9%;
    margin-top: 0px;
  }
}

.facts-block-container{
  gap: 16px !important;
}

.blog-related-posts{
  border-top: 1px solid rgba(206, 210, 214, 1.0);
  padding-top 80px;
  max-width: 1070px;
  margin: 0 auto;
  
  @media only screen and (min-width: 1024px) {
    padding-top: 120px;
  }
}

.blog-related-posts .blog-related-posts__list{
  display: flex;
  gap: 32px;
  flex-direction: column;
  
  @media only screen and (min-width: 1024px) {
    flex-direction: row;
  }
}

.blog-related-posts .content-wrapper h2{
  font-size: 42px;
  line-height: 46px;
}

.blog-related-posts article{
  @media only screen and (min-width: 1024px) {
    width: calc(100% / 3);
  }
}

.blog-related-posts article a{
  text-decoration: none;
}

.blog-related-posts article a .blog-related-posts__image{
  width: 100%;
  margin-bottom: 16px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}