/* ================= 全局重置 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
body {background: none; background-color: #ffffff; overflow-x: hidden; }
.center { width: 100%; max-width: 1500px; padding: 0 30px; margin: 0 auto; }
a { text-decoration: none; color: #333333; }
a:hover{text-decoration: none}
ul { list-style: none; }
img { max-width: 100%; }
.cont{
    background: linear-gradient(
            180deg, #e1efff 0%, #ffffff 100%);
}
.fl{float: left}
.fr{float: right}
.clear{clear: both}
/* ================= 1. 顶部小条 ================= */
.top-bar { position: absolute; top: 0; left: 0; right: 0; height: 48px; font-size: 18px; color: #083669; z-index: 100; background: transparent; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.top-bar-left { display: flex; align-items: center; gap: 15px; }
.top-bar-left a { color: #083669; }
.top-bar-right { display: flex; align-items: center; gap: 15px; }
.top-bar-right a { color: #083669; font-size: 18px; }
.btn-login { border-radius: 91px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); padding: 4px 17px; cursor: pointer; display: flex; align-items: center; gap: 15px; }
.btn-elderly { background: linear-gradient(270deg, #d00804 0%, #f09594 100%); padding: 4px 12px; border-radius: 129px; color: #fff !important; display: flex; align-items: center; gap: 6px; cursor: pointer; height: 36px; }
.btn-elderly img { width: 16px; margin: 0 8px; }

/* ================= 2. 头部区域 ================= */
.header { width: 100%; height: 690px; background: url('http://www.chongyang.gov.cn/images/material/2026/bg.jpg') no-repeat center center; background-size: cover; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.header-content { text-align: center; margin-top: 20px; padding: 0 20px; }
.header-emblem { width: 100px; display: block; margin: 0 auto 15px; }
.header-title { font-size: 48px; font-weight: bold; color: #ffffff; letter-spacing: 4px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.header-subtitle { font-size: 18px; color: #ffffff; letter-spacing: 2px; margin-top: 10px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.search-box { margin-top: 30px; display: flex; width: 600px; max-width: 100%; height: 64px; background: #fff; border-radius: 129px; overflow: hidden; }
.search-box input { flex: 1; border: none; outline: none; padding: 0 24px; font-size: 16px; min-width: 0; }
.search-btn { background: linear-gradient(270deg, #d00804 0%, #f09594 100%); border: none; width: 145px; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 6px 6px 0; flex-shrink: 0; border-radius: 129px; height: 52px; }
.search-btn img { width: 18px; height: 18px; }

/* ================= 3. 导航栏 ================= */
.nav-bar { background: linear-gradient(180deg, #015293d9 0%, #508ed1d9 100%); height: 70px; width: 100%; }
.nav-list { display: flex; justify-content: space-around; align-items: center; height: 100%; width: 100%; max-width: 1500px; padding: 0 30px; margin: 0 auto; }
.nav-list li { height: 100%; line-height: 70px; }
.nav-list li a { color: #fff; font-size: 28px; font-weight: 500; cursor: pointer; padding: 0 20px; }
/*.nav-list li.active a, .nav-list li:hover a { background: rgba(255,255,255,0.15); }*/

.part1 { background: linear-gradient(180deg, #e1efff 0%, #ffffff 100%); padding-top: 60px; }


/* ================= 11. 网站底部 ================= */
.site-footer { background: #014888; padding: 40px 0; margin-top: 60px; }
.footer-select-row { display: flex; gap: 30px; padding: 20px 0; position: relative; }
.footer-select-row::after { content: ''; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); bottom: 0; height: 1px; background: #F4FAFF; }
.footer-select-col { flex: 1; min-width: 0; }
.footer-select-col select { width: 100%; height: 48px; padding: 0 40px 0 20px; font-size: 18px; color: #FFFFFF; background: #014888 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 20px center; background-size: 12px 8px; border: 1px solid #F4FAFF; border-radius: 4px; appearance: none; -webkit-appearance: none; -moz-appearance: none; outline: none; cursor: pointer; }
.footer-select-col select option { color: #333333; background: #FFFFFF; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; font-size: 18px; color: #FFFFFF; }
.footer-bottom-left { flex: 1; padding-top: 33px; }
.footer-bottom-left > * { margin-bottom: 20px; }
.footer-bottom-left > *:last-child { margin-bottom: 0; }
.footer-bottom-right { display: flex; align-items: center; gap: 40px; flex-shrink: 0; padding-top: 51px; }
.footer-bottom-right img:nth-child(1) { width: 80px; height: 80px; display: block; }
.footer-bottom-right img:nth-child(2) { width: 110px; height: 55px; display: block; }
.footer-bottom-right img:nth-child(3) { width: 110px; height: 55px; display: block; }
.footer-bottom a { color: #FFFFFF; font-size: 18px; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; font-size: 18px; color: #FFFFFF; }
.footer-links a img { height: 22px; width: auto; margin-right: 12px; }
.footer-bottom .divider { color: #FFFFFF; font-size: 18px; margin: 0 20px; }
.footer-bottom-left p { font-size: 18px; color: #FFFFFF; display: flex; align-items: center; flex-wrap: wrap; }
.footer-bottom-left p > span, .footer-bottom-left p > a { display: inline-block; }


/*列表页*/
.main{
    background-color: #fff;padding: 20px 10px;
}
.location{padding: 10px;background-color: #f5f5f5;}
.location a:first-of-type {margin-left: 25px}
.location i{    background: url(http://www.chongyang.gov.cn/images/material/2026/location.png) no-repeat center center;
    width: 22px;
    height: 22px;
    position: absolute;
    display: inline-block;
    background-size: contain;}
.chaList {
    display: flex;
    width: 100%;
    margin-top: 30px;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.chaList li {
    min-width: 0;            /* 防止文字溢出时撑破 */
    width: 280px;
    line-height: 75px;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 12px;     /* 圆角矩形 */
    overflow: hidden;
    transition: all 0.25s ease;
}

.chaList li a {
    color: #2d66a5;
}

.chaList .curCha {
    background-color: #2d66a5;
}

.chaList .curCha a {
    color: #ffffff;
}

.chaList li:hover {
    background-color: #e0ebfa;
}

.chaList .curCha:hover {
    background-color: #24558c;
}

.chaTitle{
    border-bottom: solid 1px #CCC;
    margin-top: 20px;
    line-height: 52px;
    padding-right: 10px;
}
.chaTitle .bTitle{
    border-bottom: solid 5px #487BC5;
    font-size: 24px;
    color: #487BC5;
    font-weight: bold;
    padding: 0 20px;
    line-height: 50px;
    display: inline-block;
}
.chaTitle .more{
    float: right;
}
.newsList{
    padding: 20px 10px;
}
.newsList li{
    padding: 16px;
    line-height: 24px;
    font-size: 18px;
}
.newsList li span{
    float: right;
    font-size: 16px;
}


/*分页*/
.pages {
    font: 0/0 microsoft yahei;
    padding: 20px 0;
    text-align: center;
}

.pages a,
.pages span {
    display: inline-block;
    line-height: 18px;
    margin: 0 2px 10px 2px;
    padding: 10px 15px;
    font-size: 14px;
    vertical-align: middle;
    background-color: #f5f5f5;
    border-radius: 2px;
}

.pages a:hover {
    position: relative;
    background-color: #a3bde2;
    color: #fff;
}

.pages .current {
    background-color: #00a0e9;
    color: #fff;
    position: relative;
}

.pages .disabled {
    color: #ccc;
    cursor: not-allowed;
}

.pages select {
    border: 1px #d2d2d2 solid;
    padding: 4px;
}


/*通用细览*/
.xqym{width: 100%;border: none;}
.xqym-box{padding: 0 0 30px 0}
.xqym .xqym-title{border: none}
.xqym .xqym-title h2{
    font-size: 30px;
    font-weight: bold;
    color: #111;
}
.xqym-title div{
    padding: 15px;
    border-top: 1px solid #3376af;
    border-bottom: 1px solid #3376af;
}
.xqym-title div span{color: #222}
.gl{
    font-size: 20px;
    margin-top: 50px;
}

/*政策文件*/

.article-meta{
    border: 1px solid #3376af;
    padding: 20px 10px;
    font-size: 16px;
    color: #333;
    line-height: 2.2;
}
.article-meta p{display: flex;}
.article-meta .box-one-six, .article-meta .box-one-seven{flex: 1;}
.article-meta i{font-weight: bold}

/* ================= 12. 移动端适配 ================= */
@media (max-width: 1200px) {
    .center { padding: 0 20px; }
    .top-bar { position: relative; height: auto; padding: 8px 0; background: #f8f9fa; }
    .top-bar-inner { flex-wrap: wrap; gap: 10px; font-size: 14px; }
    .top-bar-right { flex-wrap: wrap; gap: 8px; }
    .top-bar-right a, .top-bar-left a { font-size: 14px !important; }
    .header { height: 400px; }
    .header-title { font-size: 32px; letter-spacing: 2px; }
    .header-emblem { width: 70px; }
    .search-box { width: 90%; height: 50px; }
    .search-btn { width: 110px; height: 42px; font-size: 14px; }
    .nav-bar { height: auto; }
    .nav-list { flex-wrap: wrap; padding: 10px 15px; height: auto; }
    .nav-list li { height: auto; line-height: 1.5; }
    .nav-list li a { font-size: 18px; padding: 8px 12px; }

    .footer-bottom { flex-direction: column; gap: 20px; }
    .footer-bottom-right { padding-top: 0; }
    .footer-select-row { flex-wrap: wrap; }
    .footer-select-col { flex: 1 1 calc(50% - 15px); }

    /*列表页*/
    .main{padding: 20px 5px;}
    .newsList {
        padding: 20px 5px;
    }
    .newsList li{
        padding: 16px 5px;
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    .top-bar{display: none}
    .center { padding: 0; }
    .header { height: 280px; }
    .header-title { font-size: 24px; letter-spacing: 2px; }
    .header-subtitle { font-size: 12px; }
    .header-emblem { width: 50px; margin-bottom: 8px; }
    .search-box { width: 92%; height: 44px; margin-top: 15px; }
    .search-box input { padding: 0 15px; font-size: 14px; }
    .search-btn { width: 90px; height: 36px; font-size: 13px; }
    .search-btn img { width: 14px; height: 14px; }
    .nav-list { padding: 8px 5px; }
    .nav-list li a { font-size: 14px; padding: 6px 8px; }

    .footer-select-col { flex: 1 1 100%; }
    .footer-select-col select { font-size: 14px; height: 42px; padding: 0 30px 0 12px; }
    .footer-bottom { font-size: 14px; }
    .footer-bottom-left { padding-top: 20px; }
    .footer-bottom-left p { font-size: 14px; }
    .footer-bottom-left p > * { margin-bottom: 0; }
    .footer-bottom-left .divider { margin: 0 8px; }
    .footer-links a { font-size: 14px; }
    .footer-links a img { height: 16px; margin-right: 6px; }
    .footer-bottom a { font-size: 14px; }
    .footer-bottom-right { gap: 15px; padding-top: 15px; flex-wrap: wrap; }
    .footer-bottom-right img:nth-child(1) { width: 60px; height: 60px; }
    .footer-bottom-right img:nth-child(2), .footer-bottom-right img:nth-child(3) { width: 80px; height: 40px; }

    .btn-login, .btn-elderly { padding: 2px 10px; font-size: 12px; }
    .btn-elderly { height: 28px; }
    .btn-elderly img { width: 12px; }

    /*列表页*/
    .main{padding: 20px 5px;}
    .newsList {
        padding: 20px 0;
    }

    /*细览*/
    .xqym{padding: 0}

    /*政策文件细览*/
    .article-meta p{display: grid}
    .article-meta .box-one-six, .article-meta .box-one-seven{flex: none;}
}
@media (max-width: 480px) {
    .header { height: 220px; }
    .nav-list li a { font-size: 13px; padding: 5px 6px; }
}