/***
* Single post styles
**/

/***** Entry header */
article .entry-header {
  display: flex;
  align-items: center;
}

.entry-title-and-meta .entry-title {
  margin-bottom: 27px;
}

.entry-title-and-meta .post-author {
  font-size: 18px;
  font-weight: lighter;
  letter-spacing: 1.8px;
}
.entry-title-and-meta .post-date {
	font-size: 18px;
	font-weight: lighter;
}

.entry-header .featured-image-wrap {
  background-image: url( '../../images/single-post-image-bg.svg' );
  background-size: contain;
  padding-bottom: 95px;
  background-repeat: no-repeat;
  background-position: bottom center;
  display: flex;
  justify-content: center;
}

.entry-header .featured-image-wrap .featured-image {
  border-radius: 13px 13px 2px 2px;
	width: 350px;
  height: 100%;
	max-width: 100%;
}

/****  Entry content + sidebar */

/* Fix for images width inside gutenberg editor */
.entry-content.blog-content-main figure,
.entry-content.blog-content-main img {
	max-width: 100%;
	height: auto;
}

.content-sidebar-wrap {
  display: flex;
  align-items: start;
}

.entry-content {
  padding-right: 60px;
}

  /* Social share buttons */
.post-share-wrap {
  display: block;
  margin-top: 47px;
  padding-bottom: 24px;
  line-height: 27px;
}

.post-share-wrap .social-icon {
  font-size: 26px;
  margin-left: 22px;
  color: black;
}

.so-icon {
  vertical-align: top;
  display: inline;
}

.so-icon::before {
    content: '';
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: inline-block;
    height: 1em;
    width: 1em;
}

.icon-facebook::before {
  background-image: url('../../images/social-icon-facebook.svg');
}

.icon-twitter::before {
  background-image: url('../../images/social-icon-twitter.svg');
}

.icon-linkedin::before {
  background-image: url('../../images/social-icon-linkedin.svg');
}

/***** Entry Footer */
.entry-footer {
  margin-top: 70px;
}

.entry-footer .author-info-wrap {
  display: flex;
  margin-bottom: 60px;
}

.entry-footer .author-bio {
  display: flex;
  align-items: start;
  width: 67%;
  padding-right: 80px;
}

.entry-footer .author-bio .author-image {
  height: 80px;
  width: 80px;
  object-fit: cover;
}

.entry-footer .author-bio .author-bio-content-wrap {
  padding-left: 25px;
}

.author-bio-content-wrap .author-name {
  font-size: 19px;
  letter-spacing: 1.5px;
}

.author-info-wrap .more-from-author {
  width: 33%;
}

.author-info-wrap .more-from-author h6 {
  font-size: 13px;
  color: #ADADAD;
  margin-bottom: 25px;
}

.author-info-wrap .more-from-author .post-link {
  display: flex;
  align-items: start;
  margin-bottom: 20px;
}

.author-info-wrap .more-from-author .post-link span {
  color: black;
  font-weight: bold;
}

.author-info-wrap .more-from-author .post-link .arrow-icon {
  width: 24px;
  margin-top: 5px;
}

/* Related posts section */
.related-posts {
  margin-bottom: 30px;
}

.related-posts .related-posts-wrap {
  display: flex;
  margin-top: 54px;
}

.related-posts .related-posts-wrap .related-item {
  display: flex;
  width: 100%;
  max-width: 50%;
  align-items: start;
  margin-right: 35px;
  border-right: 1px solid #ADADAD;
}
.related-item .related-item-image {
	background-size: cover;
	background-position: center;
	height: 73px;
	border-radius: 3px;
	flex: 0 0 130px;
}
.related-posts .related-posts-wrap .related-item:last-child {
  border-right: none;
}

.related-posts-wrap .related-item .post-thumbnail {
  width: 130px;
  height: 73px;
  border-radius: 3px;
}

.related-posts-wrap .related-item .inner-right {
  padding: 0 30px 0 19px;
	flex: 1;
}

.related-item .inner-right .cat-wrap {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--color-primary);
}

.related-item .inner-right .category::before {
  display: inline-block;
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 100%;
  background-color: #39C4F4;
  vertical-align: middle;
  margin-right: 10px;
  margin-left: 10px;
}

.related-item .inner-right .category:first-child::before {
  margin-left: 0;
}

.related-item .inner-right .post-title {
  font-size: 16px;
  margin-top: 10px;
  font-weight: 400;
}

.related-item .inner-right .post-title a {
  color: #1F1D1D;
}

/* large screens only */
@media screen and (min-width: 992px) and (max-width: 1370px) {
  article .entry-header .featured-image-wrap {
    padding-bottom: 60px;
  }

  article .entry-header .featured-image-wrap .featured-image {
    padding-left: 0;
  }

  /* Fix for images width inside gutenberg editor */
  .entry-content.blog-content-main figure,
  .entry-content.blog-content-main img {
    width: unset !important;
    max-width: 100%;
  }
}

/* Small */
@media screen and (max-width: 950px) {
  article .entry-header {
    flex-direction: column;
    align-items: start;
  }

  .entry-title-and-meta .entry-title {
    line-height: 28px;
  }

  .entry-header .featured-image-wrap {
    margin-top: 30px;
    padding-bottom: 60px;
    width: 100%;
  }

  .entry-header .featured-image-wrap .featured-image {
    width: 85%;
  }

  .featured-post .featured-image-link {
    height: unset;
  }

  .digest-single .entry-content {
    padding-right: 0;
  }

  .entry-content.blog-content-main figure,
  .entry-content.blog-content-main img {
    max-width: 100%;
    height: auto;
    /*margin: 0;*/
  }
  .content-sidebar-wrap .blog-content-side {
    /*display: none;*/
  }

  .entry-footer .author-info-wrap .author-bio {
    padding: 0;
    width: 100%;
  }

  /* Blogroll */
  .bloghome, .content-sidebar-wrap.digest-single {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .bloghome .main-content {
    margin-top: 30px;
  }

  .bloghome .blog-content-main {
    padding: 0;
  }

  .featured-post .post-thumbnail {
    width: 100%;
    object-fit: contain;
    height: auto;
  }

  .bloghome .sidebar-wrap {
    /*display: none;*/
  }

  .blogroll .pagination a {
    display: block;
    margin-top: 15px;
    text-align: center;
  }

  .related-posts .related-posts-wrap {
    display: block;
    margin-top: 25px;
  }

  .related-posts .related-posts-wrap .related-item {
    border-right: unset;
    border-bottom: 1px solid #ADADAD;
    max-width: unset;
    padding-top: 10px;
  }
  .related-posts .related-posts-wrap .related-item:last-child {
    border-bottom: none;
  }
}