/* ################################################################################################## LATEST BLOGS + BLOGS */

.row.latest-posts {
  width: 100%;
}

.row.latest-posts .subheading {
  text-align: center;
}

@media (min-width: 1024px) {
  #blog-category .swiper-slide.text-center {
    width: 24% !important;
  }
}

div#blog-category .breadcrumb a {
  color: white !important;
}

div#blog-category>.row {
  min-height: 820px;
}

#latestblog .caption,
#blog-category .caption {
  margin: auto;
  /* margin-top: 20px; */
  text-align: left;
  padding: 20px 30px;
  position: relative;
  z-index: 1;
  background: white;
  width: 95%;
  transition: all 0.3s;
  width: calc(100% - 50px);
  margin-left: 17px;
}

#latestblog .blogpost-thumb:hover .caption,
#blog-category .blogpost-thumb:hover .caption {
  transform: translateY(-30px);
  transition: all 0.3s;
  box-shadow: 0 0 27px 7px rgba(40, 40, 40, 0.12);
}

#latestblog .caption h4>a,
#blog-category .caption h4>a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 24px;
}

#latestblog .post-more a:hover,
#blog-category .post-more a:hover {
  text-decoration: underline;
}

#latestblog .post-more a,
#blog-category .post-more a {
  text-transform: uppercase;
  color: black;
  font-size: 14px;
}

#blog-category .blogpost-thumb .img-responsive {
  margin: auto;
}

/* ################################################################################################## BLOG SINGLE */

#blog .blog-title h1 {
  color: white;
}

#blog .blog-title {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 55%;
  color: white;
}

#blog .breadcrumb li {
  z-index: 1;
}

#blog .breadcrumb a,
#blog-category .breadcrumb a {
  color: white !important;
  font-weight: normal !important;
}

#blog #content .main-content {
  display: flex;
  width: var(--maxContainerWidth);
  max-width: 100vw;
  padding: 0px 15px;
  margin-inline: auto;
}

#blog .featured-image {
  width: 38%;
}

#blog .blog-content {
  width: 62%;
  padding-top: 20px;
}

#blog .featured-image img {
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin-top: -150px;
}

#blog .subheading {
  text-align: center;
}

#blog .social-icons {
  padding-bottom: 20px;
}

#blog .clearfix {
  /* border-bottom: solid 1px #ddd;
  padding-bottom: 30px; */
  margin-bottom: 80px;
}

#blog .headingmain {
  text-align: center;
  font-weight: bold;
  margin-top: 0 !important;
  padding-bottom: 20px;
}

#blog .product-thumb .caption .price {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  font-weight: bold;
}

#blog .product-thumb .caption .price-old {
  font-size: 14px;
}

@media (max-width: 768px) {
  .main-content>div {
    width: 100% !important;
  }

  #blog .featured-image img {
    margin: auto !important;
  }

  #blog .blog-title {
    left: 5%;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }

  .main-content>div {
    width: 100% !important;
  }

  .main-content {
    flex-wrap: wrap;
  }
}

@media (max-width: 1224px) {
  #blog .featured-image {
    padding-right: 20px;
    margin-top: 50px;
  }
}

/* ################################################################################################## BLOGS */

#blog-category .blog-title * {
  text-align: center;
  color: white !important;
}

#blog-category .blog-title h1 {
  margin-top: 0;
  padding-bottom: 20px;
}

#blog-category #content {
  margin-top: -150px;
}

@media (max-width: 1024px) {
  .blogpost-thumb {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .col-sm-3 {
    width: 50% !important;
  }
}