/* 移动端微信浏览优化 */
html, body {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%; /* 防止微信中字体缩放 */
  -webkit-tap-highlight-color: transparent; /* 移除触摸高亮 */
  touch-action: manipulation; /* 优化触摸响应 */
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif; /* 微信常用字体 */
}

/* 输入元素优化 */
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  -webkit-appearance: none; /* 移除iOS默认样式 */
  border-radius: 0; /* 移除iOS圆角 */
  outline: none; /* 移除焦点边框 */
}

/* 触摸元素优化 */
a, button {
  min-height: 44px; /* 符合Apple人机界面指南的触摸目标尺寸 */
  min-width: 44px;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* 显示类 */
.show {
  display: block !important;
}

/* 文本溢出处理 */
.text-overflow {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* 链接样式 */
a {
  color: #333;
  text-decoration-line: none;
}

/* 响应式容器 */
.wrapper {
  width: 100%;
  max-width: 100%; /* 移动端使用全宽 */
  margin: 0 auto;
  padding: 0 15px; /* 添加内边距避免内容贴边 */
  box-sizing: border-box;
}

/* 浮动类 */
.pull-left {
  float: left !important;
}

.pull-right {
  float: right !important;
}

/* 头部样式 */
.header-content {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.header-content .header-logo {
  width: 150px; /* 移动端缩小logo */
  height: 45px;
  margin-right: 0; /* 移除右侧边距 */
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
}

/* 导航菜单 - 移动端优化 */
.bio-header-nav-wrap {
  height: auto; /* 高度自适应 */
  display: none; /* 默认隐藏桌面导航 */
  width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: block;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.mobile-menu-toggle span:nth-child(1) { top: 6px; }
.mobile-menu-toggle span:nth-child(2) { top: 14px; }
.mobile-menu-toggle span:nth-child(3) { top: 22px; }

/* 移动端导航样式 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.mobile-nav-item a {
  color: #333;
  display: block;
}

/* 移动端显示导航 */
@media (max-width: 768px) {
  .bio-header-nav-wrap {
    display: none; /* 隐藏桌面导航 */
  }
  
  .mobile-menu-toggle {
    display: block; /* 显示移动菜单按钮 */
  }
}

/* 桌面导航样式 */
.bio-header-nav-wrap .bio-nav-box {
  box-sizing: border-box;
  position: relative;
  float: left;
  height: 100%;
  padding: 15px 10px; /* 减小内边距 */
}

.bio-header-nav-wrap .bio-nav-box .bio-nav-title {
  width: 100%;
  height: 100%;
}

.bio-header-nav-wrap .bio-nav-box .bio-nav-title::before {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 0px;
  height: 3px;
  margin: 0;
  content: '';
  background-color: #00A155;
}

.bio-header-nav-wrap .bio-nav-box .bio-nav-title::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0px;
  height: 3px;
  margin: 0;
  content: '';
  background-color: #00A155;
}

.bio-header-nav-wrap .bio-nav-box .bio-nav-children {
  position: absolute;
  box-sizing: border-box;
  left: 0;
  right: 0;
  margin: auto;
  top: 100%;
  min-width: 140px;
  max-height: 0px;
  background-color: #fff;
  box-shadow: 0px 3px 5px 0px rgba(195, 195, 195, 0.3);
  overflow: hidden;
  z-index: 100;
}

.bio-header-nav-wrap .bio-nav-box .bio-nav-children .bio-nav-sub-title {
  box-sizing: border-box;
  padding: 10px 15px;
  min-width: 140px;
  font-size: 14px;
  color: #333;
  display: block;
}

.bio-header-nav-wrap .bio-nav-box:hover .bio-nav-title a,
.bio-header-nav-wrap .bio-nav-box.this-active .bio-nav-title a {
  color: #00A155;
  transition: color .5s;
}

.bio-header-nav-wrap .bio-nav-box:hover .icon-pic,
.bio-header-nav-wrap .bio-nav-box.this-active .icon-pic {
  width: 34px;
  height: 34px;
}

.bio-header-nav-wrap .bio-nav-box:hover .bio-nav-title::before,
.bio-header-nav-wrap .bio-nav-box.this-active .bio-nav-title::before {
  width: 48%;
  transition: width .5s;
}

.bio-header-nav-wrap .bio-nav-box:hover .bio-nav-title::after,
.bio-header-nav-wrap .bio-nav-box.this-active .bio-nav-title::after {
  width: 48%;
  transition: width .5s;
}

.bio-header-nav-wrap .bio-nav-box:hover .bio-nav-children {
  max-height: 300px;
  transition: max-height 1s;
}

.bio-header-nav-wrap .bio-nav-title {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.bio-header-nav-wrap .bio-nav-title .iconfont {
  font-size: 20px;
}

.bio-header-nav-wrap .bio-nav-box.line::after {
  position: absolute;
  width: 1px;
  height: 10px;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: '';
  background-color: #dedede;
}

/* Banner区域 */
.bio-banner-wrap {
  height: 300px; /* 移动端降低高度 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

/* 页脚样式 */
.footer-wrap {
  background-color: #4D4D4D;
  padding: 20px 0;
}

.footer-chunk-box {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
  padding: 20px 0;
}

.footer-link-box {
  display: flex;
  flex-direction: column;
  margin-right: 0; /* 移除右侧边距 */
  width: 100%; /* 移动端全宽 */
  margin-bottom: 20px;
}

.footer-link-title {
  padding-bottom: 12px;
}

.footer-link-title .link-name {
  margin-right: 4px;
  color: #DEE8EC;
  font-size: 18px; /* 减小字体 */
  font-weight: bold;
  vertical-align: bottom;
}

.footer-link-title .link-tag {
  padding: 8px 0;
  color: #00A155;
  font-size: 16px;
  font-weight: bold;
  vertical-align: bottom;
}

.footer-link-a {
  line-height: 1.6;
  font-size: 14px; /* 减小字体 */
  color: #b3b3b3;
  padding: 5px 0;
}

.footer-link-a:hover {
  color: #f4f4f4;
}

.footer-info-text {
  line-height: 1.6;
  font-size: 14px; /* 减小字体 */
  color: #b3b3b3;
}

.footer-bottom-text {
  padding: 16px;
  text-align: center;
  color: #999;
  font-size: 14px; /* 减小字体 */
  border-top: 1px solid #999;
}

.footer-content {
  position: relative;
}

.footer-qr-code-wrap {
  position: relative; /* 改为相对定位 */
  right: auto;
  bottom: auto;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.qr-code-box {
  display: inline-block;
  width: 120px; /* 减小尺寸 */
  margin-left: 0;
}

.qr-code-box .qr-code-img {
  width: 120px;
  height: 120px;
  background-size: 100%;
  background-color: #999;
}

.qr-code-box .qr-code-name {
  padding-top: 4px;
  font-size: 14px;
  text-align: center;
  color: #B3B3B3;
}

/* 内容区域 */
.content-main {
  min-height: 320px;
  padding: 20px 15px;
}

/* 标签页 */
.release-page-teb {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap; /* 允许换行 */
}

.release-page-teb .teb-item,
.release-page-teb .teb-center-line {
  padding: 10px 0; /* 减小内边距 */
  font-size: 14px; /* 减小字体 */
  color: #999;
  white-space: nowrap;
}

.release-page-teb .teb-center-line {
  padding-left: 6px;
  padding-right: 6px;
}

.release-page-teb .teb-item.active {
  position: relative;
  color: #00A155;
}

.release-page-teb .teb-item.active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  content: '';
  background-color: #00A155;
}

/* 表单标题 */
.release-form-title {
  padding: 20px 0; /* 减小内边距 */
  text-align: center;
  font-size: 16px;
  color: #00A155;
}

/* 表单标签 */
.layui-form-label.required::before {
  content: '*';
  color: red;
  padding: 0 2px;
}

.layui-form-label.add-width {
  width: auto; /* 移动端自动宽度 */
  float: none;
  display: block;
  text-align: left;
  padding: 5px 0;
}

.layui-form-label.small-width {
  width: auto; /* 移动端自动宽度 */
}

.layui-input-block.add-width {
  margin-left: 0; /* 移除左侧边距 */
  width: 100%;
}

/* 表单按钮 */
.form-btn-wrap {
  padding: 30px 0; /* 减小内边距 */
  text-align: center;
}

.bio-form-box {
  padding: 10px 0; /* 移除左右内边距 */
}

.bio-input-checkbox-wrap {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
}

.bio-input-checkbox-wrap .layui-input {
  width: 100%; /* 移动端全宽 */
  margin-bottom: 10px;
}

.bio-label-subtit {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 5px;
}

.input-important-note {
  color: red;
  font-size: 12px;
}

.bio-wanyuan-form-box {
  padding-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* 允许换行 */
}

.bio-wanyuan-form-box .layui-input {
  margin-right: 10px;
  width: 100px;
  margin-bottom: 10px;
}

/* 媒体查询 - 桌面设备 */
@media (min-width: 769px) {
  .wrapper {
    max-width: 1400px;
    padding: 0;
  }
  
  .header-content .header-logo {
    width: 300px;
    height: 90px;
    margin-right: 70px;
  }
  
  .bio-header-nav-wrap {
    display: flex;
    height: 90px;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .bio-banner-wrap {
    height: 600px;
  }
  
  .footer-link-box {
    width: auto;
    margin-right: 40px;
  }
  
  .footer-qr-code-wrap {
    position: absolute;
    right: 0;
    bottom: 20px;
    width: auto;
    text-align: left;
    margin-top: 0;
  }
  
  .bio-form-box {
    padding: 10px 80px 10px;
  }
  
  .form-btn-wrap {
    padding: 60px 60px 60px 130px;
  }
  
  .layui-form-label.add-width {
    width: 140px;
    float: left;
  }
  
  .layui-input-block.add-width {
    margin-left: 170px;
  }
}

/* 微信特定优化 */
@media (max-width: 768px) {
  /* 防止微信中字体缩放 */
  body {
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
  }
  
  /* 输入框字体大小优化 */
  input, textarea, select {
    font-size: 16px !important;
  }
  
  /* 按钮样式优化 */
  button {
    font-size: 16px;
    padding: 10px 20px;
  }
}