/* Logo组件专用样式 */
.logo-wrap {
    height: 121px;
    display: flex;
    align-items: center;
}
.logo-wrap a {
    display: inline-block;
}
.logo-wrap img {
    width: auto;
    height: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}
.logo-wrap {
    padding-left: 15px;
}
@media screen and (max-width:1024px) {
    .logo-wrap {
        height: 60px;
        padding-left:10px;
    }
    .logo-wrap img {
        max-height: 48px;
    }
}

/* ========= 最外层全部页面包裹容器 ========= */
.page-bg-wrap{
    width:100%;
}
.header-banner{
    width:100%;
}
.header-banner .wid{
    height: auto;
    min-height: 110px;
    display:flex;
    align-items:center;
}
.header-banner .logo-wrap{
    padding-left:0;
    height:auto;
}
.header-banner .logo-wrap img{
    max-height:100px;
    width:auto;
    height:auto;
    object-fit:contain;
}

/* =========导航栏 ========= */
.nav{
    max-width: 1200px;
    width: 100%;
    margin: 12px auto 0 auto;
    background: #ffffff;
    height: 50px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
}
.nav .wid{
    width:100%;
    max-width:1200px;
    height:50px;
    display:flex;
    justify-content: center;
    gap: 24px;
    align-items: stretch;
    float:none;
}
.nav-item {
    float: none;
    position: relative;
    flex: 0 0 auto;
}
.nav-item > a {
    display:block;
    padding:0 22px;
    line-height:50px;
    font-size:18px;
    font-weight:bold;
    text-decoration:none;
    color:#0F44A0;
}
.nav-item > a:hover {
    background:#cccccc;
    color:#333333;
    box-shadow:inset 0 2px 4px rgba(0,0,0,0.15);
}
.nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    width: 100%;
    z-index: 9999;
    padding-top:4px;
    margin-top:-4px;
}
.nav-sub li {
    list-style: none;
    width:100%;
}
.nav-sub li a {
    display: block;
    padding: 11px 0;
    color: #0F44A0;
    text-decoration: none;
    white-space: nowrap;
    font-size:17px;
    font-weight:bold;
    text-align: center;
}
.nav-sub li a:hover {
    background-color: #cccccc;
    color:#333333;
}
.nav-item:hover .nav-sub {
    display: block;
}

/* 轮播图 */
.banner-swiper-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 480px;
  overflow: hidden;
  position: relative;
}
.banner-swiper {
  width: 100%;
  height: 100%;
}
.banner-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}
.banner-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.banner-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
.banner-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
  width: 44px !important;
  height: 44px !important;
  background: rgba(0,0,0,0.35) !important;
  border-radius: 50% !important;
  color: #fff !important;
  z-index:10;
}
.banner-swiper .swiper-button-prev { left:20px; }
.banner-swiper .swiper-button-next { right:20px; }
.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
  font-size:18px !important;
}
.banner-swiper .swiper-pagination {
  bottom:16px;
  z-index:10;
}
.banner-swiper .swiper-pagination-bullet {
  width:10px;
  height:10px;
  background:#fff;
  opacity:0.45;
}
.banner-swiper .swiper-pagination-bullet-active {
  background:#0d59a7;
  opacity:1;
}
@media screen and (max-width:1220px) {
  .banner-swiper-wrap{
    width: auto !important;
    padding:0 15px;
    height:400px;
  }
}
@media screen and (max-width:768px) {
  .banner-swiper-wrap { height:240px; }
  .banner-swiper .swiper-button-prev,
  .banner-swiper .swiper-button-next { display:none; }
}

/* 通知列表 */
.notice-item-list {
    width: 100%;
    background: #ffffff;
}
.notice-item {
    display: flex;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #eeeeee;
    gap: 24px;
}
.notice-date {
    min-width: 90px;
    text-align: center;
}
.notice-date-day {
    display: block;
    font-size: 46px;
    font-weight: 600;
    color: #0F44A0;
    line-height: 1;
}
.notice-date-ym {
    display: block;
    font-size: 14px;
    color: #888888;
    margin-top: 6px;
}
.notice-info {
    flex: 1;
    min-width: 0;
}
.notice-title-link {
    display: block;
    font-size: 17px;
    color: #222222;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.45;
}
.notice-title-link:hover { color: #0F44A0; }
.notice-desc {
    font-size: 14px;
    color: #777777;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notice-arrow { flex-shrink: 0; margin-top: 12px; }
.notice-arrow:hover svg circle{ fill:#0F44A0; }
.notice-arrow:hover svg path{ stroke:#ffffff; }
@media screen and (max-width:768px){
    .notice-item{ padding:18px 0; gap:16px; }
    .notice-date{ min-width:70px; }
    .notice-date-day{ font-size:34px; }
    .notice-title-link{ font-size:16px; }
}

.news-list-two-col{ width:100%; }
.news-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px dotted #cccccc;
}
.news-title{
    display:block;
    flex:1;
    font-size:15px;
    color:#004099;
    text-decoration:none;
}
.news-title:hover{ text-decoration:underline; }
.news-title .arrow{ color:#004099; margin-right:6px; }
.news-date{
    font-size:15px;
    color:#333333;
    white-space:nowrap;
    margin-left:16px;
}
@media screen and (max-width:768px){
    .news-item{ padding:8px 0; flex-direction:column; align-items:flex-start; }
    .news-date{ margin-left:0; margin-top:4px; font-size:13px; }
}

/* ==========列表页布局 ========== */
.list-container{
    display:flex;
    gap:30px;
    margin:30px auto;
}
.list-left{
    width:240px;
    flex-shrink:0;
    background:#ffffff;
    padding:12px;
    border-radius:4px;
    box-shadow:0 1px 4px rgba(0,0,0,0.08);
}
.list-right{
    flex:1;
    background:#ffffff;
    padding:16px;
    border-radius:4px;
    box-shadow:0 1px 4px rgba(0,0,0,0.08);
}
.breadcrumb-box{
    background:#ffffff;
    padding:10px 0 10px 0;
}
.breadcrumb-box a{
    color:#0F44A0;
}
.line-blue{
    border-bottom:2px solid #0F44A0;
    margin:8px 0 20px 0;
}
.page-box{ margin-top:30px; text-align:center; }
@media screen and (max-width:768px){
    .list-container{ flex-direction:column; }
    .list-left{ width:100%; margin-bottom:15px; }
}

.wrap-list{ padding:0; }
.wrap-list .news-item{
    display:flex;
    justify-content: space-between;
    align-items:center;
    padding:12px 0;
    border-bottom:1px dashed #dddddd;
}
.wrap-list .news-title{
    color:#333;
    text-decoration:none;
}
.wrap-list .news-title:hover{
    color:#0F44A0;
    text-decoration:underline;
}
.wrap-list .news-date{
    color:#666666;
    white-space:nowrap;
    margin-left:20px;
}

/* ========== 最新动态 / 人事人才 标题行统一样式 ========== */
.title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding-top: 18px;
    margin-bottom:8px;
    padding-bottom:0px;
    min-height:46px;
}
.title-row .img1{
    flex-shrink:0;
}
.title-row h2{
    flex:1 1 auto;
    display:inline-flex;
    align-items:center;
    flex-wrap:nowrap;
    gap:10px;
    margin:0;
    padding:0;
    font-size:24px;
    height:46px;
    line-height:46px;
    color:#0F44A0;
    font-weight:700;
    min-width:0;
}
.title-row h2 a{
    color:#0F44A0;
    text-decoration:none;
    white-space:nowrap;
    flex:0 0 auto;
    font-size:24px;
    font-weight:700;
    height:46px;
    line-height:46px;
}
.title-row h2 a:hover{
    text-decoration:underline;
}
.title-row .title-en{
    font-size:20px;
    line-height:46px;
    color:#b0b4bb;
    font-weight:700;
    letter-spacing:0.5px;
    white-space:nowrap;
    flex:0 0 auto;
}

/* 人事人才标题区强制单行 */
.right .title-row{
    gap:10px;
}
.right .title-row h2{
    gap:8px;
    flex-wrap:nowrap;
    width:100%;
    min-width:0;
}
.right .title-row h2 a{
    flex:0 0 auto;
}
.right .title-row .title-en{
    font-size:20px;
    flex:0 0 auto;
}

/* 统一所有「更多」红色样式 */
.more-link{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    color:#c8102e;
    font-weight:500;
    letter-spacing:1px;
    text-decoration:none;
    border:none;
    background:transparent;
    padding:0;
    height:46px;
    line-height:46px;
    transition: color 0.2s;
}
.more-link:hover{
    color:#a00d24;
    text-decoration:none;
}

/* 加号红色方块 */
.more-plus{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #c8102e;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 2px;
    box-sizing: border-box;
    transition: background 0.2s;
}
.more-link:hover .more-plus{
    background-color: #a00d24;
}

/* 最新动态、人事人才列表间距 */
.scon1,
.right{
    padding-top:4px !important;
}
.scon1 .big,
.right .top1{
    margin-top:8px !important;
    padding-top:4px !important;
    border-top:1px solid #eef1f5;
}

/* ========== 招聘/职称/服务/下载 改成上面绿框一样的样式 ========== */
.nr {
    background: transparent !important; /* 去掉原有的灰色背景 */
    padding: 20px 0 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    height: auto !important;
    overflow: visible !important;
    clear: both !important;
}

.nr .wid {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 34px !important; /* 和上面绿框的间隙保持一致 */
    float: none !important;
}

/* 强制前两列宽度变成上面绿框左侧（最新动态）的 63.58% */
.nr .wid .l:nth-child(odd) {
    width: calc(63.58% - 17px) !important;
    flex: 0 0 calc(63.58% - 17px) !important;
    flex-shrink: 0 !important;
    float: none !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* 强制后两列宽度变成上面绿框右侧（人事人才）的 33.58% */
.nr .wid .l:nth-child(even) {
    width: calc(33.58% - 17px) !important;
    flex: 0 0 calc(33.58% - 17px) !important;
    flex-shrink: 0 !important;
    float: none !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* 核心修复：完全模仿上面 title-row 的 flex 布局结构，防止换行且保持字体大小一致 */
.nr .nr-title-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-right: 0 !important;
    position: relative !important;
    margin-bottom: 8px !important;
    padding-top: 18px !important;
    min-height: 46px !important;
}

.nr .l h5 {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 24px !important; /* 严格保持 24px，不缩小 */
    color: #0F44A0 !important;
    font-weight: 700 !important;
    height: 46px !important;
    line-height: 46px !important;
    border-bottom: none !important;
    padding-left: 26px !important; /* 微调左侧内边距，为文字腾出空间 */
    background-size: 21px 23px !important;
    background-position: 0px center !important;
    background-repeat: no-repeat !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important; /* 强制不换行 */
    overflow: hidden !important; /* 超出隐藏 */
    text-overflow: ellipsis !important; /* 超出部分显示省略号 */
}

.nr .nr-en-sub {
    font-size: 20px !important; /* 严格保持 20px，不缩小 */
    line-height: 46px !important;
    color: #b0b4bb !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    flex: 0 1 auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 将“更多”按钮改回和上方一样的普通流式布局，不再使用绝对定位 */
.nr .nr-more-link {
    position: static !important;
    flex-shrink: 0 !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    color: #c8102e !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    height: 46px !important;
}

.nr .nr-more-link .more-plus {
    width: 20px;
    height: 20px;
    font-size: 14px;
    border-radius: 2px;
}

/* 列表样式改为与上方绿框列表一致 */
.nr ul {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    padding-top: 4px !important;
    border-top: 1px solid #eef1f5 !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.nr ul li {
    height: 36px !important;
    line-height: 36px !important;
    border-bottom: 1px dotted #e5e5e5 !important;
    background: url(/images/ul-bg_03.jpg) no-repeat 4px center !important;
    padding-left: 18px !important;
    list-style: none !important;
}

.nr ul li a {
    display: block !important;
    color: #333333 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.nr ul li a:hover {
    color: #0F44A0 !important;
}

/* --------友情链接快速通道 -------- */
.lj{
    width:100%;
    background:#ffffff;
    padding:12px 0 16px 0;
    overflow:hidden;
    clear:both !important;
}
.lj .wid{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    overflow:hidden;
}
.lj h4{
    margin-top:0;
    margin-bottom:16px;
    height:auto;
    line-height:44px;
    background:url(/images/bg-yq_07.jpg) no-repeat 0px bottom;
    padding-left:7px;
    overflow:hidden;
}
.lj h4 b{
    font-size:20px;
    background:url(/images/icon/bg-yq_03.jpg) no-repeat 0px center;
    padding-left:28px;
    font-weight:bold;
    position:relative;
    padding-bottom:12px;
    float:left;
}
.lj h4 b::after{
    content:"";
    position:absolute;
    left:28px;
    bottom:0;
    width:220px;
    height:5px;
    background:#0d59a7;
}
.link-box{
    width:100%;
    overflow:hidden;
    display:flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap:10px;
}
.link-box a{
    display:inline-block;
    padding:10px 20px;
    border:1px solid #ddd;
    background:#fff;
    color:#333;
    text-decoration:none;
    margin:0 8px 10px 0;
    border-radius:2px;
    font-size:14px;
    text-align:center;
}
.link-box a:hover{
    border-color:#0d59a7;
    color:#0d59a7;
}

/* ========== 右侧人事人才简洁列表 ========== */
.rsrc-list {
    width: 100%;
    background: #ffffff;
}
.rsrc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dotted #e5e5e5;
    gap:12px;
}
.rsrc-item:hover {
    background: #f7faff;
}
.rsrc-title {
    flex: 1;
    font-size:15px;
    color:#333333;
    text-decoration:none;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.rsrc-title:hover {
    color:#0F44A0;
}
.rsrc-date {
    flex-shrink:0;
    font-size:13px;
    color:#999999;
}

/* ========== 媒体查询适配 ========== */
@media screen and (max-width: 1220px) {
    .header-banner .wid{
        height:auto;
        min-height:90px;
    }
    .header-banner .logo-wrap img{
        max-height:70px;
    }
    .nav{
        max-width: 100%;
    }
    /* 中等屏幕下，上下两部分的列宽同时改为 50%，保持比例一致 */
    .nr .wid .l:nth-child(odd),
    .nr .wid .l:nth-child(even) {
        width: calc(50% - 18px) !important;
        flex: 0 0 calc(50% - 18px) !important;
    }
}

@media screen and (max-width: 768px) {
    .header-banner .wid{
        height:auto;
        min-height:70px;
    }
    .header-banner .logo-wrap img{
        max-height:55px;
    }
    .nav{
        max-width: 100%;
    }

    .title-row{
        flex-wrap:wrap;
        margin-bottom:16px;
        min-height:auto;
    }
    .title-row h2{
        font-size:20px;
        height:auto;
        line-height:1.3;
        flex-wrap:wrap;
        gap:8px;
    }
    .title-row h2 a{
        font-size:20px;
        height:auto;
        line-height:1.3;
    }
    .title-row .title-en{
        font-size:17px;
        line-height:1.3;
    }
    .right .title-row .title-en{
        font-size:17px;
    }

    .nr .wid {
        display:block !important;
        gap:0 !important;
    }
    .nr .wid .l:nth-child(odd),
    .nr .wid .l:nth-child(even) {
        width:100% !important;
        flex: unset !important;
        flex-shrink:1 !important;
        margin-bottom:22px !important;
    }
    .nr .l h5{
        font-size:20px !important;
        flex-wrap:wrap !important;
        gap:8px !important;
        height:auto !important;
        line-height:1.3 !important;
    }
    .nr .nr-en-sub{
        font-size:17px !important;
        line-height:1.3 !important;
    }
}