.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.blog-toc {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
    padding: 1.25rem;
}

.blog-toc summary {
    color: #0f172a;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

.blog-toc a {
    display: block;
    color: #475569;
    line-height: 1.5;
    text-decoration: none;
}

.blog-toc a:hover,
.blog-toc a:focus-visible {
    color: #d97706;
    text-decoration: underline;
}

.blog-toc a[aria-current="location"] {
    color: #b45309;
    font-weight: 700;
}

.blog-article-body {
    min-width: 0;
    max-width: 48rem;
}

.blog-article-body [data-article-content] h2 {
    scroll-margin-top: 6rem;
}

.blog-author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 3rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
}

.blog-author-avatar {
    display: flex;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 1.125rem;
    font-weight: 800;
}

.blog-author-box h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.blog-author-box h3 {
    margin-bottom: 0;
}

.blog-author-box p {
    margin: 0.5rem 0 0;
    color: #475569;
    font-size: 0.8125rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .blog-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .blog-toc {
        position: static;
        max-height: none;
    }

}
