.hs-blog-listing .dnd-section .dnd-column,
.body-container--blog-post .dnd-section .dnd-column  {
  padding: 0;
}

/* Blog header */

.blog-header {
  background-color: #f8fafc;
  text-align: center;
  position: relative;
}

.blog-header:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.blog-header__inner {
  position: relative;
  margin: 0 auto;
  max-width: 600px;
}

/* Blog header - author listing */

.blog-header__author-avatar {
  border-radius: 50%;
  -webkit-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.15);
  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 header - tag listing */

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

.blog-index__tag-subtitle {
  font-size: 1.16rem;
  line-height: 1.1;
}

.blog-index__tag-heading {
  border-bottom: 3px solid #d1d6dc;
  padding-bottom: 1rem;
}

/* Blog listing */

.blog-index {
  display: flex;
  flex-wrap: wrap;
}

.blog-index::after {
  content: "";
  flex: auto;
}

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

@media screen and (min-width: 992px) {
  .blog-index__post {
    flex: 0 0 calc(100% / 3);
  }
  .blog-index__post--large {
    display: flex;
    flex: 1 0 100%;
    justify-items: space-between;
  }
  .hs-blog-listing .cm-listing-header .blog-header__title {
    font-size: 4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
  }
  .hs-blog-listing .cm-listing-header .blog-header__subtitle {
    font-size: 24px;
  }
}

.blog-index__post.blog-index__post--small {
  display: flex;
}

.blog-index__post-inner-card {
  background: #fff;
  border-radius: 5px;;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
}

.blog-index__post-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px 5px 0 0;
  display: block;
  padding-bottom: 63%;
}

@media (min-width: 1024px) {
  .full-width .blog-index__post-image {
    min-height: 300px;
    padding-bottom: unset;
  }
}

.blog-index__post-inner-card .blog-index__post-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  text-align: center;
}

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

.blog-index__post-content .blog-post__title {
  margin: 0.5rem auto;
  text-align: center;
}

.blog-index__post-content--small .blog-post__title {
  font-size: 18px;
  line-height: 36px;
}

.blog-index__post-content--small .blog-post__title a {
  color: #222222;
}

.blog-index__post-content--small .blog-post__title a:hover {
  color: #f39200;
  text-decoration: none;
  transition: all 0.5s;
}

.blog-post__meta-section {
  align-items: center;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.blog-post__read-more  {
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: auto;
  padding-top: 30px;
}

.blog-post__read-more a {
  align-items: center;
  display: flex;
  border: 2px solid #444;
  border-radius: 3px;
  color: #333;
  font-weight: 700;
  position: relative;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  margin: 5px;
  padding: 8px 22px;
  font-size: 0.875rem;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: none;
  transition: all .2s ease-in-out;
}

.blog-post__read-more a:hover {
  text-decoration: none;
  color: #FFFFFF;
  background-color: #444;
}

.read-more__arrow {
  padding-left: 10px;
  position: relative;
}

.read-more__arrow .icon-line-arrow-right:before {
  content: "\e924";
  font-size: 11px;
}

/* Blog listing - sidebar */

@media screen and (min-width: 992px) {
  .sidebar.full-width .blog-index .blog-index__post,
  .sidebar .full-width .blog-index .blog-index__post {
    flex: 0 0 100%;
  }
  .sidebar.two-col .blog-index .blog-index__post,
  .sidebar .two-col .blog-index .blog-index__post {
    flex: 0 0 calc(100% / 2);
  }
  .sidebar.three-col .blog-index .blog-index__post,
  .sidebar .three-col .blog-index .blog-index__post {
    flex: 0 0 calc(100% / 3);
  }
  .sidebar.four-col .blog-index .blog-index__post,
  .sidebar .four-col .blog-index .blog-index__post {
    flex: 0 0 calc(100% / 4);
  }
  .cm-listing-subscription {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .sidebar.two-col .blog-index .blog-index__post,
  .sidebar .two-col .blog-index .blog-index__post {
    flex: 0 0 100%;
  }
  .sidebar .blog-index {
    padding: 1rem 0 3.3rem;
  }
  .blog-sidebar {
    padding: 2rem 1rem 0;
  }
}

.blog-sidebar h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 37px;
  margin-bottom: 20px;
}

.blog-sidebar ul {
  background: #fff;
  border-radius: 5px;
  list-style: none;
  padding: 30px;
}

.blog-sidebar a {
  text-decoration: none;
}

.blog-sidebar a:hover {
  text-decoration: none;
}

.blog-sidebar .filter-link-count {
  display: none;
}

.blog-sidebar .filter-expand-link {
  position: relative;
  top: -15px;
  display: block;
  margin-bottom: 25px;
  text-transform: capitalize;
  text-align: center;
}

.blog-sidebar-post-listing .popular-posts__item {
  display: flex;
  border-top: 1px solid #dfddd9;
  padding: 20px 0 0;
}

.blog-sidebar-post-listing .popular-posts__item:first-child {
  border-top-color: transparent;
  padding-top: 0;
}

.blog-sidebar ul li:last-child {
  padding-bottom: 0;
}

.blog-sidebar-post-listing .popular-posts__link {
  align-items: center;
  display: flex;
}
.blog-sidebar-post-listing .popular-posts__image {
  margin-bottom: auto;
  width: 64px;
  height: 64px;
  border-radius: 5px;
  object-fit: cover;
}
.blog-sidebar-post-listing .popular-posts__title {
  color: #f39200;
  margin-left: 16px;
  font-weight: 600;
}
.blog-sidebar-post-listing .popular-posts__item:hover .popular-posts__title {
  color: #222;
}

/* Blog mobile sidebar */

@media screen and (max-width: 991px) {
  .hs-blog-listing .content-wrapper > .row-fluid {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hs-blog-listing .span4 {
    order: 3;
    display: none !important;
  }

  .hs-blog-listing .span8 {
    order: 1;
  }

  .hs-blog-listing .blog-pagination {
    order: 2;
  }

  .cm-listing-pagination .dnd-section .row-fluid {
    justify-content: center;
  }

}

/* Blog post */

.post-featured-image {
  background-position: center center;
  background-size: cover;
  border-radius: 5px;
  margin-bottom: -110px;
  margin-top: 40px;
  min-height: 300px;
}

.blog-post {
  background: #fff;
  border-radius: 5px;
  margin: 0 auto 60px;
  padding: 30px 30px 60px;
  position: relative;
}
.blog-post__meta {
  margin: 1rem 0;
}

.blog-post__meta a {
  text-decoration: none;
}

.blog-post__timestamp {
  display: inline-block;
}

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

.blog-post__links-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 32px 0;
}

@media (max-width: 991px) {
  .blog-post__links-container {
    align-items: start;
    flex-direction: column;
  }
  .hs-blog-social-share {
    height: 0 !important;
  }
  .hs-blog-social-share-list {
    padding-top: 20px;
  }
}

.hs-blog-social-share .hs-blog-social-share-item-linkedin {
  margin-top: -7px;
}

.blog-post__back-to-blog,
.blog-post__back-to-blog:hover {
  text-decoration: none;
}

.blog-post__back-to-blog svg {
  margin-right: 10px;
  position: relative;
  top: 6px;
  transition: all 0.15s linear;
  width: 20px;
}

@media (max-width: 991px) {
  .blog-post img {
    float: none !important;
    width: 100% !important;
  }
  .blog-post h1 {
    font-size: 1.6rem;
  }
}

/* Blog related posts */

.blog-related-posts {
  margin-top: 3rem;
  padding: 2rem 0;
}

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

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

/* Blog comments */

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

.blog-comments form {
  max-width: 100%;
  padding-top: 2em;
}

.blog-comments .hs-submit {
  text-align: center;
}

.comment.depth-0:first-child {
  margin-top: 2em;
}

.comment.depth-1 {
  padding-left: 2em;
  padding-top: 1em;
  margin-top: 1em;
}

.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;
}

/* Subscription section */

.subscription-form {
  display: block;
  margin: 0 auto;
  padding: 0 0 30px;
}
.subscription-form h3 {
  color: inherit;
}

.subscription-form label {
  text-align: left;
}
.cm-listing-header .dnd-section {
  padding: 0;
  background: transparent !important;
}

.cm-listing-header .hs_cos_wrapper_type_module {
  width: 100%;
}

.blog-header {
  padding: 80px 0;
  background-color: transparent;
}

.cm-listing-body .dnd-section {
  padding: 0;
}

.cm-listing-body .dnd-section>.row-fluid {
  padding: 0;
}

.cm-listing-sidebar .dnd-section,  .cm-listing-sidebar .dnd-section>.row-fluid {
  padding: 0;
}

.blog-sidebar .blog-sidebar-topic-filter ul {
  display: flex;
  flex-flow: row wrap;
}

.blog-post__tag-link,
.blog-sidebar .blog-sidebar-topic-filter ul li a  {
  display: inline-block;
  background: #f39200;
  color: #FFFFFF;
  font-size: 12px;
  border-radius: 3px;
  padding: 8px;
  margin: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
  transition: all .2s ease-in-out;
  white-space: nowrap;
}
.blog-post__tag-link:hover, .blog-sidebar .blog-sidebar-topic-filter ul li a:hover {
  background: #444444;
}

form label.hs-main-font-element {
  color: #ef6b51;
}

.cm-listing-header .dnd-section>.row-fluid {
  padding: 0;
  max-width: 100%;
  margin-bottom:40px;
}
.cm-listing-header .blog-header__title,
.cm-listing-header .blog-header__subtitle,
.cm-listing-header .blog-header__subtitle .blog-post__meta a {
  color: #FFFFFF;
}

.blog-post__sharing a {
  display: inline-block;
  width: 32px;
  height: 32px;/
  margin: 0 5px;
  position: relative;
  text-indent: -9999px;
  overflow: hidden; 
}

.blog-post__sharing a i:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.blog-post__sharing a .icon-line-brand-facebook:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTU4IDMyQzU4IDE3LjYgNDYuNCA2IDMyIDZTNiAxNy42IDYgMzJzOC40IDIyLjQgMTkuNyAyNS4yVjM5LjloLTUuNFYzMmg1LjR2LTMuNGMwLTguOCA0LTEzIDEyLjctMTNzNC41LjMgNS43LjZ2Ny4yaC0zYy00LjMgMC01LjkgMS42LTUuOSA1LjhWMzJoOC41bC0xLjUgNy45aC03djE3LjlDNDguMSA1Ni4yIDU4IDQ1LjMgNTggMzIiIHN0eWxlPSJmaWxsOiMwODY2ZmYiLz48cGF0aCBkPSJtNDIuMiAzOS45IDEuNS03LjloLTguNXYtMi44YzAtNC4yIDEuNi01LjggNS45LTUuOGgzdi03LjJjLTEuMi0uMy00LS42LTUuNy0uNi04LjcgMC0xMi43IDQuMS0xMi43IDEzVjMyaC01LjR2Ny45aDUuNHYxNy4zYzIgLjUgNC4xLjggNi4zLjhzMi4xIDAgMy4yLS4yVjM5Ljl6IiBzdHlsZT0iZmlsbDojZmZmIi8+PC9zdmc+");
}
.blog-post__sharing a .icon-line-brand-linkedin:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PGNpcmNsZSBjeD0iMzIiIGN5PSIzMiIgcj0iMjYiIHN0eWxlPSJmaWxsOiMwMDdlYmIiLz48cGF0aCBkPSJNNDguNCA0OC4zaC02LjhWMzYuOGMwLTMuMi0xLjItNC45LTMuNy00LjlzLTQuMSAxLjgtNC4xIDQuOXYxMS41aC02LjVWMjYuNGg2LjV2Mi45czItMy42IDYuNi0zLjYgOCAyLjggOCA4Ljd6TTE5LjYgMjMuNmMtMi4yIDAtNC0xLjgtNC00czEuOC00IDQtNCA0IDEuOCA0IDQtMS44IDQtNCA0bS0zLjQgMjQuN0gyM1YyNi40aC02Ljh6IiBzdHlsZT0iZmlsbDojZmZmO2ZpbGwtcnVsZTpldmVub2RkIi8+PC9zdmc+"); 
}
.blog-post__sharing a .icon-line-brand-x:before { 
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PGNpcmNsZSBjeD0iMzIuMSIgY3k9IjMxLjEiIHI9IjI2Ii8+PHBhdGggZD0iTTQxLjcgMTYuMmg1LjFMMzUuNyAyOC44bDEzIDE3LjFIMzguNWwtOC0xMC40LTkuMSAxMC40aC01LjFsMTEuOC0xMy41LTEyLjQtMTYuM2gxMC40bDcuMiA5LjUgOC40LTkuNVpNMzkuOSA0M2gyLjhMMjQuNiAxOWgtM3oiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4="); 
}

@media (min-width:992px) and (max-width: 1023px) {
  .blog-sidebar ul,
  .blog-sidebar form {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 991px) {
  .blog-sidebar.span4 {
    padding-left: 0;
    padding-right: 0;
  }
  .blog-index__post {
    padding-left: 0;
    padding-right: 0;
  }
  .cm-listing-pagination .dnd-section {
    padding-top: 0;
  }
}
@media (max-width: 767px) {
  .hs_recaptcha.hs-recaptcha {
    overflow: auto;
  }
  .blog-header__inner,
  .blog-post,
  .blog-sidebar ul {
    padding-left: 12px;
    padding-right: 12px;
  }
}