.blog-post__meta-author a.blog-post__meta-author__link,
.blog-post__meta-author a.blog-post__meta-author__link:hover,
.blog-post__meta-author a.blog-post__meta-author__link:focus,
.blog-post__meta-author a.blog-post__meta-author__link:visited,
.blog-related-posts__content a,
.blog-related-posts__content a:hover,
.blog-related-posts__content a:focus,
.blog-related-posts__content a:visited {
  all: unset;
}

.blog-post__meta-author a.blog-post__meta-author__link:hover,
.body-container--blog-post a:hover {
  cursor: pointer;
}

/* Blog listing */
.body-container--blog-index .dnd-section div.blog-hero-pretitle,
.body-container--resources-index .dnd-section div.blog-hero-pretitle {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  text-transform: uppercase;
  color: #fff;
}

.body-container--blog-index h1,
.body-container--resources-index h1 {
  color: var(--rencore-bright-blue);
  margin: 0;
}

.body-container--blog-index .hs-blog-post-listing__post-image {
  width: calc(1240 / 3);
  height: 320px;
  border-radius: 15px;
}

.body-container--blog-index .dnd-section {
  /*padding: 0 !important;*/
}

/* sadly hubspot dnd_section does not support classess... */
.body-container--blog-index div.dnd-section:first-of-type {
  background-color: #00263d !important;
  background: linear-gradient(
    28.15deg,
    rgba(18, 80, 239, 0.2) 6.94%,
    rgba(18, 80, 239, 0) 30.18%
  );
}

.body-container--blog-index {
  color: #667d8b;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  /*line-height: 130%;*/
}

.body-container--blog-post p br,
.body-container--blog-post li br {
  /* margin-top: 20px; */
  display: block;
  padding-top: 20px;
  /* border-bottom: 1px dashed #000; */
  /* height: 20px; */
  content: "";
}

.blog-index__filter-select {
  margin-bottom: 36px;
  width: 427px;
}
.blog-index__filter-select select {
  border: none;
  padding: 12px 16px 12px 0;
  border-right: 16px solid transparent;
  width: 165px;
  min-width: 165px
    color: var(--rencore-dark-blue-rencore-dark-blue-80, #335164);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  background: transparent;
}

.blog-index__filter-select select:focus-visible {
  outline: none;
}

@media (min-width: 1000px) {
  .hs-blog-post-listing__post--3:nth-child(3n + 1),
  .hs-blog-post-listing__post--3:nth-child(3n + 2) {
    margin-right: 30px !important;
  }

  .hs-blog-post-listing__post--3 {
    width: calc(33.3% - 30px) !important;
  }
}

.blog-index__post-author {
  align-items: center;
  display: flex;
  padding: 10px 0px 10px;
  gap: 10px;
}

.blog-index__post-author-image {
  border-radius: 50%;
  height: auto;
  margin-right: 0.35rem;
  width: 30px;
}

.blog-index__post-author__name {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;

  color: #99a8b1;
}

.blog-index__post-author__avatar img {
  border-radius: 50%;
  overflow: hidden;
}

/* Blog post */

.blog-post {
  margin: 0 auto;
  max-width: 700px;
}

.blog-post__prename {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  text-transform: uppercase;
  color: #1250ef;
}

.blog-post__header-container {
  margin-bottom: 65px;
}

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  flex-direction: row;
}

.blog-post__meta .blog-post__meta-author {
  flex-basis: 40%;
}

.blog-post__meta .blog-post__meta-author a.blog-post__meta-author__link {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  text-transform: uppercase;
  color: #99a5be;
  text-decoration: none;
  width: 100%;
  margin-bottom: 24px;
  display: block;
}

.blog-post__meta .blog-post__meta-author a.blog-post__meta-author__link:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.blog-post__meta .blog-post__meta-pretitle {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  flex-basis: 100%;
}

.blog-post__image {
  background-color: transparent;
  border-radius: 25px;
  height: auto;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 8px;
}

.blog-post__image img {
  border-radius: 25px;
  object-fit: fill;
  height: auto !important;
  width: 100%;
}

.blog-post__timestamp {
  display: block;
}

.blog-post__body {
  width: 100%;
  margin: 0 auto;
}

.blog-post__body .wistia_responsive_padding {
  position: relative;
  margin-top: -78px !important;
  margin-bottom: 90px !important;
}

.blog-post-min-read {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #99a8b1;
  padding: 0 20px 10px 20px;
}

.blog-related-posts__post .blog-post-min-read {
  padding-top: 10px;
  color: var(--rencore-dark-blue-rencore-dark-blue-40, #99a8b1);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 18px */
  padding-left: 0;
  padding-right: 0;
}

.blog-related-posts__post:hover {
  cursor: pointer;
}

.blog-related-posts__post:hover .blog-related-posts__title-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgb(51, 81, 100, 0.5) !important;
}

.blog-related-posts__title {
  font-size: inherit !important;
}

.blog-index__post-title-link,
.blog-related-posts__title-link {
  font-style: normal;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 120% !important;
  color: #335164 !important;
}

.blog-related-posts__title-link {
  font-size: 21px !important;
}

.blog-index__post-title-link,
.blog-related-posts__title {
  margin: 0;
}

.blog-post__hero-banner {
  background: var(--rencore-dark-blue);
}

.blog-post__resources-related-posts,
.blog-related-posts__container {
  margin-top: 124px;
  margin-bottom: 124px;
}

.blog-post__resources-related-posts
.resources-blog-related-posts
> div:first-of-type {
  /*margin-bottom: 80px;*/
}

.blog-post__tags svg {
  height: auto;
  margin-right: 0.35rem;
  width: 15px;
}

.blog-post__tag-link {
  font-size: 0.875rem;
}

/* Blog related posts */

.blog-related-posts {
  background-color: #f1f9fd;
}

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

.blog-post__form {
  padding-top: 124px;
  padding-bottom: 124px;
  background-color: #eff1f4;
}

.blog-related-posts__list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.blog-related-posts__post {
  flex: 0 0 100%;
  padding: 0;
  background: transparent;
  border-radius: 10px;
}

.blog-related-posts__post-image-container {
  background: transparent;
  border-radius: 10px;
  text-align: center;
  min-height: 224px;
}

.blog-post__info-box {
  max-width: 700px;
  margin: 20px auto 90px auto;
  background: #28a9e8;
  padding: 30px;
  gap: 30px;

  background: #28a9e8;
  border-radius: 10px;
}

.blog-post__info-box__icon {
  margin-bottom: 20px;
}

.blog-post__info-box__text {
  color: white;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}

.blog-post__info-box__author {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  flex-direction: column;
}

.blog-post__info-box__author__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
  align-items: center;

}

.blog-post__info-box__author__text {
  margin: auto 0;
  flex-shrink: 1;
  flex-grow: 1;
  flex-basis: min-content;
}

.blog-post__info-box__author__text__name {
  font-style: normal;
  font-weight: 700;
  font-size: 21px;
  line-height: 140%;
  /* or 29px */

  display: flex;
  align-items: center;

  /* Grey Colours/White */

  color: #ffffff;
/*   margin-bottom: 10px; */
}

.blog-post__info-box__author__text__title {
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 130%;
  /* or 23px */

  /* Grey Colours/White */

  color: #ffffff;
}

.blog-post__info-box__author__image-container {
  display: flex;
}
.blog-post__info-box__author__image {
  background: #f1f1f1;
  border-radius: 50px;
  width: 60px;
  height: 60px;
  align-self: self-start;
}

.blog-post__info-box__author__image img {
  max-width: 100%;
  height: auto;
}

.blog-related-posts__post-author__name {
  color: var(--rencore-dark-blue-rencore-dark-blue-60, #667d8b);
  font-family: Ubuntu;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 18px */
}

@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) - 40px);
  }
}

.blog-related-posts__image {
  max-width: 100%;
  padding: 0;
  border-radius: 10px;
  width: 100%;

  aspect-ratio: 3/2;
  height: 224px;
  object-fit: cover;

  max-width: 100%;
  padding: 0;
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 3/2;
  /*height: auto;*/
  object-fit: fill;

  aspect-ratio: 3/2;
  border-radius: 10px;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

/* blog subscribe */

.hs-module-blog-subscribe {
  padding: 60px 0 100px 0;
}

.hs-module-blog-subscribe form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: -30px;
}

.hs-module-blog-subscribe .form-title {
  display: block;
  margin-bottom: 40px;
}

.hs-module-blog-subscribe form .hs_error_rollup {
  display: none;
}

.hs-module-blog-subscribe .hs_email div.input {
  margin-top: -3px;
}

.hs-module-blog-subscribe form .hs-input {
  border: 1px solid #c7cfd3;
  border-radius: 30px;
  min-width: 400px;
  height: 45px;
}

.hs-module-blog-subscribe form input[type="submit"] {
  transform: translate(-40px, -1px);
}

.hs-module-blog-subscribe .hs_email.hs-email {
  position: relative;
  margin: 0;
}

.hs-module-blog-subscribe .hs_email.hs-email ul.hs-error-msgs {
  position: absolute;
}

.hs-module-blog-subscribe .hs_email.hs-email .input ~ ul:nth-of-type(2) {
  margin-top: 25px;
}
/*
.hs-module-blog-subscribe .hs_email.hs-email ul.hs-error-msgs:nth-child(n+2) {
margin-top: 40px;
}
*/

.hs-module-blog-subscribe .hs-submit .actions {
  margin: 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;
}

.body-container--blog-post .blog-post__body h1,
.body-container--blog-post .blog-post__body h2,
.body-container--blog-post .blog-post__body h3,
.body-container--blog-post .blog-post__body h4,
.body-container--blog-post .blog-post__body h5,
.body-container--blog-post .blog-post__body h6 {
  color: #335164;
  margin-top: 30px;
  margin-bottom: 30px;
  /*font-weight: 700;
  font-size: 30px;*/
}

.body-container--blog-post .blog-post__body h3 {
  /*font-weight: 400;*/
}

.body-container--blog-post .blog-post__body h5 {
  /*font-style: normal;
  font-weight: 500;
  font-size: 21px;
  line-height: 140%;*/
}

.body-container--blog-post .blog-post__body p,
.body-container--blog-post .blog-post__body div {
  color: #667d8b;
  margin-top: 30px;
  margin-bottom: 30px;
}

.body-container--blog-post .blog-post__body p {
  font-weight: 300;
}
.body-container--blog-post .blog-post__body a {
  color: var(--rencore-light-blue);
  text-decoration: none;
}

.body-container--blog-post .blog-post__body a:hover {
  color: var(--rencore-light-blue);
  text-decoration: underline;
  text-underline-offset: 4px !important;
}

.body-container--blog-post .blog-post__body ul {
  list-style: none;
}
.body-container--blog-post .blog-post__body ul li::before,
.body-container--blog-post .blog-post__body ul li::before {
  content: "\2022";
  color: var(--rencore-light-blue);
  font-weight: bold;
  display: inline-block;
  width: 8px;
  margin-left: -1em;
  margin-right: 10px;
}

.body-container--blog-post .blog-post__body ul li {
  font-weight: 300;
}

/* blog tags filter button */

.body-container--blog-index .blog-index__filter a,
.body-container--blog-index .blog-index__filter a:active,
.body-container--blog-index .blog-index__filter a:visited {
  all: unset;
}

.body-container--blog-index article a:not(.button):focus {
  all: unset;
}

.blog-index__filter .blog-index__filter__tag {
  border-radius: 25px;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  white-space: nowrap;
  color: #667d8b;
  border: 1px solid var(--rencore-bright-blue);
  background: #fff;
  text-transform: capitalize;
  width: fit-content;
  min-width: fit-content;
}

.blog-index__filter .blog-index__filter__tag {
  padding: 6px 40px;
  display: block;
}

.blog-index__filter .blog-index__filter__tag:hover,
.blog-index__filter .blog-index__filter__tag:hover {
  border: 1px solid transparent;
  background: var(--rencore-bright-blue);
  color: #fff;
}

.blog-index__filter .blog-index__filter__tag--active-gray,
.blog-index__filter .blog-index__filter__tag--active {
  border: 1px solid transparent;
  background: var(--rencore-bright-blue);
  color: #fff;
}

.blog-index__filter .blog-index__filter__tag--active-gray:hover {
  opacity: 0.8;
}

.blog-index__filter .blog-index__filter__tag:not(a):hover,
.blog-index__filter .blog-index__filter__tag:has(a:hover) {
  border: 1px solid transparent;
  background: var(--rencore-bright-blue);
  color: #fff;
}

.blog-index__post-title,
.blog-related-posts__content {
  padding: 0;
  min-height: auto;
}

/* end */

.blog-index-section-title,
.blog-index-section-title * {
  color: var(--rencore-dark-blue-rencore-dark-blue-80, #335164);
  text-align: left;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%; /* 44px */
}

.blog-index-section-title {
  margin-bottom: 40px;
}

.blog-related-posts__post .blog-index__post-author {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 480px) {
  .hs-module-blog-subscribe .hs_email.hs-email ul.hs-error-msgs {
    position: unset;
  }

  .blog-post__resources-related-posts,
  .blog-related-posts__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-post__resources-related-posts,
  .blog-related-posts__container {
    margin-top: 62px;
    margin-bottom: 62px;
  }

  .blog-post__resources-related-posts
  .resources-blog-related-posts
  > div:first-of-type {
    margin-bottom: 32px;
  }

  .blog-index__filter-select {
    width: 100%;
    margin-bottom: 34px;
  }

  .blog-index__post--small {
    width: 100%;
  }

  .blog-post__meta {
    flex-direction: column;
    margin-bottom: 64px;
  }

  .body-container--blog-post .blog-post {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-post__header-container {
    margin-bottom: 55px;
  }

  .blog-post__meta-pretitle {
    margin-top: 44px;
  }

  .blog-post__body {
    width: 100%;
  }

  .blog-post__image {
    margin-bottom: 64px;
  }

  .blog-post__form {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .blog-post__hero-banner {
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .hs-module-blog-subscribe .hs_email.hs-email ul.hs-error-msgs {
    position: unset;
  }
  .blog-post__info-box__author {
    flex-direction: column;
  }

  .blog-post__info-box__author__image {
    margin: 0 auto;
  }

  .blog-post__info-box {
    margin: 20px 20px 60px;
  }

  .body-container--blog-post .blog-post {
    padding: 0 25px 40px 20px;
  }

  .hs-module-blog-subscribe form .hs-input {
    min-width: auto;
  }

  .hs-module-blog-subscribe form {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    /* margin-right: -30px; */
    /* padding: 1px;*/
    gap: 20px;
    width: 100%;
    padding: 0 1rem;
  }

  .hs-module-blog-subscribe .hs_email.hs-email {
    width: 100%;
  }

  .hs-module-blog-subscribe form input[type=submit] {
    transform: unset;
    width: 100%;
  }

  .hs-module-blog-subscribe form input[type="text"],
  .hs-module-blog-subscribe form input[type="email"] {
    width: 100%;
    min-width: 1px;
    border-radius: 50px;
  }

  .hs-module-blog-subscribe .hs_submit.hs-submit {
    width: 100%;
  }
}