/* --- 全局重置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
}

:root {
    --primary-color: #0056b3; /* 核心蓝 */
    --bg-color: #f4f6f9;
    --text-color: #333;
    --card-header-height: 45px; /* 卡片标题高度 */
    --card-body-height: 280px;  /* 卡片内容高度 (用于对齐) */
    /* 轮播图高度 = 标题高 + 内容高 + 上下边框修正(如果有) */
    --carousel-height: calc(var(--card-header-height) + var(--card-body-height)); 
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* 通用容器限制 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- 头部区域 (Div布局) --- */
.header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 3px solid var(--primary-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 48px;
    margin-right: 15px;
    color: var(--primary-color);
}

.site-name h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: bold;
}

.site-name p {
    font-size: 16px;
    color: #555;
    letter-spacing: 2px;
}

.search-wrap {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-wrap input {
    border: none;
    padding: 8px 10px;
    outline: none;
    font-size: 14px;
}

.search-wrap button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* --- 导航栏 (Div布局) --- */
.nav-bar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
}

.nav-list li {
    flex: 1;
    text-align: center;
    min-width: 80px;
}

.nav-list a {
    display: block;
    color: white;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 500;
}

.nav-list a:hover {
    background-color: rgba(255,255,255,0.15);
}

/* --- 主体内容区 --- */
.main-wrap {
    margin-top: 20px;
    margin-bottom: 40px;
}

/* --- 卡片通用样式 --- */
.info-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* 确保卡片自身高度在不同布局下撑满 */
    height: 100%; 
}

.card-top {
    height: var(--card-header-height);
    background-color: #fafafa;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-top h3 {
    font-size: 18px;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    line-height: 1.2;
}

.card-top .more-btn {
    font-size: 12px;
    color: #999;
}

/* 内容滚动区域 */
.card-content {
    height: var(--card-body-height);
    overflow-y: auto;
    padding: 10px 15px;
}

/* 滚动条美化 */
.card-content::-webkit-scrollbar {
    width: 6px;
}
.card-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}
.card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* 列表样式 */
.list-group li {
    border-bottom: 1px dashed #eee;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-group li:last-child {
    border-bottom: none;
}

.list-group a {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    font-size: 14px;
}

.list-group .time {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

/* --- 顶部 Hero 区域 (轮播 + 通知) --- */
.hero-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* 左宽右窄 */
    gap: 20px;
    margin-bottom: 20px;
}

/* 轮播图容器 */
.carousel-box {
    position: relative;
    /* 强制高度与右侧卡片总高度一致 */
    height: var(--carousel-height); 
    background: #333;
    border-radius: 6px;
    overflow: hidden;
}

.c-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #ccc;
    /* Flex 居中替代图片 */
    display: flex; 
    align-items: center;
    justify-content: center;
}

/* 用于充当图片的色块 */
.bg-block {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.c-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: left;
}

/* 轮播按钮 */
.c-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}
.btn-prev { left: 0; }
.btn-next { right: 0; }
.c-btn:hover { background: rgba(0,0,0,0.7); }

/* --- 下方 Grid 区域 --- */
.grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC端3列 */
    gap: 20px;
}

/* --- 底部 (Div布局) --- */
.footer-box {
    background-color: #2c3e50;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    margin-top: 20px;
}
.footer-box p {
    margin: 5px 0;
    font-size: 14px;
}

/* --- 响应式适配 --- */

/* 平板 (iPad 等) */
@media (max-width: 992px) {
    .grid-row {
        grid-template-columns: repeat(2, 1fr); /* 2列 */
    }
    .hero-row {
        grid-template-columns: 1fr 1fr; /* 1:1 */
    }
}

/* 手机 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-wrap {
        margin-top: 15px;
        width: 100%;
    }
    .search-wrap input {
        flex: 1;
    }
    
    .nav-list {
        flex-direction: column;
    }
    .nav-list li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hero-row {
        grid-template-columns: 1fr; /* 单列 */
    }
    
    /* 手机端稍微减小高度，避免太长 */
    .carousel-box, .card-content {
        height: 220px; 
    }
    :root {
        --carousel-height: 265px; /* 重新计算手机端对齐高度 */
    }
    
    .grid-row {
        grid-template-columns: 1fr; /* 单列 */
    }
}

/* --- 全局重置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0056b3; /* 主色调：深蓝 */
    --accent-color: #e6f0fa;  /* 辅色调：浅蓝背景 */
    --text-color: #333;       /* 主文本色 */
    --light-text: #666;       /* 次文本色 */
    --border-color: #ddd;     /* 边框色 */
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    background-color: #f4f6f9;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 卡片通用样式 */
.card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

/* --- 顶部导航条 --- */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left a {
    margin-right: 15px;
    color: #fff;
    opacity: 0.9;
}
.top-left a:hover { opacity: 1; text-decoration: underline; }

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 搜索框 */
.search-wrap {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 2px 10px;
    align-items: center;
}

.search-wrap input {
    border: none;
    outline: none;
    font-size: 12px;
    width: 140px;
}

.search-wrap button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- 头部 Logo 区 --- */
.header-box {
    background-color: #fff;
    padding: 25px 0;
    border-bottom: 3px solid var(--primary-color);
}

.header-inner {
    display: flex;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 50px;
    color: var(--primary-color);
}

.site-info h1 {
    font-size: 26px;
    color: var(--primary-color);
    line-height: 1.2;
}

.site-info p {
    font-size: 16px;
    color: #555;
    letter-spacing: 2px;
}

/* --- 主导航栏 --- */
.nav-box {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
}

.nav-list li {
    flex: 1;
    text-align: center;
    min-width: 80px;
}

.nav-list a {
    display: block;
    color: #fff;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
}

.nav-list a:hover, .nav-list a.active {
    background-color: rgba(255,255,255,0.15);
    font-weight: bold;
}

/* --- 面包屑导航 --- */
.crumb-box {
    padding: 15px 0;
    color: #666;
    font-size: 13px;
}
.crumb-box span {
    color: #999;
}

/* --- 页面主体布局 (左右栏) --- */
.page-layout {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start; /* 顶部对齐 */
}

/* 左侧边栏 */
.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-title {
    background-color: #fafafa;
    padding: 12px 15px;
    font-size: 16px;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    border-left: 4px solid var(--primary-color);
}

.sidebar-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: #444;
    transition: all 0.2s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding-left: 25px; /* 悬停右移效果 */
}

.contact-box {
    padding: 15px;
}

.contact-box p {
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
    display: flex;
    gap: 8px;
}

.contact-box i {
    color: var(--primary-color);
    width: 16px;
}

/* 右侧主内容 */
.main-content {
    flex: 1;
    /* 解决 flex 子元素溢出问题 */
    min-width: 0; 
}

.content-title {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.content-title h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.title-bar {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* 章节通用 */
.section-box {
    padding: 25px;
}

.sec-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    color: var(--primary-color);
    font-size: 18px;
}

.sec-body {
    color: #444;
    line-height: 1.8;
}

.sec-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* 图片容器 */
.img-wrap {
    text-align: center;
    margin: 20px 0;
}
.img-wrap img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.img-caption {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    text-indent: 0 !important;
}

/* 工作理念 Grid */
.idea-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.idea-item {
    display: flex;
    gap: 15px;
    background: #fcfcfc;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.idea-icon {
    font-size: 24px;
    color: var(--primary-color);
    background: var(--accent-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.idea-text h4 {
    margin-bottom: 5px;
    color: #333;
}

.idea-text p {
    font-size: 13px;
    color: #666;
    text-indent: 0;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 职责列表 */
.duty-list .duty-row {
    margin-bottom: 15px;
    background: #f9f9f9;
    padding: 15px;
    border-left: 3px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.duty-row h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.duty-row p {
    text-indent: 0;
    margin-bottom: 0;
    font-size: 14px;
}

/* --- 底部区域 --- */
.footer-box {
    background-color: #333;
    color: #ccc;
    padding: 30px 0;
    margin-top: 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.foot-left h4, .foot-right h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.foot-left p {
    margin-bottom: 8px;
    font-size: 13px;
}

.foot-right ul li {
    margin-bottom: 8px;
}

.foot-right a {
    color: #aaa;
    font-size: 13px;
}
.foot-right a:hover { color: #fff; text-decoration: underline; }

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
}

/* --- 响应式适配 --- */
@media (max-width: 768px) {
    .top-bar-inner, .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .top-right { width: 100%; justify-content: space-between; }
    .search-wrap { width: 100%; }
    .search-wrap input { flex: 1; }

    .nav-list { flex-direction: column; }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }

    .page-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .idea-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }
}

/* --- 全局重置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0056b3; /* 主色调：深蓝 */
    --accent-color: #e6f0fa;  /* 辅色调：浅蓝背景 */
    --text-color: #333;       /* 主文本色 */
    --light-text: #666;       /* 次文本色 */
    --border-color: #ddd;     /* 边框色 */
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    background-color: #f4f6f9;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 卡片通用样式 */
.card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

/* --- 顶部导航条 --- */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left a {
    margin-right: 15px;
    color: #fff;
    opacity: 0.9;
}
.top-left a:hover { opacity: 1; text-decoration: underline; }

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 搜索框 */
.search-wrap {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 2px 10px;
    align-items: center;
}

.search-wrap input {
    border: none;
    outline: none;
    font-size: 12px;
    width: 140px;
}

.search-wrap button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- 头部 Logo 区 --- */
.header-box {
    background-color: #fff;
    padding: 25px 0;
    border-bottom: 3px solid var(--primary-color);
}

.header-inner {
    display: flex;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 50px;
    color: var(--primary-color);
}

.site-info h1 {
    font-size: 26px;
    color: var(--primary-color);
    line-height: 1.2;
}

.site-info p {
    font-size: 16px;
    color: #555;
    letter-spacing: 2px;
}

/* --- 主导航栏 --- */
.nav-box {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
}

.nav-list li {
    flex: 1;
    text-align: center;
    min-width: 80px;
}

.nav-list a {
    display: block;
    color: #fff;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
}

.nav-list a:hover, .nav-list a.active {
    background-color: rgba(255,255,255,0.15);
    font-weight: bold;
}

/* --- 面包屑导航 --- */
.crumb-box {
    padding: 15px 0;
    color: #666;
    font-size: 13px;
}
.crumb-box span {
    color: #999;
}

/* --- 页面主体布局 (左右栏) --- */
.page-layout {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start; /* 顶部对齐 */
}

/* 左侧边栏 */
.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-title {
    background-color: #fafafa;
    padding: 12px 15px;
    font-size: 16px;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: #444;
    transition: all 0.2s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding-left: 25px;
}

/* 热门下载列表 */
.hot-list {
    padding: 10px;
}

.hot-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.hot-item:last-child { border-bottom: none; }

.hot-icon {
    font-size: 24px;
    color: #888;
    background: #f0f0f0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.hot-info {
    flex: 1;
    overflow: hidden;
}

.hot-info h5 {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.hot-info span {
    font-size: 12px;
    color: #999;
}

/* 右侧主内容 */
.main-list-area {
    flex: 1;
    min-width: 0;
}

/* 筛选栏 */
.filter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label { color: #666; font-weight: bold; }

.filter-tag {
    padding: 4px 12px;
    border-radius: 15px;
    color: #555;
    font-size: 13px;
}
.filter-tag:hover, .filter-tag.active {
    background-color: var(--primary-color);
    color: #fff;
}

.filter-select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
}

/* 列表项 */
.list-box {
    padding: 10px 0;
}

.list-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.list-item:hover { background-color: #fafafa; }

.item-thumb {
    width: 180px;
    height: 120px;
    background-color: #eee;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 12px;
    border-radius: 4px;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    color: #fff;
    align-self: flex-start;
    margin-bottom: 5px;
}
.tag-important { background-color: #e74c3c; }
.tag-normal { background-color: #3498db; }
.tag-urgent { background-color: #f39c12; }
.tag-notice { background-color: #2ecc71; }

.item-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}
.item-title:hover { color: var(--primary-color); }

.item-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 15px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    gap: 5px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    border-radius: 4px;
}
.page-btn:hover, .page-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.page-dots { padding: 6px 10px; color: #999; }

/* --- 底部区域 --- */
.footer-box {
    background-color: #333;
    color: #ccc;
    padding: 30px 0;
    margin-top: 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.foot-left h4, .foot-right h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.foot-left p {
    margin-bottom: 8px;
    font-size: 13px;
}

.foot-right ul li {
    margin-bottom: 8px;
}

.foot-right a {
    color: #aaa;
    font-size: 13px;
}
.foot-right a:hover { color: #fff; text-decoration: underline; }

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
}

/* --- 响应式适配 --- */
@media (max-width: 768px) {
    .top-bar-inner, .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .top-right { width: 100%; justify-content: space-between; }
    .search-wrap { width: 100%; }
    .search-wrap input { flex: 1; }

    .nav-list { flex-direction: column; }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }

    .page-layout { flex-direction: column; }
    .sidebar { width: 100%; }

    .filter-box { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    .list-item { flex-direction: column; }
    .item-thumb { width: 100%; height: 160px; margin-bottom: 15px; margin-right: 0; }
    
    .footer-inner { flex-direction: column; }
}

/* --- 全局重置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0056b3; /* 主色调：深蓝 */
    --accent-color: #e6f0fa;  /* 辅色调：浅蓝背景 */
    --text-color: #333;       /* 主文本色 */
    --light-text: #666;       /* 次文本色 */
    --border-color: #ddd;     /* 边框色 */
    --highlight-color: #d32f2f; /* 搜索高亮色 */
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    background-color: #f4f6f9;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 卡片通用样式 */
.card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

/* --- 顶部导航条 --- */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left a {
    margin-right: 15px;
    color: #fff;
    opacity: 0.9;
}
.top-left a:hover { opacity: 1; text-decoration: underline; }

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 顶部搜索框 (小) */
.top-search {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 2px 10px;
    align-items: center;
}

.top-search input {
    border: none;
    outline: none;
    font-size: 12px;
    width: 140px;
}

.top-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- 头部 Logo 区 --- */
.header-box {
    background-color: #fff;
    padding: 25px 0;
    border-bottom: 3px solid var(--primary-color);
}

.header-inner {
    display: flex;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 50px;
    color: var(--primary-color);
}

.site-info h1 {
    font-size: 26px;
    color: var(--primary-color);
    line-height: 1.2;
}

.site-info p {
    font-size: 16px;
    color: #555;
    letter-spacing: 2px;
}

/* --- 主导航栏 --- */
.nav-box {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
}

.nav-list li {
    flex: 1;
    text-align: center;
    min-width: 80px;
}

.nav-list a {
    display: block;
    color: #fff;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
}

.nav-list a:hover, .nav-list a.active {
    background-color: rgba(255,255,255,0.15);
    font-weight: bold;
}

/* --- 面包屑导航 --- */
.crumb-box {
    padding: 15px 0;
    color: #666;
    font-size: 13px;
}
.crumb-box span {
    color: #999;
}

/* --- 搜索结果页布局 --- */
.search-content {
    margin-bottom: 40px;
}

/* 搜索头部统计区 */
.result-header {
    padding: 20px 25px;
}

.search-info h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.keyword {
    color: var(--highlight-color);
    font-weight: bold;
    margin: 0 5px;
}

.result-count {
    font-size: 13px;
    color: #888;
}

/* 筛选控制栏 */
.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    flex-wrap: wrap;
}

.filter-label {
    color: #666;
    font-weight: bold;
    font-size: 13px;
}

.filter-group a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    color: #555;
    margin-right: 5px;
}

.filter-group a:hover, .filter-group a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.sort-group {
    margin-left: auto; /* 推到右侧 */
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-group a {
    font-size: 13px;
    color: #666;
}
.sort-group a.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* 搜索结果列表 */
.result-list {
    padding: 10px 25px;
}

.result-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.result-item:last-child { border-bottom: none; }

.res-title {
    font-size: 18px;
    margin-bottom: 8px;
}
.res-title a {
    color: #0042b5; /* 经典搜索蓝 */
    text-decoration: underline;
}
.res-title a:hover { color: var(--highlight-color); }

.res-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.highlight {
    color: var(--highlight-color);
    font-weight: bold;
}

.res-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.meta-url {
    color: #006621; /* 经典URL绿 */
    font-family: Arial, sans-serif;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    gap: 5px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    border-radius: 4px;
}
.page-btn:hover, .page-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 相关推荐 */
.recommend-box {
    padding: 20px 25px;
}

.rec-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.rec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rec-item {
    background-color: #f5f5f5;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
}
.rec-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- 底部区域 --- */
.footer-box {
    background-color: #333;
    color: #ccc;
    padding: 30px 0;
    margin-top: 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.foot-left h4, .foot-right h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.foot-left p {
    margin-bottom: 8px;
    font-size: 13px;
}

.foot-right ul li {
    margin-bottom: 8px;
}

.foot-right a {
    color: #aaa;
    font-size: 13px;
}
.foot-right a:hover { color: #fff; text-decoration: underline; }

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
}

/* --- 响应式适配 --- */
@media (max-width: 768px) {
    .top-bar-inner, .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .top-right { width: 100%; justify-content: space-between; }
    .top-search { width: 100%; }
    .top-search input { flex: 1; }

    .nav-list { flex-direction: column; }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }

    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .sort-group { margin-left: 0; }

    .footer-inner { flex-direction: column; }
}
/* --- 全局重置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0056b3; /* 主色调：深蓝 */
    --accent-color: #e6f0fa;  /* 辅色调：浅蓝背景 */
    --text-color: #333;       /* 主文本色 */
    --light-text: #666;       /* 次文本色 */
    --border-color: #ddd;     /* 边框色 */
    --highlight-color: #d32f2f; /* 搜索高亮色 */
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    background-color: #f4f6f9;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 卡片通用样式 */
.card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

/* --- 顶部导航条 --- */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left a {
    margin-right: 15px;
    color: #fff;
    opacity: 0.9;
}
.top-left a:hover { opacity: 1; text-decoration: underline; }

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 顶部搜索框 (小) */
.top-search {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 2px 10px;
    align-items: center;
}

.top-search input {
    border: none;
    outline: none;
    font-size: 12px;
    width: 140px;
}

.top-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- 头部 Logo 区 --- */
.header-box {
    background-color: #fff;
    padding: 25px 0;
    border-bottom: 3px solid var(--primary-color);
}

.header-inner {
    display: flex;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 50px;
    color: var(--primary-color);
}

.site-info h1 {
    font-size: 26px;
    color: var(--primary-color);
    line-height: 1.2;
}

.site-info p {
    font-size: 16px;
    color: #555;
    letter-spacing: 2px;
}

/* --- 主导航栏 --- */
.nav-box {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
}

.nav-list li {
    flex: 1;
    text-align: center;
    min-width: 80px;
}

.nav-list a {
    display: block;
    color: #fff;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
}

.nav-list a:hover, .nav-list a.active {
    background-color: rgba(255,255,255,0.15);
    font-weight: bold;
}

/* --- 面包屑导航 --- */
.crumb-box {
    padding: 15px 0;
    color: #666;
    font-size: 13px;
}
.crumb-box span {
    color: #999;
}

/* --- 搜索结果页布局 --- */
.search-content {
    margin-bottom: 40px;
}

/* 搜索头部统计区 */
.result-header {
    padding: 20px 25px;
}

.search-info h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.keyword {
    color: var(--highlight-color);
    font-weight: bold;
    margin: 0 5px;
}

.result-count {
    font-size: 13px;
    color: #888;
}

/* 筛选控制栏 */
.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    flex-wrap: wrap;
}

.filter-label {
    color: #666;
    font-weight: bold;
    font-size: 13px;
}

.filter-group a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    color: #555;
    margin-right: 5px;
}

.filter-group a:hover, .filter-group a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.sort-group {
    margin-left: auto; /* 推到右侧 */
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-group a {
    font-size: 13px;
    color: #666;
}
.sort-group a.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* 搜索结果列表 */
.result-list {
    padding: 10px 25px;
}

.result-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.result-item:last-child { border-bottom: none; }

.res-title {
    font-size: 18px;
    margin-bottom: 8px;
}
.res-title a {
    color: #0042b5; /* 经典搜索蓝 */
    text-decoration: underline;
}
.res-title a:hover { color: var(--highlight-color); }

.res-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.highlight {
    color: var(--highlight-color);
    font-weight: bold;
}

.res-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.meta-url {
    color: #006621; /* 经典URL绿 */
    font-family: Arial, sans-serif;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    gap: 5px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    border-radius: 4px;
}
.page-btn:hover, .page-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 相关推荐 */
.recommend-box {
    padding: 20px 25px;
}

.rec-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.rec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rec-item {
    background-color: #f5f5f5;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
}
.rec-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- 底部区域 --- */
.footer-box {
    background-color: #333;
    color: #ccc;
    padding: 30px 0;
    margin-top: 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.foot-left h4, .foot-right h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.foot-left p {
    margin-bottom: 8px;
    font-size: 13px;
}

.foot-right ul li {
    margin-bottom: 8px;
}

.foot-right a {
    color: #aaa;
    font-size: 13px;
}
.foot-right a:hover { color: #fff; text-decoration: underline; }

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
}

/* --- 响应式适配 --- */
@media (max-width: 768px) {
    .top-bar-inner, .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .top-right { width: 100%; justify-content: space-between; }
    .top-search { width: 100%; }
    .top-search input { flex: 1; }

    .nav-list { flex-direction: column; }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }

    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .sort-group { margin-left: 0; }

    .footer-inner { flex-direction: column; }
}