.article-content .image-style-align-left {
    float: left;
    margin-right: 16px;
    margin-bottom: 8px;
}
.article-content .image-style-align-right {
    float: right;
    margin-left: 16px;
    margin-bottom: 8px;
}
.article-content .image-style-align-center {
    display: block;
    margin: 0 auto;
}
.article-wrap {
    align-items: flex-start;
    display: flex;
    gap: 48px;
}
.article-index {
    flex-shrink: 0;
    font-size: 13px;
    position: sticky;
    top: 24px;
    width: 160px;
}
.article-index-title {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 0.1em;
    margin: 0 0 14px 0;
    text-transform: uppercase;
}
.article-index-list {
    border-left: 2px solid #000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 14px;
}
.article-index-list a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}
.article-index-list a:hover {
    color: #000;
    font-weight: 700;
}
.article-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
}
.article-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
}
.article-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #333;
    font-weight: 600;
}
.article-section:target {
    background: #efefef;
    border-left: 3px solid #000;
    padding-left: 14px;
}
.article-wrap:has(#section-1:target) .article-index-list a[href="#section-1"],
.article-wrap:has(#section-2:target) .article-index-list a[href="#section-2"],
.article-wrap:has(#section-3:target) .article-index-list a[href="#section-3"],
.article-wrap:has(#section-4:target) .article-index-list a[href="#section-4"],
.article-wrap:has(#section-5:target) .article-index-list a[href="#section-5"],
.article-wrap:has(#section-6:target) .article-index-list a[href="#section-6"],
.article-wrap:has(#section-7:target) .article-index-list a[href="#section-7"],
.article-wrap:has(#section-8:target) .article-index-list a[href="#section-8"],
.article-wrap:has(#section-9:target) .article-index-list a[href="#section-9"],
.article-wrap:has(#section-10:target) .article-index-list a[href="#section-10"],
.article-wrap:has(#section-11:target) .article-index-list a[href="#section-11"],
.article-wrap:has(#section-12:target) .article-index-list a[href="#section-12"],
.article-wrap:has(#section-13:target) .article-index-list a[href="#section-13"],
.article-wrap:has(#section-14:target) .article-index-list a[href="#section-14"],
.article-wrap:has(#section-15:target) .article-index-list a[href="#section-15"] {
    color: #000;
    font-weight: 700;
}
.article-section
{
    scroll-margin-top: 80px;
}
/* float 해제 */
.article-content::after {
    content: '';
    display: block;
    clear: both;
}

@media (max-width: 768px) {
    .article-index {
        display: none;
    }
    .article-index + * {
        margin-left: 0;
    }
    .article-section:target {
        background: none;
        border-left: none;
        padding-left: 0;
    }
}
