/* CloudUI — Article Plugin Styles */

/* Article detail — content area */
.article-entry-content {
    font-size: 0.9375rem;
    line-height: 1.8;
}
.article-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}
.article-entry-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.625rem;
    color: #0f172a;
}
.article-entry-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: #0f172a;
}
.article-entry-content p {
    margin-bottom: 0.75rem;
}
.article-entry-content pre {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
}
.article-entry-content blockquote {
    border-left: 3px solid #2563eb;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    background: #f8fafc;
    border-radius: 0 0.375rem 0.375rem 0;
}
.article-entry-content a {
    color: #2563eb;
    text-decoration: none;
}
.article-entry-content a:hover {
    text-decoration: underline;
}

/* Dark mode */
.dark .article-entry-content h2,
.dark .article-entry-content h3 {
    color: #f1f5f9;
}
.dark .article-entry-content pre {
    background: #1e293b;
    border-color: #334155;
}
.dark .article-entry-content blockquote {
    background: #1e293b;
}

/* Pagination — generated by article plugin */
.article-pagination a,
.article-pagination span {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0 0.125rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}
.article-pagination a:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.article-pagination .current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.dark .article-pagination a,
.dark .article-pagination span {
    border-color: #334155;
    color: #94a3b8;
}
.dark .article-pagination a:hover {
    background: #1e293b;
    border-color: #475569;
}
.dark .article-pagination .current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* 404 page */
.article-404-icon {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #94a3b8, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dark .article-404-icon {
    background: linear-gradient(135deg, #475569, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
