* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8fafc;
    color: #2d3748;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: #667eea; text-decoration: none; }
a:hover { color: #764ba2; }
img { max-width: 100%; height: auto; }

.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* 分页 */
.pagination-wrapper {
    text-align: center;
    padding: 20px 0 40px;
}
.pagination .page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    font-size: 14px;
    transition: all 0.3s;
    background: #fff;
}
.pagination .page-link:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}
.pagination .page-info {
    display: inline-block;
    padding: 8px 12px;
    color: #a0aec0;
    font-size: 13px;
}

/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 通用文章列表 */
.posts-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.posts-wrapper > article {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
    margin-bottom: 0;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
    animation: fadeInUp 0.5s ease-out;
}
.posts-wrapper > article:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(8px);
    border-left: 4px solid #667eea;
}
.posts-wrapper > article:nth-child(2n) { border-right: none; }
.posts-wrapper > article:last-child { border-bottom: none; }
.posts-wrapper > article:nth-last-child(2) { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.posts-wrapper > article:first-child { border-top-left-radius: 12px; }
.posts-wrapper > article:nth-child(2) { border-top-right-radius: 12px; }

.blog-entry-title {
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 600;
    font-family: inherit;
    position: relative;
}
.blog-entry-title a {
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    position: relative;
    letter-spacing: -0.3px;
}
.blog-entry-title a:hover {
    color: #667eea;
    transform: translateX(5px);
}

/* 移动端 */
@media (max-width: 768px) {
    .posts-wrapper { flex-direction: column; flex-wrap: nowrap; }
    .posts-wrapper > article {
        width: 100%; max-width: 100%; flex: 0 0 100%;
        border-right: none;
        padding: 10px 15px;
    }
    .nv-index-posts { padding: 0 20px; margin: 30px auto 20px; }
    .blog-entry-title { font-size: 15px; }
    .posts-wrapper { border-radius: 8px; }
}
