
	/* 导航条优化 */
.nav-item {
    position: relative;
    z-index: 100;
}

.sub-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px; /* 加宽下拉框 */
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    padding: 15px;
    border-radius: 0 0 4px 4px;
}

.sub-nav-columns {
    display: flex;
    flex-wrap: wrap;
}

.sub-nav-column {
    flex: 1;
    min-width: 150px;
    padding: 0 10px;
}

.sub-nav-column-title {
    font-weight: bold;
    color: #2a7dc9;
    padding: 5px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.sub-nav-column a {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.sub-nav-column a:hover {
    color: #2a7dc9;
    padding-left: 5px;
}


        /* 基础样式 */
        :root {
            --primary-color: #2a7dc9;
            --secondary-color: #1a6cb9;
            --text-color: #333;
            --light-text: #666;
            --lighter-text: #999;
            --border-color: #eee;
            --bg-color: #f5f5f5;
            --hover-bg: #f9f9f9;
            --white: #fff;
            --shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", Arial, sans-serif;
        }
        
        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            font-size: 14px;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        a {
            text-decoration: none;
            color: var(--text-color);
            transition: all 0.3s ease;
        }
        
        a:hover {
            color: var(--primary-color);
        }
        
        img {
            max-width: 100%;
            height: auto;
        }
        
        /* 头部样式 */
        .header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
            z-index: 100;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo img {
            height: 50px;
            width: auto;
        }
        
        .search-box {
            flex: 1;
            max-width: 500px;
            margin: 0 20px;
            position: relative;
        }
        
        .search-box input {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
            transition: border-color 0.3s;
        }
        
        .search-box input:focus {
            border-color: var(--primary-color);
            outline: none;
        }
        
        .search-box button {
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            padding: 0 15px;
            background-color: var(--primary-color);
            color: var(--white);
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .search-box button:hover {
            background-color: var(--secondary-color);
        }
        
        .user-area a {
            margin-left: 15px;
            color: var(--light-text);
            font-size: 13px;
        }
        
        .user-area a:hover {
            color: var(--primary-color);
        }
        
        /* 导航条 */
        .nav {
            background-color: var(--primary-color);
        }
        
        .nav-list {
            display: flex;
            list-style: none;
        }
        
        .nav-item {
            position: relative;
        }
        
        .nav-item > a {
            display: block;
            padding: 12px 20px;
            color: var(--white);
            font-weight: 500;
        }
        
        .nav-item:hover {
            background-color: var(--secondary-color);
        }
        
        .sub-nav {
            position: absolute;
            top: 100%;
            left: 0;
            width: 200px;
            background-color: var(--white);
            box-shadow: var(--shadow);
            display: none;
            z-index: 10;
            border-radius: 0 0 4px 4px;
            overflow: hidden;
        }
        
        .nav-item:hover .sub-nav {
            display: block;
        }
        
        .sub-nav a {
            display: block;
            padding: 10px 15px;
            color: var(--light-text);
            border-bottom: 1px solid var(--border-color);
            font-size: 13px;
        }
        
        .sub-nav a:hover {
            background-color: var(--hover-bg);
            color: var(--primary-color);
        }
        
        /* 面包屑 */
        .breadcrumb {
            padding: 15px 0;
            font-size: 13px;
            color: var(--lighter-text);
        }
        
        .breadcrumb a {
            color: var(--light-text);
        }
        
        .breadcrumb a:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }
        
        /* 主要内容区 */
        .main-content {
            display: flex;
            margin: 20px 0;
            gap: 20px;
        }
        
        .content-area {
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-content: flex-start;
        }
        
        /* 栏目区块 */
        .channel-section {
            width: calc(50% - 10px);
            background-color: var(--white);
            border-radius: 4px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }
        
        .section-header {
            padding: 12px 15px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: var(--hover-bg);
        }
        
        .section-title {
            font-size: 16px;
            color: var(--primary-color);
            font-weight: bold;
        }
        
        .section-more {
            color: var(--lighter-text);
            font-size: 13px;
        }
        
        .section-more:hover {
            color: var(--primary-color);
        }
        
        /* 文档列表 */
        .doc-list {
            padding: 10px 0;
        }
        
        .doc-item {
            padding: 8px 15px;
            border-bottom: 1px dashed var(--border-color);
            display: flex;
            align-items: center;
            transition: background-color 0.3s;
        }
        
        .doc-item:last-child {
            border-bottom: none;
        }
        
        .doc-item:hover {
            background-color: var(--hover-bg);
        }
        
        .doc-name {
            flex: 1;
            font-size: 14px;
            padding-right: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .doc-name a:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }
        
        .doc-time, .meta {
            color: var(--lighter-text);
            font-size: 12px;
            width: 60px;
            text-align: right;
        }
        
        /* 侧边栏 */
        .sidebar {
            width: 280px;
        }
        
        .sidebar-widget {
            background-color: var(--white);
            border-radius: 4px;
            box-shadow: var(--shadow);
            margin-bottom: 20px;
            overflow: hidden;
        }
        
        .widget-title {
            font-size: 16px;
            padding: 12px 15px;
            margin: 0;
            border-bottom: 1px solid var(--border-color);
            color: var(--primary-color);
            font-weight: bold;
            background-color: var(--hover-bg);
        }
        
        .widget-list {
            list-style: none;
        }
        
        .widget-list li {
            padding: 10px 15px;
            border-bottom: 1px dashed var(--border-color);
            transition: background-color 0.3s;
        }
        
        .widget-list li:last-child {
            border-bottom: none;
        }
        
        .widget-list li:hover {
            background-color: var(--hover-bg);
        }
        
        .widget-list a {
            display: block;
            color: var(--light-text);
        }
        
        .widget-list a:hover {
            color: var(--primary-color);
        }
        
        .widget-list strong {
            display: block;
            margin-bottom: 3px;
            color: var(--text-color);
            font-weight: normal;
        }
        
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            padding: 10px 15px;
            gap: 8px;
        }
        
        .tag {
            padding: 4px 10px;
            background-color: #f0f7ff;
            color: var(--primary-color);
            border-radius: 12px;
            font-size: 12px;
            transition: all 0.3s;
        }
        
        .tag:hover {
            background-color: #d9ebff;
            transform: translateY(-2px);
        }
        
        /* 页脚 */
        .footer {
            background-color: #333;
            color: #999;
            padding: 30px 0;
            font-size: 13px;
            margin-top: 30px;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .footer-links a {
            color: #ccc;
        }
        
        .footer-links a:hover {
            color: var(--white);
            text-decoration: underline;
        }
        
        .copyright {
            text-align: center;
            line-height: 1.8;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .content-area {
                gap: 15px;
            }
            
            .channel-section {
                width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
            }
            
            .header-top {
                flex-direction: column;
                gap: 15px;
            }
            
            .logo {
                margin-bottom: 5px;
            }
            
            .search-box {
                width: 100%;
                margin: 0 0 10px 0;
            }
            
            .user-area {
                width: 100%;
                display: flex;
                justify-content: center;
            }
            
            .nav-list {
                flex-wrap: wrap;
            }
            
            .nav-item {
                flex: 1 0 auto;
            }
            
            .nav-item > a {
                padding: 10px 5px;
                text-align: center;
                font-size: 13px;
            }
            
            .sub-nav {
                width: 100%;
                position: static;
                display: none;
            }
            
            .nav-item:hover .sub-nav {
                display: block;
            }
        }

/* 基础样式 */
:root {
    --primary-color: #009688;
    --secondary-color: #ff5722;
    --text-color: #333;
    --light-text: #777;
    --bg-color: #f8f8f8;
    --border-color: #e7e7e7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 顶栏样式 */
.topbar {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    width: 100%;
    position: relative;
    z-index: 1000;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.topbar-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.logo-link {
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 15px;
    font-size: 16px;
}

.slogan {
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.menu-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 8px;
    transition: color 0.3s;
    white-space: nowrap;
}

.menu-link:hover {
    color: var(--primary-color);
}

.sign-link {
    color: #f44336 !important;
    font-weight: 500;
}

.menu-divider {
    color: #ccc;
    padding: 0 2px;
}

.site-map {
    color: var(--primary-color);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .topbar-left {
        margin-bottom: 8px;
        width: 100%;
    }
    
    .slogan {
        display: none;
    }
    
    .topbar-menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .menu-divider {
        display: none;
    }
    
    .menu-link {
        padding: 5px 0;
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .topbar-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-link {
        padding: 3px 0;
        text-align: left;
        width: 100%;
    }
}