/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5 url(../images/zwxxgk_banner_bg.png) no-repeat center top;
    background-size: 100% auto;
    min-height: 100vh;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }

/* ===== 主容器 ===== */
.main-container {
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 0 25px 25px 25px;
    margin-top: 0;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* ===== 顶部 Banner ===== */
.banner {
    position: relative;
    overflow: visible;
}
.banner-wrapper {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}
.backtoindex {
    left: -68px;
    position: absolute;
    padding: 8px 12px;
    
    color: #000 !important;
    background: #fff;
    font-size: 12px;
    border-radius: 0 0 5px 5px;
    text-decoration: none;
    line-height: 20px;
    z-index: 10;
    top: 0;
}
.backtoindex:hover {
    text-decoration: none;
}
.accessibility {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 16px;
    color: #fff;
    z-index: 10;
}
.accessibility a {
    color: #fff;
    text-decoration: none;
}
.accessibility a:hover {
    text-decoration: underline;
}
.zfxxgk_banner {
    width: 100%;
    height: 320px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    position: relative;
    z-index: 1;
}
.zfxxgk_logo {
    margin-top: 10px;
    margin-left: 5px;
    max-width: 80%;
    height: auto;
}
.banner-top {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}
.banner-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.gov-brand { display: flex; align-items: center; }
.gov-emblem { width: 46px; height: 46px; margin-right: 12px; }
.gov-name {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}
.banner-main {
    padding: 50px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.main-title {
    color: #fff;
    font-size: 72px;
    font-weight: bold;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}
.title-divider {
    width: 500px;
    height: 3px;
    background: #fff;
    margin: 18px auto 0;
    opacity: 0.9;
}

/* ===== 搜索栏 ===== */
.search-section {
    padding: 30px 0;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 5;
    margin-bottom: 20px;
}
/* 搜索栏底部渐变过渡 */
.search-section::after {
    display: none;
}
.search-box-wrapper {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto;
}
/* 左右装饰线 */
.search-box-wrapper::before,
.search-box-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background: #ddd;
}
.search-box-wrapper::before {
    left: 5%;
}
.search-box-wrapper::after {
    right: 5%;
}
.search-box {
    display: inline-flex;
    width: 500px;
    border: 2px solid #2d7dd2;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 1;
}
.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
}
.search-box button {
    padding: 0 25px;
    background: #fff;
    color: #2d7dd2;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-left: 1px solid #eee;
}
.search-box button:hover { background: #f8f9fa; }

/* ===== 主体布局 ===== */
.main-layout {
    width: 100%;
    overflow: hidden;
}

/* ===== 左侧导航（dl_nav风格） ===== */
.side-nav {
    width: 240px;
    float: left;
    font-size: 14px;
}
.nav-item {
    width: 240px;
    height: 78px;
    margin-top: 15px;
    float: left;
    font-weight: normal;
    cursor: pointer;
}
/* 第一个菜单项去掉顶部间距 */
.nav-item:first-child {
    margin-top: 0;
}
.nav-item > .nav-link {
    width: 238px;
    color: #2d66a5;
    font-size: 20px;
    display: flex;
    align-items: center;
    height: 74px;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
}
.nav-item:hover > .nav-link {
    width: 238px;
    height: 73px;
    background: #2d66a5;
    color: #ffffff;
    font-size: 20px;
    border: 1px solid #2c6294;
}
.nav-item.active > .nav-link {
    height: 75px;
    width: 238px;
    background: #2d66a5;
    color: #ffffff;
    font-size: 20px;
    border: 1px solid #2c6294;
}
.nav-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    margin-left: 20px;
    margin-right: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-style: normal;
}
/* 6个菜单图标 - 正常状态 */
.nav-icon.bnt00 {
    background-image: url(../images/zcwj-bt.png);
}
.nav-icon.bnt01 {
    background-image: url(../images/zwxxgk_bnt01.png);
}
.nav-icon.bnt02 {
    background-image: url(../images/zwxxgk_bnt02.png);
}
.nav-icon.bnt03 {
    background-image: url(../images/zwxxgk_bnt03.png);
}
.nav-icon.bnt04 {
    background-image: url(../images/zwxxgk_bnt04.png);
}
.nav-icon.bnt05 {
    background-image: url(../images/zwxxgk_bnt05.png);
}
/* 6个菜单图标 - 选中状态（白色图标） */
.nav-item.active .nav-icon.bnt00,
.nav-item:hover .nav-icon.bnt00 {
    background-image: url(../images/zcwj-btb.png);
}
.nav-item.active .nav-icon.bnt01,
.nav-item:hover .nav-icon.bnt01 {
    background-image: url(../images/zwxxgk_bnt01b.png);
}
.nav-item.active .nav-icon.bnt02,
.nav-item:hover .nav-icon.bnt02 {
    background-image: url(../images/zwxxgk_bnt02b.png);
}
.nav-item.active .nav-icon.bnt03,
.nav-item:hover .nav-icon.bnt03 {
    background-image: url(../images/zwxxgk_bnt03b.png);
}
.nav-item.active .nav-icon.bnt04,
.nav-item:hover .nav-icon.bnt04 {
    background-image: url(../images/zwxxgk_bnt04b.png);
}
.nav-item.active .nav-icon.bnt05,
.nav-item:hover .nav-icon.bnt05 {
    background-image: url(../images/zwxxgk_bnt05b.png);
}
.nav-text {
    flex: 1;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}
.nav-arrow {
    font-size: 20px;
    color: #999;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-right: 15px;
    font-weight: bold;
}
.nav-item.active .nav-arrow { color: rgba(255,255,255,.9); }
.nav-item:hover .nav-arrow { color: #fff; }

/* 子菜单 */
.nav-sub {
    display: none;
    width: 240px;
    background: #fff;
    color: #999;
    float: left;
    padding-top: 20px;
}
.nav-sub.open { display: block; }

.cat-tree { padding: 0; }

.tree-node {
    padding: 8px 0px 8px 40px;
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #4a4a4a;
    transition: background .15s;
}
.tree-node:hover {
    background-color: rgb(230,245,255);
    color: #2d66a5;
}
.tree-node.active {
    background-color: rgb(230,245,255);
    color: #2d66a5;
    font-weight: 600;
}
.tree-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    margin-right: 10px;
    flex-shrink: 0;
}
.tree-node.active .tree-dot { background: #2d66a5; }
.tree-label { flex: 1; }
.tree-arrow-sub {
    font-size: 16px;
    color: #999;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    font-weight: bold;
}
.tree-children {
    display: none;
    padding-left: 12px;
}
.tree-children.open { display: block; }

/* ===== 右侧内容区 ===== */
.content-right {
    width: 892px;
    display: block;
    float: left;
    background-color: #FFF;
    border: 1px solid #dfdfdf;
    padding: 0px 20px;
    margin-left: 18px;
    min-height: 500px;
}
.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 2px solid #2d7dd2;
}
.content-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d7dd2;
}
.content-more {
    font-size: 13px;
    color: #999;
}
.content-more:hover { color: #2d7dd2; }

/* 信息列表 */
.info-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e8e8e8;
}
.info-list li:hover .list-title { color: #2d7dd2; }
.list-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 15px;
}
.list-date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}
.list-index {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #e8e8e8;
    color: #999;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}
.info-list li:nth-child(-n+3) .list-index {
    background: #2d7dd2;
    color: #fff;
}

/* 加载/空状态 */
.loading, .empty, .tree-empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 25px 0 10px;
}
.pagination button {
    padding: 6px 14px;
    border: 1px solid #e8e8e8;
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;
    color: #666;
}
.pagination button:hover:not(:disabled) {
    border-color: #2d7dd2;
    color: #2d7dd2;
}
.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pagination .page-info {
    color: #999;
    font-size: 13px;
    margin: 0 10px;
}

/* ===== 底部版权 ===== */
.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
    background: #f5f7fa;
}

/* ===== 详情页 ===== */
.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-top: 20px;
    margin-bottom: 30px;
}
/* 右侧内容区中的详情样式 */
.content-right .detail-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 1.5;
}
.content-right .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
    background: #f8fafd;
    border-radius: 4px;
    margin-bottom: 30px;
    font-size: 13px;
    color: #666;
    justify-content: center;
}
.content-right .detail-meta span { display: inline-flex; gap: 5px; }
.content-right .detail-meta strong { color: #333; font-weight: normal; }
.content-right .detail-content {
    font-size: 15px;
    line-height: 2;
    color: #333;
    padding-bottom: 30px;
}
.content-right .detail-content p { margin-bottom: 15px; text-indent: 2em; }
.content-right .detail-content img { max-width: 100%; height: auto; }
.content-right .breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.content-right .breadcrumb a { color: #666; }
.content-right .breadcrumb a:hover { color: #2d7dd2; }
.detail-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
    background: #f8fafd;
    border-radius: 4px;
    margin-bottom: 30px;
    font-size: 13px;
    color: #666;
}
.detail-meta span { display: inline-flex; gap: 5px; }
.detail-meta strong { color: #333; font-weight: normal; }
.detail-content {
    font-size: 15px;
    line-height: 2;
    color: #333;
}
.detail-content p { margin-bottom: 15px; text-indent: 2em; }
.detail-content img { max-width: 100%; height: auto; }
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #999;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #2d7dd2; }

/* ===== 表单通用 ===== */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
.form-group label .required { color: #e74c3c; margin-right: 3px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2d7dd2;
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.btn-primary {
    padding: 10px 30px;
    background: #2d7dd2;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.btn-primary:hover { background: #1a6bc4; }

/* 外链菜单 */
.tree-link { color: #333; text-decoration: none; }
.tree-link:hover { color: #1e6ebb; }
.tree-node-link:hover { background: #e8f0fa; }

/* 详情页文章样式 */
.detail-article {
    background: #fff;
    padding: 30px 40px;
    border-radius: 4px;
}
.detail-article .detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}
.detail-info-bar {
    text-align: center;
    font-size: 13px;
    color: #999;
    padding-bottom: 15px;
}
.detail-info-bar span {
    margin: 0 10px;
}
.detail-divider {
    height: 1px;
    background: #eee;
    margin-bottom: 25px;
}
.detail-attachments {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}
.attach-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.attach-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 14px;
}
.attach-item a {
    color: #1e6ebb;
    text-decoration: none;
    flex: 1;
}
.attach-item a:hover { text-decoration: underline; }
.attach-size {
    color: #999;
    font-size: 12px;
    margin-left: 15px;
}