.card-header::before {
  position: absolute;
  content: "";
  bottom: -2px;
  left: 0px;
  width: 50px;
  height: 2px;
  background: var(--primary);
}
.card-header {
  margin-bottom: 10px;
}

/*=====================================
            BLOG-LIST PAGE STYLE
======================================*/
.blog-part {
  padding: 100px 0px 70px;
}

.blog-card {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .blog-part {
    padding: 60px 0px 30px;
  }
}

@media (min-width: 370px) and (max-width: 575px) {
  .blog-card {
    width: 340px;
    margin: 0px auto 30px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .blog-part {
    padding: 80px 0px 50px;
  }
}
/* Custom */

.Hero{
  background: rgb(113, 113, 240);
  color: white;
  /* color: #0044bb; */
}
.textInput{
  text-align: center;
  margin-bottom: 30px;
}
.textInput h1{
  color: white;
  font-size: 39px;
  padding: 30px 0 10px;
 
}
.textInput p{
  font-size: 14px;
  padding: 10px 0 10px;
}
.textInput .search{
  display: flex;
  align-items: center;
  justify-content: center;
}
.textInput .search input{
  padding: 10px 50px 10px 30px;
  font-size: 18px;
  border-radius: 30px;
  width: 550px;
}
.textInput .search i{
  margin-left: -45px;
  color: #222;
  font-size: 25px;
  transition: 0.3s;
  padding: 10px;
  border-radius: 50%;
}
.textInput .search i:hover{
  background: #0044bb;
  color: white;
}
.blogNav{
  margin: 10px 0;
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.blogNav .leftArrow{
  width: 30px;
  margin-right: 10px;
}
.blogNav .leftArrow svg{
  width: 100%;
  cursor: pointer;
}
.blogNav .rightArrow{
  width: 30px;
  margin-left: 10px;
}
.blogNav .rightArrow svg{
  width: 100%;
  cursor: pointer;
}


/* 
.blogNav ul{
  display: flex;
  overflow-x: scroll;
  gap: 15px;
  scroll-behavior: smooth;

}
.blogNav ul::-webkit-scrollbar{
  display: none;
}
.blogNav ul li a{
  color: white;
  padding: 2px 20px;
  background: #0044bb;
  border-radius: 5px;
}
.blogNav ul li a.active{
  background-color: white;
  color: #0044bb;
} */
.catagoryList{

  display: flex;
  
  overflow: hidden;
  align-items: center;
  margin: 30px auto;
  }
  
.catagoryList ul{
  display: flex;
  
  margin: 0 10px;
  overflow-x: scroll;
  scroll-behavior: smooth; 
  }
.catagoryList ul.Drage{
  scroll-behavior: auto;
  }
  
.catagoryList ul::-webkit-scrollbar{
  display: none;
  }
.catagoryList ul li{
  margin: 0 10px;
  }
  .catagoryList ul li a{
    /* border: 1px solid #0044bb ; */
    background-color: #0044bb;
    color: white;
    padding: 2px 30px;
    border-radius: 4px;
    white-space: nowrap;
    user-select: none;
    }
  .catagoryList ul li a.active{
      background: white;
      color: #0044bb;
      }
  .catagoryList .NleftArrow,
  .catagoryList .NrightArrow{
    display: none;
  }
  .catagoryList .NleftArrow.active,
  .catagoryList .NrightArrow.active{
    display: block;
  }
  .catagoryList .NleftArrow svg,
  .catagoryList .NrightArrow svg{
    width: 30px ;
    height: 30px;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
  }
  .catagoryList .NleftArrow svg:hover,
  .catagoryList .NrightArrow svg:hover{
    background: #444;
    color: white;
  }

.blogSection{
  margin: 60px 0;
}
.mainBlogs h2{
  font-size: 30px;
}
.LatestAllBlogs .blog-card{
  width: 100%;
}
.LatestAllBlogs .blog-card .blog-meta li p{
  font-size: 12px;
}
.blogs{
  display: flex;
}
.blogs .leftMainBlog{
  width: 50%;
  padding: 20px 30px 20px 0px;
}
.blogs .leftMainBlog .img{
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}
.blogs .leftMainBlog img{
  width: 100%;
}
.blogs .leftMainBlog .desc h3{
  font-size: 26px;
  margin-bottom: 10px;
}.blogs .leftMainBlog .desc p{
  line-height: 1.2;
}
.tags{
  margin-bottom: 10px;
}
.tags a{
  padding: 2px 8px;
  font-size: 12px;
  background-color: #EEF5FC;
  color: #7F8BA5;
}

.tags a:hover{
  color: #222;
}
.subBlogs{
  padding: 30px;
  width: 50%;
}
.subBlogs .singleBlogCard{
  display: flex;
  border: 1px solid #d3d3d3;
  width: 100%;
  padding: 10px;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 10px;
}
.subBlogs .singleBlogCard .img{
  height: 120px;
  width: 130px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.subBlogs .singleBlogCard .img img{
  height: 100%;
}
.LatestAllBlogs{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
 margin: 20px 0;
 justify-content: space-evenly;
}
.latestSingleBlog{
  width: 23%;
}
@media (max-width:991px) {
  .blogNav{
    width: 100%;
    overflow: hidden;
  }
  .blogNav ul{
    overflow-x: scroll;
    width: 100%;
    scroll-behavior: smooth;
    justify-content: flex-start;
  }
  .blogs{
    flex-direction: column;
  }
  .blogs .leftMainBlog{
    width: 100%;
    padding: 0;
    margin: 20px 0;
  }
  .blogs .leftMainBlog .img{
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
  }
  .subBlogs{
    padding: 0;
    width: 100%;
  }
  .LatestAllBlogs{
    flex-direction: column;
    justify-content: center;
  }
  .subBlogs .singleBlogCard .img{
   width: 110px;
  }
  .subBlogs .singleBlogCard .desc h4{
    font-size: 16px;
  }
  .latestSingleBlog{
    width: 90%;
    margin: 0 auto;
  }
  .latestSingleBlog .blog-card{
    width: 100%;
  }
  .textInput .search input{
    width: 80%;
  }
  .textInput h1{
    font-size: 35px;
  }
  .textInput p{
    font-size: 13px;
  }
  h1{
    font-size: 30px;
  }
}
