/* ═══ 主题变量（layout.php 会用站点设置的主题色覆盖 --c-primary / --c-accent）═══ */
:root {
    --c-primary: #276fa9;
    --c-accent: #c00;
    --c-nav: #2c72ad;
    --c-footer: #2671ab;
}

/**
 * 政务风官网 - 样式表
 *
 * 精确还原南阳市教育局 (jyj.nanyang.gov.cn) 视觉风格
 * 配色、尺寸、组件样式均来自实际源码分析
 */

/* ═══ reset（与原站 base.css 一致）═══ */
* { -webkit-text-size-adjust: none; box-sizing: border-box; }
p, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, th, td, div, pre, body, form, input, button, figure, textarea, blockquote { margin: 0; padding: 0; vertical-align: top; }
html { font-size: 14px; overflow-y: auto; }
body { font-family: "Microsoft YaHei", "微软雅黑", sans-serif; background: #fff; min-width: 1200px; color: #333; }
img { border: none; vertical-align: middle; }
a { text-decoration: none; color: #333; }
a:hover { color: #015293; }
ol, ul { list-style: none; }
em, i { font-style: normal; }
input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

/* ═══ 工具类（与原站一致）═══ */
.fl { float: left; }
.fr { float: right; }
.cl:after, .clearfix:after { content: ""; display: block; height: 0; clear: both; visibility: hidden; }
.cl, .clearfix { zoom: 1; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }

/* ═══ 容器（政务网站固定 1200px）═══ */
.container { width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.wrap { width: 1200px; margin: 0 auto; }

/* ═══ 顶部信息栏 ═══ */
.top-bar { width: 100%; background: #f8f8f8; border-bottom: 1px solid #e0e0e2; height: 36px; line-height: 36px; }
.top-bar-inner { width: 1200px; margin: 0 auto; overflow: hidden; }
.top-bar-date { float: left; color: #666; font-size: 12px; }
.top-bar-right { float: right; }
.top-bar-right a { color: var(--c-primary); margin-left: 15px; font-size: 12px; }
.top-bar-right a:hover { color: #015293; }
.top-bar-right span { color: #666; font-size: 12px; margin-left: 15px; }

/* ═══ 网站头部（白底 + Logo + 搜索）═══ */
header.gov-header {
    width: 100%;
    height: 120px;
    background: #fff;
    border-bottom: 3px solid var(--c-primary);
}
header.gov-header .header-inner,
header.gov-header .gov-header-inner {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    height: 120px;
}
.gov-brand {
    float: left;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 120px;
    text-decoration: none;
    color: var(--c-primary);
}
.gov-brand:hover { color: var(--c-primary); }
.gov-logo { height: 65px; width: auto; }
.gov-name {
    font-size: 30px;
    font-weight: bold;
    color: var(--c-primary);
    letter-spacing: 3px;
    font-family: "SimSun", "宋体", serif;
}
.gov-slogan { font-size: 13px; color: #999; margin-top: 4px; }

.header-right {
    float: right;
    height: 120px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.gov-search form {
    width: 280px;
    height: 36px;
    border: 1px solid #e0e0e2;
    overflow: hidden;
}
.gov-search input {
    width: 230px;
    height: 34px;
    border: none;
    float: left;
    padding-left: 10px;
    font-size: 14px;
    outline: none;
}
.gov-search button {
    width: 48px;
    height: 34px;
    border: none;
    border-left: 1px solid #e0e0e2;
    float: left;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23276fa9' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center center no-repeat;
    background-size: 18px;
    cursor: pointer;
}
.gov-search button:hover { background-color: #f5f5f5; }

/* ═══ 导航栏（政务蓝 var(--c-nav)，48px 高）═══ */
nav.gov-nav {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: var(--c-nav);
}
nav.gov-nav .nav-inner,
nav.gov-nav .gov-nav-inner {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
nav.gov-nav ul {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
nav.gov-nav ul li {
    float: left;
    width: 171px;
    height: 48px;
    line-height: 48px;
    font-size: 18px;
    text-align: center;
    position: relative;
}
nav.gov-nav ul li a {
    display: block;
    width: 171px;
    color: #fff;
    text-decoration: none;
}
nav.gov-nav ul li a:hover,
nav.gov-nav ul li a.active {
    background: rgba(255,255,255,.15);
}
/* 二级下拉 */
nav.gov-nav ul li .sub-menu {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 171px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    z-index: 100;
}
nav.gov-nav ul li:hover .sub-menu { display: block; }
nav.gov-nav ul li .sub-menu a {
    color: #333;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #f0f0f0;
}
nav.gov-nav ul li .sub-menu a:hover {
    background: var(--c-nav);
    color: #fff;
}
/* 手机菜单按钮 */
.nav-toggle {
    display: none;
    float: right;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin-bottom: 5px;
    transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ 内页标题横幅 ═══ */
.page-banner {
    width: 100%;
    height: 120px;
    background: var(--c-primary);
    text-align: center;
    line-height: 120px;
}
.page-banner h1 {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
}
.page-breadcrumb {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e2;
}
.page-breadcrumb .crumbs {
    width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #999;
}
.page-breadcrumb .crumbs a { color: var(--c-primary); }
.page-breadcrumb .crumbs a:hover { color: #015293; }

/* ═══ 首页轮播 + 新闻 Tab 并排（760 + 405）═══ */
.index-top {
    width: 1200px;
    margin: 20px auto 0;
    overflow: hidden;
}

/* 轮播 */
.slideBox {
    width: 760px;
    height: 386px;
    overflow: hidden;
    position: relative;
    float: left;
}
.slideBox .hd {
    height: 12px;
    overflow: hidden;
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
}
.slideBox .hd ul { overflow: hidden; float: left; }
.slideBox .hd ul li {
    float: left;
    margin-right: 8px;
    width: 10px;
    height: 10px;
    background: #ddd;
    cursor: pointer;
    border-radius: 50%;
}
.slideBox .hd ul li.on { background: #f00; }
.slideBox .bd { position: relative; height: 100%; z-index: 0; }
.slideBox .bd li { vertical-align: middle; }
.slideBox .bd img { width: 760px; height: 386px; display: block; object-fit: cover; }
.slideBox .bd p {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 36px;
    width: 100%;
    background: rgba(0,0,0,.5);
    line-height: 36px;
    text-indent: 10px;
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.slideBox .prev, .slideBox .next {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -30px;
    width: 40px;
    height: 60px;
    background: rgba(0,0,0,.3);
    color: #fff;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 2;
}
.slideBox .next { left: auto; right: 0; }
.slideBox:hover .prev, .slideBox:hover .next { display: block; }
.slideBox .prev:hover, .slideBox .next:hover { background: rgba(0,0,0,.5); }

/* 新闻 Tab */
.slideTxtBox {
    width: 405px;
    height: 386px;
    overflow: hidden;
    float: right;
}
/* 无轮播时新闻Tab占满整行 */
.index-top .slideTxtBox:only-child { width: 100%; float: none; }
.slideTxtBox .hd {
    height: 42px;
    line-height: 42px;
    position: relative;
    border-top: 1px solid #3c6fa2;
    width: 100%;
    background: #f5f5f5;
}
.slideTxtBox .hd ul {
    float: left;
    position: absolute;
    left: 0;
    top: -1px;
    height: 42px;
    width: 100%;
}
.slideTxtBox .hd ul li {
    float: left;
    font-size: 16px;
    color: #3c6fa2;
    cursor: pointer;
    width: 100px;
    text-align: center;
    height: 42px;
    line-height: 42px;
}
.slideTxtBox .hd ul li.on {
    background: #3c6fa2;
    color: #fff;
}
.slideTxtBox .bd ul {
    position: relative;
    margin-top: 10px;
}
.slideTxtBox .bd ul .more {
    position: absolute;
    right: 5px;
    top: -30px;
    color: #999;
    font-size: 13px;
}
.slideTxtBox .bd ul .more:hover { color: var(--c-primary); }
/* more 链接所在的 li 不占空间 */
.slideTxtBox .bd ul li:has(.more) { height: 0; overflow: visible; border: none; background: none; text-indent: 0; }
.slideTxtBox .bd li {
    height: 38px;
    line-height: 38px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23276fa9'/%3E%3C/svg%3E") left center no-repeat;
    text-indent: 15px;
    font-size: 14px;
    overflow: hidden;
}
.slideTxtBox .bd li a {
    display: block;
    white-space: nowrap;
    width: 75%;
    overflow: hidden;
    float: left;
    text-overflow: ellipsis;
    color: #333;
}
.slideTxtBox .bd li a:hover { color: #015293; }
.slideTxtBox .bd li span.date {
    float: right;
    color: #999;
    font-size: 13px;
}

/* ═══ 滚动专题栏（横向滚动图片）═══ */
.ztzl {
    width: 1200px;
    margin: 15px auto 0;
    height: 120px;
    overflow: hidden;
    background: #fff;
}
.rollBox {
    width: 1200px;
    overflow: hidden;
    padding: 15px 0;
    margin: 0 auto;
    position: relative;
}
.rollBox .LeftBotton, .rollBox .RightBotton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background: var(--c-primary);
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    z-index: 5;
    font-size: 14px;
}
.rollBox .LeftBotton { left: 0; }
.rollBox .RightBotton { right: 0; }
.rollBox .Cont {
    width: 1160px;
    overflow: hidden;
    float: left;
    margin: 0 20px;
}
.rollBox .ScrCont {
    display: flex;
    gap: 10px;
    animation: scrollLeft 30s linear infinite;
}
.rollBox .Cont .pic {
    flex-shrink: 0;
    width: 180px;
    text-align: center;
}
.rollBox .Cont .pic img {
    padding: 3px;
    background: #fff;
    border: 1px solid #ccc;
    display: block;
    width: 180px;
    height: 80px;
    object-fit: contain;
}
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══ 政务信息 Tab 区域 ═══ */
.tabbox {
    margin-top: 20px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.tabnav {
    width: 255px;
    float: left;
}
.tabnav ul li {
    width: 240px;
    height: 73px;
    margin-bottom: 5px;
    background: #efefef;
    font-size: 18px;
    color: #7f7f7f;
    text-align: center;
    line-height: 73px;
    cursor: pointer;
}
.tabnav ul li a { color: #7f7f7f; display: block; }
.tabnav ul li.on {
    background: var(--c-primary);
    color: #fff;
    width: 248px;
}
.tabnav ul li.on a { color: #fff; }
.tablist {
    width: 930px;
    float: right;
    min-height: 460px;
}

/* 政务信息内容区 */
.affairsbox {
    width: 490px;
    float: left;
    height: 460px;
    background: #f5f7fa;
    border: 1px solid #e0e0e2;
}
.affairsbox ul {
    width: 420px;
    height: 432px;
    margin: 14px auto 0;
    overflow: hidden;
}
.affairsbox ul li {
    height: 144px;
    width: 210px;
    float: left;
    border-bottom: 1px solid #e0e0e2;
    text-align: center;
}
.affairsbox ul li:nth-child(2n) { border-left: 1px solid #e0e0e2; }
.affairsbox ul li:nth-child(5), .affairsbox ul li:nth-child(6) { border-bottom: none; }
.affairsbox ul li img { display: block; margin: 20px auto 10px; width: 50px; height: 50px; }
.affairsbox ul li p {
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: var(--c-primary);
}
.affairsbox ul li a { color: var(--c-primary); }
.affairsbox ul li a:hover { color: #015293; }

/* 政策文件/解读/公示 列表 */
.advisoryAnswer {
    width: 420px;
    float: right;
}
.advisoryAnswertitle {
    height: 35px;
    font-size: 18px;
    line-height: 20px;
    color: var(--c-primary);
    font-weight: bold;
    border-bottom: 1px solid #e0e0e2;
    padding-bottom: 10px;
}
.advisoryAnswer ul { margin-top: 10px; }
.advisoryAnswer ul li {
    height: 37px;
    line-height: 37px;
    font-size: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23276fa9'/%3E%3C/svg%3E") left center no-repeat;
    text-indent: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.advisoryAnswer ul li a { color: #333; }
.advisoryAnswer ul li a:hover { color: #015293; }

/* ═══ 板块标题（政务风格：蓝色加粗 + 底线）═══ */
.sec-title {
    height: 35px;
    font-size: 18px;
    line-height: 20px;
    color: var(--c-primary);
    font-weight: bold;
    border-bottom: 1px solid #e0e0e2;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.sec-title a { color: var(--c-primary); }
.sec-title a:hover { color: #015293; }
.sec-title .more {
    float: right;
    font-weight: normal;
    font-size: 13px;
    color: #999;
}
.sec-title .more:hover { color: var(--c-primary); }

/* ═══ 新闻列表（标准政务风格）═══ */
.news-list-style li {
    height: 37px;
    line-height: 37px;
    font-size: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23276fa9'/%3E%3C/svg%3E") left center no-repeat;
    text-indent: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news-list-style li a { color: #333; }
.news-list-style li a:hover { color: #015293; }
.news-list-style li span.date {
    float: right;
    color: #999;
    font-size: 13px;
}

/* ═══ 首页板块（政务风格）═══ */
.index-section {
    width: 1200px;
    margin: 20px auto 0;
    overflow: hidden;
}
.index-section .left-box {
    width: 490px;
    float: left;
}
.index-section .right-box {
    width: 690px;
    float: right;
}

/* 产品服务卡片 */
.gov-card-grid {
    overflow: hidden;
    margin: 0 -8px;
}
.gov-card {
    float: left;
    width: 33.33%;
    padding: 0 8px;
    margin-bottom: 16px;
}
.gov-card-inner {
    border: 1px solid #e0e0e2;
    overflow: hidden;
    transition: all .2s;
}
.gov-card-inner:hover { border-color: var(--c-primary); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.gov-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}
.gov-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.gov-card-inner:hover .gov-card-img img { transform: scale(1.05); }
.gov-card-body {
    padding: 12px;
    text-align: center;
}
.gov-card-body h3 { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gov-card-body p { font-size: 13px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 4列 */
.gov-card-grid.cols-4 .gov-card { width: 25%; }
.gov-card-grid.cols-2 .gov-card { width: 50%; }

/* ═══ 关于我们 ═══ */
.about-row { overflow: hidden; margin-bottom: 20px; }
.about-text { float: left; width: 580px; font-size: 14px; line-height: 2; color: #555; text-indent: 2em; }
.about-text h2, .about-text h3 { color: var(--c-primary); margin-bottom: 10px; text-indent: 0; }
.about-img { float: right; width: 380px; }
.about-img img { width: 100%; border: 1px solid #e0e0e2; }

/* 核心优势 */
.feat-grid { overflow: hidden; margin: 0 -10px; }
.feat-item { float: left; width: 25%; padding: 0 10px; margin-bottom: 20px; text-align: center; }
.feat-item .feat-icon { width: 50px; height: 50px; margin: 0 auto 10px; }
.feat-item .feat-icon svg { width: 50px; height: 50px; color: var(--c-primary); }
.feat-item h3 { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 6px; }
.feat-item p { font-size: 13px; color: #666; line-height: 1.6; }

/* ═══ 数据统计 ═══ */
.stat-section {
    width: 100%;
    background: var(--c-primary);
    padding: 30px 0;
    margin-top: 20px;
}
.stat-grid {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.stat-item {
    float: left;
    width: 25%;
    text-align: center;
    color: #fff;
}
.stat-num { font-size: 36px; font-weight: bold; line-height: 1.2; }
.stat-lbl { font-size: 14px; opacity: .85; margin-top: 4px; }

/* ═══ 友情链接 ═══ */
.friendlink {
    width: 1200px;
    margin: 20px auto 0;
    overflow: hidden;
}
.friendlink .ztItemBox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.friendlink .ztItemBox li {
    flex-shrink: 0;
}
.friendlink .ztItemBox li img {
    height: 55px;
    border: 1px solid #e0e0e2;
    padding: 3px;
    background: #fff;
}

/* ═══ 定价卡片 ═══ */
.plan-grid { overflow: hidden; margin: 0 -10px; }
.plan-card {
    float: left;
    width: 33.33%;
    padding: 0 10px;
    margin-bottom: 20px;
}
.plan-card-inner {
    border: 2px solid #e0e0e2;
    padding: 20px;
    text-align: center;
    background: #fff;
    transition: all .2s;
}
.plan-card-inner:hover { border-color: var(--c-primary); }
.plan-card.highlight .plan-card-inner { border-color: var(--c-primary); position: relative; }
.plan-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--c-accent);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
}
.plan-card-inner h3 { font-size: 18px; font-weight: bold; color: #333; margin-bottom: 8px; }
.plan-desc { font-size: 13px; color: #666; margin-bottom: 12px; }
.plan-price { margin-bottom: 15px; }
.plan-price span { font-size: 14px; color: var(--c-accent); }
.plan-price strong { font-size: 32px; font-weight: bold; color: var(--c-accent); }
.plan-price small { font-size: 13px; color: #999; }
.plan-card ul { text-align: left; margin-bottom: 15px; }
.plan-card ul li {
    height: 32px;
    line-height: 32px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px dashed #e0e0e2;
    padding-left: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23276fa9'/%3E%3C/svg%3E") left center no-repeat;
}

/* ═══ 客户评价 ═══ */
.testi-grid { overflow: hidden; margin: 0 -10px; }
.testi-card { float: left; width: 33.33%; padding: 0 10px; margin-bottom: 20px; }
.testi-card-inner { border: 1px solid #e0e0e2; padding: 16px; background: #fff; }
.testi-stars { color: #f5a623; margin-bottom: 8px; font-size: 14px; }
.testi-text { font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 12px; font-style: italic; }
.testi-author { overflow: hidden; }
.testi-author img { float: left; width: 36px; height: 36px; border-radius: 50%; margin-right: 10px; }
.testi-author strong { display: block; font-size: 14px; color: #333; }
.testi-author span { font-size: 12px; color: #999; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px dashed #e0e0e2; }
.faq-item summary {
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    list-style: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23276fa9'/%3E%3C/svg%3E") left center no-repeat;
    text-indent: 15px;
    overflow: hidden;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-answer { padding: 0 0 12px 15px; font-size: 14px; line-height: 2; color: #555; }

/* ═══ 联系我们 ═══ */
.contact-grid { overflow: hidden; }
.contact-info { float: left; width: 500px; }
.ci-item { overflow: hidden; margin-bottom: 15px; }
.ci-item i { float: left; width: 30px; height: 30px; line-height: 30px; text-align: center; color: var(--c-primary); font-size: 16px; }
.ci-item div { float: left; }
.ci-item strong { display: block; font-size: 14px; color: #333; }
.ci-item span { font-size: 14px; color: #555; }
.contact-form { float: right; width: 500px; background: #f5f5f5; border: 1px solid #e0e0e2; padding: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e2;
    font-size: 14px;
    margin-bottom: 10px;
    background: #fff;
    outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--c-primary); }
.f-row { overflow: hidden; }
.f-row input { float: left; width: 48%; }
.f-row input:first-child { margin-right: 4%; }

/* ═══ 新闻列表页 ═══ */
.news-page-list { max-width: 800px; }
.news-page-list li {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px dashed #e0e0e2;
    overflow: hidden;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23276fa9'/%3E%3C/svg%3E") left center no-repeat;
    text-indent: 15px;
}
.news-page-list li a { color: #333; font-size: 15px; display: block; float: left; width: 75%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-page-list li a:hover { color: #015293; }
.news-page-list li span { float: right; color: #999; font-size: 13px; }

/* ═══ 文章详情 ═══ */
.article-detail { max-width: 800px; }
.article-title { font-size: 22px; font-weight: bold; color: #333; text-align: center; margin-bottom: 10px; line-height: 1.4; }
.article-meta { text-align: center; font-size: 13px; color: #999; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #e0e0e2; }
.article-meta span { margin: 0 10px; }
.article-content { font-size: 14px; line-height: 2; color: #333; }
.article-content h2, .article-content h3 { color: var(--c-primary); margin: 20px 0 10px; }
.article-content img { max-width: 100%; margin: 10px 0; }
.article-content p { margin-bottom: 10px; text-indent: 2em; }
.article-nav { margin-top: 30px; padding-top: 15px; border-top: 1px solid #e0e0e2; }

/* ═══ 单页 & 富文本 ═══ */
.page-content, .richtext-output { font-size: 14px; line-height: 2; color: #333; }
.page-content p, .richtext-output p { margin-bottom: 10px; text-indent: 2em; }
.page-content h2, .page-content h3, .richtext-output h2, .richtext-output h3 { color: var(--c-primary); margin: 20px 0 10px; text-indent: 0; }
.page-content img, .richtext-output img { max-width: 100%; margin: 10px 0; }
.page-content ul, .richtext-output ul { padding-left: 2em; list-style: disc; }

/* ═══ 资质档案 ═══ */
.license-groups { overflow: hidden; }
.license-group { margin-bottom: 25px; }
.license-group h3 { font-size: 16px; font-weight: bold; color: var(--c-primary); border-bottom: 1px solid #e0e0e2; padding-bottom: 8px; margin-bottom: 12px; }
.license-images { overflow: hidden; margin: 0 -6px; }
.license-images a { float: left; width: 180px; margin: 0 6px 12px; border: 1px solid #e0e0e2; padding: 3px; transition: border-color .2s; }
.license-images a:hover { border-color: var(--c-primary); }
.license-images img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }

/* ═══ 404 ═══ */
.error-page { text-align: center; padding: 60px 0; }
.error-code { font-size: 80px; font-weight: bold; color: var(--c-primary); line-height: 1; margin-bottom: 15px; }
.error-page p { font-size: 16px; color: #666; margin-bottom: 20px; }

/* ═══ 空状态 ═══ */
.empty-state { text-align: center; padding: 40px; color: #999; font-size: 14px; }

/* ═══ 招聘 ═══ */
.gov-job-list { max-width: 800px; }
.gov-job-item { border: 1px solid #e0e0e2; margin-bottom: 8px; }
.gov-job-item summary {
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
    background: #f8f8f8;
    overflow: hidden;
}
.gov-job-item summary::-webkit-details-marker { display: none; }
.gov-job-item summary::marker { display: none; content: ''; }
.gov-job-item summary h3 { font-size: 15px; font-weight: bold; color: #333; float: left; }
.gov-job-item summary .job-tags { float: right; }
.gov-job-item summary .job-tags span {
    display: inline-block;
    padding: 2px 8px;
    background: #fff;
    border: 1px solid #e0e0e2;
    font-size: 12px;
    color: #666;
    margin-left: 6px;
}
.tag-salary { color: var(--c-accent) !important; border-color: var(--c-accent) !important; }
.gov-job-body { padding: 16px; border-top: 1px solid #e0e0e2; }
.gov-job-body .richtext-output { text-indent: 0; }

/* ═══ 按钮 ═══ */
.btn {
    display: inline-block;
    padding: 6px 20px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #e0e0e2;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all .2s;
}
.btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-primary:hover { background: #1e5d91; color: #fff; }
.btn-outline { background: #fff; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-sm { padding: 4px 14px; font-size: 13px; }
.btn-block { display: block; width: 100%; }

/* ═══ 页脚（政务蓝 var(--c-footer)）═══ */
footer.gov-footer {
    width: 100%;
    background: var(--c-footer);
    text-align: center;
    padding: 30px 0 0;
    margin-top: 30px;
}
footer.gov-footer .footer-inner,
footer.gov-footer .container {
    text-align: left;
    padding-bottom: 20px;
}
footer.gov-footer .footer-grid,
footer.gov-footer .gov-footer-grid {
    overflow: hidden;
}
footer.gov-footer .footer-col,
footer.gov-footer .gov-footer-col {
    float: left;
    width: 25%;
    padding: 0 15px;
}
footer.gov-footer .footer-col h4,
footer.gov-footer .gov-footer-col h4 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}
footer.gov-footer .footer-col p,
footer.gov-footer .gov-footer-col p {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    line-height: 2;
}
footer.gov-footer .footer-col a,
footer.gov-footer .gov-footer-col a {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    line-height: 2;
}
footer.gov-footer .footer-col a:hover,
footer.gov-footer .gov-footer-col a:hover { color: #fff; }
footer.gov-footer .footer-qr,
footer.gov-footer .gov-footer-qr { text-align: center; }
footer.gov-footer .footer-qr img,
footer.gov-footer .gov-footer-qr img { width: 90px; margin: 0 auto 6px; }
footer.gov-footer .footer-qr span,
footer.gov-footer .gov-footer-qr span { font-size: 12px; color: rgba(255,255,255,.6); display: block; }
footer.gov-footer .footer-links,
footer.gov-footer .gov-footer-links { padding: 10px 0; font-size: 12px; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.15); }

footer.gov-footer .footer-bottom,
footer.gov-footer .gov-footer-bottom {
    width: 100%;
    background: rgba(0,0,0,.15);
    padding: 12px 0;
    text-align: center;
    font-size: 13px;
}
footer.gov-footer .footer-bottom p,
footer.gov-footer .gov-footer-bottom p { color: rgba(255,255,255,.7); line-height: 2; }
footer.gov-footer .footer-bottom a,
footer.gov-footer .gov-footer-bottom a { color: rgba(255,255,255,.7); }
footer.gov-footer .footer-bottom a:hover,
footer.gov-footer .gov-footer-bottom a:hover { color: #fff; }
footer.gov-footer .footer-bottom span,
footer.gov-footer .gov-footer-bottom span { margin: 0 8px; }

/* ═══ 右侧浮动栏（政务微信/咨询投诉）═══ */
.right-nav {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}
.right-nav li {
    width: 60px;
    height: 60px;
    background: #fafafa;
    border: 1px solid #dcdcdc;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all .2s;
}
.right-nav li:hover { background: var(--c-primary); border-color: var(--c-primary); }
.right-nav li i { font-size: 22px; line-height: 30px; color: #74ACD6; display: block; padding-top: 5px; }
.right-nav li p { font-size: 11px; color: #999; line-height: 20px; }
.right-nav li:hover i, .right-nav li:hover p { color: #fff; }
.right-nav .show-ewm {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #dcdcdc;
    padding: 8px;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.right-nav li:hover .show-ewm { display: block; }
.right-nav .show-ewm img { width: 120px; }

/* ═══ 返回顶部 ═══ */
.back-top {
    position: fixed;
    right: 10px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #fafafa;
    border: 1px solid #dcdcdc;
    text-align: center;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all .2s;
}
.back-top:hover { background: var(--c-primary); border-color: var(--c-primary); }
.back-top i { font-size: 22px; line-height: 30px; color: #74ACD6; display: block; padding-top: 5px; }
.back-top p { font-size: 11px; color: #999; line-height: 20px; }
.back-top:hover i, .back-top:hover p { color: #fff; }
.back-top.show { display: block; }

/* ═══ Cookie 横幅 ═══ */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #333; color: rgba(255,255,255,.8); padding: 10px 0; z-index: 900; }
.cookie-inner { width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; font-size: 13px; }
.cookie-inner span { flex: 1; }
.cookie-inner a { color: #74ACD6; }
.cookie-inner button { padding: 5px 16px; background: var(--c-primary); color: #fff; border: none; cursor: pointer; }

/* ═══ 在线客服 ═══ */
.gov-kefu { position: fixed; right: 80px; bottom: 20px; z-index: 999; }
.gov-kefu-btn { width: 60px; height: 60px; background: #fafafa; border: 1px solid #dcdcdc; text-align: center; cursor: pointer; }
.gov-kefu-btn:hover { background: var(--c-primary); border-color: var(--c-primary); }
.gov-kefu-btn i { font-size: 22px; line-height: 30px; color: #74ACD6; display: block; padding-top: 5px; }
.gov-kefu-btn p { font-size: 11px; color: #999; line-height: 20px; }
.gov-kefu-btn:hover i, .gov-kefu-btn:hover p { color: #fff; }
.gov-kefu-panel { display: none; position: absolute; bottom: 70px; right: 0; width: 200px; background: #fff; border: 1px solid #dcdcdc; padding: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.gov-kefu-panel.show { display: block; }
.gov-kefu-panel h4 { font-size: 14px; font-weight: bold; color: #333; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid #e0e0e2; }
.gov-kefu-panel p { font-size: 13px; color: #555; margin-bottom: 4px; }
.gov-kefu-panel img { width: 120px; margin-top: 6px; }

/* ═══ 视频弹窗 ═══ */
.video-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.video-overlay.show { opacity: 1; visibility: visible; }
.video-box { position: relative; width: 90%; max-width: 900px; }
.video-close { position: absolute; top: -36px; right: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 18px; cursor: pointer; }
.video-box video { width: 100%; background: #000; }
.video-fab { position: fixed; right: 80px; bottom: 90px; width: 60px; height: 60px; background: #fafafa; border: 1px solid #dcdcdc; text-align: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s; z-index: 999; }
.video-fab.show { opacity: 1; visibility: visible; }
.video-fab:hover { background: var(--c-primary); border-color: var(--c-primary); }
.video-fab i { font-size: 22px; line-height: 30px; color: #74ACD6; display: block; padding-top: 5px; }
.video-fab p { font-size: 11px; color: #999; line-height: 20px; }
.video-fab:hover i, .video-fab:hover p { color: #fff; }

/* ═══ 响应式（政务网站主要适配 PC，移动端基础适配）═══ */
@media (max-width: 1200px) {
    .wrap, nav.gov-nav ul, .index-top, .ztzl, .tabbox, .index-section, .stat-grid, .friendlink,
    footer.gov-footer .footer-inner, footer.gov-footer .container, .cookie-inner, .page-breadcrumb .crumbs { width: 100%; padding: 0 16px; }
    .slideBox { width: 60%; }
    .slideBox .bd img { width: 100%; }
    .slideTxtBox { width: 38%; }
}
@media (max-width: 992px) {
    .slideBox, .slideTxtBox { width: 100%; float: none; height: auto; }
    .slideBox { height: 300px; }
    .tabnav { display: none; }
    .tablist { width: 100%; float: none; }
    .affairsbox { width: 100%; float: none; height: auto; }
    .advisoryAnswer { width: 100%; float: none; }
    .about-text, .about-img { float: none; width: 100%; }
    .contact-info, .contact-form { float: none; width: 100%; }
    .feat-item { width: 50%; }
    .gov-card { width: 50%; }
    .plan-card, .testi-card { width: 50%; }
    .right-nav { display: none; }
    footer.gov-footer .footer-col, footer.gov-footer .gov-footer-col { width: 50%; margin-bottom: 20px; }
}
@media (max-width: 768px) {
    body { min-width: auto; }
    nav.gov-nav { height: auto; }
    nav.gov-nav ul { display: none; flex-direction: column; }
    nav.gov-nav.open ul { display: flex; }
    nav.gov-nav ul li { width: 100%; }
    .nav-toggle { display: block; }
    .slideBox { height: 220px; }
    .stat-item { width: 50%; margin-bottom: 15px; }
    .feat-item, .gov-card, .plan-card, .testi-card { width: 100%; float: none; }
    .gov-card-grid, .plan-grid, .testi-grid, .feat-grid { margin: 0; }
    .f-row input { width: 100%; }
    .f-row input:first-child { margin-right: 0; margin-bottom: 10px; }
    footer.gov-footer .footer-col, footer.gov-footer .gov-footer-col { width: 100%; }
}

/* ═══ 打印 ═══ */
@media print {
    nav.gov-nav, footer.gov-footer, .right-nav, .back-top, .gov-kefu, .cookie-bar, .video-fab, .top-bar { display: none !important; }
    body { min-width: auto; color: #000; background: #fff; }
}
