/**jiamaMainStyle.css**/


    /* ========== 全局变量与重置 ========== */
    :root {
      --bg-body: #f5f7fb;
      --bg-surface: #ffffff;
      --bg-card: #ffffff;
      --bg-nav: rgba(255, 255, 255, 0.92);
      --text-primary: #1e2a3e;
      --text-secondary: #5b6e8c;
      --text-muted: #8a99b0;
      --border-light: #eef2f6;
      --border-medium: #e2e8f0;
      --accent: #2d7aff;
      --accent-hover: #1a5fd9;
      --accent-soft: rgba(45, 122, 255, 0.08);
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
      --radius-md: 10px;
      --radius-sm: 8px;
      --transition: all 0.2s ease;
    }

    [data-theme="dark"] {
      --bg-body: #0f1217;
      --bg-surface: #1a1e26;
      --bg-card: #1e2430;
      --bg-nav: rgba(18, 22, 28, 0.92);
      --text-primary: #edf2f7;
      --text-secondary: #a0afc3;
      --text-muted: #6e7e96;
      --border-light: #2a2f3a;
      --border-medium: #313844;
      --accent: #3b82f6;
      --accent-hover: #60a5fa;
      --accent-soft: rgba(59, 130, 246, 0.12);
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: var(--bg-body);
      color: var(--text-primary);
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      transition: background-color 0.2s, color 0.2s;
      line-height: 1.5;
    }

    .layui-container {
      padding: 0 20px;
      max-width: 1300px;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
   /* ========== 导航栏 ========== */
    .topnav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg-nav);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-light);
      transition: var(--transition);
    }

    .topnav .layui-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: -0.3px;
      background: linear-gradient(135deg, var(--accent), #5b8cff);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    .nav-brand img {
      width: 32px;
      height: 32px;
      border-radius: 8px;
    }

    .nav-menu {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-menu a {
      font-weight: 500;
      font-size: 1rem;
      padding: 8px 0;
      border-bottom: 2px solid transparent;
    }

    .nav-menu a:hover, .nav-menu .cur {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .nav-actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .theme-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border: 1px solid var(--border-medium);
      border-radius: 8px;
      background: var(--bg-surface);
      cursor: pointer;
      transition: var(--transition);
      font-size: 20px;
    }

    .theme-toggle:hover {
      background: var(--accent-soft);
      border-color: var(--accent);
    }

	/* 深色模式下，太阳图标（当前未激活的图标）调亮 */
[data-theme="dark"] .theme-toggle .icon-sun {
    color: var(--text-primary);  /* 明亮的金黄色 */
    opacity: 0.9;
}

/* 深色模式下，月亮图标（当前激活的图标）保持亮色 */
[data-theme="dark"] .theme-toggle .icon-moon {
    color: #e2e8f0;
}

/* 亮色模式下，太阳图标激活态 */
[data-theme="light"] .theme-toggle .icon-sun {
    color: #f5a623;
}

/* 亮色模式下，月亮图标半透明 */
[data-theme="light"] .theme-toggle .icon-moon {
    color: #5b6e8c;
    opacity: 0.6;
}

/* 按钮悬浮效果 */
.theme-toggle:hover .icon-sun,
.theme-toggle:hover .icon-moon {
    color: var(--accent);
    opacity: 1;
}

    .mobile-menu-btn {
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border: 1px solid var(--border-medium);
      border-radius: 8px;
      background: var(--bg-surface);
      cursor: pointer;
      transition: var(--transition);
      font-size: 20px;
	  color:var(--text-primary);
    }
	.mobile-menu-btn:hover {
      background: var(--accent-soft);
      border-color: var(--accent);
	  color: var(--accent);
    }
      
	  
	 .m-menu{
		background-color: var(--bg-surface) ;
		z-index:110; 
		display:block;
		padding:30px 0px;
		width:200px;
		height:100%;
	 }

	.m-menu li a{
		display:block;
		width:100%;
		padding:15px 0;
		border-top: 1px solid var(--border-medium);
		border-bottom: 1px solid var(--border-medium);
		color:var(--text-primary);
		text-align:center;
	}
	.m-menu li a:hover,.m-menu .cur{
      background: var(--accent-soft);
	  color: var(--accent);
    }	
	  
	  

    /* ========== 搜索区 ========== */
    .searchbox {
      background: linear-gradient(120deg, var(--accent) 0%, #5b8cff 100%);
      padding: 48px 0 56px;
    }

    .search {
      max-width: 780px;
      margin: 0 auto;
    }

    .search_f {
      display: flex;
      align-items: center;
      background: var(--bg-surface);
      border-radius: 15px;
      box-shadow: var(--shadow-md);
      overflow: hidden;
      transition: var(--transition);
    }

    .search_f em {
      padding-left: 20px;
      font-size: 22px;
      color: var(--accent);
	  margin-right:8px;
    }

    .search_text {
      flex: 1;
      padding: 0 10px;
      height: 56px;
      border: none;
      font-size: 1rem;
      background: transparent;
      color: var(--text-primary);
      outline: none;
    }

    .search_f .form-select {
      height: 56px;
      border: none;
      background: transparent;
      font-size: 0.9rem;
      color: var(--text-secondary);
      padding: 0 10px;
      cursor: pointer;
      border-left: 1px solid var(--border-medium);
	  border-right: 1px solid var(--border-medium);
    }

    .search_btn {
      background: rgba(255, 184, 0, 0.5);
      border: none;
      padding: 0 32px;
      height: 56px;
      font-weight: 600;
      font-size: 1rem;
      color: #1e2a3e;
      cursor: pointer;
      transition: 0.2s;
    }

    .search_btn:hover {
      background: rgba(255, 184, 0, 1);
      color: #fff;
    }

    /* 轮播公告 */
    .lunbo {  
      border-radius: 60px;
      margin: 40px auto;
      height: 54px;
      line-height: 54px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
	  overflow:hidden;
    }

    .lunboitem {
      text-align: center;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .lunboitem span {
      color: var(--accent);
      font-weight: 700;
    }
	
	/* 覆盖 layui 默认样式 */
.lunbo,
.lunbo .layui-carousel,
.lunbo .layui-carousel > [carousel-item] > *,
.layui-carousel[carousel-item] .lunboitem {
    background: var(--bg-surface) !important;
}


    /* 卡片区块 */
    .indextui, .indexnew {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 24px 20px;
      margin-top: 28px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
	.news {
      padding: 0 15px;
    }

    .news .title {
      font-weight: 600;
      font-size: 1.1rem;
      padding: 0 0 12px 0;
      margin-bottom: 12px;
      border-bottom: 2px solid var(--border-light);
      display: flex;
      justify-content: space-between;
    }

 
    .news li {
      list-style: none;
      padding: 8px 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      border-bottom: 1px dashed var(--border-light);
    }

    .news li a:hover {
      color: var(--accent);
      padding-left: 4px;
    }

    .lunboimg {
      padding: 8px 15px 8px 5px;
    }

    .banner {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      height: 230px;
    }

    .banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
    }

    .banner span {
      position: absolute;
      bottom: 20px;
      left: 24px;
      font-size: 1.6rem;
      font-weight: 700;
      color: white;
      text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    /* 资料卡片列表 */
    .newslist .info {
      display: flex;
      gap: 12px;
      background: var(--bg-surface);
      padding: 14px;
      border-radius: 10px;
      border: 1px solid var(--border-light);
      transition: var(--transition);
      margin-bottom: 15px;
      align-items: center;
	  width:100%;
    }

    .newslist .info:hover {
      transform: translateY(-2px);
      border-color: var(--accent-soft);
      box-shadow:1px 1px 5px #e7e7e7;
    }

    .newslist .info .img {
      width: 56px;
      height: 56px;
      flex-shrink: 0;
    }

    .newslist .info .img img {
      width: 100%;
      height: 100%;
      border-radius: 10px;
      object-fit: cover;
    }

 .newslist .info .tit {
    flex: 1;
    min-width: 0;  /* 关键：允许flex子项收缩到比内容小，防止溢出 */
    width: auto;      /* 覆盖之前的 width:100% */
    overflow: hidden;
}

    .tit .bt {
	  width:100%;
      font-weight: 600;
      font-size: 1rem;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .tit p {
      margin-top: 6px;
      font-size: 0.75rem;
      color: var(--text-muted);
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .listfav {
      cursor: pointer;
    }

    .listfav:hover {
      color: #f5a623;
    }

    /* tab 优化 */
    .layui-tab-brief > .layui-tab-title .layui-this {
      color: var(--accent) !important;
      font-weight: 600;
    }

    .layui-tab-brief > .layui-tab-title .layui-this:after {
      border-bottom-color: var(--accent) !important;
    }

    /* footer */
    .footer {
      margin: 50px 0 40px;
      text-align: center;
      color: var(--text-muted);
      font-size: 0.85rem;
      line-height: 1.8;
    }

    .footer a {
      color: var(--text-secondary);
    }

    .footer a:hover {
      color: var(--accent);
    }

    .ewm {
      text-align: center;
      margin: 40px 0 20px;
    }

    .ewm img {
      width: 100px;
      border-radius: 8px;
      box-shadow: var(--shadow-sm);
	   padding: 10px;
    }
	
	/*列表页分类*/
.listbox{margin-top:20px;box-sizing:border-box;}
.listnav{padding:15px 15px;background-color: var(--bg-surface);border-radius:8px;}
.listnav span,.listnav a{padding:3px 8px;margin:0 2px;line-height:30px;border-radius:3px;}
.listnav span{font-weight:600;}
.listnav .cur{background-color:#1e9fff;color:#fff;}
.listnav a:hover{background-color:rgb(30,160,255,0.5);color:#fff;}	
	
	/*列表页列表*/
.listlist,.listside{overflow:hidden;min-height:300px;width:100%;background-color: var(--bg-surface);border-radius:8px;box-sizing:border-box;padding:15px;}
.listlisttitle,.listlisttitle em{line-height:40px;font-size:22px;font-weight:600;}
.listlisttitle em{padding:0 10px;color:#1e9fff;}
.listlisttitle span{padding:0 10px; font-size:16px;font-weight:500;}
.listlist .info{ 
width:100%;
min-height:80px;
height:auto;
border-bottom:1px solid rgb(0,0,0,0.1);
padding:10px;
box-sizing:border-box;
border-radius:5px;
margin-top:10px;     
display: flex;      /* 改用flex布局 */
align-items: flex-start;  /* 顶部对齐 */
} 
.listlist .info:hover{border-bottom:1px solid rgb(0,0,0,0.3);box-shadow:1px 1px 5px #e7e7e7;}
.listlist .info .img{width:55px;flex-shrink: 0;     /* 防止图片被压缩 */ }
.listlist .info .img img{width:100%;height:100%;border-radius:3px;}
.listlist .info .img img:hover{opacity:1;}
.listlist .info .tit{padding-left:8px;flex: 1;}
.listlist .info .tit .bt{
	display:block;
	width:100%;
	font-size:20px;
	height:auto;
    word-break: break-word;
    line-height: 1.4;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 2.8em;        /* 2行 * 1.4 = 2.8em，作为后备 */
    display: -webkit-box;
    -webkit-line-clamp: 2;    /* 限制最多2行 */
    -webkit-box-orient: vertical;

	}
.listlist .info .tit p{padding-right:8px;font-size:14px;line-height:1.2;color:var(--text-muted);}	


/*文章页内容*/
.con{padding:30px  20px;}
.contitle{padding:0 0 20px 0;text-align:center;font-size:30px;}
.coninfo{text-align:center;color:var(--text-muted);}
.coninfo span{padding:0 5px;}
.coninfo span a,.coninfo a{color:var(--text-muted);}
.coninfo .fav{cursor:pointer; }
.coninfo .fav:hover,.coninfo span a:hover,.coninfo a:hover{color:var(--accent-hover);}
.condesc{padding:30px 0  5px  0;}
.concon{padding:20px 0  20px  0;}
.concon,.concon div,.concon p{font-size:16px;line-height:40px;text-indent:2em;}
.concon img,.concon div img,.concon p img{display:block;max-width:95%;margin:10px auto; box-shadow: 2px 2px 10px #ccc;}
.condown{width:100%;}
.downtitle{border-bottom:1px solid var(--border-light);}
.condown legend{font-size:14px;}
.condown .layui-field-box{font-size:16px;line-height:35px;}
.condown .layui-field-box img{margin-left:10px;}
.condown button{margin:10px;padding:0 80px;border-radius:5px;}
.condown .downtips{display:block;width:100%;height:auto;padding:0 10px;font-size:14px;color:var(--text-muted);line-height:25px;}
.condown .downtips em{color:#1e9fff;cursor: pointer; }
.condown .titlegs{font-size:12px;color:var(--text-muted);border:1px solid var(--border-light);}
.concopy{padding:20px  0px;}.concopy{padding:20px  0px;color:var(--text-muted);line-height:35px;}
.concopy blockquote{background-color:var(--bg-body);}
.connext p{border:1px solid var(--border-light);padding:10px;border-radius:3px;}
.conhits{color: var(--bg-surface);}//*hit数暂时以底色隐藏*//
.condesc blockquote,.condesc .layui-elem-quote{background-color:var(--bg-body);}

	
	/*页码*/
.pages{width:100%;padding:40px 0;text-align:center;}	
.pages .layui-box a{background-color: var(--bg-surface);color:var(--text-muted);}
	

    /* 响应式 */
@media (max-width: 900px) {
		
		
      .layui-container {
        padding: 0 10px;
      }
      .search_f {
        border-radius: 12px;
      }
      .search_text, .search_f .form-select, .search_btn {
        height: 48px;
      }
	      .search_btn {
		  padding: 0 15px;}
      .newslist .info .img {
        width: 48px;
        height: 48px;
      }
      .tit p span:not(.fenlei) {
        display: none;
      }
	  .news {
      padding: 15px 0px;
     }
	    .lunboimg {
      padding: 8px 0px 8px 0px;
     }

     .banner {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      height: 180px;
     }
	  .newslist .info {
      margin-bottom: 5px;
     }
    .newslist .info .tit .bt {
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
        max-height: 2.8em;        /* 2行 * 1.4 = 2.8em，作为后备 */
        display: -webkit-box;
        -webkit-line-clamp: 2;    /* 限制最多2行 */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
	
    }
	 .nav-menu{
		display:none;
	 }
		 
	 .mobile-menu-btn {
		display: flex;
		}
 
	.listlistnav,.listside .title,.listside li{padding-left:8px;padding-right:8px;}
	
	}
