/* Blog Header */

.blog-search form {
  align-items: center;
  background-color: transparent;
  border: 0;
  display: flex;
  flex-direction: row;
  padding: 0;
}

.blog-search form label {
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.blog-search form button {
  margin-bottom: 0;
  padding: 12px 20px;
}

.hs-search-field__bar {
  position: relative;
}

.hs-search-field__bar:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='ai ai-Search'%3E%3Cpath d='M21 21l-4.486-4.494M19 10.5a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.25rem 1.25rem;
  background-position: center center;
  width: 1.25rem;
  height: 1.25rem;
}

.hs-search-field__bar input[type=text].hs-search-field__input{
  padding-left: 3.75rem;
}


/* Blog Author/Tag Content */

.blog-subheader {
  margin: 3rem 0;
}

.blog-subheader__author-links {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.blog-subheader__author-links a {
  border-radius: 50%;
  display: inline-block;
  height: 40px;
  margin: 0 10px;
  position: relative;
  width: 40px;
}

.blog-subheader__author-links a:first-of-type {
  margin-left: 0;
}

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

/* Blog Listing */

.blog-index {
  --ae-gutter-x: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6.25rem var( --ae-gutter-x);
   max-width: var( --ae-content-max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5rem;
}

@media (max-width: 991.98px) {
  .blog-index {
    gap: 3rem var( --ae-gutter-x);
    margin-bottom: 2.5rem;
  }
 }

.blog-index__post {
  border: 2px solid #eff7fe;
  margin-bottom: 0;
}

.blog-index__post--card {
  width: calc(50% - var(--ae-gutter-x) * 0.5);
  flex: 0 0 auto;
}

.blog-index__post--list {
  display: flex;
  padding: 1.5rem 0;
  width: 100%;
}

@media (max-width: 767.98px) {
  .blog-index__post--card {
    width: 100%;
  }

  .blog-index__post--list {
    padding: 0 0 1.5rem;
  }
}

.blog-index__post-image--card {
  display: block;
  height: 100%;
  width: 100%;
  aspect-ratio: 416 / 320;
  object-fit: cover;
  object-position: center;
}

.blog-index__post-content--card {
  padding: 1.5rem 2.5rem 0;
}

@media (max-width: 767.98px) {
  .blog-index__post-content--card {
    padding-top: 1.125rem;
  }
}

.blog-index__post-image-wrapper--list,
.blog-index__post-content--list {
  width: 50%;
}

@media (max-width: 767px) {
  .blog-index__post-content--list {
    padding: 1.5rem 1.5rem 0;
  }
}

.blog-index__post-content--full-width--list.blog-index__post-content--full-width {
  width: 100%;
}

.blog-index__post-image-wrapper--list {
  align-items: center;
  display: flex;
  margin: 0 30px;
  max-height: 100%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 767px) {
  .blog-index__post-image-wrapper--list {
    margin: 0;
    width: 100%;
  }
}

.blog-index__post-image--list {
  height: auto;
  position: absolute;
  width: 100%;
}

@media (max-width: 767px) {
  .blog-index__post-image--list {
    position: static;
  }
}

.blog-index__post-content {
  margin: 0 30px;
}

.blog-index__post-tags {
  border-bottom: 2px solid #eff7fe;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.blog-index__post-tag-link,
.blog-index__post-tag-link:hover {
  font-weight: 300;
}

@media (max-width: 767px) {
  .blog-index__post--list {
    flex-wrap: wrap;
  }

  .blog-index__post-content--list {
    margin-left: 0;
    width: 100%;
  }
}

.blog-index__post-author-image-wrapper,
.blog-post__author-image-wrapper {
  display: inline-block;
  height: 4rem;
  margin-right: 10px;
  vertical-align: middle;
  width: 4rem;
}

.blog-index__post-author-image,
.blog-post__author-image {
  border-radius:0;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .blog-index__post-author-image-wrapper,
  .blog-index__post-author-image,
  .blog-post__author-image-wrapper,
  .blog-post__author-image {
    height: auto;
  }
}

.blog-index__post-author,
.blog-post__author,
.blog-index__post-date {
  display: block;
  margin-bottom: 1.5rem;
}

.ae-post-author-name .ae-post-date {
    margin-bottom: 0;
}

/* Blog Pagination */

.blog-pagination {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 5.625rem;
  text-align: center;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .blog-pagination {
    margin-bottom: 2.5rem;
    gap: 1rem;
  }
}

.blog-pagination__link {
  display: inline-flex;
  margin: 0 0.625rem;
  padding: 0;
  text-decoration: none;
}

.blog-pagination__link--active {
  background-color: var(--ae-primary) !important;
  color: #fff !important;
}

.blog-pagination__link:hover,
.blog-pagination__link:focus {
  text-decoration: none;
}

.blog-pagination__prev-link,
.blog-pagination__next-link {
  align-items: center;
  display: inline-flex;
  color: var(--ae-body-color) !important;
}

.blog-pagination__prev-link:hover,
.blog-pagination__next-link:hover {
  color: var(--ae-primary) !important;
  stroke: var(--ae-primary) !important;
}

.blog-pagination__prev-link {
  margin-right: 0.25rem;
  text-align: right;
}
.blog-pagination__next-link {
  margin-left: 0.25rem;
  text-align: left;
}

.blog-pagination__prev-link--disabled,
.blog-pagination__next-link--disabled {
  cursor: default;
  pointer-events: none;
  opacity: .5 !important;
}

.blog-pagination__prev-link svg,
.blog-pagination__next-link svg {
  margin: 0 5px;
  height: 1.25rem;
  width: 1.25rem;
}

.blog-pagination__prev-link--disabled svg,
.blog-pagination__next-link--disabled svg {
  opacity: .5 !important;
}

/* Blog Post */

body.blog-post-detail  {
  --ae-blog-body-bg-color: #f6f6f6;
  background-color: var(--ae-blog-body-bg-color);
}

.blog-post {
  margin-top: 60px;
  position: relative;
}

.blog-post__header {
  margin-bottom: 0rem;
  padding: 0;
  background-color: var(--ae-blog-body-bg-color);
}

.blog-post__tags {
  margin-bottom: 0.7rem;
}

.blog-post__tag-link {
  display: inline-block;
  margin-right: 30px;
}

.blog-post__tag-link:hover,
.blog-post__tag-link:focus,
.blog-post__tag-link:active {
  text-decoration: none;
}

.blog-post__meta {
  margin-bottom: 1.5rem;
}

.blog-post__date {
  border-right: 2px solid;
  display: inline-block;
  margin-right: 10px;
  padding-right: 10px;
}

.blog-post__social-sharing {
  flex-shrink: 0;
}

.blog-post__social-sharing .social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
   margin-bottom: 1.25rem;
}

.blog-post__social-sharing .social-links__icon {
  display: block;
  padding: 0;
  margin-right: 0;
  width: 20px;
  height: 20px;
}

.blog-post__social-sharing .social-links__icon span {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post__social-sharing .social-links svg {
  height: 20px;
  width: auto;
}

.blog-post__author-name--bottom {
  display: inline-block;
  vertical-align: middle;
}

.blog-post__author-name--bottom,
.blog-post__author-links--bottom {
  margin-bottom: 1rem;
}

.blog-post__author-links--bottom a:not(:last-of-type) {
  margin-right: 0.5rem;
}

.blog-post__author-links--bottom a:hover {
  text-decoration: none;
}

.blog-post__author-name--bottom:hover,
.blog-post__author-name--bottom:focus,
.blog-post__author-name--bottom:active {
  text-decoration: none;
}

.blog-post__image-wrapper {
  height: 200px;
  margin: 1.5rem 0 0 0;
  position: relative;
  width: 100%;
}

@media screen and (min-width: 786px) {
  .blog-post__image-wrapper {
    height: 420px;
  }
}

.blog-post__image {
  border-radius: 18px;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .blog-post__image-wrapper,
  .blog-post__image {
    height: auto;
  }
}

.blog-post__comments-listing {
  margin-bottom: 0;
}

.comment {
  padding-top: 2em;
}

#comments-listing .comment-reply-to:hover,
#comments-listing .comment-reply-to:focus,
#comments-listing .comment-reply-to:active {
  background-color: transparent;
  border: none;
}

.blog-post__author--bottom {
  display: flex;
  margin: 75px 0;
}

@media screen and (max-width: 1000px) {
  .blog-post__author--bottom {
    flex-direction: column;
    margin: 3rem 0;
  }
}

.blog-post__author-image--bottom {
  border-radius: 50%;
  flex: 0 0 auto;
  height: 150px;
  margin-right: 10px;
  overflow: hidden;
  width: 150px;
}

.blog-post__author-image--bottom img {
  height: 100%;
  width: auto;
}

.blog-post__author-image--bottom ~ .blog-post__author-about {
  margin-left: 35px;
}

@media screen and (max-width: 1000px) {
  .blog-post__author-image--bottom ~ .blog-post__author-about {
    margin-left: 0;
    margin-top: 1.5rem;
  }
}



/*** BLOG SEARCH ***/

.hs-search-field__suggestions #results-for {
  display: none !important;
}



.hs-search-field__bar button {
  background-color: #FFF !important;
  border-radius: 0 !important;
  border-color:#f6f6f6 !important;
  padding-top: 14px !important;
  padding-bottom: 8px!important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  height: 44px !important;
  outline: none !important;
}

.hs-search-field__bar button span svg {
  fill: #976cff!important;
  height: 18px !important;
  width: 18px !important;   
}

.hs-search-field--open .hs-search-field__suggestions {
   border-color:#f6f6f6 !important;
  background-color: #FFF;
  padding: 15px !important;
  position: absolute;
  left: 0;
  right: 0;
}

.hs-search-field--open .hs-search-field__suggestions li,
.hs-search-field--open .hs-search-field__suggestions li a {
  font-size: 1.125rem !important;
  line-height: 1.5;
  background-color: #FFF !important;
}

.hs-search-field--open .hs-search-field__suggestions li + li {
  margin-top: .5rem;
}

.hs-search-field--open .hs-search-field__suggestions li a {
  color: var(--ae-body-color) !important;
  text-decoration: none;
}

.hs-search-field--open .hs-search-field__suggestions li a:hover,
.hs-search-field--open .hs-search-field__suggestions li a:focus {
  text-decoration: underline;
}



/*** BLOG ARTICLES LIST ***/

.blog-index__post--card {
  /*border: 1px solid rgba(0,0,0,.125);*/
  border: none !important;
  border-radius: .25rem;
  background-color: transparent; 
}

.blog-index__post-content--card {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1200px) {
  .blog-index__post--card { 
      width: calc(33.33333333% - var(--ae-gutter-x) * 0.66666667);
  }
}



.blog-index__post-title {
  margin-bottom: .625rem !important;
}

.blog-index__post-title a {
  font-family: var(--ae-font-monospace) !important;
  color: var(--ae-body-color) !important;
  font-size: 1.5rem;
  line-height: 1.2;
  display: block !important; 
  font-weight: 400 !important;
  text-decoration: none !important; 
}

@media (max-width: 991.98px) {
  .blog-index__post-title a {
    font-size: 1.25rem;
  }
}

.blog-index__post-content {
  margin: 0 !important;
}

.blog-index .blog-subheader {
  width: 100%;
}

.blog-index .blog-subheader h2 {
  font-family: var(--ae-font-sans-serif) !important; 
}

.blog-index .blog-subheader p { 
  margin-bottom: 0 !important;
}

.blog-index__post-button.blog-index__post-button--card.button {
  display: none !important;
}

/*** POST AUTHOR ***/
.ae-post-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.ae-post-author-name a {
  color: var(--ae-primary)!important;
  font-weight: 400 !important;
}

.blog-index__post-date,
.ae-post-date {
  font-size: 1rem;
  margin-bottom: .625rem;
  display: block;
  color: var(--ae-primary);
  font-weight: 400;
}

@media (max-width: 992px) {
  .ae-post-date{
    font-size: .875rem;
  }

  .blog-index__post-date {
    font-size: .875rem;
    margin-bottom: .5rem;
  }
}


/*** BLOG PAGINATION ***/



.blog-pagination__link {
  font-weight: 400 !important;
}

.blog-pagination__link:not(.blog-pagination__prev-link):not(.blog-pagination__next-link) {
    width: 2.5rem;
    height: 2.5rem;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--ae-body-color);
    line-height: 1;
    flex-shrink: 0;
}

.blog-pagination__link:not(.blog-pagination__prev-link):not(.blog-pagination__next-link):hover {
    background: var(--ae-primary);
    color: #FFF;  
}

@media (max-width: 767.98px) {
  .blog-pagination__link {
    margin: 0;
  }

  .blog-pagination__link:not(.blog-pagination__prev-link):not(.blog-pagination__next-link) {
    width: 1.5rem;
    height: 1.5rem;
    font-size: .75rem;
  }
}

@media (max-width: 576px) {
  .blog-pagination__link-text {
    display: none !important;
  }
}

/*** BLOG POST ***/

.blog-post__category {
 font-size: 1.125rem;
  font-family: var(--ae-font-monospace);
  line-height: 1.4444;
  text-transform: uppercase;
  margin-bottom: .5rem;
  display: block;
  color: #000;
}


.ae-blog-tags .blog-post__tag-link {
    color: #FFF !important;
    background-color: var(--ae-primary) !important;
    padding: .438rem .5rem;
    border-radius: 0;
    font-size: 1rem;
    line-height: 1.5;
    margin-right: 16px;
    margin-bottom:20px;
    font-weight: 400 !important;
    text-decoration: none !important; 
    border: 1px solid var(--ae-primary) !important;
}

.ae-blog-tags .blog-post__tag-link:hover {
    background-color: var(--ae-primary-hover) !important;
     color: #FFF !important;
    border-color: var(--ae-primary-hover) !important;
}

.ae-blog-breadcrumbs {
  max-width: 1140px;
  margin-left:auto;
  margin-right:auto;
  padding: 20px;
  font-size: .875rem;
  font-weight: 400 !important;
}

.ae-blog-breadcrumbs a {
  font-weight: 400 !important;
}


.ae-blog-post-container {
  max-width: 800px;
  margin-left:auto;
  margin-right:auto;
 background-color: var(--ae-blog-body-bg-color);
  padding:20px;
  margin-top: 0px;
  margin-bottom:60px; 
}

.ae-blog-post-container .blog-post {
  margin-top: 0 !important;
}

.ae-blog-post-container .blog-post__image {
  border-radius: 0 !important;
}

.ae-blog-post-container .blog-post__title {
  font-size: 2.5rem !important;
  color: var(--ae-body-color) !important;
  text-transform: none !important;
    font-family: var(--ae-font-monospace);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 2rem !important;
}

@media (max-width: 992px) {
  .ae-blog-post-container .blog-post__title {
    font-size: 2rem !important;
  }
}

.ae-blog-post-container h2, 
.ae-blog-post-container h3, 
.ae-blog-post-container h4,
.ae-blog-post-container h5,
.ae-blog-post-container h6 {
  font-family: var(--ae-font-sans-serif) !important;
}

.ae-blog-post-container h2 {
  font-size: 2rem;
}

.ae-blog-post-container h3 {
  font-size: 1.5rem;
}

.ae-blog-post-container h4,
.ae-blog-post-container h5,
.ae-blog-post-container h6 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
.ae-blog-post-container .blog-post__body,
.ae-blog-post-container .blog-post__body p,
.ae-blog-post-container .blog-post__body ul,
.ae-blog-post-container .blog-post__body ol,
.ae-blog-post-container .blog-post__body span {
  font-size: 1.125rem !important;
}

  .ae-blog-post-container h2 {
  font-size: 1.5rem;
}

.ae-blog-post-container h3 {
  font-size: 1.25rem;
}
}


.ae-blog-post-container .blog-post__social-sharing .social-links svg {
  height: 20px;
  width: 20px;
}

.ae-blog-post-container .blog-post__social-sharing .social-links svg:hover {
  fill: #976cff!important; 
}

.ae-blog-post-container .blog-post__social-sharing .social-links a.social-links__icon:first-of-type {
  display:block;
    height: 20px;
    width: 20px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center center;
  background-image: url(https://6991736.fs1.hubspotusercontent-eu1.net/hubfs/6991736/raw_assets/public/and_emili_website/images/blog/icons/twitter-x.svg);
}

.ae-blog-post-container .blog-post__social-sharing .social-links a.social-links__icon:first-of-type .hs_cos_wrapper {
  display: none !important;
}



.ae-blog-post-container .blog-post__social-sharing .social-links a.social-links__icon:first-of-type:hover {
   background-image: url(https://6991736.fs1.hubspotusercontent-eu1.net/hubfs/6991736/raw_assets/public/and_emili_website/images/blog/icons/twitter-x-hover.svg);
}

.ae-blog-post-container .blog-post__social-sharing .social-links a.social-links__icon:first-of-type span { 
  display: none !important;
}

.ae-blog-post-container .blog-post__author--bottom {
  margin-top: 0;
  margin-bottom:15px;
}

.ae-blog-post-container .blog-post__author-name {
  margin-bottom: .5rem !important;
  text-decoration: none !important;
  color: var(--ae-body-color) !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 992px) {
  .ae-blog-post-container .blog-post__author-name {
    font-size: 1.125rem !important;
  }
}

.ae-blog-post-container .blog-post__author-name:hover {
  text-decoration: underline !important;
}

.ae-blog-post-container .ae-author-link {
  text-decoration: none !important;
  color: #976cff!important; 
}

.ae-blog-post-container h4.blog-post__author-name {
  font-size: 1rem !important;
    margin-bottom: 0 !important;
  text-decoration: none !important;
   color: #976cff!important;
      font-weight: 400 !important;
}

.ae-blog-post-container h4.blog-post__author-name:hover {
  text-decoration: underline !important;
}

.ae-blog-post-container .blog-post__author-bio {
    color: var(--ae-body-color) !important;
    margin-bottom: 0 !important;
    font-size: .875rem !important;
}

.ae-blog-post-container .blog-post__comments-listing {
  border-top: 1px solid var(--ae-generic-border) !important;
  padding-top: 30px;
}

.ae-blog-post-container .blog-post__author-image--bottom {
  width: 80px !important;
  height: 80px !important;  
  margin-right: 10px !important;
}

.ae-blog-post-container .blog-post__author-image--bottom ~ .blog-post__author-about {
  margin-left: 0 !important; 
}

.ae-blog-post-container .blog-post__body .hs-audio-player {
  --player-padding: 0;
  margin-bottom: 1.5rem;
}

.ae-blog-post-container  .blog-post__image-wrapper {
  margin-bottom: 1.5rem;
}

.ae-blog-post-container .blog-post__body a {
  color: var(--ae-body-color) !important;
}

.ae-blog-post-container .blog-post__body a:hover {
  text-decoration: none !important;
}

/*** BLOG SUBSCRIBE AND COMMENTS ***/

.widget-type-blog_subscribe {
  border-radius: 0 !important;
  background-color: #FFF !important;
  padding-top: 40px;
  padding-bottom: 45px;
  padding-left: 20px;
  padding-right: 20px;
}

.widget-type-blog_subscribe form input:not([type='submit']),
.ae-blog-comments form input:not([type='submit']),
.ae-blog-comments form textarea {
  border-radius: 0 !important;
  border-color:#FFF !important;
  background-color:#FFF !important;
}

.widget-type-blog_subscribe .form-title,
.widget-type-blog_subscribe form {
  background-color: transparent !important;
}

.widget-type-blog_subscribe form,
.ae-blog-comments form {
  max-width: 550px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
}

.widget-type-blog_subscribe form input[type='submit'],
.ae-blog-comments form input[type='submit'] {
  color: #FFF !important;
  width:auto !important;
  margin-bottom: 0 !important;
}

.widget-type-blog_subscribe label, 
.widget-type-blog_subscribe label span,
.ae-blog-comments  label,
.ae-blog-comments  label span{
  color: var(--ae-body-color) !important;
} 

.ae-blog-comments  label.hs-error-msg, 
.ae-blog-comments  label.hs-error-msgs {
  color: #ef6b51 !important;
}

.ae-blog-comments h3 {
  text-align: center;
}

.ae-blog-comments .comment-body {
  color: var(--ae-body-color) !important;
}

.ae-blog-comments .comment-reply-to {
  padding-left: 25px !important;
}

.hs-error-msgs label {
    color: #ef6b51 !important;
}


.widget-type-blog_subscribe .form-title {
  padding-bottom: 0;
  padding-top: 0;
  padding-left:0;
  padding-right:0;
  margin-bottom: 20px;
  color: var(--ae-body-color) !important;
}

.widget-type-blog_subscribe h3 {
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: 1.25rem !important;
  font-family: var(--ae-font-sans-serif) !important;
}

.widget-type-blog_subscribe h3 strong {
  font-family: var(--ae-font-sans-serif) !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-size: 2.5rem !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 1.25rem;
}

.widget-type-blog_subscribe h3 span {
    color: #976cff!important;
}  

.widget-type-blog_subscribe .submitted-message {
    background-color: transparent;
    text-align: center;
    color: #28a745;
    font-size: 20px;
    padding: 0;
    padding-bottom: 1.25rem;
}


/*** BLOG RELATED POSTS ***/

.related-post__content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


.related-post__title a {
    font-family:  font-family: var(--ae-font-monospace) !important;
    color: var(--ae-body-color) !important;
    font-size: 1.5rem;
    line-height: 1.333;
    display: block !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.blog-related-posts__list {
  justify-content: center !important;
  gap: 3rem 1.25rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}

.blog-related-posts__list .related-post {
  border: none !important;  
  border-radius: 0;
  background-color: transparent;
  width: calc(33.33333333% - 2.5rem * 0.66666667);
  flex: 0 0 auto;
  margin-bottom: 0 !important;
}

@media (max-width: 991.98px) {
  .blog-related-posts__list .related-post {
    width: 100%;
  }
}


.blog-related-posts__list .related-post__tags {
  display: none !important;
}

.related-post__button.button.button {
  display: none !important
}


/*** BLOG POSTS BY AUTHOR / TAG ***/

.ae-blog-author-subheader {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 8px;
}

.ae-blog-author-subheader .blog-post__author-image {
  width: 100px !important;
  height: 100px !important;
  margin-right: 10px;
}

.blog-subheader__author-links {
  margin-top: .5rem !important;
  margin-bottom: 0 !important;
}

.blog-subheader__author-links a {
    background-color: transparent !important;
    width:auto !important;
  height:auto !important;
}

.blog-subheader__author-links a svg{
    fill: #000 !important;
    height: auto !important;
    left: 0 !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    width: auto !important;
    max-width: 20px;
    max-height:20px;
}

.blog-subheader__author-links a svg:hover{
    fill: var(--ae-primary) !important;
}


.blog-index .blog-subheader {
  margin-top: 0;
  margin-bottom: 30px;
}

.blog-index .blog-subheader h2 {
  margin-bottom: 0 !important;
  font-size: 1.5rem !important;
}


/*** SEARCH RESULTS ***/

.systems-page--search-results h1 {
  font-size: 1.5rem !important;
}

.systems-page--search-results .hs-search-results__title {
  font-family: var(--ae-font-sans-serif) !important;
  color: var(--ae-primary)!important;
  line-height: 1 !important;

}

.systems-page--search-results .hs-search-results__title:hover {
  text-decoration:underline !important;
}

.hs-search-results__listing li {
  background-color: #FFF !important;
  padding: 20px !important;
  margin-bottom: 40px !important;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 0.25rem;
}

.hs-search-results__listing li p {
  margin-bottom: 0 !important; 
}

.hs-search-highlight {
  font-weight: 400 !important;
}

.systems-page--search-results .hs-search-results__title {
  font-weight: 400 !important;
}

.systems-page--search-results .hs-search-results__title .hs-search-highlight {
  font-weight: bold !important;
}

/*** BLOG INDEX FILTERS ***/

.body-container--blog-index  {
  padding-left: 0;
  padding-right: 0;
}

.body-container--blog-index .row-number-1 > .row-fluid{
  max-width: var( --ae-content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.body-container--blog-index .row-number-3,
   .body-container--blog-index .dnd-section:has(.blog-index)  {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .body-container--blog-index .row-number-3 {
    padding-bottom: 45px !important;
  }

.body-container--blog-index .row-number-3 > .row-fluid {
  justify-content: flex-start !important;
}

@media (max-width: 991.98px) {
  /* .body-container--blog-index .row-number-3,
   .body-container--blog-index .row-number-5  {
    padding-left: 20px !important;
    padding-right: 20px !important;
  } */

   .body-container--blog-index .row-number-3 {
    padding-bottom: 20px !important;
  }

  .body-container--blog-index .row-number-3 > .row-fluid { 
    justify-content: center !important;
  }

}


/* Filter above the first post, search above the other two: same gutter as .blog-index */
.body-container--blog-index .row-fluid:has(> .span6 .hs-search-field) {
  --ae-gutter-x: 1.5rem;
}

.body-container--blog-index .row-fluid:has(> .span6 .hs-search-field) > .span6:first-child {
  width: calc(33.33333333% - var(--ae-gutter-x) * 0.66666667);
}

.body-container--blog-index .row-fluid:has(> .span6 .hs-search-field) > .span6:last-child {
  width: calc(66.66666667% - var(--ae-gutter-x) * 0.33333333);
}

.body-container--blog-index .row-number-4 > .row-fluid {
  --ae-gutter-x: 1.5rem;
  --ae-gutter-y: 0rem;
  max-width: var( --ae-content-max-width);
  margin-left: auto;
  margin-right: auto;
}

@media(max-width:991.98px) {  
  .body-container--blog-index .row-fluid:has(> .span6 .hs-search-field) > .span6:first-child,
  .body-container--blog-index .row-fluid:has(> .span6 .hs-search-field) > .span6:last-child {
    width: 100%;
  }

  .body-container--blog-index .row-number-4 > .row-fluid { 
    --ae-gutter-y: .75rem;
    padding-bottom: .75rem;
  }
}


/*** BLOG INDEX HEADER ***/
.body-container--blog-index .service-header .row {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 16.375rem;
  background-color: #F6F6F6 !important;
}

.body-container--blog-index .service-header {
  padding-bottom:80px;
   background-color: #F6F6F6 !important;
  border-bottom: 1px solid var(--ae-generic-border) !important;
}

@media(max-width:991.98px) { 
  .body-container--blog-index .service-header { 
    padding-bottom: 40px;
  }

  .body-container--blog-index .service-header .row {
    min-height: unset;
  }
}



/*** BLOG POST ***/

.body-container.body-container--blog-post .ae-blog-post-container p:not(.blog-post__author-bio),
.body-container.body-container--blog-post .ae-blog-post-container ul,
.body-container.body-container--blog-post .ae-blog-post-container ol,
.body-container.body-container--blog-post .ae-blog-post-container dl {
  margin-bottom: 1.5rem !important;
}

.body-container.body-container--blog-post .ae-blog-post-container img {
  max-width: 100% !important;
}




.body-container.body-container--blog-post a.related-post__author-name  {
  text-decoration: none !important;
}

.body-container.body-container--blog-post .related-post__post-summary p {
  font-weight: 300 !important;
}

.body-container.body-container--blog-post .related-post__image {
  display: block;
  height: 100%;
  width: 100%;
  aspect-ratio: 416 / 230;
  object-fit: cover;
  object-position: center;
}

.blog-related-posts {
  max-width: calc(var(--ae-content-max-width) + 2.5rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}


/*** BLOG INDEX FILTERS ***/

input[type=text].hs-search-field__input,
select.blog-tag-filter__drop-down {
   --ae-form-input-spacing-y: .532rem;
    --ae-form-input-spacing-x: 1.875rem;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    min-height: 3.438rem;
}

@media(max-width:991.98px) {
  input[type=text].hs-search-field__input,
  select.blog-tag-filter__drop-down {
    --ae-form-input-spacing-y: .5rem;
    --ae-form-input-spacing-x: 1rem;
    font-size: 1.125rem;
    min-height: unset;
  }
}

/*** BLOG POST FOOTER ***/

.blog-footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
}

@media (max-width: 991.98px) {
  .blog-footer-content {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
}


.ae-blog-related-posts {
  background-color: #FFFFFF;
  padding-top: 70px;
  padding-bottom: 70px;
}

.ae-blog-related-posts .blog-related-posts__title {
  text-align: left;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.ae-blog-related-posts .related-post__title {
  margin-bottom: 0;
}

.ae-blog-related-posts .related-post__post-date {
    color: var(--ae-primary);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: block;
}

@media (max-width: 991.98px) {
  .ae-blog-related-posts {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .ae-blog-related-posts .blog-related-posts__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .ae-blog-related-posts .related-post__title a {
   font-size: 1.25rem;
  }
}