
.grid-layout {
  display: grid;
  grid-gap: 2rem;
  margin-bottom: 2rem;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 1440px) {
  .grid-layout {
    grid-gap: 4rem;
    margin-bottom: 4rem;
  }
}

.blog-page .page-wrapper {
  background: #fff;
}

.blog-page .content-container p {
  margin-bottom: 20px;
}

.post-bottom {
  margin-bottom: 40px;
}

.blog-page-list .page-title-wrapper {
  text-align: center;
}

.mfblog-autoloader {
  padding-top: 6rem;
  text-align: center;
}

.mfblog-autoloader .action {
  width: 100%;
  max-width: 40rem;
}

.mfblog-autoloader .posts-loader {
  display: none;
}

.related-posts {
  margin-top: 6rem;
}

.related-posts .news-card {
  margin-bottom: 0;
}

.related-posts .block-title {
  font-weight: 700;
  display: block;
  text-align: left !important;
  margin-bottom: 20px;
}

.related-posts .block-title strong {
  font-size: 26px !important;
}

@media (min-width: 1024px) {
  .related-posts .block-title strong {
    font-size: 26px !important;
  }
}

.related-posts__listing.slick-initialized {
  margin: 0 0 6rem -5rem;
}

.related-posts__listing.slick-initialized .news-card {
  margin-right: 2rem;
}

.post-top,
.post-view {
  max-width: 1132px;
  margin: 0 auto;
}

.post-top {
  margin-bottom: 2.7rem;
}

.post-top .page-title {
  margin-bottom: 1rem;
}

.post-view-info {
  color: #777;
}


.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin: 40px 0 20px;
  color: #149FB1;
  font-weight: 500;
}

.post-content h1 {
  font-size: 35px;
  margin: 40px 0;
  text-align: left;
}

.post-content h2 {
  font-size: 28px;
}

.post-content h3 {
  font-size: 26px;
}

.post-content h4 {
  font-size: 24.9px;
}

.post-content h5 {
  font-size: 19.2px;
}

.post-content h6 {
  font-size: 18px;
}

.blog-page .post-content .page-title-wrapper + p,
.blog-page .post-content .page-title-wrapper + p + p {
  font-size: 18px;
}

.post-content a:not(.gallery-image),
.post-content a:not(.action) {
  color: #149FB1;
  text-decoration: underline;
}

.post-content ul {
  margin: 0 0 20px;
}

.post-content ul li {
  padding: 0;
  margin: 0 0 10px;
  font-size: 18px;
}

.post-content em {
  font-style: italic;
  display: block;
  margin: 40px 0 20px;
  font-size: 23px;
  color: #222;
}

.post-content p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.post-content .detail img {
  display: block;
  margin: 80px auto;
  border-radius: 4px;
}

.blog-page .post-content p {
  font-size: 16px;
  line-height: 1.5;
}

.blog-post-view .post-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin: 60px 0;
}

.blog-post-view .post-gallery img {
  border-radius: 4px;
  display: block;
}

@media (min-width: 768px) {
  .blog-page .post-content p {
    font-size: 18px;
  }

  .blog-post-view .post-gallery {
    grid-gap: 44px;
    margin: 80px 0;
  }

  .blog-page .post-content .page-title-wrapper + p,
  .blog-page .post-content .page-title-wrapper + p + p {
    font-size: 22px;
  }
}

.blog-page h3.block-related-heading {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 500;
  text-align: left;
}

@media (min-width: 1024px) {
  .blog-page h3.block-related-heading {
    font-size: 3.516rem;
  }
}

.blog-page .related-products-scroller {
  margin: 0;
  padding: 0;
}

.blog-page .related-products-scroller .product-image-wrapper {
  height: auto;
}

.blog-page .related-products-scroller img {
  width: 100%;
}

.blog-page .related-products-scroller .slick-slide {
  margin: 0;
}

.blog-page .related-products-scroller .slick-list {
  margin: 0 -1rem;
  padding: 0;
}

.blog-page .related-products-scroller .product-item-name {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 26px;
  color: #000000;
  margin: 2rem 0 0;
}

.blog-page .related-products-scroller .price-box .price-label {
  font-size: 1.44rem;
  color: #767676;
}

.blog-page .related-products-scroller .price-box span.price {
  margin-top: 1rem;
  font-size: 2.25rem;
}


@media (min-width: 768px) {
  .blog-index-index .page-main {
    margin-bottom: 0;
  }
}


/**
 * From styles-m
 */

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card__img {
  display: block;
  position: relative;
  height: 0;
  overflow: hidden;
  padding-top: 61.98347107%;
  background-color: #dddddd;
}

.news-card__img img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.news-card__detail {
  flex: 1;
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .news-card__detail {
    padding: 1rem 0 1.7rem;
  }
}

.news-card__title {
  margin-bottom: 10px;
  font-size: 20px;
  color: #149fb1;
  line-height: 1.5;
}

.news-card__title a {
  color: #149fb1;
}

@media (min-width: 768px) {
  .news-card__title {
    font-size: 28px;
  }
}

.news-card__title {
  margin-bottom: 10px !important;
}

.news-card__title a:hover {
  text-decoration: underline;
}

.news-card-author__name {
  font-size: 14px;
  line-height: 1.5;
  color: #767676;
}

.news-card__excerpt {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #222;
  padding-bottom: 30px;
  border-bottom: 1px solid #dddddd;
}

@media (min-width: 768px) {
  .news-card__excerpt {
    display: flex;
  }
}


/**
 * From styles-l
 */

.post-list-wrapper.grid-layout.grid-layout--3 {
  margin-bottom: 6.3rem;
}

.products-grid.wishlist .product-items {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}


.post-share {
  margin-bottom: 40px;
  border-top: 4px solid #F2F2F2;
  padding-top: 40px;
  margin-top: 40px;
  text-align: center;
}

.post-share p {
  font-size: 18px;
  color: #222;
}

.blog-page .post-share p {
  margin-bottom: 40px;
}

.blog-page .share-button {
  width: 28px;
  height: auto;
  line-height: 40px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 20px;
  vertical-align: middle;
}

.blog-page .share-button:hover {

}

.blog-page .trust-review-looper {
  display: none;
}


/**
 * Post Content
 */


@media (min-width: 300px) {

  .related-posts__listing,
  .post-list-wrapper.grid-layout {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 0;
  }

}

@media (min-width: 768px) {

  .related-posts__listing,
  .post-list-wrapper.grid-layout {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
  }

  .post-content .aside {
    justify-items: center;
    margin-top: 15px;
  }

  .post-content .detail > *:not(.wide-para) {
    max-width: 838px;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (min-width: 1024px) {

  .related-posts__listing,
  .post-list-wrapper.grid-layout {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 44px;
  }

}


/* Override Magefan code */
@media (max-width: 767px) {
  .blog-post-view .page-title-wrapper .page-title {
    font-size: 28px;
  }
}


/**
 * Pagination
 */

.blog-page .pages .items {
  margin: 20px auto;
  text-align: center;
  display: block;
}

.blog-page .pages .items li {
  font-size: 16px;
  min-width: 20px;
  margin: 0 6px;
}

.blog-page .pages strong.page {
  color: #222;
  padding: 0 4px;
  font-weight: 500;
  font-size: 16px;
}

.blog-page .pages a.page {
  font-weight: 500;
  color: #149fb1;
  padding: 0 4px;
  text-decoration: none;
}

.blog-page .pages .action {
  width: auto;
  padding: 0 10px;
  color: #222;
  font-weight: 500;
}

.blog-page .pages .action:hover {
  color: #222;
}
