/* ==========================================================================
   导航条大容器
   ========================================================================== */
.nav-container {
    background-color: #1a1a1a; /* 导航条背景色：深灰（可自行修改） */
    display: flex;             /* 让导航项横向排成一排 */
    align-items: center;       /* 垂直居中对齐 */
    padding: 0 30px;           /* 左右内边距 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   每一个导航单项的包裹块 (含首页和后台循环出来的项)
   ========================================================================== */
.nav-group {
    position: relative;        /* 核心：为二级下拉菜单提供定位基准 */
}

/* ==========================================================================
   一级导航链接 (同时作用于“首页”和后台一级的 <a> 标签)
   ========================================================================== */
.nav-group > a {
    display: block;
    color: #ffffff;            /* 文字颜色：白色 */
    text-decoration: none;     /* 去除下划线 */
    padding: 20px 25px;        /* 导航的高度和左右间距 */
    font-size: 16px;           /* 字体大小 */
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s; /* 平滑过渡动画 */
}

/* 一级导航鼠标悬停效果 */
.nav-group > a:hover {
    background-color: #2980b9; /* 悬停背景色：蓝色 */
    color: #ffffff;
}

/* ==========================================================================
   二级下拉菜单外壳 (默认隐藏)
   ========================================================================== */
.nav-dropdown {
    display: none;             /* 默认隐藏 */
    position: absolute;        /* 绝对定位 */
    top: 100%;                 /* 紧贴在一级导航的正下方 */
    left: 0;                   /* 靠左对齐 */
    background-color: #ffffff; /* 下拉菜单背景色：白色 */
    min-width: 150px;          /* 下拉菜单最小宽度 */
    box-shadow: 0 8px 16px rgba(0,0,0,0.15); /* 阴影效果 */
    z-index: 999;              /* 确保显示在最上层 */
}

/* 核心：当鼠标悬停在 .nav-group 上时，显示它里面的 .nav-dropdown */
.nav-group:hover .nav-dropdown {
    display: block;
}

/* ==========================================================================
   二级导航内部的链接 <a> 标签
   ========================================================================== */
.nav-dropdown a {
    display: block;
    color: #333333;            /* 文字颜色：深灰 */
    text-decoration: none;
    padding: 12px 20px;        /* 二级菜单的上下左右间距 */
    font-size: 14px;
    white-space: nowrap;       /* 强制文字不换行，防止宽度不足时变两行 */
    transition: background-color 0.2s, color 0.2s;
}

/* 二级导航鼠标悬停效果 */
.nav-dropdown a:hover {
    background-color: #f5f5f5; /* 悬停背景色：浅灰 */
    color: #2980b9;            /* 悬停文字颜色：蓝色 */
}



/* ==========================================================================
   当前激活状态 (Active States) 样式
   ========================================================================== */

/* 1. 顶级导航（一级菜单）当前激活状态 */
.nav-group > a.active {
    background-color: #2980b9; /* 激活时的背景色（示例为蓝色） */
    color: #ffffff;            /* 激活时的文字颜色 */
    font-weight: bold;         /* 字体加粗 */
}

/* 2. 二级导航（下拉菜单）当前激活状态 */
.nav-dropdown a.active2 {
    background-color: #e3f2fd; /* 二级激活时的背景色（示例为极浅蓝） */
    color: #2980b9;            /* 二级激活时的文字颜色（与一级主题呼应） */
    font-weight: bold;         /* 字体加粗 */
}



/* ==========================================================================
   页脚基础容器
   ========================================================================== */
.site-footer {
    background-color: #1a1a1a;  /* 页脚背景色：深灰（与之前的导航呼应） */
    color: #8c8c8c;             /* 文字颜色：浅灰，符合页脚视觉规范 */
    padding: 30px 0;            /* 上下内边距，保持呼吸感 */
    font-size: 14px;            /* 页脚字体略小，突出主次 */
    border-top: 1px solid #2d2d2d; /* 顶部精致分割线 */
}

/* ==========================================================================
   内部布局容器
   ========================================================================== */
.footer-container {
    max-width: 1200px;          /* 限制最大宽度，与网页主体对齐 */
    margin: 0 auto;             /* 居中对齐 */
    padding: 0 30px;            /* 左右留白防止贴边 */
    display: flex;              /* 弹性布局 */
    justify-content: space-between; /* 左右两端对齐 */
    flex-wrap: wrap;            /* 兼容小屏幕自动换行 */
    gap: 15px;                  /* 换行时的间距 */
}

/* ==========================================================================
   备案号链接样式
   ========================================================================== */
.footer-container .icp-no {
    color: #8c8c8c;
    text-decoration: none;      /* 去除默认下划线 */
    transition: color 0.3s ease;
}

/* 鼠标悬停在备案号上时变色（示例为之前导航的蓝色） */
.footer-container .icp-no:hover {
    color: #2980b9; 
}

/* ==========================================================================
   移动端极简适配
   ========================================================================== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* 手机端变成上下堆叠 */
        text-align: center;     /* 文字整体居中 */
        justify-content: center;
    }
}
/* ==========================================================================
   页脚基础容器
   ========================================================================== */
.site-footer {
    background-color: #1a1a1a;  /* 页脚背景色：深灰 */
    color: #8c8c8c;             /* 文字颜色：浅灰 */
    padding: 30px 0;            /* 上下内边距 */
    font-size: 14px;            /* 字体大小 */
    border-top: 1px solid #2d2d2d; /* 顶部精致分割线 */
}

/* ==========================================================================
   内部三列弹性布局容器
   ========================================================================== */
.footer-container {
    max-width: 1200px;          /* 最大宽度 */
    margin: 0 auto;             /* 居中 */
    padding: 0 30px;            /* 左右留白 */
    display: flex;              /* 弹性布局 */
    justify-content: space-between; /* 三个元素在整行等间距两端对齐 */
    align-items: center;        /* 垂直方向居中对齐 */
    flex-wrap: wrap;            /* 允许小屏幕换行 */
    gap: 15px;                  /* 换行时的行间距 */
}

/* ==========================================================================
   通用链接基础样式与悬停效果 (作用于邮箱和备案号)
   ========================================================================== */
.footer-container a {
    color: #8c8c8c;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 鼠标悬停时，链接变成和导航一致的蓝色 */
.footer-container a:hover {
    color: #2980b9; 
}

/* ==========================================================================
   移动端（手机）响应式适配
   ========================================================================== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* 手机端由一横排变成上下堆叠 */
        text-align: center;     /* 文字整体居中 */
    }
    
    .footer-item {
        width: 100%;            /* 撑满整行间距 */
    }
}




/* ==========================================================================
   列表页基础与面包屑导航
   ========================================================================== */
/* 页面主体容器，限制最大宽度并居中 */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 12px 0;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 分隔符样式 */
.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
    user-select: none;
}

/* ==========================================================================
   文章列表与卡片布局
   ========================================================================== */
/* 列表包装容器 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 卡片之间的间距 */
}

/* 单个文章卡片 */
.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 空内容提示样式 */
.empty-tips {
    padding: 40px;
    text-align: center;
    color: #999;
    font-size: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

/* ==========================================================================
   图片与图文排版
   ========================================================================== */
/* 左侧封面图容器 */
.article-cover-wrap {
    flex-shrink: 0;
    width: 200px;
    height: 125px;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
}

/* 封面图片本身 */
.article-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图片等比例裁剪填满，不变形 */
    transition: transform 0.3s ease;
}

.article-item:hover .article-cover-wrap img {
    transform: scale(1.05); /* 悬浮时图片轻微放大 */
}

/* 右侧内容区 */
.article-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==========================================================================
   标题与元数据
   ========================================================================== */
/* 文章标题行 */
.article-title-bar {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* 分类标签 */
.category-badge {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    background-color: #28a745; /* 绿色分类标签 */
    border-radius: 4px;
    text-decoration: none;
    vertical-align: middle;
}

.category-badge:hover {
    background-color: #218838;
}

/* 文章详情链接 */
.article-title-link {
    color: #222;
    text-decoration: none;
    vertical-align: middle;
}

.article-title-link:hover {
    color: #007bff;
}

/* 浏览量与时间等元数据 */
.article-meta {
    display: inline-block;
    margin-left: 15px;
    font-size: 13px;
    font-weight: normal;
    color: #999;
    vertical-align: middle;
}

.article-meta span {
    margin-right: 12px;
}

/* 文章摘要描述 */
.article-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制最多显示两行，超出省略号 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   移动端响应式适配 (屏幕小于 768px 时生效)
   ========================================================================== */
@media (max-width: 768px) {
    .article-item {
        flex-direction: column; /* 手机端变成上下结构 */
        gap: 12px;
        padding: 15px;
    }

    .article-cover-wrap {
        width: 100%; /* 移动端图片撑满宽度 */
        height: 180px;
    }

    .article-title-bar {
        font-size: 16px;
    }

    .article-meta {
        display: block; /* 元数据换行显示 */
        margin-left: 0;
        margin-top: 5px;
    }
}





/* ==========================================================================
   全新高级质感内容页样式（已集成时间、浏览量美化）
   ========================================================================== */

/* 全局底色与字体规范 */
.art-page-wrapper {
    background-color: #f8fafc; /* 极淡的灰蓝色背景，衬托内容卡片 */
    padding: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 核心内容卡片容器 */
.art-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); /* 极其自然的微阴影 */
}

/* 面包屑导航样式 */
.art-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 25px;
}
.art-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.art-breadcrumb a:hover {
    color: #3b82f6; /* 现代科技蓝 */
}
.art-breadcrumb-sep {
    margin: 0 8px;
    color: #cbd5e1;
}

/* 文章大标题 */
.art-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a; /* 更有质感的深墨色 */
    margin: 0 0 16px 0;
}

/* 新增：文章时间、浏览量元数据栏样式 */
.art-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #64748b; /* 优雅的轻灰色 */
    margin-bottom: 28px;
    padding-bottom: 4px;
}
.art-meta-item {
    display: inline-flex;
    align-items: center;
}
.art-meta-label {
    color: #94a3b8; /* 标签文字略淡 */
}
.art-meta-value {
    color: #475569; /* 数据内容略深，突出重点 */
    font-weight: 500;
}
.art-meta-split {
    color: #e2e8f0; /* 细腻的分隔线 */
    user-select: none;
}

/* 文章摘要区域（轻量化小卡片设计） */
.art-summary {
    display: flex;
    gap: 15px;
    padding: 16px 20px;
    background-color: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 35px;
}
.art-summary-label {
    flex-shrink: 0;
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    height: 18px;
    line-height: 18px;
    font-weight: bold;
}
.art-summary-text {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* 文章大封面图 */
.art-main-cover {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 35px;
}
.art-main-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* 正文排版优化（专为富文本设计） */
.art-content {
    font-size: 17px; /* 黄金阅读字号 */
    color: #334155;
    line-height: 1.85;
    letter-spacing: 0.5px;
}
.art-content p {
    margin-bottom: 24px;
    text-align: justify;
}
/* 正文内的富文本图片自适应 */
.art-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* 正文小标题美化 */
.art-content h2, .art-content h3 {
    color: #0f172a;
    margin: 40px 0 20px;
    font-weight: 600;
}
.art-content h2 {
    font-size: 24px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

/* 上一篇 / 下一篇 现代卡片双栏导航 */
.art-pagination {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}
.art-page-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.art-page-btn:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}
.art-btn-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.art-btn-title {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 长标题自动变省略号 */
}
.art-next-btn {
    text-align: right;
}

/* ==========================================================================
   移动端响应式适配
   ========================================================================== */
@media (max-width: 768px) {
    .art-page-wrapper {
        padding: 0;
    }
    .art-container {
        padding: 20px;
        border-radius: 0; /* 手机端撑满，取消圆角 */
    }
    .art-title {
        font-size: 26px;
    }
    /* 手机端元数据稍微收缩一点 */
    .art-meta {
        font-size: 13px;
        margin-bottom: 20px;
        flex-wrap: wrap; /* 空间不够时允许换行 */
        gap: 10px;
    }
    .art-meta-split {
        display: none; /* 手机端换行，隐去竖线分隔符 */
    }
    .art-summary {
        flex-direction: column;
        gap: 8px;
    }
    .art-pagination {
        flex-direction: column;
        gap: 12px;
    }
    .art-next-btn {
        text-align: left; /* 手机端下一篇也左对齐 */
    }
}



/* ==========================================================================
   首页质感卡片与多功能栅格样式
   ========================================================================== */

/* 核心底色与全局规范 */
.home-wrapper {
    background-color: #f6f8fa;
    padding: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 模块大容器与精细标题栏 */
.home-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.section-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    position: relative;
    padding-left: 12px;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    background: #3b82f6; /* 模块左侧科技蓝小竖条 */
    border-radius: 2px;
}

/* 通用标签样式 */
.badge-cate {
    display: inline-block;
    padding: 2px 6px;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 11px;
    border-radius: 4px;
    text-decoration: none;
}
.badge-cate:hover { background: #dbeafe; }

/* 基础栅格布局系统 */
.grid-layout {
    display: grid;
    gap: 20px;
}
.col-4 { grid-template-columns: repeat(4, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.gap-15 { gap: 15px; }

/* 空内容基础样式 */
.home-empty {
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #e2e8f0;
}

/* ==================== 模块 1：新闻动态 (经典图文单列) ==================== */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item { display: flex; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-cover { width: 160px; height: 105px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-info { flex-grow: 1; display: flex; flex-direction: column; }
.news-title { margin: 0 0 8px 0; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.title-link { color: #1e293b; text-decoration: none; }
.title-link:hover { color: #3b82f6; }
.news-meta { font-size: 12px; color: #94a3b8; margin-bottom: 8px; display: flex; gap: 12px; }
.news-desc { margin: 0; font-size: 13px; color: #64748b; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==================== 模块 2 & 5：通用卡片系统 (产品、视频) ==================== */
.card-item { background: #fff; border: 1px solid #f1f5f9; border-radius: 8px; overflow: hidden; transition: all 0.2s; }
.card-item:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card-cover { width: 100%; position: relative; overflow: hidden; background: #f8fafc; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.ratio-3-4 { padding-top: 120%; } /* 产品图：竖版 */
.ratio-3-4 img { position: absolute; top: 0; left: 0; }
.ratio-16-9 { padding-top: 56.25%; } /* 视频图：宽屏 */
.ratio-16-9 img { position: absolute; top: 0; left: 0; }
.card-body { padding: 12px; }
.card-title { margin: 6px 0; font-size: 14px; font-weight: 600; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-title a { color: #1e293b; text-decoration: none; }
.card-title a:hover { color: #3b82f6; }
.card-meta { font-size: 12px; color: #94a3b8; display: flex; justify-content: space-between; }
.card-meta a { color: #64748b; text-decoration: none; }

/* 视频特殊播放按钮 */
.play-icon-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.play-icon-btn::before { content: ""; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
.video-card:hover .play-icon-btn { background: #3b82f6; scale: 1.1; }

/* ==================== 模块 3：精美图集 (无缝全蒙版悬浮) ==================== */
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; padding-top: 100%; background: #f8fafc; }
.gallery-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-mask { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0.9; transition: all 0.3s; }
.gallery-title { margin: 6px 0 0 0; font-size: 14px; }
.gallery-title a { color: #fff; text-decoration: none; }
.gallery-meta { font-size: 11px; color: #cbd5e1; margin-top: 4px; }
.gallery-item:hover .gallery-cover img { transform: scale(1.06); }
.gallery-item:hover .gallery-mask { background: linear-gradient(to top, rgba(59,130,246,0.9) 0%, rgba(0,0,0,0.3) 100%); }

/* ==================== 模块 4：资源下载 (卡片条目式) ==================== */
.download-item { display: flex; align-items: center; gap: 15px; padding: 12px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; }
.download-icon { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #fff; border: 1px solid #e2e8f0; }
.download-icon img { width: 100%; height: 100%; object-fit: cover; }
.download-info { flex-grow: 1; overflow: hidden; }
.download-title { margin: 0 0 4px 0; font-size: 14px; font-weight: 600; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.download-title a { color: #1e293b; text-decoration: none; }
.download-title a:hover { color: #3b82f6; }
.download-meta { font-size: 12px; color: #94a3b8; display: flex; gap: 15px; }
.download-meta a { color: #64748b; text-decoration: none; }

/* ==================== 模块 6：在线留言 (评论社交风) ==================== */
.msg-item { display: flex; gap: 12px; padding: 15px; background: #f8fafc; border-radius: 8px; }
.msg-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid #e2e8f0; }
.msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-content-box { flex-grow: 1; }
.msg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.msg-user { font-size: 13px; font-weight: 600; color: #334155; text-decoration: none; }
.msg-time { font-size: 11px; color: #94a3b8; }
.msg-text { margin: 0; font-size: 13px; color: #475569; line-height: 1.5; }

/* ==================== 模块 7：人才招聘 (横向纯文本列表) ==================== */
.job-list { display: flex; flex-direction: column; }
.job-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px dashed #e2e8f0; }
.job-row:last-child { border-bottom: none; }
.job-main { display: flex; align-items: center; gap: 8px; width: 250px; flex-shrink: 0; }
.job-badge { background: #ef4444; color: #fff; font-size: 11px; padding: 1px 4px; border-radius: 3px; font-weight: bold; }
.job-title { font-size: 14px; font-weight: 600; color: #1e293b; text-decoration: none; }
.job-title:hover { color: #ef4444; }
.job-desc { margin: 0; font-size: 13px; color: #64748b; flex-grow: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { font-size: 12px; color: #94a3b8; display: flex; gap: 15px; flex-shrink: 0; }

/* ==========================================================================
   移动端极端自适应 (响应式)
   ========================================================================== */
@media (max-width: 992px) {
    .col-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .home-wrapper { padding: 15px 0; }
    .home-section { padding: 15px; margin-bottom: 20px; }
    .col-3, .col-2 { grid-template-columns: 1fr; }
    .news-item { flex-direction: column; gap: 10px; }
    .news-cover { width: 100%; height: 160px; }
    .job-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .job-main { width: 100%; }
    .job-meta { margin-top: 4px; }
}


/* ==========================================================================
   仅针对底部“友情链接”的增量 CSS
   ========================================================================== */

/* 友情链接条整行容器：采用稍微浅一点的底色，与页脚形成视觉过渡 */
.footer-links-bar {
    background-color: #f8fafc; 
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 友情链接内部宽度约束（与你的主体页面对齐） */
.footer-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start; /* 纵向对齐方式 */
    gap: 12px;
}

/* “友情链接：”粗体标签 */
.footer-links-label {
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

/* 友情链接承载区（支持多链接自动弹性换行） */
.footer-links-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px; /* 链接之间横向间距 20px，纵向折行间距 12px */
}

/* 单个友情链接字样 */
.footer-links-content a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

/* 友情链接悬浮高亮效果（科技蓝） */
.footer-links-content a:hover {
    color: #3b82f6;
    text-decoration: underline; /* 悬浮时加下划线更具点击感 */
}

/* 暂无友情链接时的提示文字 */
.footer-links-empty {
    color: #94a3b8;
    font-style: italic;
}

/* 移动端窄屏适配 */
@media (max-width: 768px) {
    .footer-links-container {
        flex-direction: column; /* 手机端标签和链接上下排列 */
        gap: 8px;
    }
    .footer-links-content {
        gap: 10px 15px; /* 缩小手机端间距 */
    }
}



/* ==========================================================================
   首页大图轮播系统 (兼容纯文字广告与图片广告)
   ========================================================================== */

/* 1. 轮播外层物理裁剪区 */
.home-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 480px;
    overflow: hidden;
    background-color: #e2e8f0;
}

/* 2. 传送带滑轨 (利用硬件加速进行平滑滑动) */
.home-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* 3. 单个广告滑块页面 */
.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); /* 文字广告默认渐变蓝底色 */
    position: relative;
}

/* 广告链接包裹层 */
.slider-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 广告图片：绝对定位覆盖在渐变底色上方 */
.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* 当广告图为空时，强制隐藏图片标签防止占位 */
.slider-slide img[src=""], 
.slider-slide img:not([src]) {
    display: none !important;
}

/* ==========================================================================
   左右切换翻页箭头
   ========================================================================== */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* 默认隐藏，滑过时显示 */
    transition: all 0.2s ease;
    z-index: 10;
}

/* 鼠标悬浮在轮播图上时显示箭头 */
.home-slider-wrapper:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
    scale: 1.05;
}

/* 纯 CSS 绘制白色几何箭头 */
.slider-arrow::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
}

.arrow-prev {
    left: 24px;
}
.arrow-prev::after {
    transform: rotate(-45deg);
    margin-left: 4px;
}

.arrow-next {
    right: 24px;
}
.arrow-next::after {
    transform: rotate(135deg);
    margin-right: 4px;
}

/* ==========================================================================
   底部圆点指示器
   ========================================================================== */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(4px); /* 磨砂玻璃效果 */
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 激活状态圆点拉长动效 */
.slider-dot.active {
    background: #ffffff;
    width: 20px;
    border-radius: 4px;
}

/* ==========================================================================
   移动端与平板响应式适配
   ========================================================================== */
@media (max-width: 992px) {
    .home-slider-wrapper {
        height: 350px;
    }
    .slider-slide {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .home-slider-wrapper {
        height: 210px; /* 手机端保持黄金高度，防止撑变形 */
    }
    .slider-arrow {
        display: none; /* 手机端隐藏侧边箭头 */
    }
    .slider-dots {
        bottom: 12px;
        padding: 4px 8px;
    }
    .slider-slide {
        font-size: 15px;
        padding: 20px;
    }
}



/* 1. 强力清除冲突的终极 CSS */
.art-global-navbar {
    width: 100% !important;
    display: block !important;
    clear: both !important; /* 彻底清除浮动 */
    background: #ffffff !important; /* 强制纯白背景 */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    z-index: 100 !important;
}

/* 2. 核心布局与样式 (Flexbox) */
.nav-align-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.nav-menu-list { display: flex !important; align-items: center !important; }
.nav-group { position: relative !important; }

/* 3. 链接、下拉菜单与搜索交互样式 */
.nav-main-link {
    display: block !important;
    padding: 20px 24px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-bottom: 3px solid transparent !important;
}
.nav-main-link:hover, .nav-main-link.active {
    color: #3b82f6 !important;
    border-bottom-color: #3b82f6 !important;
    background-color: #f8fafc !important;
}

.nav-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 160px !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 6px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.2s ease !important;
    z-index: 9999 !important;
}
.nav-group:hover .nav-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nav-sub-link {
    display: block !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    color: #475569 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}
.nav-sub-link:hover, .nav-sub-link.active2 {
    color: #3b82f6 !important;
    background-color: #eff6ff !important;
}

.nav-search-form {
    display: flex !important;
    align-items: center !important;
    background-color: #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 4px 6px 4px 14px !important;
    width: 200px !important;
}
.nav-search-input { border: none !important; background: transparent !important; outline: none !important; width: 100% !important; }

/* 4. 移动端自适应 */
@media (max-width: 768px) {
    .nav-align-box { flex-direction: column !important; padding: 10px !important; }
    .nav-dropdown { position: static !important; opacity: 1 !important; visibility: visible !important; box-shadow: none !important; display: flex !important; flex-wrap: wrap !important; width: 100% !important; }
}


/* ==========================================================================
   终极修复：当没有二级栏目时，完全不弹出空下拉框
   ========================================================================== */

/* 1. 核心防御：如果下拉框内部没有任何链接 a 标签，或者里面完全为空，直接彻底干掉 */
.nav-dropdown:empty,
.nav-dropdown:not(:has(a)) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. 核心防御补丁：确保鼠标悬浮在没有二级菜单的一级菜单上时，绝对不会触发空弹窗 */
.nav-group:not(:has(a.nav-sub-link)):hover .nav-dropdown {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
