.blog_ul {
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
}

.blog_ul li {
    width: 33.33%;
    padding: 0 15px;
    margin-bottom: 0;
    list-style-type: none;
}

ul.blog_ul li:before {
    content: none;
}

.blog_items {
    position: relative;
    max-width: 450px;
}

.blog_ul>li>a {
    position: relative;
}

.product_name {
    position: absolute;
    left: -1px;
    top: 30px;
    font-size: 13px;
    letter-spacing: 0.26px;
    line-height: 17px;
    height: 33px;
    color: var(--primary);
    background-color: #fff;
    clip-path: polygon(100% 0, 93% 49%, 100% 100%, 0% 100%, 0 48%, 0% 0%);
    display: inline-flex;
    text-transform: capitalize;
    align-items: center;
    padding: 8px 21px 8px 13px;
    font-weight: bold;
}

.blog-img {
    max-width: 450px;
    overflow: hidden;
}

.blog-img>img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: 0.5s ease-out;
    -o-transition: 0.5s ease-out;
    transition: 0.5s ease-out;
}

.blog-post {
    background-color: var(--white);
    position: relative;
    padding: 25px 25px 30px 25px;
    border: 1px solid #d4ad7659;
    border-top: none;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

.blog-post.side-line:before {
    content: "";
    position: absolute;
    top: 52px;
    left: 0;
    width: 2px;
    height: 25px;
    background-color: var(--themecolor);
}

.post_title {
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.32px;
    font-weight: normal;
    color: var(--orange);
}

.date_type_title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    row-gap: 8px;
}

.date_type_title *:not(:last-child) {
    margin-right: 20px;
    position: relative;
}

.date_type_title *:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    background-color: rgba(82, 85, 91, 0.2);
    width: 1px;
    height: 16px;
}

.b_date {
    font-size: 14px;
    letter-spacing: 0.28px;
    line-height: 1.2;
    font-weight: 500;
    text-transform: capitalize;
    white-space: nowrap;
    color: var(--themecolor);
}

.post_detail.b_title {
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
    letter-spacing: 0.32px;
    margin-bottom: 4px;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    height: 25px;
}

.blog-post p {
    color: #292929;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 50px;
    margin-bottom: 10px;
}

.blog_items>a:hover .blog-post {
    border-color: var(--themecolor);
}

.blog_items>a:hover .blog-img>img {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.blog_link {
    font-family: 'Archivo';
    background: transparent;
    border: none;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.26px;
    color: #292929;
    min-height: 25px;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    position: relative;
    overflow: visible;
    min-width: auto;
}

.blog_link::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--themecolor);
    bottom: 0px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .3s cubic-bezier(.4, 0, 0, 1);
    pointer-events: none;
}

.blog_link>i {
    margin-left: 8px;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
}

.blog_items>a:hover .blog-post .blog_link {
    color: var(--themecolor);
    background-color: transparent;
}

.blog_items>a:hover .blog-post .blog_link::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.blog_items>a:hover .blog-post .blog_link>i {
    filter: brightness(0) saturate(100%) invert(71%) sepia(9%) saturate(1370%) hue-rotate(356deg) brightness(97%) contrast(98%);
}

.page-nav-container {
    margin-top: 30px;
    text-align: center;
}

.page-nav-container .page-numbers {
    display: inline-block;
    padding: 3px;
    border: 1px solid var(--themecolor);
    height: 34px;
    width: 34px;
    text-align: center;
    margin-right: 4px;
}

.page-numbers.current {
    background: var(--themecolor);
    color: var(--white) !important;
}

.page-nav-container .page-numbers {
    color: var(--themecolor);
}

.page-nav-container .next.page-numbers {
    margin-left: 8px;
}

.page-numbers>i {
    font-size: 20px;
}

/* ------------------------- Blog Detail Page ------------------------- */
.blog_detail .heading-40 {
    margin-bottom: 10px;
}

.blog-detail-pg .blog_top .b_date {
    margin-bottom: 10px;
}

.blog-detail-pg h2,
.blog-detail-pg h2.wp-block-heading {
    font-size: clamp(18px, 2.5vw, 20px);
    line-height: 1.25;
    letter-spacing: 0.4px;
}

.blog_img:has(+ *),
figure:has(+ p) {
    margin-bottom: 20px;
}

.blog_detail ol {
    padding-left: 15px;
    margin-bottom: 8px;
}

.blog_detail ol li::marker {
    font-weight: 700;
}

.blog-nav-pagination {
    border-top: 1px solid #F2F3F4;
    margin-top: 45px;
    padding-top: 20px;
}

.nav-previous a,
.nav-next a {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    color: #000;
    font-weight: 500;
}

.nav-previous a>i,
.nav-next a>i {
    font-size: 18px !important;
}

.blog-detail-sec p:has(+*) {
    margin-bottom: 20px;
}

a.next.page-numbers {
    display: inline-block;
    padding: 3px;
    border: 1px solid var(--themecolor);
    height: 34px;
    width: 34px;
    text-align: center;
    margin-right: 4px;
}

.blog-detail-pg .blog-detail-sec .blog_width .blog_detail ol.wp-block-list {
    padding-left: 0;
}

.blog-detail-pg .blog-detail-sec .blog_width .blog_detail ol.wp-block-list li {
    margin-bottom: 0;
}

.blog-detail-pg .blog_ul.blogjs.slick-initialized {
    display: block !important;
}

@media (max-width: 991.98px) {
    .blog_ul li {
        width: 50%;
    }
}


@media (max-width: 767.98px) {
    .blog_ul li {
        width: 50%;
        margin-bottom: 20px;
    }

    .blog_ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .blog_ul li .b_content {
        line-height: 1.5;
    }

    .blog-post p {
        height: 44px;
    }

    .blog_ul .blog_items {
        max-width: 100%;
    }

    .blog_ul .blog-img {
        max-width: 100%;
    }
    .blog-sec .blog_ul {
        row-gap: 0;
    }
    .blog-sec .blog-post {
       
        padding: 15px 20px;
    }
    


}

@media (max-width: 480.98px) {
    .blog_ul li {
        width: 100%;
    }
}