/*全局重置*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    list-style:none;
    text-decoration:none;
}
body{
    font-family:"Microsoft YaHei",SimHei,sans-serif;
    color:#333;
    background:#f7f9f8; /* 修改：浅淡背景，替代纯白 */
    line-height:1.6;
}
img{
    display:block;
    width:100%;
}
a{
    color:#333;
}
a:hover{
    color:#006633;
}
.wrap{
    max-width:1200px;
    margin:0 auto;
    padding:0 15px;
}
/*头部 整体一行：左侧logo，右侧【搜索】，整体高度对齐*/
.site-header{
    padding:12px 0;
    background:rgba(255, 255, 255, 0.88) !important; /* 半透白 */
    border-bottom:1px solid rgba(0,0,0,0.06);
}
.header-row{
display:flex;
    justify-content:space-between;
    align-items:flex-end; /* ✅关键：左右两个子元素，底部对齐！ */
    gap:20px;
}
.logo-area{
    display:flex;
    align-items:center;
    gap:12px;
}
.logo-area img{
    width:400px;
}
.logo-text h1{
    font-size:20px;
    color:#006633;
}
.logo-text p{
    font-size:12px;
    color:#555;
}
/* ========== 修改：独立导航栏，放在header下方，宽度和header一致，半透白色背景绿色文字 ========== */
.main-nav{
    background:rgba(255, 255, 255, 0.85) !important; /*半透白*/
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    margin:0 !important;
    padding:0 !important;
    border-top:1px solid #eee; /*可选：加一条分隔线，不需要可以删掉*/
}
.main-nav .wrap{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    width:auto;
    padding:0;
}
.menu-toggle{
    display:none;
    width:40px;
    height:36px;
    padding:5px;
    flex-direction:column;
    justify-content:space-between;
}
.menu-toggle span{
    height:3px;
    background:#006633;
    border-radius:2px;
}
.nav-list{
    display:flex;
}
.nav-list li a{
    display:block;
    color:#006633;
    padding:6px 25px;
    font-size:20px;
}
.nav-list li a:hover{
    background:#f3f8f5;
    color:#004d28;
}
.page-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("../images/idx_20.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover; /* 修改：cover铺满，保持图片比例，无左右白边 */
}
/*Banner轮播区域*/
/*Banner轮播区域 修改后：不再通栏，和下面栏目对齐，带左右留白*/
.banner{
    width: 100%;
    margin-top: 15px;
}
.banner .banner-item{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position:relative; /* 为渐变伪元素做定位 */
}
/* Banner顶部渐变遮罩：导航往下柔和过渡 */
.banner .banner-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}
.banner-item img{
    height:360px;
    object-fit:cover;
    border-radius: 4px;
}
/*头条容器*/
.news-top-item{
    padding:0px 0px;
    margin-bottom:0px;
    border-bottom:1px #eee solid;
}
.news-top-title{
    display:block;
    text-align:center;
    font-size:15px;
    font-weight:bold;
    color:#000000;
    margin:0 0 1px 0;
}
.news-top-title:hover{
    color:#004899;
    text-decoration:underline;
}
/*头条摘要正文，首行空两格*/
.news-top-item p{
    font-size:15px;
    color:#333;
    line-height:1.75;
    text-indent:2em;
}
.news-top-item p a{
    color:#004899;
    text-decoration:none;
}
.news-top-item p a:hover{
    text-decoration:underline;
}
/*两栏新闻布局*/
.news-two-col{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-top:30px;
    margin-bottom:30px;
}
/*====三栏布局：直接3个平级子元素：图片｜工作动态｜通知，1:1:1均分====*/
.news-three-col{
    display:grid;
    /*比例：3 : 3.5 : 3.5*/
    grid-template-columns:3fr 3.5fr 3.5fr;
    gap:24px;
    margin-top:30px;
    margin-bottom:30px;
    align-items:stretch;
}
.img-block{
    width:100%;
    height:340px;
}
.img-block img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.news-card{
    border:1px solid #e5e5e5;
    padding:3px;
    height:100%;
    background-color: rgba(255, 255, 255, 0.96);
    border-radius:8px;
    box-shadow:0 2px 12px rgba(0,0,0,0.06);
    overflow:hidden;
}
.news-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:1px;
    border-bottom:2px solid #006633;
    padding-bottom:7px;
}
.news-head h2{
    font-size:22px;
    color:#006633;
}
.more{
    font-size:13px;
    color:#666;
}
.news-list li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:1px 0;
    border-bottom:1px dashed #eee;
    gap:12px;
}
.news-list li a{
    flex:1;
    font-size:16px;
    overflow:hidden;
    text-overflow:ellipsis;
}
/*旧兼容：栏目内图片+列表并排 */
.news-card-with-img{
    display:flex;
    gap:20px;
}
.card-left-img{
    flex:0 0 220px;
}
.card-left-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.card-right-list{
    flex:1;
}
/*日历方块日期组件*/
.date-cal{
    width:48px;
    flex-shrink:0;
    text-align:center;
    color:#ffffff;
    border-radius:2px;
    overflow:hidden;
}
.date-day{
    background:#43b061;
    font-size:18px;
    font-weight:bold;
    line-height:1.1;
    padding:3px 0;
}
.date-ym{
    background:#24813d;
    font-size:11px;
    line-height:1.1;
    padding:2px 0;
}
/*暖心后勤服务栏*/
.service-bar{
    position:relative;
    background:#006633;
    display:flex;
    align-items:center;
    gap:20px;
    padding:42px 20px 20px 130px;
    border-radius:4px;
    margin-top:40px;
    margin-bottom:40px;
}
.service-tag{
    position:absolute;
    left:50px;
    top:-24px;
    width:110px;
    height:140px;
    background:#ffd32b;
    color:#ffffff;
    font-weight:bold;
    font-size:28px;
    text-align:center;
    line-height:1.2;
    padding-top:22px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    z-index:2;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.25));
}
/*服务模块整体项*/
.service-items{
    display:flex;
    flex-direction: row;
    align-items:center;
    gap:60px;
    padding-left:80px;
}
.service-item{
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:80px;
    gap:6px;
}
/*图标尺寸*/
.service-item img{
    width:60px;
    height:60px;
    object-fit:contain;
    display:block;
}
/*普通状态文字*/
.service-item span{
    font-size:18px;
    text-align:center;
    line-height:1.3;
    color:#ffffff;
}
/*鼠标悬浮文字变色*/
.service-item:hover span{
    color:#ffdd33;
}
/*底部图片画廊*/
.gallery-inner{
    width:100%;
    max-width:1140px;
    margin:0 auto;
    overflow:hidden;
}
.custom-scroll-gallery{
    position:relative;
    overflow:hidden;
}
.custom-scroll-gallery .scroll-wrap{
    overflow:hidden;
}
.custom-scroll-gallery .scroll-list{
    display:flex;
    gap:16px;
    padding:10px 0;
    /*自动滚动，32秒一圈，数值越小速度越快*/
    animation:autoScroll 30s linear infinite;
}
/*鼠标悬浮暂停滚动*/
.custom-scroll-gallery:hover .scroll-list{
    animation-play-state:paused;
}
.custom-scroll-gallery .scroll-item{
    flex:0 0 220px;
}
.custom-scroll-gallery .scroll-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}
.custom-scroll-gallery .scroll-item p{
    font-size:14px;
    color:#333;
    text-align:center;
    padding:6px 2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
/*滚动关键帧动画*/
@keyframes autoScroll {
    0% {transform: translateX(0);}
    100% {transform: translateX(-100%);}
}
.pic-gallery{
    width:100%;
    overflow:hidden;
    margin:30px 0;
    padding:0 !important;
}
section.wrap.pic-gallery {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}
.gallery-inner{
    width:100%;
    max-width:100%;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}
.custom-scroll-gallery{
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
}
.scroll-wrap{
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
}
.scroll-list{
    display:flex !important;
    gap:16px;
    padding:10px 0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
width: max-content;   /* 关键：宽度撑开为全部15条总宽度 */
    animation:autoScroll 80s linear infinite !important;
}
.scroll-item{
    flex:0 0 220px;
    margin:0 !important;
    padding:0 !important;
}
.scroll-item img{
    width:100%;
    height:140px;
    object-fit:cover;
    display:block;
}
.scroll-item p{
    font-size:14px;
    color:#333;
    text-align:center;
    padding:6px 2px;
    white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis;
}
.pic-gallery:hover .scroll-list{
    animation-play-state: paused !important;
}
/*页脚*/
.site-footer{
    background:#004d28;
    color:#fff;
    padding:24px 0;
    font-size:13px;
}
.footer-inner{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px;
}
.footer-copy{
    text-align:center;
    flex:1;
}
.footer-qr{
    display:flex;
    gap:24px;
    text-align:center;
    margin-right: 60px;
}
.qr-item{
    position:relative;
    cursor:default;
}
.qr-item .qr-icon{
    width:44px;
    height:44px;
    display:block;
    margin:0 auto 4px;
}
/*悬浮弹出二维码浮层*/
.qr-hover-pop{
    position:absolute;
    bottom:calc(100% + 12px);
    left:50%;
    transform:translateX(-50%);
    background:#fff;
    padding:8px;
    border-radius:6px;
    box-shadow:0 2px 12px rgba(0,0,0,0.22);
    display:none;
    z-index:9999;
}
.qr-hover-pop img{
    width:100px;
    height:100px;
    display:block;
}
.qr-item:hover .qr-hover-pop{
    display:block;
}
/*========响应式========*/
@media (max-width:1200px){
    .news-three-col{
        grid-template-columns:1fr;
        justify-items:center;
    }
    .news-three-col .news-card{
        width:100%;
        max-width:720px;
    }
}
@media (max-width:768px){
    .header-row{
        flex-direction:column;
        gap:12px;
        align-items:flex-start;
    }
    .header-right-wrap{
        width:100%;
    }
    .header-search{
        justify-content:center;
    }
    .main-nav .wrap{
        justify-content:flex-start;
    }
    .menu-toggle{
        display:flex;
    }
    .nav-list{
        position:absolute;
        left:0;
        top:100%;
        width:100%;
        background:#ffffff;
        flex-direction:column;
        display:none;
        z-index:99;
    }
    .nav-list li a{
        color:#006633;
    }
    .nav-list.show{
        display:flex;
    }
    .banner-item img{
        height:220px;
    }
    .news-two-col{
        grid-template-columns:1fr;
    }
    .news-three-col .news-card{
        max-width:100%;
    }
    .news-list li a{
        white-space:normal;
    }
    .news-card-with-img{
        flex-direction:column;
    }
    .card-left-img{
        flex:none;
    }
    .service-bar{
        padding:40px 20px 20px 20px;
        flex-direction:column;
    }
    .service-items{
        display:grid !important;
        grid-template-columns: 1fr 1fr 1fr;
        gap:24px 12px;
        padding-left:0;
    }
    .service-item img{
        width:42px;
        height:42px;
    }
    .service-item span{
        font-size:12px;
    }
    .service-tag{
        left:40px;
        top:-10px;
        width:50px;
        height:80px;
        font-size:15px;
        padding-top:12px;
    }
    .custom-scroll-gallery .scroll-item{
        flex:0 0 160px;
    }
    .footer-inner{
        flex-direction:column;
        text-align:center;
    }
    .date-cal{
        width:40px;
    }
    .date-day{
        font-size:18px;
    }
}
/* ========== 面包屑 当前位置 ========== */
.page-breadcrumb-wrap {
    background: #f7f7f7;
    padding:12px 0;
}
.page-breadcrumb {
    font-size:14px;
    color:#666;
}
.page-breadcrumb a {
    color:#333;
}
.page-breadcrumb a:hover {
    color:#004899;
}
.page-breadcrumb .sep {
    margin:0 6px;
    color:#999;
}
.page-breadcrumb .current {
    color:#004899;
}
/* ========== 双栏主体区域 ========== */
.page-content-wrap {
    padding:30px 0 50px;
}
.content-row {
    display: flex;
    gap:30px;
}
/* 左侧栏目名称区域 */
.content-left {
    width:240px;
    flex-shrink:0;
}
.column-title {
    font-size:22px;
    font-weight:bold;
    color:#006835;
    padding-bottom:12px;
    border-bottom:2px solid #006835;
}
/* 右侧文章列表 */
.content-right {
    flex:1;
}
.article-list {
    list-style:none;
}
.article-list li {
    display:flex;
    justify-content: space‑between;
    align-items:center;
    padding:12px 0;
    border-bottom:1px dotted #dddddd;
}
.article-list li a {
    color:#333;
}
.article-list li a:hover {
    color:#004899;
}
.art-date {
    font-size:13px;
    color:#888;
}
/* 移动端适配：小屏幕变成上下堆叠 */
@media (max-width:1200px){
    .content-row {
        flex-direction:column;
        gap:20px;
    }
    .content-left {
        width:100%;
    }
}
/* Tab组件样式，移除更多相关样式 */
.tab-news-wrap{
    display:flex;
    flex-direction:column;
}
.tab-news-header{
    display:flex;
    justify-content:flex-start;
    align-items:flex-end;
    border-bottom:2px solid #006633;
    margin-bottom:12px;
}
.tab-title-group{
    display:flex;
    gap:24px;
}
.tab-news-btn{
    font-size:22px;
    font-weight:bold;
    color:#666;
    line-height:42px;
    cursor:pointer;
    position:relative;
}
.tab-news-btn.active{
    color:#006633;
}
.tab-news-btn.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:100%;
    height:3px;
    background-color:#006633;
}
.tab-news-panel{
    display:none;
}
.tab-news-panel.active{
    display:block;
}