* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

#article-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

/* Loading & Error */
.loading,
.error {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #999;
    text-align: center;
    padding-top: 30vh;
}

.error {
    color: #666;
}

/* Headings */
#article-content h1 {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px;
    color: #111;
}

.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 40px;
}

/* Articles List */
.articles-title {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #111;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.articles-item .item-title {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    text-underline-offset: 3px;
    text-decoration-color: #ccc;
    transition: text-decoration-color 0.2s ease;
}

.articles-item .item-title:hover {
    text-decoration: underline;
    text-decoration-color: #333;
}

.articles-list .articles-item .item-title {
    text-decoration: none;
}

#article-content .articles-item .item-title {
    text-decoration: none;
}

#article-content .articles-item .item-title:hover {
    text-decoration: underline;
}

.articles-item .meta {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
    margin-bottom: 6px;
}


#article-content h2 {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #222;
}

#article-content h3 {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #333;
}

/* Paragraphs */
#article-content p {
    font-size: 17px;
    margin-bottom: 18px;
    color: #333;
}

/* Links */
#article-content a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #ccc;
    transition: text-decoration-color 0.2s ease;
}

#article-content a:hover {
    text-decoration-color: #333;
}

/* Bold & Italic */
#article-content strong {
    font-weight: 700;
}

#article-content em {
    font-style: italic;
}

/* Lists */
#article-content ul,
#article-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

#article-content li {
    font-size: 17px;
    margin-bottom: 8px;
    padding-left: 8px;
    color: #333;
}

/* Blockquote */
#article-content blockquote {
    border-left: 3px solid #ddd;
    padding: 4px 0 4px 20px;
    margin: 24px 0;
    color: #555;
    font-style: italic;
}

#article-content blockquote p {
    color: #555;
    margin-bottom: 8px;
}

#article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Inline Code */
#article-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    color: #333;
}

/* Code Blocks */
#article-content pre {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid #eee;
}

#article-content pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* Horizontal Rule */
#article-content hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 48px 0;
}

/* Images */
#article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 28px 0;
}

/* Tables */
#article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 15px;
}

#article-content th,
#article-content td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}

#article-content th {
    font-weight: 600;
    color: #222;
}

/* Selection */
::selection {
    background-color: #000;
    color: #fff;
}

::-moz-selection {
    background-color: #000;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    #article-content {
        padding: 60px 20px 80px;
    }

    #article-content h1 {
        font-size: 26px;
    }

    #article-content h2 {
        font-size: 18px;
    }

    #article-content p,
    #article-content li {
        font-size: 16px;
    }

    #article-content pre {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    #article-content {
        padding: 48px 16px 64px;
    }

    #article-content h1 {
        font-size: 24px;
    }

    #article-content p,
    #article-content li {
        font-size: 15px;
    }
}
