/* Blog article — mobile TOC drawer + sticky share */
.article-mobile-toc-toggle {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 900;
    padding: 0.75rem 1rem;
    background: var(--color-primary, #1668B2);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.article-mobile-toc-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.article-mobile-toc-panel.open {
    display: block;
}

.article-mobile-toc-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 1rem 1rem 0 0;
    padding: 1.5rem;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.article-mobile-share {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 890;
    gap: 0.5rem;
}

@media (max-width: 1100px) {
    .article-mobile-toc-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .article-mobile-share {
        display: flex;
    }

    .article-sidebar {
        display: none;
    }

    .article-body-layout {
        grid-template-columns: 1fr !important;
    }
}

.article-toc-link {
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 0.35rem 0;
    display: block;
    font-size: 0.875rem;
}

.article-toc-link:hover,
.article-toc-link:focus-visible {
    color: var(--color-primary);
}

.article-toc-link.active {
    color: var(--color-primary);
    font-weight: 600;
}
