/* ========== Article Header ========== */
.article-header { margin-bottom: var(--gap); }

.article-header-inner {
    display: flex;
    gap: 24px;
    padding: 24px;
}

.article-cover {
    flex-shrink: 0;
    width: 180px;
    overflow: hidden;
    box-shadow: var(--ink-shadow-md);
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
    font-family: var(--font-serif);
}

.article-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 14px;
}

.article-meta-item i {
    color: var(--ink-accent);
    margin-right: 5px;
    width: 14px;
    text-align: center;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.article-introduce {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

/* ========== Article Sections ========== */
.article-section { margin-bottom: var(--gap); }

.article-section-body {
    padding: 20px;
}

.article-intro-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink-secondary);
}

.article-read-more {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ink-border-light);
}

.article-chapter-count {
    margin-left: auto;
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-muted);
    font-family: var(--font-body);
}

/* ========== Chapter List ========== */
.article-chapter-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.article-chapter-list.scrollable {
    max-height: 480px;
    overflow-y: auto;
}

.article-chapter-list.scrollable::-webkit-scrollbar { width: 3px; }
.article-chapter-list.scrollable::-webkit-scrollbar-track { background: transparent; }
.article-chapter-list.scrollable::-webkit-scrollbar-thumb {
    background: var(--ink-border);
    border-radius: 3px;
}

.article-chapter-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--ink-secondary);
    border-bottom: 1px solid var(--ink-border-light);
    transition: all var(--duration) var(--ease-out);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-chapter-item:hover {
    color: var(--ink-accent);
    background: var(--ink-wash);
    padding-left: 20px;
}

/* ========== News Navigation ========== */
.article-news-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-news-nav-link {
    font-size: 14px;
    color: var(--ink-secondary);
    transition: color var(--duration) var(--ease-out);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.article-news-nav-link:hover { color: var(--ink-accent); }

.article-news-nav-disabled {
    color: var(--ink-light);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .article-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .article-cover { width: 140px; }

    .article-title { font-size: 20px; }

    .article-meta-list {
        justify-content: center;
    }

    .article-tags { justify-content: center; }

    .article-actions { justify-content: center; }

    .article-chapter-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-cover { width: 120px; }
    .article-title { font-size: 18px; }
}
