body.page-template-page-all-blog{
    background-color: #F2F4F6;
}
.wpt-all-posts-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 0;
    padding-top: 40px;
}
.wrap-wpt-all-posts{
    background-color: #FFF;
    padding-bottom: 50px;
}
/* Category Filter */
.wpt-category-filter {
    margin-bottom: 30px;
}

.wpt-category-filter h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #0063B0;
    font-weight: 500;
}

.wpt-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wpt-filter-btn {
    background-color: #0064b033;
    color: #0063B0!important;
    padding: 3px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}
a.wpt-filter-btn.active {
    background-color: #0063B0 ;
    color: #FFF!important;
}

.wpt-filter-btn:hover {
    background-color: #ddd;
}

/* Posts Grid */
.wpt-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px 20px;
}

.wpt-post-card {
    background-color: #0000;
    box-shadow: none;
    overflow: hidden;
}

.wpt-post-image img {
    display: block;
    -webkit-transition: -webkit-filter .3s;
    transition: -webkit-filter .3s;
    -o-transition: filter .3s;
    transition: filter .3s;
    transition: filter .3s, -webkit-filter .3s;
    height: 100%;
    width: 100%;
    position: absolute;
    top: calc(50%);
    left: calc(50%);
    -webkit-transform: scale(1) translate(-50%, -50%);
    -ms-transform: scale(1) translate(-50%,-50%);
    transform: scale(1) translate(-50%, -50%);
    object-fit: cover;
}

.wpt-placeholder-image {
    width: 100%;
    height: 150px;
    background-color: #0063B0; /* Red placeholder like in the image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpt-placeholder-image::before {
    content: "🖼️";
    font-size: 24px;
    color: #fff;
}

.wpt-post-content {
    padding: 0;
}
.wpt-post-content a{
    text-decoration: none;
}
.wpt-category-label {
    display: block;
    font-size: 13px;
    color: #A0AAB7;
    margin-top: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom:3px;
    -o-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.wpt-post-title {
    font-size: 20px;
    margin: 0 0 5px;
    color: #0B1F3A;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
    overflow: hidden;
    -o-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.wpt-category-label:hover,
.wpt-post-content a:hover .wpt-post-title{
    color: #0063B0 ;
}


.wpt-post-image {
    margin-bottom: 15px;
}
.wpt-post-excerpt {
    font-size: 16px;
    color: #425A75;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    position: relative;
    overflow: hidden;
}


/* Pagination */
.wpt-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.wpt-pagination a,
.wpt-pagination span {
    padding: 0;
    background-color: #FFF;
    margin: 0 5px;
    width: 31px;
    height: 31px;
    font-size: 18px;
    display: flex;
    border-radius: 50%;
    text-decoration: none;
    color: #425A75;
    transition: background-color 0.3s;
    align-items: center;
    justify-content: center;
        background: #FFF;
}
.wpt-pagination svg {
    width: 13px;
    height: 13px;
}
.wpt-pagination a:hover {
    background-color: #eee;
}

.wpt-pagination .current {
    background-color: #0063B0; /* Red like in the image */
    color: #fff;
}
.wpt-pagination.v2 a {
    border: solid 0.08em #DFE3E8;
    border-radius: 3px;
}
.wpt-pagination.v2 .current{
    border-radius: 3px;
}












/* Container */
.wpt-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Blog Header Section */
.wpt-blog-header-section {
    background-color: #F3F6F9; /* Dark background */
    padding: 50px 0;
    position: relative;
}

.wpt-blog-content {
        flex-basis: 60%;
    max-width: 60%;
}
#page .wpt-blog-top-right {
    width: 40%;
    flex-basis: 40%;
    max-width: 40%;
}
.wpt-blog-header-section .wpt-container {
    gap: 70px;
}

.wpt-blog-title {
    color: #0063B0 ; /* Red title */
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.wpt-blog-subtitle {
    color: #0B1F3A; /* Light blue */
    font-size: 52px;
    margin-bottom: 10px;
    line-height: 1.37;
    margin-top: 0;
    font-weight: 600;
        display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;
    overflow: hidden;
}

.wpt-blog-description {
    color: #425A75; /* Light blue */
    font-size: 1rem;
    max-width: 500px;
}

.wpt-blog-image-placeholder {
    width: 300px;
    height: 200px;
    background-color: #ff0000; /* Red placeholder */
    border-radius: 10px;
}

/* Category Section */
.wpt-blog-category-section {
    background-color: #1a2526; /* Dark background */
    padding: 20px 0;
}

.wpt-category-title {
    color: #a3bffa; /* Light blue */
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.wpt-category-subtitle {
    color: #a3bffa; /* Light blue */
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.wpt-category-description {
    color: #a3bffa; /* Light blue */
    font-size: 1rem;
}
.wpt-post-image a{
    display: block;
    padding-bottom: calc(1 * 100%);
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 15px;
}



header.entry-header h1 {
    color: #0B1F3A;
    font-weight: 500;
    padding: 0;
    font-size: 52px;
    line-height: 54px;
}
header.entry-header {
    background: #FFF;
    padding-top: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#breadcrumb{
    color: #0063B0;
}
#breadcrumbs a {
    text-decoration: none;
    color: #5F6D7E;
    font-weight: 400;
}
#breadcrumbs span.breadcrumb_last{
    color:#0063B0;
    font-weight:500;
}
.yp-faq .elementor-tab-content{
    border-top: 0!important;
}
.yp-faq .elementor-accordion .elementor-accordion-item {
    border: solid 1px #dee3ea;
    border-left: 0;
    border-right: 0;
}
.yp-faq .elementor-tab-content {
    border-top: 0!important;
    padding-top: 0!important;
        padding-left: 0!important;
    padding-right: 0!important;
}
.yp-faq .elementor-accordion .elementor-tab-title {
    padding-left: 0;
    padding-right: 0;
}
.wpt-blog-top-right.gb-item a,
.wpt-blog-top-right.gb-item img {
    width: 100%;
}
.wpt-blog-subtitle {
        line-height: 50px;
}
.swiper-pagination.show-m {
    bottom: -11px!important;
    display: none!important;
}

.search-section .swiper-pagination-bullet-active {
    background: #0063B0!important;
}


@media (max-width: 1024px){
.search-section .card-product_content .head-h3.vc-title {
    min-height: 40px;
}

/* .gb-item .card-post_content .btn-box,
.search-section .swiper-button-next,
.search-section .swiper-button-prev{
    display: none!important;
}   
.search-section .doctor-grid .swiper-button-next,
.search-section .doctor-grid .swiper-button-prev{
    display: flex!important;
} */
    .wpt-container,
    .wpt-all-posts-container{
        padding: 15px;
    }
    /* .swiper-pagination.show-m {
    display: block;
        bottom: -30px !important;
    } */
}


/* for mobile */
@media (max-width: 768px) {
.swiper-pagination.show-m {
    display: block;
}

    header.entry-header h1 {
        font-size: 48px;
        line-height: 52px;
    }

    header.entry-header {
        padding-top: 45px;
    }
    .wpt-category-filter h2{
        font-size: 20px;
    }
    #page .wpt-blog-top-right,
    #page .wpt-blog-content {
        max-width: 100%;
        width: 100%;
        flex-basis: 100%;
    }
    
    

    .wpt-blog-header-section {
        padding: 30px 0;
    }
    .wpt-blog-header-section .wpt-container {
        gap: 10px;
    }
    .wpt-blog-subtitle {
        font-size: 46px;
        line-height: 50px;
    }
    .wpt-blog-description {
        max-width: 100%;
        font-size: 16px;
    }    
    .wpt-posts-grid {
            display: flex;
        gap: 10px;
                flex-wrap: wrap;
    }
.wpt-posts-grid .card-post_content {
            width: calc(50% - 5px);
}
    .wpt-pagination a, .wpt-pagination span {
        width: 27px;
        height: 27px;
    }
    .wpt-container {
        flex-direction: column;
        text-align: center;
    }

    .wpt-blog-content {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .wpt-blog-image-placeholder {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/*for tabletV*/
@media (min-width: 768px) and (max-width: 991px) {

        .wpt-posts-grid {
            display: flex;
        gap: 10px;
                flex-wrap: wrap;
    }
.wpt-posts-grid .card-post_content {
            width: calc(50% - 5px);
}

    .wpt-blog-content {
        max-width: 70%;
        text-align: left;
    }
    .wpt-blog-top-right {
        max-width: 30%;
    }
    .wpt-blog-subtitle {
        font-size: 44px;
    }
    .wpt-blog-header-section .wpt-container {
        gap: 30px;
        flex-direction: row;
    }
}