/* --- Banner 部分 --- */
.newbg_left_zhengwu {
    width: 1200px;
    height: 360px;
    margin: 20px auto; /* 居中并增加上下间距 */
    overflow: hidden;
    clear: both; /* 清除上方位置导航的浮动 */
}

#newbanner_zhengwu {
    width: 1200px;
    position: relative;
    z-index: 9;
}

#newbanner_zhengwu .swiper-slide {
    overflow: hidden;
    position: relative;
    height: 360px;
}

#newbanner_zhengwu img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* 分页器样式保持您提供的 */
#newbanner_zhengwu .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255,255,255,0.36);
    transition: all .5s ease;
    opacity: 1.0;
}

#newbanner_zhengwu .swiper-pagination-bullet-active {
    background: rgba(255,255,255,0.8);
    width: 33px;
    border-radius: 30px;
}

/* --- 文章布局部分 --- */
.main {
    width: 1200px;
    margin: 0 auto;
    clear: both;
}

.four-column-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
}

/* 2x2 布局的核心：宽度 48% */
.category-block {
    width: 48%; 
    margin-bottom: 30px;
    background: #fff;
}

/* 标题行风格：左侧图标 + 底部橙色短线 */
.category-header {
    height: 45px;
    line-height: 45px;
    border-bottom: 2px solid #f4f4f4;
    position: relative;
    margin-bottom: 15px;
}

.category-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px; 
    height: 2px;
    background: #ff6600;
}

.category-header h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    float: left;
    margin: 0;
}

/* 模拟图片中的列表图标 */
.category-header h3::before {
    content: "☰"; /* 可替换为图片或iconfont */
    color: #ff6600;
    margin-right: 10px;
    font-size: 18px;
}

.category-header .more {
    float: right;
    font-size: 13px;
    color: #999;
    text-decoration: none;
}

/* 列表项样式 */
.category-article-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.category-article-list li {
    line-height: 38px;
    border-bottom: 1px dashed #eee; /* 增加虚线分隔线更美观 */
}

.category-article-list li:last-child {
    border-bottom: none;
}

.category-article-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-size: 15px;
    color: #333;
}

/* 标题文字前的文档图标 */
.category-article-list li a::before {
    content: "📄"; 
    font-size: 12px;
    margin-right: 8px;
    color: #ccc;
}

.category-article-list li .title-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-article-list li .article-date {
    color: #999;
    font-size: 14px;
    margin-left: 15px;
}

.category-article-list li a:hover .title-text {
    color: #ff6600;
}

/* 弹性导航容器 */
.new_title {
    width: 1200px;
    margin: 15px auto 25px;
    height: 50px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex; /* 开启弹性布局 */
    overflow: hidden; /* 隐藏超出部分 */
}

/* 弹性导航项 - 深度优化平滑度 */
.new_title a {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-size: 15px;
    color: #444;
    text-decoration: none;
    height: 50px;
    line-height: 50px;
    position: relative;
    padding: 0 15px;
    background: transparent !important;

    /* 核心修改：取消省略号，改为强制不换行并隐藏内容 */
    white-space: nowrap;
    overflow: hidden; 
    
    /* 增加文字颜色的过渡，让视觉更柔和 */
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, 
                background 0.4s ease 0.2s,
                color 0.4s ease 0.2s;
}

/* 鼠标经过时：平滑展开 */
.new_title a:hover {
    flex: 2; /* 增加到 3，给 12 个字留足空间 */
    color: #ff6600;
    background: rgba(255, 102, 0, 0.05) !important;
    
    /* 保持延迟触发 */
    transition-delay: 0.2s; 
}

/* 选中状态：保持展开 */
.new_title a.currclass {
    flex: 2;
    color: #ff6600 !important;
    font-weight: bold;
    background: #fff !important;
    overflow: visible; /* 选中项允许溢出确保显示全 */
    transition-delay: 0s; 
}

/* 关键：利用遮罩渐变解决文字切断的生硬感（可选） */
.new_title a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 100%;
    /* 默认状态下右侧有一个淡出遮罩，文字看起来是慢慢消失的 */
    background: linear-gradient(to right, rgba(248,249,250,0), rgba(248,249,250,1));
    transition: opacity 0.3s;
    pointer-events: none;
}

/* 当展开或选中时，隐藏遮罩 */
.new_title a:hover::after,
.new_title a.currclass::after {
    opacity: 0;
}

/* 选中状态的顶部橙色线 */
.new_title a.currclass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6600;
}

/* 装饰性垂直分割线 */
.new_title a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15px;
    height: 20px;
    width: 1px;
    background: #ddd;
}

/* 适配超长文字：如果 12 个汉字在 flex:2.5 下还是挤，可以微调该数值 */


/* 快捷入口容器 */
.quick-entry-wrap {
    width: 1200px;
    margin: 25px auto;
    display: flex;
    justify-content: space-between;
    gap: 20px; /* 两个按钮之间的间距 */
}

/* 按钮基础样式 */
.entry-item {
    flex: 1;
    height: 110px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-radius: 8px;
    text-decoration: none !important;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

/* 悬浮动效：向上微动并增加阴影 */
.entry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* 园区入驻：政务蓝渐变 (呼应Banner) */
.entry-blue {
    background: linear-gradient(135deg, #1d6edc 0%, #0d47a1 100%) !important;
}

/* 项目申报：政务橙渐变 (呼应页面装饰色) */
.entry-orange {
    background: linear-gradient(135deg, #ff8a45 0%, #e65100 100%) !important;
}

/* 图标样式 */
.entry-icon {
    font-size: 42px;
    margin-right: 20px;
    opacity: 0.9;
}

/* 文字内容区域 */
.entry-text {
    flex: 1;
}

.entry-text h3 {
    font-size: 22px;
    color: #fff !important;
    margin: 0 0 5px 0 !important;
    font-weight: bold;
    border: none !important; /* 去除可能的标题下划线 */
}

.entry-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 !important;
}

/* 右侧引导箭头小按钮 */
.entry-arrow {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}

.entry-item:hover .entry-arrow {
    background: #fff;
    color: #333; /* 悬浮时变白底黑字，更有点击感 */
}