/*page bar shapes start*/
#blog-listing-wrapper .case_study_card .blog_title {
  color: #FBBC49;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case_study_card .blog_heading {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 152.023%;
  letter-spacing: -0.48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case_study_card {
  overflow: hidden;
}
.case_study_card img {
  width: 100%;
  height: auto;
  display:block;
}
.card_container a {  display: flex;  height: 100%;}
.card_container a .case_study_card {  height: 100%; position: relative;}
.bar_shape_blue_left_top_40 {
    height: 40px;
    width: 30%;
    background: #007AFF;
    position: absolute;
    top: -40px;
}
.bar_shape_yellow_left_top_40 {
    height: 40px;
    width: 30%;
    background: #fdc528;
    position: absolute;
    top: -40px;
    right: 0;
}
.bar_shape_black_left_top {
    height: 40px;
    width: 20%;
    background: #000000;
    position: absolute;
    top: 0;
    left: 6%;
}
.bar_shape_black_right_top {
    height: 40px;
    width: 20%;
    background: #000000;
    position: absolute;
    top: -80px;
    right: 6%;
}
/*page bar shapes end*/
.card_container {
    margin-top: -300px;
}
.header_section {
    padding: 60px 0 210px 0;
}
.case_study_main_section {
    padding: 100px 0 65px 0;
    position: relative;
}
/*card css start*/
.case_study_card {
    border-radius: 10px;
    background: #FFF;
}
.case_study_card:hover{
    transform: scale(1.01);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 21.020633697509766px 39.70563888549805px 1.1678129434585571px rgba(91, 104, 113, 0.14), 0 0 1.1678129434585571px 0 rgba(26, 32, 36, 0.32);
}
.case_study_card .card_body{
     padding: 50px 40px ;
    position: relative;
}
.case_study_card .card_heading{
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 152.023%;
    letter-spacing: -0.48px;
    margin-bottom: 21px;
}
.case_study_card .card_text{
    color: #3E4462;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case_study_card::before {
    content: '';
    height: 15px;
    width: 15px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-image: url('https://www.brickclay.com/wp-content/themes/brickclay/assets/images/database-services/diagnal_arrow_icon.svg');
}
.case_study_card:hover::before {
    opacity: 1;
}
/*card css start*/
@media only screen and (min-width: 1025px) and (max-width: 1440px)  {
    /*page bar shapes start*/
    .bar_shape_black_left_top {
        left: 1%;
    }
    .bar_shape_black_right_top {
        right: 1%;
    }
    /*page bar shapes end*/
}
/*tablet css start*/
@media only screen and (max-width: 1025px){
    .header_section {
        padding: 45px 0 250px 0;
    }
    .case_study_main_section {
        padding: 60px 0;
    }
    /*card css start*/
    .case_study_card .card_body{
        padding: 24px 24px 60px 24px;
    }
    .case_study_card .card_heading{
        font-size: 22px;
        letter-spacing: -0.44px;
        margin-bottom: 12px;
    }
    .case_study_card .card_text{
        font-size: 16px;
        line-height: 28px;
    }
    
    /*card css end*/
    #blog-listing-wrapper .case_study_card .blog_title {
	  font-size: 12px;
	  letter-spacing: 1.8px;
	  margin-bottom: 16px;
	}
}
/*tablet css end*/
/*mobile css start*/
@media only screen and (max-width: 576px){
    /*page bar shapes start*/
    .bar_shape_black_left_top {
        left: 0;
    }
    .bar_shape_black_right_top {
        right: 0;
    }
    /*page bar shapes end*/
    .header_section {
        padding: 40px 0 250px 0;
    }
    .case_study_main_section {
        padding: 70px 0 40px 0;
    }
    
    /*card css start*/
    .case_study_card .card_body{
        padding: 22px 22px 45px 22px;
    }
    .case_study_card .card_heading{
        font-size: 18px;
        letter-spacing: -0.36px;
    }
    .case_study_card .card_text{
        font-size: 16px;
    }
    /*card css end*/
}
/*mobile css end*/

/** Pagination **/
.pagination li:not(.next-post,.prev-post) a,
.pagination li:not(.prev-post) a{  display: block;  width: auto;  line-height: 1;  text-align: center;}
.pagination ul {  padding: 0;  margin: 0;  list-style: none;}
.pagination ul li {  display: inline-block;}
.blog-pagination {  background: #F5F8FC;  padding-bottom: 50px;  position: relative;  margin-top: -5vw;}
.blog-pagination.pagination {}.pagination li a {  color: #57576E;  font-size: 18px;  padding: 0 20px;  line-height: 48px !important;  border-radius: 4px;  height: 48px;  display: block;}
.pagination li.active a {  background: var(--bc-blue);  color: #fff;}
.pagination li:hover a {  background: var(--bc-darkbg);  color: #fff;}
/** End of pagination **/