/* ===== Breadcrumb Area ===== */
.tj-breadcrumb-area {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 230px 0 120px;
    overflow: hidden;
    position: relative;
    z-index: 1
}

.tj-breadcrumb-area::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(7 124 234 / .5);
    z-index: -2
}

.tj-breadcrumb-area::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(1 15 52 / .3);
    z-index: -1
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .tj-breadcrumb-area {
        padding: 200px 0 100px
    }
}

@media only screen and (min-width:576px) and (max-width:767px) {
    .tj-breadcrumb-area {
        padding: 180px 0 80px
    }
}

@media (max-width:575px) {
    .tj-breadcrumb-area {
        padding: 180px 0 80px
    }
}

.tj-breadcrumb-bg-shape {
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(4%, -30%);
    -ms-transform: translate(4%, -30%);
    transform: translate(4%, -30%);
    z-index: -1
}

.tj-breadcrumb-title {
    color: var(--tj-color-common-white);
    font-weight: var(--tj-fw-bold);
    margin-bottom: 12px
}

.tj-breadcrumb-body {
    font-family: var(--tj-ff-heading);
    font-weight: var(--tj-fw-medium);
    font-size: 18px;
    color: var(--tj-color-common-white);
    margin-bottom: 0
}

.tj-breadcrumb-body .spacing {
    margin: 0 10px 0
}
/* banner  closed */
/* ================= BLOG CONTENT TYPOGRAPHY FIX ================= */





/* new  */

/* ==================== BLOG PAGE ESSENTIAL CSS ONLY ==================== */
/* ==================== BLOG PAGE ESSENTIAL CSS ONLY ==================== */

.tj-blog-details,
.tj-blog-page {
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
}

@media only screen and (min-width:768px) and (max-width:991px),
only screen and (min-width:576px) and (max-width:767px),
(max-width:575px) {
    .tj-blog-details,
    .tj-blog-page {
        padding-top: 80px;
        padding-bottom: 60px
    }
}

.tj-post-wrapper {
    position: relative;
    z-index: 1
}

/* Blog Thumbnail Image */
.tj-post-wrapper .blog-thumb-image {
    margin-bottom: 30px;
    position: relative;
    z-index: 1
}

.tj-post-wrapper .blog-thumb-image img {
    border-radius: 10px;
    width: 100%;
    height: auto
}

@media (max-width:575px),
only screen and (min-width:576px) and (max-width:767px) {
    .tj-post-wrapper .blog-thumb-image img {
        min-height: 250px;
        height: auto;
        object-fit: cover
    }
}

/* Title */
.tj-post-wrapper .details-title {
    margin-bottom: 15px
}

.tj-post-wrapper .details-title .title {
    font-size: 30px;
    margin-bottom: 0;
    font-weight: bold
}

@media only screen and (min-width:576px) and (max-width:767px),
(max-width:575px) {
    .tj-post-wrapper .details-title .title {
        font-size: 22px
    }
}

/* Post Item */
.tj-post-item {
    margin-bottom: 60px
}

.tj-post-item.details {
    margin-bottom: 34px
}

@media (max-width:575px),
only screen and (min-width:576px) and (max-width:767px) {
    .tj-post-item {
        margin-bottom: 50px
    }
}

/* Sidebar Widgets */
.widget_categories {
    background: #ecf1f5;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    z-index: 1
}

@media only screen and (min-width:992px) and (max-width:1199px),
only screen and (min-width:768px) and (max-width:991px),
only screen and (min-width:576px) and (max-width:767px),
(max-width:575px) {
    .widget_categories {
        padding: 30px 15px
    }
}

.widget_categories-title {
    font-size: 30px;
    color: var(--tj-color-heading-primary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1
}

.widget_categories-title::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    bottom: -10px;
    left: 0;
    background: var(--tj-color-theme-primary)
}

.widget_categories nav ul li {
    font-size: 16px;
    font-weight: var(--tj-fw-bold);
    border-bottom: 1px solid rgb(55 58 63 / .2);
    position: relative;
    z-index: 1;
    list-style: none
}

.widget_categories nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 26px;
    position: relative;
    z-index: 1;
    transition: .3s;
    border-radius: 10px;
    width: 100%;
    text-decoration: none;
    color: inherit
}

.widget_categories nav ul li a:hover {
    color: var(--tj-color-theme-primary)
}

/* Recent Posts Widget */
.tj-blog-widget {
    background: #ecf1f5;
    margin-bottom: 24px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    z-index: 1
}

@media only screen and (min-width:992px) and (max-width:1199px),
only screen and (min-width:768px) and (max-width:991px),
only screen and (min-width:576px) and (max-width:767px),
(max-width:575px) {
    .tj-blog-widget {
        padding: 30px 15px
    }
}

.tj-blog-widget .side-title {
    padding-bottom: 13px;
    font-size: 30px;
    color: var(--tj-color-heading-primary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1
}

.tj-blog-widget .side-title::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    bottom: 3px;
    left: 0;
    background: var(--tj-color-theme-primary)
}

/* Recent Posts */
.sidebar-recent-post .single-post {
    margin-bottom: 25px;
    align-items: center;
    gap: 20px
}

.sidebar-recent-post .single-post:last-child {
    margin-bottom: 0
}

.sidebar-recent-post .single-post .post-image {
    max-width: 90px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px
}

.sidebar-recent-post .single-post .post-image a {
    display: inline-block;
    width: 100%;
    border-radius: 5px
}

.sidebar-recent-post .single-post .post-image a img {
    transition: all .4s ease-out 0s;
    width: 100%;
    height: auto
}

.sidebar-recent-post .single-post .post-content .sub-title {
    font-size: 14px;
    line-height: 1;
    font-weight: var(--tj-fw-medium);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px
}

.sidebar-recent-post .single-post .post-content .sub-title i {
    color: var(--tj-color-theme-primary);
    font-size: 18px;
    line-height: 1
}

.sidebar-recent-post .single-post .post-content .title-link {
    margin-bottom: 0;
    font-size: 18px;
    color: var(--tj-color-heading-primary);
    line-height: 1.5
}

.sidebar-recent-post .single-post .post-content .title-link a {
    display: inline-block;
    transition: .4s;
    text-decoration: none;
    color: inherit
}

.sidebar-recent-post .single-post .post-content .title-link a:hover {
    color: var(--tj-color-theme-primary)
}

.sidebar-recent-post .single-post:hover .post-image a img {
    transform: scale(1.2)
}

/* FAQ Section */
.faq-section {
    background-color: #ffff;
    padding: 50px 0;
    margin-top: 40px
}

.faq-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center
}

.faq-header h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px
}

.faq-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.7
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08)
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.faq-icon {
    font-size: 22px;
    transition: transform .3s ease
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease
}

.faq-answer p {
    padding: 0 24px 22px;
    color: #555;
    line-height: 1.7;
    font-size: 15px
}

.faq-item.active .faq-answer {
    max-height: 400px
}

.faq-item.active .faq-icon {
    transform: rotate(45deg)
}

@media (max-width: 575px) {
    .faq-header h2 {
        font-size: 26px
    }
    .faq-question {
        font-size: 15px
    }
}

/* Custom styles for recent posts images */
.sidebar-recent-post .post-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px
}

.sidebar-recent-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.title-link a.one-line {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4
}

/* ==================== RECENT POSTS SIDEBAR - RESPONSIVE ==================== */

/* Main container */
.sidebar-recent-post {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Single post item */
.single-post {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Post image - responsive sizing */
.post-image {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    width: 80px;
    height: 80px;
    position: relative;
}

.post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

/* Hover effect for image */
.post-image:hover img {
    transform: scale(1.05);
}

/* Post content area */
.post-content {
    flex: 1;
    min-width: 0; /* Important for text truncation */
}

/* Date styling */
.post-content .sub-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.post-content .sub-title i {
    color: #007bff;
    font-size: 14px;
}

/* Title styling with truncation */
.post-content .title-link {
    margin: 0;
    line-height: 1.4;
}

.post-content .title-link a.one-line {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.post-content .title-link a:hover {
    color: #007bff;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Tablet and small desktop */
@media (max-width: 1199px) {
    .post-image {
        width: 70px;
        height: 70px;
    }

    .post-content .title-link a.one-line {
        font-size: 15px;
    }
}

/* Tablet landscape */
@media (max-width: 991px) {
    .sidebar-recent-post {
        gap: 15px;
    }

    .single-post {
        gap: 12px;
        padding-bottom: 15px;
    }

    .post-image {
        width: 65px;
        height: 65px;
    }

    .post-content .title-link a.one-line {
        font-size: 14px;
    }
}

/* Mobile landscape and portrait */
@media (max-width: 767px) {
    .sidebar-recent-post {
        gap: 12px;
    }

    .single-post {
        gap: 10px;
        padding-bottom: 12px;
    }

    .post-image {
        width: 60px;
        height: 60px;
    }

    .post-content .sub-title {
        font-size: 11px;
    }

    .post-content .title-link a.one-line {
        font-size: 13px;
    }
}


/* ================= BLOG CONTENT TYPOGRAPHY FIX ================= */

.post_excerpt h1 {
    font-size: 32px;
    line-height: 1.3;
    margin: 24px 0 16px;
}

.post_excerpt h2 {
    font-size: 26px;
    line-height: 1.35;
    margin: 22px 0 14px;
}

.post_excerpt h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 20px 0 12px;
}

.post_excerpt h4 {
    font-size: 18px;
    line-height: 1.45;
    margin: 18px 0 10px;
}

.post_excerpt p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.post_excerpt ul,
.post_excerpt ol {
    margin: 16px 0 16px 22px;
}

.post_excerpt li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}



       .faq-section {
                padding: 10px 0 0 0;
            }

            .faq-header {
                max-width: 900px;
                margin: 0 auto 40px;
                text-align: center;
            }

            .faq-header h2 {
                font-size: 34px;
                font-weight: 700;
                margin-bottom: 12px;
            }

            .faq-header p {
                font-size: 16px;
                color: #555;
                line-height: 1.7;
            }

            /* Accordion */
            .faq-accordion {
                max-width: 900px;
                margin: 0 auto;
            }

            .faq-item {
                background: #fff;
                border-radius: 14px;
                margin-bottom: 16px;
                overflow: hidden;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            }

            .faq-question {
                width: 100%;
                padding: 20px 24px;
                background: none;
                border: none;
                text-align: left;
                font-size: 17px;
                font-weight: 600;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .faq-icon {
                font-size: 22px;
                transition: transform .3s ease;
            }

            /* Answer */
            .faq-answer {
                max-height: 0;
                overflow: hidden;
                transition: max-height .35s ease;
            }

            .faq-answer p {
                padding: 0 24px 22px;
                color: #555;
                line-height: 1.7;
                font-size: 15px;
            }

            /* Active */
            .faq-item.active .faq-answer {
                max-height: 400px;
            }

            .faq-item.active .faq-icon {
                transform: rotate(45deg);
            }

            /* Responsive */
            @media (max-width: 575px) {
                .faq-header h2 {
                    font-size: 26px;
                }

                .faq-question {
                    font-size: 15px;
                }
            }

            .faq-item {
                cursor: pointer;
            }

.sidebar-recent-post .single-post .post-content .sub-title {
    font-size: 14px;
    line-height: 1;
    font-weight: var(--tj-fw-medium);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px
}

.sidebar-recent-post .single-post .post-content .sub-title i {
    color: var(--tj-color-theme-primary);
    font-size: 18px;
    line-height: 1
}

.sidebar-recent-post .single-post .post-content .title-link {
    margin-bottom: 0;
    font-size: 18px;
    color: var(--tj-color-heading-primary);
    line-height: 1.5
}

.sidebar-recent-post .single-post .post-content .title-link a {
    display: inline-block;
    -webkit-transition: .4s;
    transition: .4s
}

.sidebar-recent-post .single-post .post-content .title-link a:hover {
    color: var(--tj-color-theme-primary)
}

