@charset "utf-8";
/* CSS Document */
/*  ------------------------ 通用 ----------------------------  */
*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
* {
  margin: 0px;
  padding: 0px;
}
body {
  font-family: "微软雅黑", Arial;
  font-size: 14px;
  line-height: 24px;
  color: #222222;
}
body,
html {
  width: 100%;
  height: auto;
}
body {
  background: #f2f2f2;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-family: "微软雅黑";
}
body,
button,
input,
select,
textarea {
  font-family: "微软雅黑", Arial;
  font-size: 14px;
}
ol,
ul,
li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
img,
ol,
ul,
li {
  border: none;
}
a {
  text-decoration: none;
  color: #333333;
  -webkit-transition: all 0.2s ease-out 0s;
  -moz-transition: all 0.2s ease-out 0s;
  -o-transition: all 0.2s ease-out 0s;
  transition: all 0.2s ease-out 0s;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: none;
  background: none;
  text-decoration: none;
}
input[type="button"],
input[type="submit"],
input[type="reset"],
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
input:focus,
input:hover,
input:active {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-modify: read-write-plaintext-only;
  outline: 0;
}
select:focus,
select:hover,
select:active,
textarea {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-modify: read-write-plaintext-only;
  outline: 0;
}

select {
  -webkit-appearance: listbox;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: #fff url("../images/arrow.png") no-repeat scroll 90% center;
  padding-right: 14px;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
table,
table tr,
table td,
table th {
  border: 1px solid #dddddd;
}
.clearfix:after {
  content: ".";
  display: block;
  width: 100%;
  height: 0;
  line-height: 0;
  clear: both;
  overflow: hidden;
}
/* ===== 宽度统一 80 % ===== */
.pcblock {
  display: block;
}
.wapblock {
  display: none;
}
.container {
  width: 92%;
  max-width: 92%;
  margin: 0 auto;
  padding: 0 20px;
}
.container-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部黄色小导航 ===== */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}
.top-bar {
  height: 44px;
  background: #ffc107;
  display: flex;
  align-items: center;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #111;
}
/* 新增样式 */
.lang-switch {
  position: relative;
  font-size: 14px;
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch .icon-lang {
  width: 20px;
  height: 20px;
  background: url(../images/icon1.png) no-repeat center center/20px auto;
  margin-right: 5px;
}
.lang-switch .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  margin-top: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
  display: none;
}
.lang-switch .dropdown a {
  display: block;
  padding: 6px 12px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 14px;
}
.lang-switch .dropdown a:hover {
  background: #f2f2f2;
}

/* ===== 主导航 ===== */
.navbar {
  height: auto;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}
.nav-logo {
  height: 40px;
} /* logo 图片高度 */
.nav-logo img {
  height: 100%;
  width: auto;
}
.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  position: relative;
}
.nav-menu a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
}
.nav-menu a:hover,
.nav-menu > li > a.active {
  color: #ea0a2a;
}
.nav-menu > li > a {
  position: relative;
  padding: 10px 0;
}
.nav-menu > li > a.active::after,
.nav-menu > li > a:hover::after {
  content: "";
  width: 100%;
  height: 3px;
  background: #ea0a2a;
  position: absolute;
  left: 0;
  bottom: 0;
}
.nav-icons {
  display: flex;
  gap: 15px;
}
.search-icon {
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.5 14h-.8l-.3-.3A6.5 6.5 0 1 0 9.5 16a6.5 6.5 0 0 0 6.2-4.5l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z"/></svg>')
    center/contain no-repeat;
  cursor: pointer;
}
.nav-left-group {
  display: flex;
  align-items: center;
  gap: 70px;
}

.nav-menu li {
  position: relative;
  padding: 20px 0;
}
/* 下拉菜单外层 */
.dropdown-menu-outer {
  position: fixed;
  top: 124px;
  left: 0;
  width: 100%;
  background: #fff;
  display: none;
  z-index: 1101;
}

/* 下拉菜单内容 */
.dropdown-menu-inner {
}

.dropdown-menu-inner a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu-inner a:hover {
  color: #ea0a2a;
}

.search-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.search-overlay.active {
  right: 0;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.search-title {
  font-size: 18px;
  font-weight: bold;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.search-content {
  padding: 20px 30px;
  flex: 1;
  overflow-y: auto;
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.search-history {
  margin-top: 20px;
}
.history-item {
  display: block;
}

.history-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.history-item {
  padding: 3px 0;
  cursor: pointer;
  font-size: 14px;
}

.history-item:hover {
  color: #ea0a2a;
}

.overlay-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 30;
}

.overlay-mask.active {
  display: block;
}

.search-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffc72c;
}

.search-icon-btn:hover {
  background: #f5f5f5;
  border-radius: 4px;
}

/* 页脚样式 */
/* 新页脚样式 */
.footer-new {
  background: #fff;
  color: #333;
  font-size: 14px;
}

.footer-top {
  background: #f7f7f7;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-col {
  flex: 1 1 200px;
}
.footer-col-logo {
  flex: 1 1 100px; /* 默认 200px → 改成 140px（或 120/150 均可） */
  max-width: 240px;
  min-width: 240px;
}
.footer-col-nav {
  flex: 1 1 130px; /* 默认 200px → 改成 140px（或 120/150 均可） */
  max-width: 160px; /* 防止大屏时被撑开 */
}
.footer-logo {
  height: 40px;
  width: auto;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-weight: bold;
  color: #111;
  min-height: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 3px;
}

.footer-col ul li a {
  color: #333;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #ea0a2a;
}

.footer-sublist {
  margin-top: 10px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list i {
  color: #000;
  width: 16px;
  text-align: center;
}

.qr-code,
.qr-code p {
  text-align: center;
}

.qr-code img {
  width: 100px;
  height: 100px;
  margin-bottom: 8px;
}

.footer-bottom {
  background: #ffc107;
  color: #111;
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
}

/* ===== 分页 ===== */
.paging-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 20px;
  font-size: 14px;
}
.paging-box a,
.paging-box span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  background: #f7f7f7;
  color: #111;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
  cursor: pointer;
  user-select: none;
}
.paging-box a:hover,
.paging-box .active {
  background: #ffc107;
  color: #111;
}
.paging-box .disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}
.drawer-menu {
  display: none;
}
.no-data {
  text-align: center;
  min-height: 500px;
  padding-top: 240px;
  color: #999;
  font-size: 16px;
}
/* ===== 移动端基础适配 ===== */
@media (max-width: 768px) {
  .pcblock {
    display: none;
  }

  .wapblock {
    display: block;
  }

  body {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 防止横屏时字体过大 */
  html {
    -webkit-text-size-adjust: 100%;
  }
  /* 通用容器调整 */
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  /* 顶部导航栏 */
  .top-bar {
    height: 40px;
    font-size: 12px;
  }

  .top-bar .container {
    padding: 0 15px;
  }

  /* 主导航 */
  .navbar {
    top: 40px;
    height: auto;
    padding: 10px 0;
  }

  .navbar .container {
    padding: 0 15px;
  }

  .nav-left-group {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }

  .nav-logo {
    height: 30px;
  }

  .nav-menu {
    display: none; /* 移动端隐藏菜单，可后续添加汉堡菜单 */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu a {
    display: block;
    padding: 12px 15px;
    font-size: 14px;
  }

  .nav-icons {
    gap: 5px;
  }
  .menu-toggle {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    margin-left: 5px;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: #ffc72c;
    margin: 3px 0 7px;
    transition: 0.3s;
  }

  /* 抽屉容器 */
  .drawer-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 3000;
    display: flex;
    flex-direction: column;
  }
  .drawer-menu.open {
    right: 0;
  }

  /* 头部关闭按钮 */
  .drawer-head {
    padding: 15px;
    text-align: right;
  }
  .drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
  }

  /* 列表 */
  .drawer-list {
    flex: 1;
    padding: 0 20px;
  }
  .drawer-list li {
    border-bottom: 1px solid #f0f0f0;
  }
  .drawer-list a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    color: #111;
  }
  .drawer-list a:active,
  .drawer-list a:hover {
    color: #ea0a2a;
  }
  .search-icon-btn {
    padding: 0;
  }

  .search-icon-btn svg {
    width: 28px;
    height: 28px;
  }

  /* 搜索弹窗 */
  .search-overlay {
    width: 100%;
  }

  .search-content {
    padding: 15px;
  }

  /* 页脚 */
  .footer-top {
    padding: 30px 0;
  }

  .footer-grid {
    flex-direction: column;
    gap: 25px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-col-logo,
  .footer-col-nav {
    max-width: 100%;
    min-width: auto;
  }

  .footer-col h4 {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .contact-list li {
    font-size: 13px;
    line-height: 1.6;
  }

  .qr-code img {
    width: 80px;
    height: 80px;
  }

  /* 下拉菜单 */
  .dropdown-menu-outer {
    top: 90px;
  }
  .no-data {
    min-height: 300px;
    padding-top: 140px;
  }
}
