/* ==================== 文章页面专用样式 - VN10 模板 ==================== */
.article-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 50px 40px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.article-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #60a5fa;
    line-height: 1.3;
    text-align: center;
}

.article-meta {
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 0;
}

.article-meta time {
    color: #94a3b8;
}

.article-content {
    font-size: 18px;
    line-height: 1.7;
    color: #e2e8f0;
    margin-top: 30px;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: #60a5fa;
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 700;
}

.article-content h2 {
    font-size: 1.8em;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 1.5em;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-content a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-content a:hover {
    color: #93c5fd;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.back-home {
    text-align: center;
    margin-top: 40px;
}

/* 相关文章样式 */
.related-articles-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
}

.related-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #60a5fa;
    text-align: center;
}

.related-articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.related-article-item {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.related-article-item:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.related-article-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.related-article-title a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

.related-article-title a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.related-article-meta {
    font-size: 14px;
    color: #94a3b8;
}

/* 文章导航样式 */
.article-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.prev-article,
.next-article {
    flex: 1;
    min-width: 280px;
}

.prev-article-link,
.next-article-link {
    display: block;
    padding: 20px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    color: #e2e8f0;
}

.prev-article-link:hover,
.next-article-link:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.prev-article-link strong,
.next-article-link strong {
    display: block;
    color: #60a5fa;
    margin-bottom: 8px;
    font-size: 14px;
}

.prev-article-link span,
.next-article-link span {
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .article-container {
        padding: 30px 20px;
        margin: 20px 15px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .related-title {
        font-size: 22px;
    }
    
    .related-article-item {
        padding: 20px;
    }
    
    .related-article-title {
        font-size: 16px;
    }
    
    .nav-wrapper {
        flex-direction: column;
    }
    
    .prev-article,
    .next-article {
        min-width: 100%;
    }
}

/* ==================== Markdown 样式支持 ==================== */
.article-content pre {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
}

.article-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: inherit;
    color: inherit;
}

.article-content code {
    background: rgba(15, 23, 42, 0.6);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #60a5fa;
}

.article-content ul, 
.article-content ol {
    margin: 20px 0;
    padding-left: 35px;
    line-height: 1.7;
}

.article-content li {
    margin: 8px 0;
    line-height: 1.7;
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 20px;
    margin: 20px 0;
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.7;
    background: rgba(30, 41, 59, 0.4);
    padding: 15px 20px;
    border-radius: 8px;
}

.article-content hr {
    border: none;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    margin: 35px 0;
}

.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.article-content table th,
.article-content table td {
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 15px;
    text-align: left;
    line-height: 1.6;
}

.article-content table th {
    background: rgba(59, 130, 246, 0.2);
    font-weight: 700;
    color: #60a5fa;
}







