/********************************BLOG LISTING START************************************/
.blog-section {
    position: relative;
}

.blog-para {
    padding-bottom: 20px;
    padding-top: 22px;
}

.blog-info p {
    font-size: 18px;
    font-weight: normal;
    line-height: 30px;
    color: #403424;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    letter-spacing: 0px;
    margin-bottom: 0;
    height: 55px;
    text-wrap: balance;

}

.blog-title {
    font-family: 'Instrument Sans';
    font-weight: bold;
    font-size: clamp(1.125rem, 1.075rem + 0.25vw, 1.375rem);
    color: #32383C;
    line-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    height: 60px;
    letter-spacing: 0px;
}

.blog-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    width: 100%;
}

.blog-item {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.blog-item>img {
    position: relative;
    width: 100%;
    transition: all ease-out 0.3s !important;
    -webkit-transition: all ease-out 0.3s !important;
}

.blog-info {
    padding: 39px 50px;
    position: relative;
    z-index: 1;
    text-align: left;
    background: #F2F3F4;
    border-radius: 0 0 10px 10px;
}

a.blog-grid:hover {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);    
    border-radius: 10px;
}

a.blog-grid:hover .blog-item img {
    transform: scale(1.05);
    transition: all ease-out 0.3s !important;
    -webkit-transition: all ease-out 0.3s !important;
}

a.blog-grid:hover .blog-item {
    width: 100%;
}

a.blog-grid:hover .blog-info {
    background: var(--green);
    -webkit-transition: all 0.5s ease-in-out;
}


a.blog-grid:hover .blog-title {
    color: #fff;
    font-weight: bold;
    -webkit-transition: all 0.5s ease-in-out;
}

a.blog-grid:hover .blog-para p,
a.blog-grid:hover .blog-para {
    color: #fff;
    font-weight: 600;
    -webkit-transition: all 0.5s ease-in-out;
}

a.blog-grid:hover .blog-arrow-btn>img {
    filter: brightness(0) saturate(100%) invert(99%) sepia(100%) saturate(2%) hue-rotate(52deg) brightness(104%) contrast(101%);
}

/********************************BLOG LISTING END************************************/

.pagination{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid rgb(30 27 50 / 20%);
    margin: 40px 0 0 0;
    padding: 20px 0 0 0;
}
.pagination .page-numbers {
    width: 30px;
    height: 30px;
    background-color: #e1ecf5;
    margin: 0 4px 6px;
    border-radius: 100%;
    color: var(--themecolor);
    font-size: 12px;
    text-align: center;
    line-height: 30px;
    font-weight: 500;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current{
	background-color:var(--green);
	color:#FFFFFF;
}

/********************************BLOG PAGE START************************************/
.blog-detail-page .heading-18,
.blog-detail-page .heading-24 {
    margin-top: 45px;
}

.blog-detail-page .blog_detail_wrapper {
    position: relative;
    background-color: #fff;
    z-index: 2;
}

.blog_detail_left_block {
    width: 935px;
}

.blog-detail-right-block {
    width: calc(100% - 935px);
    padding-left: 100px;
}

.blog_detail_left_block .blog-detail-search {
    display: none;
}

.blog_detail_left_block .blog-sm-title {
    position: relative;
    color: var(--darkblue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-left: 10px;
    letter-spacing: 2.1px;
}

.blog_detail_left_block .blog-sm-title::before {
    position: absolute;
    content: "";
    width: 4px;
    height: 16px;
    top: 4px;
    left: 0;
    background-color: var(--darkblue);
}

.blog_detail_left_block .heading-20 {
    margin-bottom: 15px;
}

.blog_detail_heading {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
    color: #00A9DB;
    padding-left: 16px;
}

.blog_detail_heading:before {
    position: absolute;
    content: "";
    width: 4px;
    height: 16px;
    top: 7px;
    left: 0;
    background-color: #00A9DB;
}

.blog_detail_image {
    position: relative;
    margin: 30px 0;
}

.blog_detail_image>img {
    border-radius: 10px;
}

/* search bar */
.blog-detail-search {
    overflow: hidden;
    margin-bottom: 35px;
    max-width: 369px;
}

.searchcontrol {
    position: relative;
}

.searchcontrol .form-control {
    font-size: 14px;
    height: 50px;
    color: #403424;
    background-color: #F2F3F4;
    font-weight: normal;
    letter-spacing: 0.28px;
    margin: 0;
    border-radius: 8px;
    border: 0;
}

.searchcontrol .submit {
    height: 46px;
    position: absolute;
    right: 0;
    top: 2px;
    padding: 0;
    width: 51px;
    border: 0;
    text-align: center;
    background: url(../../assets/images/search-blog-icon.svg) no-repeat top 14px right 15px;
    border-radius: 0 4px 4px 0;
    margin: 0;
    min-width: unset;
}

.searchcontrol .submit:hover {
    background-color: transparent !important;
}

/********************************BLOG PAGE END************************************/



/********************************RELATED POST START************************************/
.recent-post-head {
    padding: 0 0 17px 0;
    border-radius: 2px;
    color: #000000;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.48px;
}

.recent_post_list .btn-border {
    margin-top: 10px;
    display: block;
}


.recent_post_list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.recent_post_list li>img {
    border-radius: 6px;
    width: 90px;
    height: 80px;
    object-fit: cover;
}

.recent-post-image {
    margin-right: 37px;
}

.recent-post-image>img {
    max-width: 197px;
    border-radius: 10px;
}

.recent_post_list li:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.recent_post_list li>a {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-left: 20px;
}

.recent_post_list li.active>a {
    font-weight: var(--font-semibold);
    transition: all 0.4s ease-in-out;
}

.recent_post_list li.active>a,
.recent_post_list li:hover>a {
    color: var(--blue);
}


.related-cntnt a {
    font-family: 'Instrument Sans';
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    color: #32383C;
    letter-spacing: 0px;
    text-decoration: none;
}

.related-cntnt .post-date {
    position: relative;
    color: var(--blue);
    left: 0;
    bottom: 0;
    padding: 0;
    height: unset;
    min-width: unset;
    margin-top: 0;
    border: 0;
}

.related-cntnt .post-date>img {
    filter: invert(80%) sepia(85%) saturate(5023%) hue-rotate(212deg) brightness(50%) contrast(80%);
}

.related-cntnt .more-link {
    font-size: 14px;
    font-weight: normal;
    color: #00A9DB;
    cursor: pointer;
}

.related-cntnt .more-link:hover {
    color: #000000;
}

.related-cntnt .more-link img {
    margin-left: 14px;
}

.related-cntnt .more-link:hover img {
    filter: brightness(0);
}


/*******************************RELATED POST END************************************/



/* blog content  */
.left-right-blog-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.blog-left-content {
    width: calc(100% - 423px);
    padding-right: 50px;
}

.blog-right-content {
    width: 423px;
    text-align: center;
    border: 1px solid #E1DADA;
    padding: 35px 60px;
}

/* prev next */
/* prev next */
.blog-prev-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 25px;
}

.button.blog-prev,
.button.blog-next {
    color: #403424;
    text-align: center;
    border: 0;
    min-width: unset;
    border-radius: 0;
    font-size: 18px !important;
    font-weight: normal;
    line-height: 22px;
    padding: 0 15px;
    margin: 0;
}

.button.blog-prev:hover,
.button.blog-next:hover {
    color: var(--green) !important;
    background-color: unset !important;
}

.button.blog-prev:hover>img,
.button.blog-next:hover>img {
    filter: brightness(0) saturate(100%) invert(70%) sepia(47%) saturate(565%) hue-rotate(42deg) brightness(93%) contrast(88%);
}

.button.blog-next>img {
    margin-left: 8px;
    margin-right: 0;
    filter: none;
    right: 0;
    left: unset;
}

.button.blog-prev>img {
    margin-right: 8px;
    margin-left: 0;
    filter: none;
    left: 0;
    right: unset;
}



/*******************************RESPONSIVE AREA************************************/
@media (max-width: 1500px) {
    .blog_detail_left_block {
        width: 880px;
    }

    .blog-detail-right-block {
        width: calc(100% - 880px);
        padding-right: 0px;
        padding-left: 60px;
    }

    .blog-detail-search {
        max-width: 100%;
    }

    .blog-left-content {
        padding-right: 30px;
    }
}

@media (max-width: 1440px) {

    .blog_detail_left_block {
        width: 680px;
    }

    .blog-detail-right-block {
        width: calc(100% - 680px);
    }

    .blog-left-content {
        width: calc(100% - 350px);
    }

    .blog-right-content {
        width: 350px;
        padding: 25px;
    }

}

@media (max-width: 1199px) {

    .blog_detail_left_block {
        width: 550px;
    }

    .blog-detail-right-block {
        width: calc(100% - 550px);
        padding-left: 40px;
    }

    .blog-info {
        padding: 30px;
    }

    .blog-left-content {
        width: 100%;
        padding-right: 0;
    }

    .blog-right-content {
        width: 100%;
    }
}

@media (max-width: 991px) {

    .blog-detail-page [class*="heading-"] {
        margin-top: 20px;
    }

    .blog-detail-search {
        margin-bottom: 0;
    }

    .blog-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-slider .slick-prev {
        top: -40px;
        margin-bottom: 0;
    }

    .blog-slider .slick-next {
        top: -40px;
        margin-bottom: 0;
    }

    .blog-detail-search {
        max-width: 100%;
    }

    .blog_detail_left_block .blog-detail-search {
        display: block;
    }

    .blog-detail-right-block .blog-detail-search {
        display: none;
    }

    .blog-detail-page .blog_detail_wrapper {
        padding: 40px 40px 0;
    }

    .blog_detail_image {
        margin: 30px 0 25px 0;
    }

    .blog_detail_left_block ul {
        margin-bottom: 20px;
    }

    .blog_detail_left_block {
        width: 100%;
    }

    .blog-detail-right-block {
        width: 100%;
        padding-right: 0px;
        padding-left: 0;
        padding-top: 20px;
        order: 2;
    }

    .faq-right-parent {
        margin-bottom: 0;
    }

    .why-choose-bt ul>li {
        padding: 23px 20px 23px 50px;
    }

    .why-choose-bt ul>li:before {
        left: 15px;
        top: 25px;
    }
}

@media (max-width: 767px) {

    .blog-grid-wrapper {
        grid-gap: 20px;
    }

    .blog-detail-page .blog_detail_wrapper {
        padding: 25px 25px 0;
    }


}

@media (max-width: 575px) {
    .blog-grid-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .blog-detail-page .blog-section {
        padding: 40px 0 40px;
    }

    .blog-detail-page .blog_detail_wrapper {
        margin: 0;
        padding: 0;
    }

    .post-date {
        height: 30px;
        padding: 5px 12px 5px 5px;
    }

    .blog-info {
        padding: 20px 25px 30px;
    }

    .recent-post-image {
        margin-right: 20px;
    }

    .recent-post-image>img {
        max-width: 100px;
    }

    /* pagination */
    .pagination.mrgb80 {
        margin-bottom: 20px;
    }

    .pagination_list {
        gap: 5px;
    }

    .pagination_list>ul>li {
        font-size: 14px;
        margin-bottom: 0;
    }

    .pagination_list li a.pagination_item_prev {
        margin-right: 10px;
    }

    .pagination_list li a.pagination_item_next {
        margin-left: 10px;
    }

    .pagination_list li a.pagination_item_prev img {
        margin-right: 5px;
        margin-top: -3px;
    }

    .pagination_list li a.pagination_item_next img {
        margin-left: 5px;
        margin-top: -3px;
    }

    .pagination_list li a {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .recent_post_list li {
        align-items: flex-start;
    }
}
