header{
	background-color:#000;
	color:#fff;
	width:100%;
	height:51px;
	margin:0 auto;
	background-color:#121212;
	padding:3px 0;
}
.logo{
	width:150px;
	height:51px;
	float:left;
	padding-left: 20px;
}
.nav{
	width:100%;
	height:51px;
	max-width:300px;
	float:left;
}
.nav ul {
	width:100%;
	max-width:300px;
	height:51px;
	float:left;
	list-style-type:none;
}
.nav ul li {
	height:51px;
	line-height:51px;
	min-width:10px;
	padding:0px 15px;
	float:left;
}
.logon{
	width:600px;
	height:45px;
	float:right;
	font-size:0.8em;
}
.logon #menuToggle {
    display: none;  /* 在PC端默认隐藏 */
    font-size: 24px;
    cursor: pointer;
}
.logon ul {
	width:600px;
	height:45px;
	float:left;
	list-style-type:none;
}
.logon ul li{
	min-width:20px;
	height:35px;
	line-height:35px;
	float:left;
	margin-right:20px;
	margin-top:5px;
	border:1px solid #fff;
	border-radius:20px;
	padding:0 10px;
}
.fs {
    background-color:#000;
	color:#fff;
	width: 100%;
	height: auto;
	margin: 0 auto;
}
.fist_screen{
	width:100%;
	max-width:1200px;
	height:auto;
	padding:50px 0px;
	margin:0 auto;
}
.fist{
	width:100%;
	max-width:700px;
	height:auto;
	float:right;
}
.fist h1 {
	width:100%;
	max-width:700px;
	height:80px;
	line-height:80px;
	float:left;
	font-size:3.0em;
	font-weight:500;
	margin-bottom:50px;
}
.fist h2,h3 {
	width:100%;
	max-width:700px;
	height:60px;
	line-height:60px;
	float:left;
	font-size:2.4em;
	font-weight:500;
	margin-top:50px;
}
.fist p {
	font-size:1.1em;
	margin-top:15px;
}

.download {
	width:220px;
	margin-left:50px;
	height:45px;
	line-height:45px;
	border:1px solid #fff;
	border-radius:10px;
	font-size:1.2em;
	text-align:center;
	margin-top:80px;
	font-weight:600;
}
.screen {
	width:100%;
	max-width:400px;
	height:auto;
	float:right;
	margin-left:100px;
}
.screen img {
	width:78%;
}

@media screen and (max-width: 768px) {

header{
	width:100%;
	height:51px;
	float:left;
	background-color:#121212;
	padding:3px 0;
}
.logo{
	width:20%;
	height:45px;
	float:left;
	padding: 0;
}
.nav{
	width:50%;
	height:45px;
	max-width:300px;
	float:left;
}
.nav ul {
	width:100%;
	max-width:300px;
	height:45px;
	float:left;
	list-style-type:none;
}
.nav ul li {
	height:45px;
	line-height:45px;
	min-width:10px;
	padding:0px 15px;
	float:left;
}
.logon{
	width:30%;
	height:45px;
	float:right;
	font-size:0.6em;
	text-align:center;
}
.logon #menuToggle {
        display: block;  /* 在移动端显示汉堡菜单图标 */
		height:45px;
		line-height:45px;
    }
.logon ul {
	width:100%;
	height:45px;
	float:left;
	list-style-type:none;
	display: none;
	position: relative;
    z-index: 1000;
}
.logon ul li{
	width:80%;
	height:35px;
	line-height:35px;
	float:left;
	margin-right:0px;
	margin-top:5px;
	border:1px solid #fff;
	border-radius:20px;
	padding:0 10px;
	overflow:hidden;
}
.fist_screen{
	width:100%;
	height:auto;
	padding:0px 0px;
	margin:0 auto;
}
.fist{
	width:95%;
	height:auto;
	float:right;
	padding:10px 5px;
}
.fist h1, .fist h2, .fist h3 {
	text-align: center;  /* Center align for mobile screens */
}

.fist h1 {
	width:100%;
	max-width:700px;
	line-height:60px;
	float:left;
	font-size:2.2em;
	font-weight:500;
	margin:10px 0 0 0;
}
.fist h2 {
	width:100%;
	max-width:700px;
	line-height:60px;
	float:left;
	font-size:2.0em;
	font-weight:500;
	margin-top:10px;
}
.fist h3 {
	width:100%;
	max-width:700px;
	line-height:60px;
	float:left;
	font-size:1.6em;
	font-weight:500;
	margin-top:10px;
}
.fist p {
	font-size:0.8em;
	margin-top:10px;
}

.download {
	width:220px;
	margin-left:50px;
	height:45px;
	line-height:45px;
	border:1px solid #fff;
	border-radius:10px;
	font-size:2.0em;
	text-align:center;
	margin-top:30px;
	font-weight:600;
}
.screen {
	width:100%;
	height:auto;
	float:left;
	margin-left:0px;
	text-align:center;
	margin-top:30px;
}
.screen img {
	width:50%;
}
}
header a:link    {color:#000;}
header a:visited {color:#000;}
header a:hover   {color:#000;}
header a:active  {color:#000;}

.download a:link    {color:#000;}
.download a:visited {color:#000;}
.download a:hover   {color:#000;}
.download a:active  {color:#000;}

.yxcb a:link    {color:#fff;}
.yxcb a:visited {color:#fff;}
.yxcb a:hover   {color:#fff;}
.yxcb a:active  {color:#fff;}

.bj{
	background-color:#fff;
}

.clar {
	clear:both;
}

/******广告功能******/
/******广告功能******/
.ad-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: auto;
    z-index: 9999; /* 一个高的z-index值确保广告图在其他内容之上 */
	border-radius:2px;
	margin:0 2px;
	padding:10px 5px;

}
.ad-dow ,.ad-zc{
	width:200px;
	height:40px;
	line-height:40px;
	float:left;
	margin:0 90px;
	background-color:#000;
	border-radius:10px;
	text-align:center;
	color:#fff;
	font-size:0.8em;
}
@media screen and (max-width: 768px) {
    .ad-banner {
        max-width: 100%; /* 在小屏幕上广告横幅应该占满全宽 */
        padding: 5px; /* 减小填充以适应小屏幕 */
        background-color: #fff;
    }

    .ad-dow, .ad-zc {
        width:calc(100% - 230px); /* 在小屏幕上减小按钮宽度 */
        margin: 0 10px; /* 调整边距以适应小屏幕 */
        font-size: 1.0em; /* 减小字体大小 */
        float: left;
        height: 60px;
        line-height:60px;
        font-weight:500;
    }
}

/* =========================
   Latest Posts + Footer (完整CSS)
   建议放到主CSS最后
   ========================= */

/* --- 基础：避免被站内 box-sizing 搞乱 --- */
.latest_posts, .latest_posts * ,
.site_footer, .site_footer *{
  box-sizing: border-box;
}

/* =========================
   1) 最新文章容器 latest_posts
   ========================= */
.latest_posts{
  padding: 20px 0;
}

.latest_inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px;
}

.latest_title{
  font-size: 20px;
  margin: 0 0 12px;
  line-height: 1.3;
}

.latest_list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.latest_item{
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

.latest_link{
  font-weight: 700;
  text-decoration: none;
}

.latest_time{
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  opacity: .72;
}

.latest_desc{
  margin: 8px 0 0;
  opacity: .88;
  line-height: 1.6;
}

.latest_more{
  margin-top: 12px;
}

.latest_more a{
  text-decoration: none;
}

/* =========================
   2) 页脚 site_footer
   ========================= */
.site_footer{
  margin-top: 26px;
  border-top: 1px solid #eee;
  background: #fff;
}

.footer_inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 14px 14px;
}

.footer_cols{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.footer_col{
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background: #fff;
}

.footer_title{
  font-size: 16px;
  margin: 0 0 10px;
  line-height: 1.3;
}

.footer_text{
  margin: 0 0 8px;
  line-height: 1.7;
  opacity: .88;
}

.footer_list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer_list a{
  text-decoration: none;
}

.footer_bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #eee;
  font-size: 12px;
  opacity: .88;
}

.footer_beian{
  opacity: .92;
}

/* 响应式 */
@media (max-width: 900px){
  .footer_cols{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px){
  .footer_cols{
    grid-template-columns: 1fr;
  }
  .latest_item{
    border-radius: 12px;
  }
}

/* =========================
   3) 防错位补丁（关键）
   解决：全局 ul li{float:left;width:xx} / a{display:block} 等污染
   ========================= */
.site_footer .footer_cols{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
}

.site_footer .footer_col{
  float: none !important;
  width: auto !important;
}

.site_footer ul.footer_list{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site_footer .footer_list li{
  float: none !important;     /* 取消全局 float */
  width: auto !important;     /* 取消全局固定宽度，防止中文一字一行 */
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.8 !important;
}

.site_footer .footer_list a{
  display: inline-block !important; /* 取消全局 a{display:block;width:xx} */
  max-width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

/* 小屏：卡片最小宽度加大一点，避免列过窄导致拆字 */
@media (max-width: 900px){
  .site_footer .footer_cols{
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  }
}
