/* 博客列表样式 */
.blog-list {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-card {
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.blog-date,
.blog-category {
    display: flex;
    align-items: center;
    line-height: 1;
}

.blog-category {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 1rem;
    color: #0066FF;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #0066FF;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066FF;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: rgba(0, 102, 255, 0.15);
}

.read-more::after {
    content: "→";
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* 博客文章样式 */
.markdown-body {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.blog-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.blog-header .blog-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* 侧边栏样式优化 */
.docs-sidebar .nav-section {
    margin-bottom: 2rem;
}

.docs-sidebar .nav-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
    padding: 0 1.5rem;
}

.docs-sidebar .nav-link {
    display: block;
    padding: 0.625rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    margin: 0.125rem 0.75rem;
}

.docs-sidebar .nav-link:hover {
    color: #0066FF;
    background: rgba(0, 102, 255, 0.08);
}

.docs-sidebar .nav-link.active {
    color: #0066FF;
    background: rgba(0, 102, 255, 0.1);
}

/* 搜索框样式优化 */
.content-header {
    background: linear-gradient(to right, rgba(0, 102, 255, 0.02), rgba(11, 209, 255, 0.02));
    border-bottom: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-box input {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .blog-list,
    .markdown-body {
        padding: 1rem;
    }
    
    .blog-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .blog-header h1 {
        font-size: 1.75rem;
    }
    
    .blog-title {
        font-size: 1.25rem;
    }
    
    .content-header {
        padding: 1rem;
    }
    
    .docs-sidebar .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.125rem 0.5rem;
    }
    
    .docs-sidebar .nav-section h3 {
        padding: 0 1rem;
    }
} 

/* 文章列表中的元信息样式 */
.blog-card .blog-meta {
    margin: 0.75rem 0;
}

/* 文章详情页中的元信息样式 */
.blog-header .blog-meta {
    margin: 1rem 0;
} 