/* Blog Pages Styles */
body.blog-page {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    color: #0d0d0d;
}

/* Header override for blog */
.blog-page header .main-menu {
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Blog List */
.blog-list-section {
    padding: 120px 0 80px;
}
.blog-list-section .page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0d0d0d;
}
.blog-list-section .page-subtitle {
    color: #888;
    margin-bottom: 50px;
}
.blog-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: box-shadow .3s;
}
.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.blog-card .card-image {
    overflow: hidden;
    height: 220px;
}
.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.blog-card:hover .card-image img {
    transform: scale(1.05);
}
.blog-card .card-body {
    padding: 28px 30px;
}
.blog-card .category-tag {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    color: #333;
    margin-bottom: 12px;
}
.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}
.blog-card h3 a {
    color: #0d0d0d;
    text-decoration: none;
}
.blog-card h3 a:hover {
    color: #00BFFF;
}
.blog-card .excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.blog-card .card-meta {
    font-size: 13px;
    color: #999;
}
.blog-card .card-meta strong {
    color: #0d0d0d;
}

/* Blog Single - Title Header (Image 1) */
.blog-single-header {
    padding: 120px 0 0;
    background: #fff;
}
.blog-single-header .breadcrumb-nav {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}
.blog-single-header .breadcrumb-nav a {
    color: #999;
    text-decoration: none;
}
.blog-single-header .breadcrumb-nav a:hover {
    color: #0d0d0d;
}
.blog-single-header .breadcrumb-nav span {
    margin: 0 6px;
}
.blog-single-header .category-pill {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 13px;
    color: #333;
    margin-bottom: 20px;
}
.blog-single-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #0d0d0d;
    margin: 0 0 30px;
    line-height: 1.3;
}
.blog-single-header .meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
    color: #999;
}
.blog-single-header .meta-bar .author-name {
    color: #0d0d0d;
    font-weight: 700;
}
.blog-single-header .meta-bar .comments {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Blog Body + Author (Image 2) */
.blog-content-section {
    padding: 50px 0 80px;
}
.blog-main-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
}
.blog-main-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #0d0d0d;
}
.blog-main-card p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}
.blog-main-card ul.feature-list {
    padding-left: 0;
    list-style: none;
    margin: 20px 0 30px;
}
.blog-main-card ul.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}
.blog-main-card ul.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #0d0d0d;
}
.blog-main-card ul.feature-list li strong {
    color: #0d0d0d;
}
.blog-main-card .featured-image {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
}
.blog-main-card .featured-image img {
    width: 100%;
    display: block;
}
.blog-main-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 16px;
    color: #0d0d0d;
}

/* Author Sidebar */
.author-sidebar {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.author-sidebar .sidebar-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
    text-transform: lowercase;
}
.author-sidebar .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}
.author-sidebar .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-sidebar h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0d0d0d;
}
.author-sidebar p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Quote Section (Image 4) */
.blog-quote {
    position: relative;
    border-left: 4px solid #00BFFF;
    padding: 20px 60px 20px 24px;
    margin: 30px 0;
}
.blog-quote p {
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    color: #0d0d0d;
    margin: 0 0 8px;
    line-height: 1.6;
}
.blog-quote .quote-author {
    font-size: 13px;
    color: #999;
    font-style: normal;
    font-weight: 400;
}
.blog-quote .quote-mark {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 60px;
    color: #0d0d0d;
    line-height: 1;
    font-family: Georgia, serif;
}

/* Tags */
.blog-tags {
    margin: 30px 0 0;
    padding-top: 24px;
}
.blog-tags .tags-label {
    font-weight: 700;
    color: #0d0d0d;
    margin-right: 8px;
    font-size: 14px;
}
.blog-tags .tag {
    display: inline-block;
    background: #f3f3f4;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 13px;
    color: #555;
    margin: 4px 4px 4px 0;
    text-decoration: none;
}
.blog-tags .tag:hover {
    background: #0d0d0d;
    color: #fff;
}

/* Post Navigation (Image 4) */
.blog-post-nav {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.blog-post-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color .25s;
}
.blog-post-nav a:hover {
    color: #0d0d0d;
}
.blog-post-nav .nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .25s;
}
.blog-post-nav a:hover .nav-btn {
    background: #0d0d0d;
    color: #fff;
    border-color: #0d0d0d;
}
.blog-post-nav .nav-placeholder {
    visibility: hidden;
}

@media (max-width: 768px) {
    .blog-single-header h1 {
        font-size: 28px;
    }
    .blog-single-header .meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .blog-main-card {
        padding: 24px;
    }
    .author-sidebar {
        position: static;
        margin-top: 20px;
    }
    .blog-post-nav {
        flex-direction: column;
        gap: 16px;
    }
}
