.blog_listing_wrapper  .content-wrapper{
  width:100%;
  max-width:1202px;
  margin-left:auto;
  margin-right:auto;
  padding-left:16px;
  padding-right:16px;
}

.blog_listing_wrapper .background-wrapper img.image1 {
  width: 200px;
  height: 436px;
  top: -90px;
  right: -50px;
  z-index: -10;
  position: absolute;
  max-width: 100%;
}

.blog_listing_wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.blog_listing_wrapper .background-wrapper img.image2 {
  width: 196px;
  height: 548px;
  top: 300px;
  left: 0;
  position: absolute;
  max-width: 100%;
  z-index: -10;
}
.blog_listing_wrapper  .content-wrapper{
  width:100%;
  max-width:1170px;
  margin-left:auto;
  margin-right:auto;
}

.blog_listing_wrapper .background-wrapper img.image1 {
  width: 200px;
  height: 436px;
  top: -90px;
  right: -50px;
  z-index: -10;
  position: absolute;
  max-width: 100%;
}

.blog_listing_wrapper {
  width: 100%;
}
.featured_post_wrapper .featured_image_wrap {
  display: flex;
  min-height: 22.4375rem;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
  background-color: #fff;
  border-radius: 15px;
  margin-bottom:30px;
}

.featured_post_wrapper .featured_image_wrap img {
  border-bottom-left-radius: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 0;
  min-width: 400px;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  object-fit: cover;
  max-width: 687px;
  width: 100%;
}

.featured_post_wrapper .featured_content {
  display: flex;
  flex-direction: column;
  min-height: 418px;
  max-width: 483px;
  width: 100%;
  padding: 32px;
  position: relative;
}

.featured_post_wrapper .featured_content h1 {
  color: #000;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.54;
  margin: 0 0 16px;
}
.featured_post_wrapper .featured_content  .desc {
  min-height: 6.25rem;
  color: #2c3d50;
  font-size: 1rem;
  line-height: 1.625rem;
  margin: 0 0 16px;
  font-weight: 400;
}

.featured_post_wrapper .featured_content .read_more {
  display: flex;
  justify-content: flex-end;
}

.featured_post_wrapper .featured_content .read_more span {
  align-self: flex-end;
  bottom: 32px;
  font-size: 16px;
  font-weight: 600;
  margin-left: auto;
  position: absolute;
  right: 32px;
  display: inline-block;
  padding-bottom: .25rem;
  padding-top: .25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: #016ff6;
  color: #fff;
  border-radius: 5px;
  line-height: 32px;
}

.featured_post_wrapper .featured_content .read_more span:after {
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline;
  height: 16px ;
  margin-left: 6px;
  margin-top: 16px;
  padding: 0 0 0 20px;
  top: 10px;
}

.featured_post_wrapper .featured_content .read_more span:hover{
  background-color:#0059c5;
}

/*  categories */

.blog_listing_wrapper .categories_wrapper {
  padding: 14px 0;
}

.blog_listing_wrapper  .categories_inner {
  display: flex;
}

.blog_listing_wrapper  .categories_item {
  gap: 10px;
  padding-top: 1rem;
  align-items: center;
  flex-wrap: wrap;
  display: flex;
}
.blog_listing_wrapper .filter-btn {
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #2c3c50;
  color: #2c3c50;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 0 16px;
  -webkit-user-select: none;
  user-select: none;
  line-height:32px;
  display:inline-block;
}

.blog_listing_wrapper .filter-btn:hover {
  background-color: #d8ecff;
  opacity: .8;
}

.blog_listing_wrapper  .reset {
  color: #016ff6;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
  display: none;
}

.blog_listing_wrapper  .reset:hover {
  font-weight: 600;
}




/*  all posts */

.blog_listing_wrapper .rec-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  row-gap: 2.5rem;
  column-gap: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 60px;
}

.blog_listing_wrapper .rec-item-grid .list_item {
  padding-bottom: 0;
  display: inline-block;
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 3px 25px 0 rgba(0, 0, 0, .08);
  min-height: 613px;
  margin: 30px auto 0;
  position: relative;
  z-index: 10;
}

.blog_listing_wrapper .rec-item-grid  .gatsby-image-wrapper {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  min-height: 241px;
  width: 100%;
  display: inline-block;
  vertical-align: top;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.blog_listing_wrapper .rec-item-grid .featured_image img {
  min-height: 241px;
  object-fit: cover;
  object-position: center;
}

.blog_listing_wrapper .rec-item-grid .Content {
  margin: 17px 16px;
}

.blog_listing_wrapper .rec-item-grid .Content h2 {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.54;
  margin: 0 0 16px;
}

.blog_listing_wrapper .rec-item-grid .Content p {
  color: #2c3d50;
  font-size: 1rem;
  line-height: 1.625rem;
  margin: 0;
  font-weight: 400;
}

.blog_listing_wrapper .rec-item-grid  .read_more {
  display: flex;
  justify-content: flex-end;
}

.blog_listing_wrapper .rec-item-grid .read_more .read {
  align-self: flex-end;
  bottom: 32px;
  color: #016ff6;
  font-size: 16px;
  font-weight: 600;
  margin-left: auto;
  position: absolute;
  right: 16px;
  display: inline-block;
  line-height: 1;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

.blog_listing_wrapper .rec-item-grid .read_more .read:after {
  align-items: center;
  background-repeat:: no-repeat;
  background-size: contain;
  content: "";
  display: inline;
  height: 16px;
  margin-left: 6px;
  margin-top: 16px;
  padding: 0 0 0 20px;
  top: 10px;
  width: auto;
}

.blog_listing_wrapper .rec-item-grid .read_more .read:hover{
  color: #0059c5;
}

.blog_listing_wrapper .rec-item-grid .tag {
  background-color: #fff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: 0 6px 25px 0 rgba(0, 0, 0, .08);
  color: #d91e5a;
  font-size: 20px;
  font-weight: 700;
  left: 16px;
  padding: 8px 16px;
  position: absolute;
  text-transform: uppercase;
  top: 0;
}


.blog_listing_wrapper .filter-btn.active {
  background-color: #d8ecff;
}
.blog_listing_wrapper .filter-btn:before {
  background-image: url(https://images.ctfassets.net/rh7phaxwpmak/6EXi7HtP1dATLq5j5THM2t/e2bd11a8cb89bf6d638c2e8fea7dbbb2/selected-icon.svg);
  color: #2c3c50;
  content: "";
  display: inline-block;
  height: 16px;
  margin-right: 4px;
  width: 16px;
  display: none;
}

.blog_listing_wrapper .filter-btn.active:before {
  display: inline-block;
}

.blog_listing_wrapper .filter-btn.active {
  box-shadow: none;
  padding-left: 6px;
}

@media (max-width:767px){
  .featured_post_wrapper .featured_image_wrap {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 30px 0px;
    width: auto;
  }

  .featured_post_wrapper .featured_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 16px;
    padding: 0;
    width: auto;
    max-width: 100%;
    min-height: auto;
  }

  .featured_post_wrapper .featured_content h1 {
    font-size: 20px;
  }

  .featured_post_wrapper .featured_content .read_more {
    padding-top: 20px;
    padding-right: 0;
    text-align: right;
  }

  .featured_post_wrapper .featured_content .desc {
    min-height: auto;
  }

  .featured_post_wrapper .featured_content .read_more span {
    position: static;
    text-align: right;
    display: inline-block;
  }
  .featured_post_wrapper .featured_image_wrap img {
    max-width: 100%;
    min-width: auto;
        border-top-right-radius: 15px;
  }
}

@media(max-width:335px)
{
.blog_listing_wrapper .rec-item-grid
  {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}