.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 200px;
    padding: 20px;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
    bottom: 30;
}

.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 50%;          /* 左边界定位到 50% */
    transform: translateX(-50%); /* 向左回退自身宽度的 50% */
    text-align: center; /* 文字居中 */
    width: 100%;        /* 保证父容器占满宽度 */
}

.article-item {
    margin: 10px 0;
    padding: 12px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-title {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.article-title:hover {
    color: #3498db;
}

.error {
    color: #e74c3c;
    padding: 20px;
    background: #ffeeee;
    border-radius: 8px;
}
