/* 头部样式 */
.header {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.headerFixed {
  position: relative;
  width: 100%;
}

.ly_navdown {
  padding: 10px 0;
  align-items: center;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Logo样式 */
.ly_logobox {
  flex: 0 0 auto;
  order: 1;
}

.logo img {
  max-height: 100px;
  width: auto;
}

/* 导航菜单样式 */
.ly_navbox {
  flex: 1;
  text-align: center;
  order: 2;
}

.default_nav {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 国旗图标样式 - 原样式保留 */
.icon_flag_big {
  background-repeat: no-repeat;
  width: 20px;
  height: 14px;
  display: inline-block;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* 中国国旗 - 原样式 */
.flag_big_cn {
  background-image: url(../ico/icon_flag_cn.svg);
}

/* 美国国旗 - 原样式 */
.flag_big_us {
  background-image: url(../ico/icon_flag_us.svg);
}

/* 新的国旗图标样式 */
.lang_flag {
  background-repeat: no-repeat;
  width: 20px;
  height: 14px;
  display: inline-block;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  background-size: contain;
}

/* 中国国旗 - 新样式 */
.lang_flag_cn {
  background-image: url("../images/lang/icon_flag_cn.svg");
}

/* 美国国旗 - 新样式 */
.lang_flag_us {
  background-image: url("../images/lang/icon_flag_us.svg");
}

/* 移动端国旗图标尺寸调整 */
.mobile_lang_item .icon_flag_big {
  width: 20px;
  height: 14px;
  background-size: contain;
  box-shadow: none;
}

.default_nav li {
  margin: 0 25px;
}

.default_nav li a {
  font-size: 17px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.default_nav li a:hover,
.default_nav li.active a {
  color: #876445;
}

.default_nav li.active a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #876445;
}

/* 右侧功能区样式 */
.ly_navright {
  display: flex;
  align-items: center;
  order: 3;
}

/* 新的语言选择器样式 */
.lang_selector {
  display: flex;
  align-items: center;
  order: 3;
  margin-right: 15px;
}

.lang_item {
  cursor: pointer;
  margin-right: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
}

.lang_item:last-child {
  margin-right: 0;
}

.lang_item:hover {
  background-color: #f5f5f5;
}

.lang_text {
  margin-left: 5px;
  font-size: 14px;
}

.lang_item.active {
  background-color: #f5f5f5;
}

.ly_features {
  display: flex;
  align-items: center;
}

.ly_fe_btn {
  margin-left: 15px;
  position: relative;
}

.ly_fe_btn a {
  color: #333;
  text-decoration: none;
}

.ly_fe_btn i {
  font-size: 20px;
  transition: color 0.3s ease;
}

.ly_fe_btn a:hover i {
  color: #876445;
}

/* 移动端菜单按钮 */
.ly_hmenu {
  display: none;
}

/* 搜索表单 */
.search_form_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.search_form_container .form {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search_form_container input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.search_form_container button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #333;
}

/* 移动导航样式 */
.mobile_nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.mobile_nav_container {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: #fff;
  overflow-y: auto;
}

.mobile_nav_header {
  padding: 10px 12px;
  background-color: #f0f0f0;
  text-align: right;
  display: none;
}
.mobile_nav_header li {
  word-wrap: break-word;
  margin: 0 6px;
}

.close_btn {
  display: inline-block;
  cursor: pointer;
}

.close_btn i {
  font-size: 20px;
}

.mobile_nav_content {
  padding: 15px;
}

.mobile_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile_nav_list li {
  margin-bottom: 15px;
}

.mobile_nav_list li a {
  display: block;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  padding: 5px 0;
}

/* 其他页面面包屑 */
.wide {
  padding: 25px 0;
  background-color: #f7f7f7;
  margin-bottom: 30px;
}

.wide .section {
  width: 1200px;
  margin: 0 auto;

  box-sizing: border-box;
  padding-left: 0%;
  padding-right: 0%;
}

@media screen and (max-width: 1480px) {
  .wide {
    padding: 10px 0;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 1000px) {
  .wide {
    padding: 10px 0;
    margin-bottom: 10px;
    min-width: inherit;
  }

  .wide .section {
    padding-left: 3%;
    padding-right: 3%;
  }
}

/* 移动端样式 */
@media (max-width: 991px) {
  .ly_navbox {
    display: none;
  }

  .ly_navright .ly_features {
    display: none;
  }

  .ly_navright .ly_abroad {
    display: none;
  }

  .ly_hmenu {
    display: block;
    order: 3;
  }

  .mobile_themes_global_header {
    display: block;
  }

  .mobile_box {
    padding: 10px 15px;
  }

  .menu_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu_box .logo img {
    max-height: 40px;
  }

  /* 移动端语言切换 */
  .mobile_language {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile_lang_item {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }

  .mobile_lang_item.active {
    opacity: 1;
  }

  .mobile_lang_item .icon_flag_big {
    width: 20px;
    height: 14px;
    display: block;
    background-size: cover;
  }

  .mobile_nav_container {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background-color: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .mobile_nav.active .mobile_nav_container {
    transform: translateX(0);
  }

  .mobile_nav_header {
    display: block;
    text-align: center;
  }

  .close_btn {
    font-size: 20px;
    cursor: pointer;
  }

  .mobile_nav_content {
    padding: 15px;
  }

  .mobile_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile_nav_list li {
    margin-bottom: 15px;
  }

  .mobile_nav_list li a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
  }
}
