/* ==========================================================================
   Weblizar Blog Page & Single Post Redesign Styles
   ========================================================================== */

/* --- Blog Hero Banner --- */
.blog-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 65px 0 75px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.blog-hero-section .pth-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    pointer-events: none;
}

.blog-hero-section .hero-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.blog-hero-section h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.blog-hero-section h1 span.highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hero-section p.hero-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.blog-hero-section .breadcrumb {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    padding: 8px 22px;
    border-radius: 30px;
    margin: 0;
}

.blog-hero-section .breadcrumb-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-hero-section .breadcrumb-item a:hover {
    color: #60a5fa;
}

.blog-hero-section .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

.blog-hero-section .hero-shape-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.blog-hero-section .hero-shape-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}

/* --- Modern Post Cards List --- */
.weblizar-blogs.post-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-card-item {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* Thumbnail */
.blog-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: 380px;
    width: 100%;
    background: #f8fafc;
}

.blog-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-thumb img,
.blog-card-thumb a img {
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-item:hover .blog-card-thumb img {
    transform: scale(1.04);
}


/* Floating Date Badge */
.blog-floating-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.blog-floating-date .day {
    font-size: 1.25rem;
    display: block;
    color: #38bdf8;
}

.blog-floating-date .month-year {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

/* Floating Category Tag */
.blog-floating-category {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.blog-floating-category a {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.blog-floating-category a:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
}

/* Card Body */
.blog-card-body {
    padding: 28px 32px 32px;
}

/* Meta Bar */
.blog-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: #64748b;
}

.blog-meta-info li,
.blog-meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-meta-info i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.blog-meta-info a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.blog-meta-info a:hover {
    color: #2563eb;
}

/* Post Title */
.blog-card-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
}

.blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #2563eb;
}

/* Excerpt */
.blog-card-excerpt {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.blog-card-excerpt p {
    margin-bottom: 0;
}

/* Footer & Read More Button */
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.btn-read-article {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
}

.btn-read-article:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateX(3px);
}

.btn-read-article i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.btn-read-article:hover i {
    transform: translateX(4px);
}

/* Tags in Card Footer */
.blog-card-tags {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 60%;
}

.tag-pill {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.tag-pill:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb !important;
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}


/* --- Pagination Styles --- */
.weblizar-pagination-container {
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%;
}

.weblizar-pagination-container ul.pagination,
.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span,
.weblizar-pagination-container a,
.weblizar-pagination-container span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.navigation.pagination .nav-links a:hover,
.weblizar-pagination-container a:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #2563eb;
    transform: translateY(-1px);
}

.navigation.pagination .nav-links .current,
.weblizar-pagination-container .active span,
.weblizar-pagination-container span.current,
.weblizar-pagination-container .active a {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

/* --- Single Post Page Styles --- */

.single-post-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    padding: 40px;
    margin-bottom: 40px;
}

.single-post-thumb {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
}

.single-post-thumb img {
    width: 100% !important;
    min-width: 100% !important;
    height: auto;
    max-height: 480px;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}


/* Article Content Typography */
.single-post-content {
    color: #334155;
    font-size: 1.06rem;
    line-height: 1.8;
}

.single-post-content p {
    margin-bottom: 1.5em;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.35;
}

.single-post-content h2 {
    font-size: 1.75rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.single-post-content h3 {
    font-size: 1.4rem;
}

.single-post-content blockquote {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: 0 14px 14px 0;
    margin: 30px 0;
    font-style: italic;
    color: #1e293b;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5em;
    padding-left: 24px;
}

.single-post-content li {
    margin-bottom: 8px;
}

/* Single Tags & Categories Footer */
.single-post-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    margin-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.single-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.single-post-tags .tags-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

.single-post-tags .tag-pill {
    padding: 6px 14px;
    font-size: 0.8rem;
    max-width: none;
}


/* Author Bio Box */
.single-author-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.single-author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.single-author-info p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Post Navigation (Prev/Next) */
.single-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.post-nav-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-nav-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.post-nav-card .nav-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #3b82f6;
    letter-spacing: 0.5px;
}

.post-nav-card .nav-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Comments Section Styling */
.comments-area {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    padding: 36px;
    margin-top: 40px;
}

.comments-title,
.comment-reply-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.comment-list li.comment {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.comment-author .fn {
    font-weight: 700;
    color: #0f172a;
    font-style: normal;
}

.comment-metadata a {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: none;
}

.comment-content p {
    color: #475569;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.reply a {
    display: inline-block;
    padding: 4px 14px;
    background: #2563eb;
    color: #ffffff !important;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

/* Comment Form */
#commentform p.comment-form-author,
#commentform p.comment-form-email,
#commentform p.comment-form-url {
    margin-bottom: 16px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

#commentform input:focus,
#commentform textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#commentform input[type="submit"] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

#commentform input[type="submit"]:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

/* --- Comprehensive Responsive & Mobile Optimization --- */

/* Sticky Sidebar on Desktop */
@media (min-width: 992px) {
    .weblizar-blogs-sidebar {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

/* Tablet (768px - 991.98px) */
@media (max-width: 991.98px) {
    .blog-hero-section {
        padding: 55px 0 65px;
    }
    .blog-card-body {
        padding: 24px;
    }
    .weblizar-blogs-sidebar {
        margin-top: 36px;
    }
}

/* Mobile Devices (max-width: 575.98px) */
@media (max-width: 575.98px) {
    .blog-hero-section {
        padding: 40px 15px 50px;
    }
    .blog-hero-section .hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }
    .blog-hero-section p.hero-desc {
        font-size: 0.92rem;
        margin-bottom: 16px;
    }
    .blog-hero-section .breadcrumb {
        padding: 6px 14px;
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Cards on Mobile */
    .blog-card-item {
        border-radius: 14px;
    }
    .blog-card-thumb {
        aspect-ratio: 16 / 10;
        max-height: 240px;
    }
    .blog-floating-date {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        border-radius: 8px;
    }
    .blog-floating-date .day {
        font-size: 1rem;
    }
    .blog-floating-date .month-year {
        font-size: 0.65rem;
    }
    .blog-floating-category {
        top: 10px;
        right: 10px;
    }
    .blog-floating-category a {
        padding: 4px 10px;
        font-size: 0.72rem;
    }
    .blog-card-body {
        padding: 18px 16px 20px;
    }
    .blog-meta-info {
        gap: 10px 14px;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .blog-card-title {
        margin-bottom: 10px;
    }
    .blog-card-excerpt {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 16px;
    }
    .blog-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 14px;
    }
    .btn-read-article {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .blog-card-tags {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Pagination on Mobile */
    .weblizar-pagination-container {
        margin-top: 28px;
    }
    .navigation.pagination .nav-links a,
    .navigation.pagination .nav-links span,
    .weblizar-pagination-container a,
    .weblizar-pagination-container span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.82rem;
        border-radius: 8px;
    }

    /* Single Post Mobile */
    .single-post-card {
        padding: 20px 16px;
        border-radius: 14px;
    }
    .single-author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .single-post-navigation {
        flex-direction: column;
        gap: 12px;
    }
    .comments-area {
        padding: 20px 16px;
        border-radius: 14px;
    }
}

/* ==========================================================================
   Blog Share Feature Styles
   ========================================================================== */

.blog-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.btn-blog-share {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
}

.btn-blog-share:hover,
.btn-blog-share:focus {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-hero-share {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hero-share:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

/* --- Share Popover Menu --- */
.blog-share-popover {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    padding: 16px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-share-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.share-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.share-popover-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.share-popover-close:hover {
    color: #0f172a;
}

.share-popover-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.share-option-btn i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

.share-option-btn.share-fb:hover {
    background: rgba(24, 119, 242, 0.08);
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.3);
}

.share-option-btn.share-tw:hover {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.3);
}

.share-option-btn.share-in:hover {
    background: rgba(10, 102, 194, 0.08);
    color: #0a66c2;
    border-color: rgba(10, 102, 194, 0.3);
}

.share-option-btn.share-wa:hover {
    background: rgba(37, 211, 102, 0.08);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.3);
}

.share-option-btn.share-copy:hover {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.3);
}

/* --- Single Post Share Box --- */
.single-post-share-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
}

.single-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.single-share-btn.share-fb:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
    transform: translateY(-1px);
}

.single-share-btn.share-tw:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
    transform: translateY(-1px);
}

.single-share-btn.share-in:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
    transform: translateY(-1px);
}

.single-share-btn.share-wa:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transform: translateY(-1px);
}

.single-share-btn.share-copy:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

/* --- Sticky Side Share Bar --- */
.sticky-blog-share-bar {
    position: fixed;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 999;
    background: #ffffff;
    padding: 10px 6px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

@media (max-width: 1400px) {
    .sticky-blog-share-bar {
        left: 4px;
        padding: 8px 4px;
        gap: 6px;
    }
}

@media (max-width: 1200px) {
    .sticky-blog-share-bar {
        display: none !important;
    }
}


.sticky-share-label {
    font-size: 0.8rem;
    color: #2563eb;
    margin-bottom: 2px;
}

.sticky-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.sticky-share-btn.share-fb:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    transform: scale(1.1);
}

.sticky-share-btn.share-tw:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: scale(1.1);
}

.sticky-share-btn.share-in:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
    transform: scale(1.1);
}

.sticky-share-btn.share-wa:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    transform: scale(1.1);
}

.sticky-share-btn.share-copy:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    transform: scale(1.1);
}

/* --- Toast Feedback Notification --- */
.weblizar-share-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-size: 0.92rem;
    z-index: 99999;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.weblizar-share-toast i {
    color: #34d399;
    font-size: 1.1rem;
}

.weblizar-share-toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 575.98px) {
    .blog-card-actions {
        width: 100%;
    }
    .btn-blog-share {
        width: 100%;
        justify-content: center;
    }
    .blog-share-popover {
        left: 0;
        right: 0;
        min-width: 100%;
    }
    .weblizar-share-toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        justify-content: center;
    }
}

/* --- Reading Progress Bar --- */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #6366f1 100%);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

/* --- Category Filter Pills Bar --- */
.blog-category-filter-bar {
    padding: 10px 0;
}

.category-filter-pills {
    background: #ffffff;
    padding: 8px 14px !important;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.filter-pill-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 30px;
    background: #f8fafc;
    color: #475569 !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.filter-pill-btn:hover,
.filter-pill-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.filter-pill-btn .pill-count {
    font-size: 0.76rem;
    opacity: 0.75;
    margin-left: 4px;
}

/* --- Helpful Reaction Like Button --- */
.btn-post-like.liked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.btn-post-like.liked i {
    animation: thumbBounce 0.4s ease;
}

@keyframes thumbBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3) rotate(-10deg); }
    100% { transform: scale(1); }
}

/* --- Related Articles Card --- */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1) !important;
}

.hover-primary:hover {
    color: #2563eb !important;
}

/* --- Redesigned Sidebar Widgets --- */
.blog-sidebar-redesign .sidebar-widget-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.blog-sidebar-redesign .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

/* Sidebar Search */
.sidebar-search-input {
    border-radius: 30px 0 0 30px !important;
    border: 1px solid #cbd5e1;
    border-right: none;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.sidebar-search-input:focus {
    box-shadow: none;
    border-color: #2563eb;
}

.btn-search-submit {
    border-radius: 0 30px 30px 0 !important;
    padding: 10px 20px;
}

/* Sidebar Category List */
.sidebar-category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.sidebar-cat-link:hover,
.sidebar-cat-link.active {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateX(3px);
}

.sidebar-cat-link .cat-badge {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
}

.sidebar-cat-link:hover .cat-badge,
.sidebar-cat-link.active .cat-badge {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Sidebar Newsletter Card */
.sidebar-newsletter-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.newsletter-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}


