* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

h1 {
    text-align: center;
    color: #333;
    padding: 30px 0 20px;
    font-size: 28px;
    font-weight: normal;
}

.data-list {
    padding: 0;
}

.data-item {
    background: transparent;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.data-item:last-child {
    border-bottom: none;
}

.data-item h3 {
    color: #333;
    font-size: 13px;
    margin: 0;
    flex: 1;
    padding-right: 20px;
    position: relative;
    font-weight: normal;
}

.data-item h3::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    border-right: 1px dashed #ccc;
}

.data-item:hover h3 {
    color: #f9a825;
}

.data-item .date {
    color: #999;
    font-size: 12px;
    margin: 0 0 0 20px;
    white-space: nowrap;
}

.data-item:hover .date {
    color: #f9a825;
}

/* 新闻链接样式 */
.news-link {
    color: #333;
    text-decoration: none;
}

.data-item:hover .news-link {
    color: #f9a825;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 30px 40px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.pagination button {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    min-width: 36px;
}

.pagination button:hover:not(:disabled) {
    background: #f0f0f0;
}

.pagination button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination .page-info {
    color: #666;
    font-size: 14px;
    margin: 0 10px;
    padding: 10px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    h1 {
        font-size: 24px;
    }

    .data-list {
        padding: 15px 20px;
    }

    .pagination {
        padding: 20px;
        gap: 4px;
    }

    .pagination button {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 36px;
    }

    .page-info {
        font-size: 12px !important;
    }
}

/* 上下篇导航样式 */
.prev-next-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.prev-next-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: white;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s;
}

.prev-next-nav a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.prev-next-nav .prev-article {
    text-align: left;
}

.prev-next-nav .next-article {
    text-align: right;
    margin-left: auto;
}

/* 文章内容样式 */
.article-content {
    padding: 20px 40px;
    line-height: 1.8;
    color: #666;
}
