/**
 * Blog Archive Styles
 * Professional blog archive with category filtering, date stamps, and share options
 * All classes prefixed with 'blog-' to avoid conflicts
 *
 * @package Cosmick_Media_Project_Theme
 */

/* ========================================
   Blog Archive Styles
========================================== */

/* Main Container */
.blog-archive-page {
    background: #f8f9fa;
    min-height: 100vh;
    margin-bottom: 200px;
}

/* ========================================
   Blog Header Section
========================================== */

.blog-archive-header {
    background: white;
    padding: 100px 0 40px;
    border-bottom: 1px solid #e5e5e5;
}

.blog-archive-header-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.blog-archive-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2d1839;
    margin-bottom: 15px;
}

.blog-archive-header p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Category Filter Section
========================================== */

.blog-category-filter {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.blog-filter-tabs {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.blog-filter-tab {
    padding: 12px 20px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.blog-filter-tab:hover {
    background: #ff675b;
    color: white;
    border-color: #ff675b;
    text-decoration: none;
    transform: translateY(-2px);
}

.blog-filter-tab.active {
    background: #2d1839;
    color: white;
    border-color: #2d1839;
}

.blog-filter-count {
    background: rgba(255,255,255,0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-filter-tab.active .blog-filter-count {
    background: rgba(255,255,255,0.3);
}

/* ========================================
   Blog Content Section
========================================== */

.blog-archive-content {
    padding: 60px 0;
}

.blog-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ========================================
   Blog Post Cards
========================================== */

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    position: relative;
}

.blog-post-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
}

.blog-post-card:last-child::after {
    display: none;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.blog-post-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-featured-image {
    transform: scale(1.05);
}

/* Date Stamp */
.blog-date-stamp {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2d1839;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(45, 24, 57, 0.3);
}

.blog-date-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.blog-date-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ========================================
   Post Content
========================================== */

.blog-post-content {
    padding: 30px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-post-category a {
    background: #ff675b;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-category a:hover {
    background: #e55a4e;
    color: white;
    text-decoration: none;
}

.blog-reading-time {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-post-title {
    margin-bottom: 15px;
}

.blog-post-title a {
    color: #2d1839;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #ff675b;
    text-decoration: none;
}

.blog-post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ========================================
   Author Info
========================================== */

.blog-post-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-author-name {
    font-weight: 600;
    color: #2d1839;
    font-size: 0.95rem;
}

.blog-post-date {
    color: #666;
    font-size: 0.85rem;
}

/* ========================================
   Tags
========================================== */

.blog-post-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.blog-tag {
    background: #f8f9fa;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: #2d1839;
    color: white;
    border-color: #2d1839;
    text-decoration: none;
}

/* ========================================
   Post Actions
========================================== */

.blog-post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-read-more-btn {
    background: #ff675b;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-read-more-btn:hover {
    background: #e55a4e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 103, 91, 0.3);
}

/* Share Options */
.blog-share-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-share-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.blog-share-link {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.blog-share-link:hover {
    background: #ff675b;
    color: white;
    border-color: #ff675b;
    text-decoration: none;
    transform: translateY(-2px);
}

.blog-copy-link {
    background: #f8f9fa;
    cursor: pointer;
}

/* ========================================
   Pagination
========================================== */

.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 15px;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    padding: 12px 16px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
    background: #ff675b;
    color: white;
    border-color: #ff675b;
    text-decoration: none;
}

.blog-pagination .page-numbers .current {
    background: #2d1839;
    color: white;
    border-color: #2d1839;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========================================
   No Posts State
========================================== */

.blog-no-posts {
    text-align: center;
    padding: 80px 20px;
}

.blog-no-posts-content {
    max-width: 500px;
    margin: 0 auto;
}

.blog-no-posts-content i {
    font-size: 4rem;
    color: #ff675b;
    margin-bottom: 20px;
}

.blog-no-posts-content h2 {
    color: #2d1839;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-no-posts-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.blog-home-btn {
    background: #ff675b;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-home-btn:hover {
    background: #e55a4e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========================================
   Sidebar Styles
========================================== */

.blog-sidebar {
    padding-left: 40px;
}

.blog-sidebar .widget {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.blog-sidebar .widget-title {
    color: #2d1839;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff675b;
    position: relative;
}

.blog-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #2d1839;
}

.blog-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar .widget ul li:last-child {
    border-bottom: none;
}

.blog-sidebar .widget ul li a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.blog-sidebar .widget ul li a:hover {
    color: #ff675b;
    text-decoration: none;
}

/* Search Widget Styling */
.blog-sidebar .widget_search input[type="search"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.blog-sidebar .widget_search input[type="search"]:focus {
    border-color: #ff675b;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 103, 91, 0.1);
    outline: none;
}

.blog-sidebar .widget_search input[type="submit"] {
    background: #ff675b;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.blog-sidebar .widget_search input[type="submit"]:hover {
    background: #e55a4e;
    transform: translateY(-2px);
}

/* Recent Posts Widget */
.blog-sidebar .widget_recent_entries ul li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px 0;
}

.blog-sidebar .widget_recent_entries .post-date {
    color: #999;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

/* Categories Widget */
.blog-sidebar .widget_categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-sidebar .widget_categories ul li a {
    flex: 1;
}

.blog-sidebar .widget_categories ul li .post-count {
    background: #f8f9fa;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tag Cloud Widget */
.blog-sidebar .widget_tag_cloud .tagcloud a {
    background: #f8f9fa;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem !important;
    font-weight: 500;
    margin: 0 5px 5px 0;
    display: inline-block;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.blog-sidebar .widget_tag_cloud .tagcloud a:hover {
    background: #ff675b;
    color: white;
    border-color: #ff675b;
    text-decoration: none;
}

/* ========================================
   Responsive Design
========================================== */

@media (max-width: 991px) {
    .blog-sidebar {
        padding-left: 0;
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .blog-archive-header h1 {
        font-size: 2.5rem;
    }

    .blog-filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .blog-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .blog-filter-tab {
        flex-shrink: 0;
    }

    .blog-posts-grid {
        gap: 50px;
    }

    .blog-post-content {
        padding: 25px 20px;
    }

    .blog-post-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .blog-share-options {
        justify-content: center;
    }

    .blog-date-stamp {
        top: 15px;
        left: 15px;
    }

    .blog-archive-content {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .blog-archive-header {
        padding: 120px 0 30px;
    }

    .blog-archive-header h1 {
        font-size: 2rem;
    }

    .blog-category-filter {
        padding: 20px 0;
    }

    .blog-post-image {
        height: 200px;
    }

    .blog-post-title a {
        font-size: 1.4rem;
    }

    .blog-sidebar .widget {
        padding: 20px;
    }

    .blog-post-author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ========================================
   SINGLE BLOG POST STYLES
========================================== */

/* Reading Progress Bar */
.blog-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.blog-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff675b, #f2675d);
    width: 0%;
    transition: width 0.1s ease;
}

/* Single Page Container */
.blog-single-page {
    background: #f8f9fa;
    min-height: 100vh;
    margin-bottom: 200px;
}

/* ========================================
   Breadcrumbs
========================================== */

.blog-breadcrumbs {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.blog-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.blog-breadcrumb-list li {
    position: relative;
}

.blog-breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #999;
    font-weight: 300;
}

.blog-breadcrumb-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-breadcrumb-list a:hover {
    color: #ff675b;
    text-decoration: none;
}

.blog-breadcrumb-list li[aria-current="page"] {
    color: #2d1839;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   Single Blog Hero
========================================== */

.blog-single-hero {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid #e5e5e5;
}

.blog-single-meta {
    margin-bottom: 30px;
}

.blog-single-category a {
    background: #ff675b;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.blog-single-category a:hover {
    background: #e55a4e;
    color: white;
    text-decoration: none;
}

.blog-single-meta-items {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.blog-single-meta-items span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-single-meta-items i {
    font-size: 0.85rem;
    color: #ff675b;
}

.blog-single-author a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-single-author a:hover {
    color: #ff675b;
    text-decoration: none;
}

.blog-single-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d1839;
    line-height: 1.2;
    margin-bottom: 25px;
}

.blog-single-excerpt {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Featured Image Section */
.blog-single-featured-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.blog-single-featured-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 100%;
}

.blog-featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-image-caption {
    padding: 15px 20px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

/* ========================================
   Main Content Section
========================================== */

.blog-single-content {
    padding: 80px 0;
}

.blog-single-article {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    padding: 50px;
    margin-bottom: 40px;
}

/* ========================================
   Table of Contents
========================================== */

.blog-table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 60px;
    position: sticky;
    top: 100px;
    z-index: 50;
}

.blog-table-of-contents h3 {
    color: #2d1839;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff675b;
}

.blog-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-toc-item {
    margin-bottom: 8px;
}

.blog-toc-item a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding-left: 15px;
    position: relative;
}

.blog-toc-item a:hover {
    color: #ff675b;
    background: rgba(255, 103, 91, 0.1);
    text-decoration: none;
    padding-left: 20px;
}

.blog-toc-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #ff675b;
    transition: height 0.3s ease;
}

.blog-toc-item a:hover::before {
    height: 100%;
}

.blog-toc-h3 a {
    padding-left: 25px;
    font-size: 0.9rem;
}

.blog-toc-h4 a {
    padding-left: 35px;
    font-size: 0.85rem;
}

/* ========================================
   Article Content Styling
========================================== */

.blog-article-content {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 {
    color: #2d1839;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    scroll-margin-top: 100px;
}

.blog-article-content h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.blog-article-content h3 {
    font-size: 1.8rem;
}

.blog-article-content h4 {
    font-size: 1.4rem;
}

.blog-article-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.blog-article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.blog-article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #ff675b;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
    border-radius: 0 8px 8px 0;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.blog-article-content code {
    background: #f8f9fa;
    color: #e83e8c;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blog-article-content pre {
    background: #2d1839;
    color: white;
    padding: 25px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
    font-family: 'Courier New', monospace;
}

.blog-article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-article-content th,
.blog-article-content td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.blog-article-content th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2d1839;
}

/* ========================================
   Tags Section
========================================== */

.blog-single-tags {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.blog-single-tags h4 {
    color: #2d1839;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-single-tag {
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.blog-single-tag:hover {
    background: #ff675b;
    color: white;
    border-color: #ff675b;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========================================
   Share Section
========================================== */

.blog-single-share {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.blog-single-share h4 {
    color: #2d1839;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-share-btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
}

.blog-share-btn.facebook {
    background: #1877f2;
    color: white;
}

.blog-share-btn.facebook:hover {
    background: #166fe5;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.blog-share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.blog-share-btn.twitter:hover {
    background: #0d95e8;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.blog-share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.blog-share-btn.linkedin:hover {
    background: #006396;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.blog-share-btn.email {
    background: #666;
    color: white;
}

.blog-share-btn.email:hover {
    background: #555;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.blog-share-btn.copy-link {
    background: #ff675b;
    color: white;
}

.blog-share-btn.copy-link:hover {
    background: #e55a4e;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Author Bio
========================================== */

.blog-author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    margin: 40px 0;
}

.blog-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-info {
    flex: 1;
}

.blog-author-info h4 {
    color: #2d1839;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-author-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-author-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-author-link {
    color: #ff675b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-author-link:hover {
    color: #e55a4e;
    text-decoration: underline;
}

/* ========================================
   Post Navigation
========================================== */

.blog-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
}

.blog-nav-prev,
.blog-nav-next {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.blog-nav-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-nav-link {
    color: #2d1839;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-nav-link:hover {
    color: #ff675b;
    text-decoration: none;
}

.blog-nav-next .blog-nav-link {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* ========================================
   Sticky Sidebar Share
========================================== */

.blog-single-sidebar {
    padding-left: 40px;
}

.blog-sticky-share {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.blog-sticky-share h4 {
    color: #2d1839;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.blog-sticky-share-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-sticky-share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.blog-sticky-share-btn:nth-child(1) {
    background: #1877f2;
    color: white;
}

.blog-sticky-share-btn:nth-child(2) {
    background: #1da1f2;
    color: white;
}

.blog-sticky-share-btn:nth-child(3) {
    background: #0077b5;
    color: white;
}

.blog-sticky-share-btn:nth-child(4) {
    background: #ff675b;
    color: white;
}

.blog-sticky-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ========================================
   Related Posts
========================================== */

.blog-related-posts {
    background: white;
    padding: 80px 0;
    border-top: 1px solid #e5e5e5;
}

.blog-related-posts h2 {
    color: #2d1839;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.blog-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.blog-related-image {
    height: 200px;
    overflow: hidden;
}

.blog-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-related-card:hover .blog-related-img {
    transform: scale(1.05);
}

.blog-related-content {
    padding: 25px;
}

.blog-related-category {
    background: #ff675b;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-related-content h3 {
    margin-bottom: 15px;
    line-height: .5;
}

.blog-related-content h3 a {
    color: #2d1839;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-related-content h3 a:hover {
    color: #ff675b;
    text-decoration: none;
}

.blog-related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   Comments Section Styling
========================================== */

.blog-comments-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.blog-comments-section .comments-title {
    color: #2d1839;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.blog-comments-section .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-comments-section .comment {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
}

.blog-comments-section .comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-comments-section .comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.blog-comments-section .comment-meta {
    color: #666;
    font-size: 0.9rem;
}

.blog-comments-section .comment-content {
    line-height: 1.6;
    color: #333;
}

.blog-comments-section .reply {
    margin-left: 40px;
    margin-top: 15px;
}

/* Copy Notification */
.blog-copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff675b;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(255, 103, 91, 0.3);
    animation: slideInRight 0.3s ease-out;
}

/* ========================================
   Single Blog Responsive Design
========================================== */

@media (max-width: 991px) {
    .blog-single-sidebar {
        padding-left: 0;
        margin-top: 60px;
    }

    .blog-table-of-contents {
        position: static;
        margin-bottom: 40px;
    }

    .blog-sticky-share {
        position: static;
        margin-bottom: 20px;
    }

    .blog-sticky-share-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .blog-single-title {
        font-size: 2.5rem;
    }

    .blog-single-article {
        padding: 30px 25px;
    }

    .blog-single-meta-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .blog-author-bio {
        flex-direction: column;
        text-align: center;
    }

    .blog-post-navigation {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-nav-next {
        text-align: left;
    }

    .blog-nav-next .blog-nav-link {
        flex-direction: row;
        justify-content: flex-start;
    }

    .blog-share-buttons {
        justify-content: center;
    }

    .blog-related-posts h2 {
        font-size: 2rem;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .blog-single-hero {
        padding: 40px 0;
    }

    .blog-single-title {
        font-size: 2rem;
    }

    .blog-single-excerpt {
        font-size: 1.1rem;
    }

    .blog-single-article {
        padding: 20px 15px;
    }

    .blog-table-of-contents {
        padding: 20px;
        margin-bottom: 40px;
    }

    .blog-breadcrumb-list {
        font-size: 0.8rem;
    }

    .blog-article-content {
        font-size: 1rem;
    }

    .blog-article-content h2 {
        font-size: 1.8rem;
    }

    .blog-article-content h3 {
        font-size: 1.5rem;
    }

    .blog-share-buttons {
        flex-direction: column;
    }

    .blog-share-btn {
        width: 100%;
    }
}