/* 通用样式 */
body {
    margin: 0;
    font-family: '微软雅黑', Arial, sans-serif;
    background: #eaf4f8;
}
*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
}
/* 颜色变量（模拟 Sass 变量） */
/* 主色 */
:root {
    --primary-color: #3A90C0;
    --secondary-color: #2580b4;
    --nav-bg-color: #026AA7;
    --text-color: #333;
    --light-text-color: #999;
}

/* 具有阴影的通用类 */
.shadow {
    box-shadow: 0 2px 8px #0001;
}

/* 头部样式 */
.header-bg2 {
    width: 100%;
    background: url('../images/bg.jpg') center top no-repeat #0a3a6b;
    background-size: cover;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 160px;
    position: relative;
}

.header-nuc,
.header-logo {
    height: 70px;
}

.header-nuc {
    margin: 0 30px 0 20px;
}

.header-search {
    display: flex;
    align-items: center;
    border: 1.5px solid #fff;
    border-radius: 3px;
    background: transparent;
    padding: 0 8px;
    height: 32px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    color: #fff;
    font-size: 15px;
    width: 220px;
    padding: 0 6px;
    height: 28px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 28px;
}

.search-btn img {
    width: 18px;
    height: 18px;
}

/* 导航栏样式 */
.nav-bg {
    box-shadow: 0 2px 8px #0001;
}

.nav-bg1 {
    background: url('../images/bg1.jpg') center top repeat-x #f4f8fb;
}

.nav-bg-full {
    width: 100%;
    min-width: 0;
    z-index: 10;
    background: var(--nav-bg-color);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    border-bottom: 1px solid #b2d6ee;
}

.main-nav ul {
    display: flex;
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.main-nav li {
    margin: 0;
    flex: 1;
    text-align: center;
}

.main-nav a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: block;
    line-height: 54px;
    padding: 0 4px;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: font-size 0.3s ease;
	border-bottom: 2px solid rgba(0,0,0,0);
}

.main-nav a:hover {
    border-bottom: 2px solid #fff;
}

.nav-blue {
    background: var(--nav-bg-color);
}

.nav-blue .main-nav ul {
    background: none;
}

.nav-blue .main-nav a {
    color: #fff;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    text-align: center;
    white-space: nowrap;
}

.nav-list a {
    display: block;
    width: 100%;
}

/* 内容区域样式 */
.content-bg1 {
    background: url('../images/bg1.jpg') center top repeat-x #f4f8fb;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px #0001;
    padding-bottom: 30px;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0;
    min-height: 600px;
    position: relative;
    z-index: 1;
    background: none;
    display: block;
}

.main-left {
    width: 60%;
    min-width: 600px;
    margin-right: 2%;
}

.main-right {
    width: 38%;
    min-width: 340px;
}

.banner-swiper {
    width: 100%;
    height: 300px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 2px 8px #0001;
}

.banner-swiper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #fff;
}

.banner-swiper-wrap {
    flex: 2 1 0;
    min-width: 0;
    display: flex;
    align-items: stretch;
    height: 220px;
}

.section-box {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px #0001;
    padding-bottom: 18px;
    border: 1px solid #b2d6ee;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid #b2d6ee;
    padding: 10px 0 10px 18px;
    background: #f7fbfd;
    position: relative;
}

.section-title .icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.section-img-list {
    display: flex;
    gap: 16px;
    padding: 16px 18px 0;
}

.section-img-list img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0eaf1;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 10px 18px 0;
}

.news-list li {
    margin-bottom: 10px;
    font-size: 15px;
    border-bottom: 1px dashed #e0eaf1;
    padding-bottom: 6px;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.news-list a:hover {
    color: var(--primary-color);
}

.card-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.card-row {
    display: flex;
    gap: 24px;
}

.card-row .section-box {
    flex: 1 1 0;
    min-width: 0;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 主面板样式 */
.main-panel {
    width: 100%;
    background: #eaf4f8;
}

.main-panel-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 32px 20px 24px;
    box-sizing: border-box;
}

.panel-top-row,
.panel-banner-wrap,
.panel-bottom-row {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.panel-banner-wrap,
.panel-bottom-row {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
	margin-top: 14px;
}

.panel-banner,
.panel-col {
    flex: 1.5 1 0;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

c {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
@media only screen and (max-width: 720px) {
    .panel-banner img {
        height: 100%;
    }
}

.panel-news {
    flex: 1 2 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.panel-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.panel-more,
.more-arrow {
    color: var(--light-text-color);
    font-size: 14px;
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.2s;
}

.panel-more:hover,
.more-arrow:hover {
    color: var(--primary-color);
}

.panel-title {
    padding-left: 0 !important;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    z-index: 1;
	padding-bottom: 6px;
}


.panel-title .icon {
    margin-right: 8px;
	width: 20px;
}

.panel-title::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
  
  .panel-title-row {
    position: relative;
  }
  
  /* 右向左横线，避免覆盖标题 */
  .panel-title-row::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: auto;
    right: 0;
    width: calc(100% - var(--title-width, 30px)); /* 你可以定义变量 */
    height: 2px;
    background: #A1CCE0;
    z-index: 0;
    border-radius: 2px;
  }
  .panel-title-row-none::after {
	  background:transparent
  }
  
.panel-list-base {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
}

.panel-list,
.panel-news-list {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.panel-news-list li {
    position: relative;
    padding-left: 16px;
    border-bottom: 1px solid #e0eaf1;
    min-height: 32px;
    display: flex;
    align-items: center;
	line-height:47px;
}

.panel-news-list li:last-child {
    border-bottom: none;
}

.panel-news-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #d3d3d3;
    border-radius: 50%;
}

.panel-news-list a,
.panel-list a {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.panel-news-list a:hover,
.panel-list a:hover {
    color: var(--secondary-color);
}

.panel-news-list span,
.panel-list span {
    flex-shrink: 0;
    width: 60px;
    text-align: right;
    color: var(--light-text-color);
    font-size: 14px;
}

.panel-col {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.panel-bottom-row .panel-col:first-child {
    flex: 1.5 1 0;
}

.panel-bottom-row .panel-col:last-child {
    flex: 1 1 0;
}

/* 底部版权栏样式 */
.footer-bar,
.footer-bar-full {
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-size: 1em;
    letter-spacing: 2px;
}

.footer-bar {
    max-width: 1200px;
    margin: 30px auto 0;
    width: 100%;
    background: var(--secondary-color);
    border-radius: 0 0 8px 8px;
}

.footer-bar-full {
    width: 100%;
    background: var(--nav-bg-color);
    margin-top: 0;
}

.w90 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 轮播图样式 */
.banner-swiper .swiper-slide {
    position: relative;
}

.banner-caption {
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    padding: 10px 20px 5px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 80%, rgba(0, 0, 0, 0));
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    z-index: 2;
    box-sizing: border-box;
    border-radius: 0;
    pointer-events: none;
    line-height: 1;
}

.banner-swiper .swiper-pagination {
    position: absolute;
    right: 20px;
    bottom: 10px;
    left: auto;
    width: auto;
    text-align: right;
    z-index: 10;
}

.banner-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    margin: 0 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s, opacity 0.3s;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* 媒体查询 */
@media (max-width: 1024px) {
    .main-nav a {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .main-nav a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        min-height: auto;
    }
    .main-nav a {
        font-size: 13px;
        line-height: 40px;
    }
}

@media (max-width: 480px) {
    .main-nav a {
        font-size: 12px;
        line-height: 36px;
    }
}

@media (max-width: 1280px), (max-width: 980px) {
   .max-width-98vw {
        max-width: 98vw;
    }
}

@media (max-width: 1280px) {
   .nav-inner,
   .main-panel-inner,
   .panel-banner-wrap,
   .panel-bottom-row {
        padding-left: 2vw;
        padding-right: 2vw;
    }
}

@media (max-width: 980px) {
   .main-nav,
   .top-row,
   .card-grid,
   .footer-bar {
        max-width: 98vw;
    }
   .main-content {
        flex-direction: column;
    }
   .main-left,
   .main-right {
        width: 100%;
        min-width: 0;
        margin-right: 0;
    }
   .main-left {
        margin-bottom: 20px;
    }
   .header-inner {
        height: auto;
        padding: 10px 0;
    }
    .header-bg2 {
        background-position: center;
    }
   .header-nuc,
   .header-logo {
        margin: 0 0 8px;
        height: 50px;
    }
   .main-nav ul {
        padding-left: 10px;
    }
   .header-search {
        position: static;
        transform: none;
        margin-top: 10px;
    }
   .card-row {
        flex-direction: column;
        gap: 16px;
    }
   .card-grid {
        gap: 16px;
    }
   .top-row {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }
   .banner-swiper-wrap,
   .news-dynamic-box {
        width: 100%;
        height: auto;
    }
   .panel-banner-wrap,
   .panel-bottom-row {
        flex-direction: column;
        gap: 16px;
    }
   .main-panel-inner {
        padding: 12px 4vw;
    }
    /* 导航栏在小屏幕下换行显示 */
   .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
   .main-nav li {
        margin: 0 10px;
    }
}

/* ===== Responsive Enhancements ===== */

/* 汉堡菜单按钮，仅在小屏幕显示 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.hamburger div {
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

/* 小屏幕适配 */
@media (max-width: 1024px) {
    .main-nav ul {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: auto !important;
        background-color: transparent !important;
        padding: 0 15px !important;
    }
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
    }
    /* 缩小footer字体 */
    .footer {
        font-size: 12px !important;
    }
    /* 图标和标题对齐 */
    .section-title {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

/* 彻底移除所有非新闻动态列表的小圆点 */
.panel-list li::before,
.panel-col li::before,
.panel-bottom-row li::before {
    content: none;
    background: none;
}

/* 只为新闻动态添加浅灰色小圆点 */
.panel-news-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #d3d3d3;
    border-radius: 50%;
}

/* 修复 panel-list 中时间被挤下去问题 */
.panel-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
	line-height:40px;
}

.panel-list li a {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.panel-list li span {
    flex-shrink: 0;
    width: 60px;
    text-align: right;
    font-size: 14px;
    color: var(--light-text-color);
}

/* 每个模块的列表最多显示5条 */
.panel-list li:nth-child(n + 6) {
    display: none;
}

/* 新闻动态：仅限制最多显示9条，保持原字体与行高 */
.panel-news-list li:nth-child(n + 7) {
    display: none;
}

/* 新闻动态标题 */
.news-title-xw {
  background: url('../images/xw.png') no-repeat left center;
  background-size: auto 100%;
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0px 16px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  text-align: center;
}

  
.news-title-xw::after {
    display: none; /* 隐藏伪元素 */
}

/* 让新闻模块对应的 panel-title-row 不显示伪元素横线 */
.news-title-xw + .panel-title-row::after {
    display: none;
} 
.h1-right{
	display: none;
}
.nav-menu {
    width: 28px;
    height: 22px;
    cursor: pointer;
    display: none;
    position: relative;
}
.nav-menu div {
    position: absolute;
    right: 0;
    display: block;
    height: 2px;
    background: #ffffff;
    transform-origin: 50% 50%;
}
.nav-menu div:nth-child(1) {
    top: 0;
    width: 100%;
    transition: .8s;
    transform: rotate(0);
}
.nav-menu div:nth-child(2) {
    top: calc(50% - 1px);
    width: 24px;
    transition: .6s;
}
.nav-menu div:nth-child(3) {
    top: calc(100% - 2px);
    width: 100%;
    transition: .6s;
    transform: rotate(0);
}
.header-logo-yd{
	display: none;
}
.hd1-aon1 div:nth-child(1){top:50%;transition:.6s;transform:rotate(45deg);}
	.hd1-aon1 div:nth-child(2){width:0;transition:.6s;}
	.hd1-aon1 div:nth-child(3){top:50%;transition:.6s;transform:rotate(-45deg);}
	.navm-box{position:fixed;top:0;right:-100%;z-index:3;box-sizing:border-box;margin:auto;width:100%;height:100vh;background:#ffffff;padding-top:0.9rem;padding-bottom:0.2rem;transition: 0.6s all;visibility: hidden;opacity: 0;display: flex;flex-direction: column;}
	.navm-box.act{visibility: inherit;opacity: 1;right: 0;}
	.nav-wrap{padding:0 5%;text-align:left;overflow-y: auto;margin-top: 60px;}
	.nav-wrap li{position:relative;width:100%;border-bottom:1px solid #eeeeee;font-size:18px;line-height:60px;}
	.nav-wrap li div.icon-jia{position:absolute;top:0;right:0;margin:auto;width:60px;height:60px;font-size: 18px;background:url(../img/down.svg) no-repeat center center;background-size:22px 22px;transition: 0.3s all;}
	.nav-wrap li a{display:block;color:#333333;}
	.nav-wrap dl{display:none;}
	.nav-wrap dt{text-indent:.2rem;font-size:16px;line-height: 50px;}
	.nav-wrap dt a{color:#434343;}
@media only screen and (max-width:980px){
	.nav-bg-full{display: none;}
	.flex-c-center {
	    align-items: center;
		display: block;
	}
	.header-search{
		display: none;
	}
	.header-inner{
		padding-left: 10px;
		position: fixed;
		width: 100%;
		top: 0;
		left: 0;
		z-index: 5;
		background: #0052ab;
	}
	.header-inner img{
		margin-bottom: 0px;
		height: 40px;
	}
	.header-logo{
		display: none;
	}
	
	.header-logo-yd{
		display: block;
		height: 20px !important;
		margin-left: 10px;
	}
	.h1-right{
		display: flex;
		position: absolute;
		right: 20px;
		align-items: center;
	}
	.h1-right img{
		width: 23px;
		height: 24px;
		margin-right: 10px;
	}
	.main-panel-inner {
		margin-top: 60px;
		padding: 0;
	}
	.w90{
		width: 100%;
	}
	.nav-inner, .main-panel-inner, .panel-banner-wrap, .panel-bottom-row{
		padding: 0;
	}
	.panel-bottom-row,
	.panel-news{
		padding-left: 16px;
		padding-right: 16px;
	}
	.header-top1 .logo img{height: 0.5rem;}
	.header-top1 .logo{padding: 0.15rem 0;}
	.banner,.list-banner{margin-top: 0.8rem;}
	.nav-menu{display: block;}
	.nav,.h1-link{display: none;}
	.search{background-size: auto 0.3rem;margin-right: 0.2rem;}
	.header-top1::after{content: none;}
	.header-top1{background: #0052ab;position: fixed;}
	.main-left{display: none;}
	.main-right{width: 100%;}
	.m-nav{display: block;}
	.main-title h2{display: none;}
	.main{padding: 0 0 0.3rem;}
	.banner .swiper-pagination{bottom: 0.1rem;}
}
.search_wrap{position:fixed;left:0;top:0;width:100%;height:100%;color:#666;z-index:6;display:none}
.search_wrap .search_box{position:fixed;width:80%;max-width:660px;z-index:999;z-index:3;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}
.search_wrap .i_txt{width:100%}
.search_wrap .bck{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.6);z-index:3;}
.search_wrap .i_txt{position: absolute;height:42px;font-size:15px;border:none;background:#fff;width: 97%;padding-left:3%;}
.search_wrap .submit{position:absolute;top:0;right:0;width:80px;height:42px;cursor:pointer;background:#0052ab;color:#ffffff;font-size:18px;border: 0px;}
