@charset "utf-8";
body { background: #f5f6f8; font-family: "Microsoft YaHei", Arial, sans-serif; }
.ni-wrap { width: 1200px; margin: 0 auto; }

/* 新页面统一使用 border-box：卡片含内边距的两栏宽度才不会互相压叠 */
.ni-header, .ni-header *, .ni-wrap, .ni-wrap *, #footer.ni-footer, #footer.ni-footer * { box-sizing: border-box; }

/* ============================ 头部 ============================ */
/* 浅色带（96px）+ 右侧装饰插画 */
.ni-banner {
    position: relative;
    height: 96px;
    overflow: hidden;
    background: #fff;
    background: linear-gradient(100deg, #ffffff 0%, #fffdfc 30%, #fdf6f4 58%, #fbeae7 100%);
}
.ni-banner .ni-decor { position: absolute; right: 0; top: 0; height: 96px; width: auto; }
.ni-bannerInner { position: relative; height: 96px; }
.ni-banner .ni-logo { position: absolute; left: 0; top: 25px; display: block; }
.ni-banner .ni-logo img { height: 70px; width: auto; }

/* 深红通栏导航（55px，与线上 .nav 高度、.nav_bg 底色一致） */
.ni-nav { height: 55px; background: #a10000; }
.ni-navList { height: 55px; display: flex; justify-content: space-between; align-items: stretch; }
.ni-navList > li { position: relative; flex: 1 1 auto; text-align: center; }
.ni-navList > li > a {
    display: block; height: 55px; line-height: 55px;
    font-size: 16px; color: #fff; letter-spacing: 1px; padding: 0 14px;
}
.ni-navList > li > a:hover,
.ni-navList > li.on > a { background: #8a0000; color: #ffd9a6; text-decoration: none; }
.ni-navList .ni-sub {
    display: none; position: absolute; left: 0; top: 55px; width: 100%; min-width: 132px;
    background: #8a0000; padding: 6px 0; z-index: 30; box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.ni-navList .ni-sub li a { display: block; line-height: 22px; padding: 8px 10px; font-size: 14px; color: #f6dcdc; }
.ni-navList .ni-sub li a:hover { background: #a10000; color: #ffd9a6; text-decoration: none; }

/* ============================ 主体轮播 ============================ */
.ni-focus { position: relative; height: 455px; margin: 8px auto; overflow: hidden; border-radius: 10px; }
.ni-focus .bd, .ni-focus .bd ul { height: 455px; }
.ni-focus .bd li { position: relative; height: 455px; }
.ni-focus .bd li .pic { height: 455px; }
.ni-focus .bd li img { width: 100%; height: 455px; /*object-fit: cover;*/ vertical-align: bottom; }
.ni-focus .bd li .ni-focusCon {
    position: absolute; left: 0; right: 0; bottom: 0; height: 150px; z-index: 4;
    background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
}
.ni-focus .ni-focusTag {
    position: absolute; left: 22px; bottom: 87px; padding-left: 10px;
    font-size: 15px; color: #e8c98f; line-height: 18px;
}
.ni-focus .ni-focusTag:before {
    content: ""; position: absolute; left: 0; top: 2px; width: 3px; height: 14px; background: #d8a24a;
}
.ni-focus .ni-focusCon h3 { position: absolute; left: 22px; bottom: 10px; right: 160px; text-align: left; }
.ni-focus .ni-focusCon h3 a {
    font-size: 18px; font-weight: bold; color: #fff; letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55); display: inline-block;
}
.ni-focus .ni-focusCon h3 a:hover { text-decoration: none; color: #ffd9a6; }

/* 左右切换按钮：46px 实心圆（深色半透明）+ 白色细箭头，垂直居中、距边 19px */
.ni-focus .ni-arrow {
    position: absolute; top: 50%; margin-top: -23px; width: 46px; height: 46px;
    background-color: rgba(0, 0, 0, .38); border-radius: 50%; cursor: pointer; z-index: 6;
    background-repeat: no-repeat; background-position: center; background-size: 13px 19px;
    text-indent: -9999px; overflow: hidden;                     /* 隐藏原字体字符，改用 SVG 箭头 */
}
.ni-focus .ni-arrow:hover { background-color: rgba(0, 0, 0, .62); }
.ni-focus .ni-prev {
    left: 19px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M11 2 3 10l8 8' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ni-focus .ni-next {
    right: 19px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M3 2 11 10l-8 8' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 右下翻页短线：普通 26×4 半透明白 / 激活 37×4 琥珀，间距 10，距右 43、距底 33 */
.ni-focus .hd { position: absolute; right: 43px; bottom: 33px; z-index: 6; }
.ni-focus .hd ul { overflow: hidden; }
.ni-focus .hd li {
    float: left; width: 26px; height: 4px; margin-left: 10px; background: rgba(255, 255, 255, .65);
    border-radius: 2px; cursor: pointer; overflow: hidden; text-indent: -999px;
}
.ni-focus .hd li:first-child { margin-left: 0; }
.ni-focus .hd li.on { width: 37px; background: #b98d3f; }

/* ============================ 通用卡片 ============================ */
.ni-box { background: #fff; border-radius: 10px; padding: 15px 26px 17px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.ni-boxHd { height: 44px; line-height: 44px; position: relative; margin-bottom: 12px; }
.ni-boxHd .ni-boxTit { float: left; font-size: 20px; font-weight: bold; color: #8f1a06; padding-left: 12px; letter-spacing: .5px; }
/* 竖条距卡片左沿 23px（= 卡片内边距 26 - 3），高 18px */
.ni-boxHd .ni-boxTit:before { content: ""; position: absolute; left: -3px; top: 11px; width: 4px; height: 18px; background: #a10000; }
.ni-boxHd .ni-boxTit a { color: #8f1a06; }
.ni-boxHd .ni-boxTit a:hover { color: #a10000; text-decoration: none; }
.ni-boxHd .ni-more { float: right; font-size: 14px; color: #999; }
.ni-boxHd .ni-more:hover { color: #a10000; text-decoration: none; }

.ni-list { text-align: left; }
.ni-list li {
    height: 52px; line-height: 52px; overflow: hidden; padding: 0 25px 0 20px;
    position: relative; border-bottom: 1px dashed #dfe1e5;
}
.ni-list li:last-child { border-bottom: 0; }
.ni-list li:before {
    content: ""; position: absolute; left: -3px; top: 23px; width: 7px; height: 7px;
    background: #a01a1a; transform: rotate(45deg); -webkit-transform: rotate(45deg);
}
.ni-list li a {display: inline-block; width: 80%; font-size: 16px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.ni-list li a:hover { color: #a10000; text-decoration: none; }
.ni-list li .ni-time {
    position: absolute; right: 25px; top: 0; font-size: 13px; color: #a6abb3;
}
.ni-list li:after { content: ""; display: block; clear: both; }

/* ============================ 两栏（通用行容器） ============================ */
.ni-cols { display: flex; justify-content: space-between; align-items: stretch; margin-bottom: 8px;margin-top: 10px;}
.ni-col { width: 589px; display: flex; flex-direction: column; }
.ni-col .ni-boxBd { flex: 1 1 auto; }
.ni-cols > .ni-box { margin-bottom: 0; }
.ni-zcfg .ni-boxBd { display: flex; flex-direction: column; justify-content: flex-start; }

/* ==================== 第 ① 行：轮播图 ｜ 工作动态 ==================== */
.ni-cols > .ni-focus { width: 589px; margin: 0; }
.ni-focusRow .ni-gzdt .ni-boxBd { display: flex; }
.ni-focusRow .ni-gzdt .ni-list {
    flex: 1 1 auto; display: flex; flex-direction: column;
    justify-content: space-between; 
}
.ni-focusRow .ni-gzdt .ni-list li { flex: 0 0 auto; }

/* ============================ 信访举报 ============================ */
.ni-xfjb { text-align: left; padding-top: 2px; height: 100%; display: flex; flex-direction: column; }

/* 下载按钮：红渐变 + 轻微投影，内嵌白色下载图标 */
.ni-xfjbBtn {
    display: flex; align-items: center; justify-content: center; height: 46px; flex: 0 0 auto;
    border-radius: 8px; margin-bottom: 14px; letter-spacing: 1px;
    background: linear-gradient(100deg, #9c1b1b 0%, #b8362c 100%);
    box-shadow: 0 4px 12px rgba(160, 26, 26, .22);
    color: #fff; font-size: 17px; font-weight: bold;
}
.ni-xfjbBtn:hover { text-decoration: none; color: #fff; filter: brightness(1.06); }
/* .ni-xfjbBtn:before {
    content: ""; width: 20px; height: 20px; margin-right: 9px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 11l5 5 5-5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E") center no-repeat;
    background-size: contain;
} */

/* 信息网格：地址 / 网址通栏，邮编与电话并排 */
.ni-xfjbInfo {
    flex: 1 1 auto; margin: 0; padding: 0; list-style: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: space-between;
}
.ni-xfjbItem {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    padding: 10px 12px; border-radius: 10px; background: #f7f8fa;
    border: 1px solid #f1f2f5; box-sizing: border-box;
}
.ni-xfjbAddr, .ni-xfjbWeb { grid-column: 1 / -1; }

/* 图标：淡红底圆角块 + 红色线性图标（地址 / 邮编 / 电话 / 网址 各一） */
.ni-xfjbIc {
    position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px;
    background-image: linear-gradient(135deg, #fdeff0, #f8dcdc);
}
.ni-xfjbIc:after {
    content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
    background-repeat: no-repeat; background-position: center; background-size: 18px 18px;
}
.ni-xfjbAddr .ni-xfjbIc:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8281f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.7 7-11a7 7 0 1 0-14 0c0 5.3 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E");
}
.ni-xfjbZip .ni-xfjbIc:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8281f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7.5l8.5 6 8.5-6'/%3E%3C/svg%3E");
}
.ni-xfjbTel .ni-xfjbIc:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8281f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.6 4-2 1.3a12 12 0 0 0 5.6 5.6l1.3-2 4 1.6v3a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.5 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E");
}
.ni-xfjbWeb .ni-xfjbIc:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8281f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a15 15 0 0 1 0 18a15 15 0 0 1 0-18z'/%3E%3C/svg%3E");
}

/* 文字：浅灰标签（定宽对齐）+ 深色值，同一行 */
.ni-xfjbLabel { flex: 0 0 auto; width: 62px; font-size: 13px; color: #9aa0aa; letter-spacing: .5px; }
.ni-xfjbVal { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 15px; line-height: 22px; color: #2f3338; word-break: normal; overflow-wrap: break-word; }
.ni-xfjbVal a { color: #a10000; }
.ni-xfjbVal a:hover { text-decoration: underline; }

/* ============================ 专题专栏（竖直轮播） ============================ */
.ni-zlzl { position: relative; }
.ni-zlzl .bd {
    position: relative; height: 0; overflow: hidden;
    padding-bottom: calc(66% + 30px);           /* 3 × (110/500) + 2 × 15px 间距 */
}
.ni-zlzl .bd ul { position: absolute; left: 0; top: 0; right: 0; }
.ni-zlzl .bd li { margin-bottom: 15px; }
.ni-zlzl .bd li a { display: block; }
/* 回退：不支持 aspect-ratio 的老浏览器用定高（等于 537 宽时的等比高度） */
.ni-zlzl .bd li img {
    display: block; width: 100%; height: 118px;
    object-fit: cover; border-radius: 6px; background: #f3f4f6;
}
@supports (aspect-ratio: 500 / 110) {
    /* 支持时改为等比：宽度变化时高度自动跟随，窄屏不会把横幅压扁 */
    .ni-zlzl .bd li img { height: auto; aspect-ratio: 500 / 110; }
}

/* ============================ 友情链接 + 站内搜索 ============================ */
.ni-bottom { overflow: hidden; padding-top: 18px; padding-bottom: 18px; }
.ni-linksRow { display: flex; align-items: center; }
.ni-linksLabel { font-size: 15px; font-weight: bold; color: #a01820; letter-spacing: 1px; margin-right: 16px; flex: 0 0 auto; }
.ni-linksLabel a { color: #a01820; }
.ni-linksList { flex: 1 1 auto; display: flex; flex-wrap: wrap; }
.ni-linksList li { margin: 0 14px 0 0; }
.ni-linksList li a {
    display: block; height: 38px; line-height: 38px; padding: 0 24px; border-radius: 19px;
    background: #f3f3f1; color: #333; font-size: 14px;
}
.ni-linksList li a:hover { background: #e9e9e5; color: #a01820; text-decoration: none; }
.ni-search { flex: 0 0 auto; margin-left: auto; }
.ni-search input.ni-keyword {
    float: left; width: 285px; height: 40px; line-height: 40px; padding: 0 18px;
    border: 1px solid #e3e4e8; border-right: 0; background: #fff; outline: none;
    font-size: 14px; color: #333; border-radius: 20px 0 0 20px;
}
.ni-search input.ni-keyword::-webkit-input-placeholder { color: #b0b0b0; }
.ni-search input.ni-btn {
    float: left; width: 68px; height: 40px; border: 0; background: #bc2527; color: #fff;
    font-size: 15px; letter-spacing: 2px; cursor: pointer; border-radius: 0 20px 20px 0;
}
.ni-search input.ni-btn:hover { background: #a51d1f; }

/* ============================ 页脚 ============================ */
#footer.ni-footer { background: #7c1414; color: #e8d9d9; }
#footer.ni-footer .ni-footerIn { padding: 24px 0 18px; text-align: center; }
#footer.ni-footer .ni-footerLine { width: 60px; height: 3px; background: #c08a3c; margin: 0 auto 16px; }
#footer.ni-footer p { font-size: 14px; line-height: 24px; color: #e8d9d9; }
#footer.ni-footer p + p { color: #cdb9b9; }
#footer.ni-footer a { color: #e8d9d9; }

/* ============================ 返回顶部 ============================ */
#niGoTop {
    position: fixed; right: 20px; bottom: 80px; width: 46px; height: 46px; line-height: 46px;
    text-align: center; background: #a10000; color: #fff; font-size: 13px; cursor: pointer;
    z-index: 99; border-radius: 6px; display: none;
}
#niGoTop:hover { background: #8a0000; }
