 /* Custom styles for enhanced TOC and interactions */
    .progress-bar {
        background: linear-gradient(90deg, #0d6efd 0%, #6f42c1 100%);
        transition: width 0.3s ease;
    }

    .toc-container {
        position: sticky;
        top: 20px;
    }

    .toc {
        background: white;
        border-radius: 1rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .toc:hover {
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    }

    .toc-link {
        display: block;
        padding: 0.5rem 0.75rem;
        color: #6c757d;
        text-decoration: none;
        border-radius: 0.5rem;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

    .toc-link:hover {
        background-color: #f8f9fa;
        color: #0d6efd;
        transform: translateX(3px);
    }

    .toc-link.active {
        background-color: #e7f1ff;
        color: #0d6efd;
        border-left-color: #0d6efd;
        font-weight: 500;
    }

    .toc-link.level-3 {
        padding-left: 2rem;
        font-size: 0.9rem;
    }

    .toc-link.level-4 {
        padding-left: 2.75rem;
        font-size: 0.85rem;
    }

    .content-body h2,
    .content-body h3,
    .content-body h4 {
        scroll-margin-top: 80px;
    }

    .featured-image-container {
        position: relative;
        overflow: hidden;
        border-radius: 1rem 1rem 0 0;
    }

    .featured-image {
        transition: transform 0.7s ease;
    }

    .featured-image-container:hover .featured-image {
        transform: scale(1.05);
    }

    .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
        padding: 2rem;
    }

    .share-button {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.5rem;
        transition: all 0.2s ease;
    }

    .share-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
    }

    .back-to-top {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 48px;
        height: 48px;
        background: #0d6efd;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: #0b5ed7;
        transform: translateY(-3px);
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
    }

    .related-article {
        transition: all 0.2s ease;
    }

    .related-article:hover {
        transform: translateY(-2px);
    }

    .related-article img {
        transition: transform 0.3s ease;
    }

    .related-article:hover img {
        transform: scale(1.05);
    }

    .newsletter-box {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 1rem;
        color: white;
    }

    .newsletter-input {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        backdrop-filter: blur(10px);
    }

    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .newsletter-input:focus {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
        color: white;
    }

    @media (max-width: 991.98px) {
        .toc-container {
            position: relative;
            margin-bottom: 2rem;
        }
    }

    .prose {
        max-width: none;
    }

    .prose h2 {
        font-size: 1.75rem;
        font-weight: 600;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
        color: #212529;
    }

    .prose h3 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-top: 2rem;
        margin-bottom: 1rem;
        color: #343a40;
    }

    .prose h4 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        color: #495057;
    }

    .prose p {
        margin-bottom: 1.25rem;
        line-height: 1.75;
        color: #495057;
    }

    .prose img {
        border-radius: 0.75rem;
        margin: 2rem 0;
    }

    .prose blockquote {
        border-left: 4px solid #0d6efd;
        padding-left: 1.5rem;
        margin: 2rem 0;
        font-style: italic;
        color: #6c757d;
    }

    .prose ul,
    .prose ol {
        margin-bottom: 1.25rem;
        padding-left: 2rem;
    }

    .prose li {
        margin-bottom: 0.5rem;
    }

    .prose code {
        background-color: #e9ecef;
        padding: 0.125rem 0.375rem;
        border-radius: 0.375rem;
        font-size: 0.875em;
        color: #d63384;
    }

    .prose pre {
        background-color: #212529;
        color: #f8f9fa;
        padding: 1.5rem;
        border-radius: 0.75rem;
        overflow-x: auto;
    }

    .article-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        color: #6c757d;
        font-size: 0.9rem;
    }

    .article-meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .author-info {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .tag {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        background-color: #e9ecef;
        color: #495057;
        border-radius: 50rem;
        font-size: 0.875rem;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        transition: all 0.2s ease;
    }

    .tag:hover {
        background-color: #dee2e6;
        color: #212529;
        text-decoration: none;
    }