/* 引入自定义字体 - 庞门正道标题体 */
@font-face {
  font-family: 'PangMenZhengDao'; /* 自定义字体名称，后续调用用这个名字 */
  src: url('/fonts/庞门正道标题体 ziji1.ttf') format('truetype'); /* 字体文件路径（根目录/fonts/） */
  font-weight: normal; /* 字重：常规 */
  font-style: normal; /* 字体样式：常规 */
  font-display: swap; /* 优化加载体验，避免页面无文字闪烁 */
}
header {
	width: 100%;
	/*height: 152px;*/
}

.header_tops {
	width: 100%;

}

.header_top {
	width: 100%;
	height: 65px;
	display: inline-block;
}

.logo {
	height: 55px;
	display: block;
	float: left;
	margin-top: 5px;
}

.logo img {
	height: 100%;
	display: block;
}

.header_top1 {
	float: right;
	width: 510px;
	height: 40px;
	background: #FAFBFC;
	border: 1px solid #F1F1F1;
	margin-top: 12px;
	display: flex;
	overflow: hidden;
}

.header_top1 input {
	border: none;
	outline: none;
	width: calc(100% - 50px);
	height: 100%;
	background-color: transparent;
	padding: 0 15px;
	font-weight: 500;
	font-size: 16px;
	color: #333;
}
 /*修改提示文字的颜色*/
       .header_top1 input::-webkit-input-placeholder { /* WebKit browsers */
            color: #C8C9CC;
        }

        .header_top1 input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
            color: #C8C9CC;
        }

        .header_top1 input::-moz-placeholder { /* Mozilla Firefox 19+ */
       color: #C8C9CC;
        }

        .header_top1 input:-ms-input-placeholder { /* Internet Explorer 10+ */
       color: #C8C9CC;
        }
.header_top1 button {
	border: none;
	outline: none;
	width: 50px;
	height: 100%;
	background-color: transparent;
	background-image: url(../img/serach_1.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px auto;
}

.header_top1:hover {
	border-color: #1AE2BE;
}

.header_downs {
width: 100%;
    border-radius: 0px 0px 0px 0px;
    border-top: 1px solid #404040;
    background:#292829;
}

.header_down {
	width: 100%;
}
.header_downa{
	width: 100%;

	display: flex;
}
.header_downa1{
	width: 14.28%;
	height: 80px;
}

.header_downa2_1{
	display: block;
}
.header_downa2_2{
	display: none;
}

.header_downb{
	border-top: 1px solid #FFFFFF;
	width: 100%;
	display: flex;
}
.header_downb1{
	width: 11.11%;
	height: 40px;
	text-align: center;
	border-radius: 8px;
	font-weight: 500;
	font-size: 16px;
	color: #FFFFFF;
	line-height: 40px;
	padding: 0 5px;
	display: block;
	white-space: nowrap; /* 防止文本换行 */
	  overflow: hidden; /* 隐藏溢出的内容 */
	  text-overflow: ellipsis; /* 显示省略符号来代表被修剪的文本 */
}
.header_downb1.on{
	background: rgba(255,255,255,0.4);
}



/* 其他原有样式不变，只修改以下部分 */
/* 其他原有样式不变，仅修改以下部分 */
.header_downa2 {
    padding: 5px 0;
    font-weight: 500;
    font-size: 16px;
    color: #666666;
    display: block;
    margin: auto;
    width: 171px;
    height: 80px;
    /* 新增：让em和p垂直排列，居中对齐（可选，根据需求调整） */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 关键：让em单独一行，block属性强制换行 */
.header_downa2 em {
    font-family: PangMenZhengDao, PangMenZhengDao;
    font-weight: 400;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    text-align: left;
    font-style: normal;
    text-transform: none;
    display: block; /* 强制em单独一行 */
    margin-bottom: 4px; /* em和p之间的间距，可调整 */
}

/* 关键：让p单独一行，同时适配分割图定位 */
.header_downa2 p {
    font-family: PangMenZhengDao, PangMenZhengDao;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    letter-spacing: 6px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    position: relative; /* 伪元素定位基准 */
    display: inline-block; /* 宽度适配文字，分割图贴在文字右侧 */
    padding-right: 10px; /* 给分割图留空间，避免重叠 */
    margin: 0; /* 清除默认边距，避免布局错乱 */
    width: 60%;
}

/* 分割图样式：调整尺寸适配，不影响布局 */
.header_downa2 p::after {
    content: "";
    position: absolute;
    right: 0; /* 贴在p文字右侧 */
    top: 50%;
    transform: translateY(-50%);
    width: 10px; /* 分割图原始宽度，恢复正常尺寸 */
    height: 10px; /* 分割图原始高度 */
    background: url("../img/fenge.png") no-repeat center center;
    background-size: 100% 100%;
    z-index: 1;
    display: block;
    
}

/* 排除最后一个导航项的分割图 */
.header_downa .header_downa1:last-child .header_downa2 p::after {
    display: none;
}

.header_downa1.on .header_downa2 em{
    color: #1AE2BE;
}

.header_downa1.on .header_downa2 p{
    color: #1AE2BE;
}