/* ===== 修正后的页脚样式 ===== */
footer {
    background-color: #2c3e50; /* 深色背景 */
    color: #ecf0f1;
    padding: 40px 0 20px;
    clear: both; /* 清除浮动，防止布局错乱 */
    margin-top: 50px; /* 与内容区保持距离 */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* 添加间隙避免内容拥挤 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-section {
    flex: 1;
    min-width: 200px; /* 确保在小屏幕下也能正常显示 */
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #3498db; /* 标题颜色 */
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e; /* 分割线 */
    color: #7f8c8d;
    font-size: 0.9em;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    .footer-section {
        flex: 100%;
    }
}
        /* 全局样式 - 与首页保持一致 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", Arial, sans-serif;
        }
        
        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: #0066cc;
        }
        
        a:hover {
            text-decoration: underline;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 头部样式 - 与首页保持一致 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #0066cc;
        }
        
        /* 导航栏 - 与首页保持一致 */
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 20px;
        }
        
        nav ul li a {
            color: #555;
            font-weight: 500;
        }
        
        /* 面包屑导航 */
        .breadcrumb {
            padding: 15px 0;
            font-size: 14px;
            color: #666;
        }
        
        .breadcrumb a {
            color: #0066cc;
        }
        
        .breadcrumb span {
            margin: 0 5px;
            color: #999;
        }
        
        /* 列表页主要内容 */
        .list-main {
            display: flex;
            margin: 20px 0 40px;
        }
        
        .list-content {
            flex: 3;
            margin-right: 30px;
        }
        
        .list-sidebar {
            flex: 1;
        }
        
        /* 分类标题 */
        .category-header {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .category-header h1 {
            color: #0066cc;
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .category-header p {
            color: #666;
            font-size: 15px;
        }
        
        /* 词条列表 */
        .entry-list {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 20px;
        }
        
        .list-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .list-header h2 {
            color: #444;
            font-size: 20px;
        }
        
        .sort-options select {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: #fff;
            font-size: 14px;
        }
        
        .entry-item {
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .entry-item:last-child {
            border-bottom: none;
        }
        
        .entry-title {
            font-size: 18px;
            margin-bottom: 8px;
        }
        
        .entry-title a {
            color: #0066cc;
        }
        
        .entry-summary {
            color: #666;
            font-size: 14px;
            margin-bottom: 10px;
            line-height: 1.5;
        }
        
        .entry-meta {
            display: flex;
            font-size: 12px;
            color: #999;
        }
        
        .entry-meta span {
            margin-right: 15px;
        }
        
        /* 分页 */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .pagination a, .pagination span {
            display: inline-block;
            padding: 8px 15px;
            margin: 0 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            color: #0066cc;
        }
        
        .pagination a:hover {
            background-color: #f0f0f0;
            text-decoration: none;
        }
        
        .pagination .current {
            background-color: #0066cc;
            color: #fff;
            border-color: #0066cc;
        }
        
        .pagination .disabled {
            color: #ccc;
            pointer-events: none;
        }
        
        /* 侧边栏 */
        .sub-categories {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .sub-categories h3 {
            color: #444;
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .sub-categories ul {
            list-style: none;
        }
        
        .sub-categories ul li {
            margin-bottom: 8px;
        }
        
        .sub-categories ul li a {
            color: #555;
            display: block;
            padding: 8px 10px;
            border-radius: 4px;
        }
        
        .sub-categories ul li a:hover {
            background-color: #f0f0f0;
            text-decoration: none;
        }
        
        .related-links {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 20px;
        }
        
        .related-links h3 {
            color: #444;
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .related-links ul {
            list-style: none;
        }
        
        .related-links ul li {
            margin-bottom: 10px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .list-main {
                flex-direction: column;
            }
            
            .list-content {
                margin-right: 0;
                margin-bottom: 30px;
            }
            
            .header-container {
                flex-direction: column;
            }
            
            nav ul {
                margin-top: 15px;
            }
        }