
/* page layout */

.page-header {
  background-color: transparent;
}
.page-header-info {
  width: 100%;
  color: var(--content);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
}
.page-header-info h1{
  margin-bottom: 0;
  padding-bottom: 0 !important;
}
.page-header-info .section-titles {
  color: var(--content);
  text-align: center;
  font-size: 2.5rem;
  padding-bottom: 16px;
  font-weight: 700;
}
.page-header-info .section-titles::after {
  background-color: var(--wihte) !important;
}

.cat-tab-button-item{
  width: calc(20% - 32px);
  padding: 4px 14px !important;
}

.active_tab::after {
  position: absolute;
  left: -2px;
  width: calc(100% + 4px);
  height: 19px;
  background-color: var(--primery);
  top: 100%;
  content: '';
  display: block;
}

.cat-tab-content-wrapper{
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--primery);
  margin-top: 16px;
  padding: 16px;
  width: 100%;
  min-height: 500px;
  position: relative;
}




/* category pages */

.blog-category{
  margin: 40px 0;
}
.section-titles{
  color: var(--primery);
}



/* blog archive */

section.top-blog-archive-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.last-blog-item-wrapper{
  width: 65%;
}
.popular-blog-items{
  width: 31.5%;
}

.last-blog-item{
  width: 100%;
  border-radius: 24px;
  background-color: var(--gray);
  padding: 24px;
  display: flex;
  flex-direction: column;

}
.last-blog-item>a{
  width: 100%;
  max-height: 400px;
}
.last-blog-item>a img{
  width: 100%;
  max-height: 400px;
  border-radius: 16px;
  object-fit: cover;
}

.last-blog-item>figcaption{
  width: 100%;
  padding: 16px;
  background-color: var(--primery);
  border-radius: 16px;
  margin-top: 16px;
}

.last-blog-item>figcaption a{
  width: 100%;
  height: 100%;
  font-size: 1.7rem;
  color: var(--wihte);
  line-height: 1.8;
  font-weight: 700;
}


.multitab_section_wrapper ::-webkit-scrollbar-thumb{
  background: transparent !important;

}
.multitab_section_wrapper::-webkit-scrollbar{
  width: 0;
}



/******************* big screan scope ************************* */

@media screen and (min-width: 1441px) {
  .main-posts-desc{
    min-height: 50px;
  }
    



  }
  
  /*********************** middle screan scope ******************** */
  
  @media screen and (min-width: 1024px) and (max-width: 1280px) {
   
    .blog-category .main-posts-item{
      width: 30%;
      margin: 12px 1.66%;

    }
    .cat-tab-button-item {
      font-size: 1rem;
    }


  }
  
  /***********************tablet scope****************/
  
  @media screen and (max-width: 1023px) {
    .blog-category .main-posts-item{
      width: 48%;
      margin: 12px 1%;

    }
    .page-header-info .section-titles {
      font-size: 2rem;
    }


    .last-blog-item-wrapper{
      width: 100%;
    
    }
    .popular-blog-items{
      width: 100%;
    }

    .cat-tab-button-item {
      font-size: .9rem;
      padding: 3px 6px !important;
      width: 170px;
    }
    .tab-button-wrapper {
      width: 500px;
  }
  .active_tab {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: relative;
  }
  .active_tab::after {
    display: none;
  }
  .overfllow-wrapper{
    overflow-x: auto;
  }

  }
  
  /*******************large mobile scope*******************/

  @media screen and (max-width: 767px){
    .page-header-info {
      height: 100px;
    }
    .page-header-info .section-titles {
      font-size: 1.7rem;
    }
    .blog-category {
      margin: 24px 0;
  }




.last-blog-item{
  border-radius: 12px;
  padding: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
.last-blog-item>a{
  max-height: 200px;
}
.last-blog-item>a img{
  max-height: 200px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.last-blog-item>figcaption{
  padding: 8px;
  border-radius: 12px;
  margin-top: 8px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.last-blog-item>figcaption a{
  font-size: 1rem;
}


  }



  /*******************mobile scope*******************/
  @media screen and (max-width: 599px) {
    .blog-category .main-posts-item{
      width: 100%;
      margin: 12px 0;
    }
    


  
  

  
  }
  





