/* Blog post */
h1 {
  font-size: 54px !important;
}
h2 {
  font-size: 36px !important;
}
h2.blog-index__post-title,
    h2.blog-index__post-title-link{
  font-size:24px !important;
}
h3 {
  font-size: 24px !important;
}
.navigation__back{ display:none;
}

/* Tabletti ja mobiili */
@media (max-width: 1024px) {
  h1 {
    font-size: 36px !important;
  }
  h2 {
    font-size: 32px !important;
  }
  h3 {
    font-size: 24px !important;
  }
   .navigation__back {
    display: block; /* tai flex */
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 36px !important;
  }
  h2 {
    font-size: 24px !important;
  }
  h3 {
    font-size: 24px !important;
  }
   .navigation__back {
    display: block; /* tai flex */
  }
}

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

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

.hs_cos_wrapper_type_rich_text img{
  border-radius:24px;
}

.body-wrapper .dnd_area-row-0-background-image {
  position: relative;
}

.body-wrapper .dnd_area-row-0-background-image::before {
  background: linear-gradient(0deg, rgba(0,0,0,0.9009978991596639) 72%, rgba(0,0,0,0.7077205882352942) 100%);
  content: "";
  opacity: 0.35;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.body-wrapper .dnd_area-row-0-background-image .row-fluid {
  z-index: 1;
  position: relative;
}


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

.blog-post table {
  border: none;
}

.blog-index {
  max-width: 1140px;
  margin: auto;
}

.blog-post td, th {
  border: none;
}

.shareIcons {
  margin: auto;
  text-align: center;
}

.shareIcons .title{
  margin-bottom: 20px;
}

.blog-post__timestamp {
  display: block;
}

.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: #FFF;
}

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

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

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

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

.blog-related-posts__image {
  height: 300px;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: left center;
  border-radius:24px;
}

.blog-related-posts__title {
  margin: 0.7rem 0;
}

.blog-index__imgwrap {
  border-radius:24px;
}

/* 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;
}

@media screen and (max-width: 768px) {
.body-container-wrapper .content-wrapper{ padding: 40px 10px;
}