* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    color: #333;
}

.list-container {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
    min-height: 600px;
}

/* 左侧菜单样式 */
.menu {
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
}

.menu-title {
    background: #1e50ae;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 针对手机等小屏设备的媒体查询 */
@media screen and (max-width: 768px) {
    .menu-title {
        font-size: 16px;
    }
}

.menu-title svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.menu-list {
    list-style: none;
}

.menu-item {
    border-bottom: 1px solid #e0e0e0;
}

.menu-item a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.menu-item a:hover,
.menu-item a.active {
    background: #f0f7ff;
    color: #1e50ae;
}

/* 右侧内容样式 */
.content {
    flex: 1;
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px;
    width: 100%;
}

.content-title {
    padding-bottom: 15px;
    border-bottom: 2px solid #1e50ae;
    margin-bottom: 20px;
    font-size: 20px;
    color: #1e50ae;
}

@media screen and (max-width: 768px) {
    .content-title {
        font-size: 16px;
        line-height: 1.6;
    }
}

.news-list {
    list-style: none;
}

.news-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.news-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
    margin-right: 20px;
    font-size: 18px;
}

/* 针对手机等小屏设备的媒体查询 */
@media screen and (max-width: 768px) {
    .news-item a {
        font-size: 16px;
    }
}

.news-item a:hover {
    color: #1e50ae;
}

.news-date {
    color: #999;
    font-size: 16px;
}

/* 隐藏所有内容区域 */
.content-section {
    display: none;
}

/* 显示激活的内容区域 */
.content-section.active {
    display: block;
}

/* 分页按钮样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    font-family: "Microsoft YaHei", sans-serif;
}

.pagination-link {
    min-width: 60px;
    height: 32px;
    margin: 0 4px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #666;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}

.pagination-link:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.pagination-link.disabled {
    border-color: #d9d9d9;
    background: #f5f5f5;
    color: #d9d9d9;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-info {
    margin: 0 12px;
    color: #666;
    font-size: 14px;
}