.blogheading {
    color: #62352B;
    font-size: 36px;
    font-weight: 700;
}

.bloglistsec {
    margin-top: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 20px !important;
}

.bloglistcontent {
    padding-bottom: 20px !important;
}

/* card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.blog-card-img {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(90, 30, 30, 0.88);
    color: #f5d5d5;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

.blog-card-body {
    padding: 16px;
}

.blog-card-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 14px;
    line-height: 1.4;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #7a1f1f;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
}

.read-more-btn:hover {
    background: #5a1515;
}


/* Pagination */
.pagination-wrapper {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 30px;
}

.no-more-posts {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 20px;
    border: 1.5px solid #ddd;
    background: #fff;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: #7a1f1f;
    color: #7a1f1f;
}

.page-btn.active {
    background: #7a1f1f;
    border-color: #7a1f1f;
    color: #fff;
}

.next-btn {
    padding: 0 16px;
}




/* responsive */
@media(max-width: 992px) {
    .blogheading {
        font-size: 26px;
    }

    .bloglistcontent {
        padding-top: 40px !important;
    }

    .blog-card-img {
        height: 230px;
    }
}

/* ============================================================= */
/* blog details page css */
/* Blog Detail Section */
.bloglistcontent {
    padding: 50px 0;
}

/* Hero Image */
.blog-detail-hero {
    width: 100%;
    /* border-radius: 12px; */
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-detail-hero img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* Blog Title */
.blog-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Blog Content */
.blog-detail-content p {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 14px;
}

/* Middle Image */
.blog-detail-mid-img {
    width: 100%;
    /* border-radius: 12px; */
    overflow: hidden;
    margin: 24px 0;
}

.blog-detail-mid-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* Previous / Next Navigation */
.blog-prev-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    margin-top: 30px;
    gap: 12px;
}

.prev-next-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1a1a1a;
    max-width: 48%;
}

.prev-next-btn:hover {
    color: #7a1f1f;
}

.prev-next-btn svg {
    flex-shrink: 0;
    color: #7a1f1f;
}

.prev-next-label {
    display: block;
    font-size: 13px;
    color: #000;
    font-weight: 700;
}

.prev-next-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 2px;
}

.next-nav {
    justify-content: flex-end;
    text-align: right;
}

.next-nav .text-end {
    text-align: right;
}

/* Related Post Sidebar */
/* Related Post Sidebar */
.related-post-sidebar {
    /* border: 1px solid #e5e5e5; */
    /* border-radius: 12px; */
    overflow: hidden;
}

.related-post-heading {
    background: #62352B;
    padding: 12px 16px;
    text-align: center;
}

.related-post-heading h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Related Post Card - NEW DESIGN */
.related-post-card {
    display: block;
    /* border-bottom: 1px solid #f0f0f0; */
    margin-top: 10px;
}

.related-post-card:last-child {
    border-bottom: none;
}

.related-post-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-info {
    padding: 12px 0px 10px;
}

.related-post-info h6 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.related-post-info p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 8px;
}

.related-post-info a {
    font-size: 13px;
    color: #7a1f1f;
    text-decoration: none;
    font-weight: 600;
}

.related-post-info a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-detail-hero img {
        height: 220px;
    }

    .blog-detail-mid-img img {
        height: 200px;
    }

    .blog-detail-title {
        font-size: 20px;
    }

    .related-post-sidebar {
        margin-top: 30px;
    }

    .blog-prev-next {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .prev-next-btn {
        max-width: 100%;
    }

    .next-nav {
        align-self: flex-end;
    }
}

.blogdetailsecion {
    padding-top: 120px !important;
}

.viewdetails {
    color: #62352B !important;
}