/* 自定义样式补充 */

/* Logo 占位 */
.logo img {
    max-height: 92px;
    height: auto;
}

/* 横幅占位样式 */
.slideBox .bd img {
    background: #eee;
    object-fit: cover;
    min-height: 585px;
    width: 100%;
    height: 335px;
    display: block;
}

/* 横幅文字叠加（已改为纯图片轮播，保留占位可删除） */

/* 服务网格样式优化 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.service-item {
    background: #4a90e2;
    height: 90px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.service-item-content {
    text-align: center;
    color: #fff;
}

.service-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.service-title {
    font-size: 14px;
}

/* 管理平台按钮 */
.platform-btn {
    display: block;
    background: linear-gradient(135deg, #4FC3F7 0%, #42A5F5 100%);
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    background: linear-gradient(135deg, #42A5F5 0%, #2196F3 100%);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.4);
    color: #fff;
}

/* 图片占位符 */
.img-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    width: 100%;
    height: 100%;
}

/* 中心照片轮播样式优化 */
.picMarquee-left1 .bd ul li img {
    width: 193px;
    height: 120px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    object-fit: cover;
}

/* 列表项hover效果增强 */
.los_list li a {
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .w1200, .container, .topDiv, .nav {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

/* =========================================================
   首页布局（不固定 container 宽度，随窗口自适应）
   ========================================================= */
/* 覆盖 style.css 的 1000px 固定宽度 */
.container{
    width: 84% !important;
    margin: 0 auto;
    overflow: visible;
}
.content{
    width: 100% !important;
    float: none !important;
    margin-top: 12px;
}

/* 三栏同排：图片专题 / 通知公告 / 科研服务 */
.home-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}
.home-row--top > *{
    flex: 1 1 0;
    min-width: 0;
}

/* 取消老的 float/固定宽 */
.home-row--top .new_inforBox,
.home-row--top .informBoxa,
.home-row--top .new_inforBoxa{
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* 标题栏（按截图：大蓝字 + 蓝线 + 右侧“更多”蓝块） */
.home-row--top .dynamic{
    width: 100% !important;
    height: 56px;
    line-height: 56px;
    border-bottom: 2px solid #2f6bff;
    margin-bottom: 16px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}
.home-row--top .dynamic h2{
    font-size: 22px;
    color: #3470ff;
    font-weight:600;
    border-bottom: none;
    padding: 0;
    float: none !important;
}
.home-row--top .dynamic span{
    float: none !important;
}
/* “更多”按钮：统一以通知公告为准（蓝色小方块按钮） */
.home-more{
    width: auto !important;
    height: auto !important;
    line-height: 1;
    padding: 8px 16px;
    background: #2f6bff;
    color: #fff !important;
    border-radius: 2px;
    font-size: 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 56px;
    margin-top: 0;
}

/* 通知公告“更多”定位（保持右上角） */
.home-row--top .home-notice #tab2 .gd.home-more{
    position: absolute !important;
    right: 2% !important;
    left: auto !important;
    top: 6% !important;
    transform: translateY(-50%);
}

/* 图片专题：仅显示大图+标题（列表隐藏以贴近截图） */
.home-row--top .home-topic .new_list{ display:none; }
.home-row--top .home-topic .new_pic{ width:100%; float:none; }
.home-row--top .home-topic .slideBox1{ width:100%; height: 320px; }
.home-row--top .home-topic .slideBox1 .bd,
.home-row--top .home-topic .slideBox1 .bd li{ height: 320px; }
.home-row--top .home-topic .slideBox1 .bd ul li div{
    width: 100% !important;
    height: 320px !important;
}
/* 图片专题轮播改为 img 后的尺寸 */
.home-row--top .home-topic .slideBox1 .bd ul li img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.home-row--top .home-topic .slideBox1 .hd{
    right: 18px;
    bottom: 16px;
}
.home-row--top .home-topic .slideBox1 .hd ul li{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    text-indent: -9999px;
    overflow: hidden;
    margin-right: 10px;
}
.home-row--top .home-topic .slideBox1 .hd ul li.on{
    background: rgba(255,255,255,0.95);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}
.home-row--top .home-topic .new_pic h3{
    margin-top: 0;
    text-align: left;
    background: #f1f1f1;
    color: #333;
    padding: 18px 20px;
    font-size: 22px;
    line-height: 1.4;
}

/* 通知公告：去掉 tab2 的 absolute 定位，做成列表 */
.home-row--top .home-notice #tab2{
    width: 100%;
    height: auto;
    position: relative;
}
.home-row--top .home-notice #tab2 div{
    position: static !important;
    width: auto !important;
    border: none !important;
    display: block !important;
    margin-top: 16px;
}
.home-row--top .home-notice #tab2 h3{
    float: none !important;
    width: auto !important;
    background: transparent !important;
    font-size: 22px !important;
    color: #3470ff !important;
    height: 56px;
    line-height: 56px;
    border-bottom: 2px solid #2f6bff;
    margin-bottom: 16px;
    text-align: left !important;
    font-weight: 600;
}
/* 旧样式兜底：如果还有 .gd 没加 home-more 也能显示正常 */
.home-row--top .home-notice #tab2 .gd{
    width: auto !important;
    height: auto !important;
    padding: 8px 16px;
    border-radius: 2px;
    background: #2f6bff;
    color: #fff !important;
    white-space: nowrap;
}
.home-row--top .home-notice #tab2 li{
    background: none !important;
    text-indent: 0 !important;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
    line-height: 1.2;
}
.home-row--top .home-notice #tab2 li a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size:18px;
    color: #333;
    text-align: left;
}
.home-row--top .home-notice #tab2 li a:before{
    content: "";
    width: 6px;
    height: 6px;
    background: #9a9a9a;
    display: inline-block;
    border-radius: 1px;
    margin-right: 14px;
    flex: 0 0 auto;
}
.home-row--top .home-notice #tab2 li a .notice-title{
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}
.home-row--top .home-notice #tab2 li a .notice-date{
    flex: 0 0 auto;
    color: #b7b7b7;
    font-size: 18px;
}

/* 通知公告：标题省略号 */
.home-row--top .home-notice #tab2 li a .notice-title{
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 科研服务：2列×3行白底描边卡片 + 底部大横幅 */
.home-row--top .home-service .service-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.home-row--top .home-service .service-item{
    background: #fff;
    height: 65px;
    border-radius: 10px;
    border: 2px solid #cfcfcf;
    box-shadow: none;
    text-decoration: none;
    justify-content: flex-start;
    padding: 0 22px;
}
.home-row--top .home-service .service-item:hover{
    border-color: #2f6bff;
    box-shadow: 0 6px 16px rgba(47, 107, 255, 0.18);
}
.home-row--top .home-service .service-item-content{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #666;
}
.home-row--top .home-service .service-icon{
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f6bff;
}
.home-row--top .home-service .service-icon svg{
    width: 54px;
    height: 40px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-row--top .home-service .service-title{
    font-size: 20px;
    color: #666;
    letter-spacing: 2px;
}
.home-row--top .home-service .platform-banner{
    height: 120px;
    line-height: 120px;
    margin-top: 18px;
    border-radius: 10px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #63d1ff 0%, #3b86ff 100%);
    text-shadow: 0 2px 0 rgba(255,255,255,0.9), 0 0 6px rgba(255,255,255,0.8);
    -webkit-text-stroke: 2px rgba(255,255,255,0.9);
}

/* 三栏同排：政策法规 / 文件下载 / 科普展示 */
.home-row--bottom{
    margin-top: 30px;
    gap: 18px;
}
.home-row--bottom .home-bottom-col{
    flex: 1 1 0;
    min-width: 0;
}

/* 底部三栏标题：按截图（大蓝字+蓝线+右侧更多蓝块） */
.home-row--bottom .dynamica{
    background: transparent !important;
    height: 56px;
    line-height: 56px;
    border-bottom: 2px solid #2f6bff;
    border-radius: 0 !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.home-row--bottom .dynamica h2{
    color: #3470ff !important;
    font-size: 22px;
    float: none;
    border-bottom: none !important;
    padding: 0;
font-weight: 600;
    line-height: 56px;
    text-align: left;
}
.home-row--bottom .dynamica span{
    position: static;
    height: 56px;
    display: flex;
    align-items: center;
}
.home-row--bottom .dynamica span a.home-more{
    background: #2f6bff;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 2px;
    font-size: 14px !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 56px;
}

/* 底部三栏列表容器：灰边框盒子 */
.home-row--bottom .los_list{
    background: #fff !important;
    border: 1px solid #e6e6e6;
    padding: 14px 18px;
    margin-top: 16px;
}
.home-row--bottom .los_list ul li{
    padding:6px 0;
    border-bottom: 1px solid #eee;
}
.home-row--bottom .los_list ul li:last-child{
    border-bottom: none;
}
.home-row--bottom .los_list ul li a{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100% !important;
   
    padding: 0 !important;
    background: transparent !important;
    border-left: none !important;
    text-indent: 0 !important;
    color: #333 !important;
    font-size: 18px;
}
.home-row--bottom .los_list ul li a:before{
    content: "";
    width: 6px;
    height: 6px;
    background: #9a9a9a;
    display: inline-block;
    border-radius: 1px;
    margin-right: 14px;
    flex: 0 0 auto;
}
.home-row--bottom .row-title{
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-row--bottom .row-date{
    flex: 0 0 auto;
    color: #b7b7b7;
    font-size: 22px;
}