.article-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.article-main {
    flex: 1 1 auto;
    min-width: 0;
}

.article-title {
    margin: 0 0 12px;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #65707d;
}

.article-hero {
    margin-bottom: 24px;
}

.article-hero img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-body h2 {
    margin: 32px 0 16px;
    font-size: 22px;
}

.article-body h3 {
    margin: 24px 0 12px;
    font-size: 18px;
}

.article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.article-body p {
    margin: 0 0 16px;
    line-height: 1.6;
}

.article-body ul {
    margin: 0 0 16px;
    padding-left: 20px;
    line-height: 1.6;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 14px;
}

.article-table th, .article-table td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.article-table th {
    background: #f6f5f5;
    font-weight: 600;
}

.article-toc {
    flex: 0 0 280px;
}

.article-toc__inner {
    position: sticky;
    top: 24px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.article-toc__title {
    font-weight: 700;
    margin-bottom: 12px;
}

.article-toc__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-toc__nav a {
    font-size: 14px;
    color: #65707d;
    text-decoration: none;
}

.article-toc__nav a:hover {
    color: #820000;
    text-decoration: underline;
}

.related-articles {
    margin-bottom: 40px;
}

.related-articles__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.related-articles__all {
    padding: 8px 16px;
    border: 1px solid #820000;
    border-radius: 20px;
    color: #820000;
    text-decoration: none;
    font-size: 14px;
}

.related-articles__all:hover {
    background: #820000;
    color: #ffffff;
}

@media (max-width: 991px) {
    .article-layout {
        flex-direction: column;
    }

    .article-toc {
        order: -1;
        width: 100%;
    }

    .article-toc__inner {
        position: static;
    }
}
