/* ============ 基础重置 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  background: #ffffff;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  font-size: 1.6rem;
  line-height: 1.6;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.container {
  width: 140rem;
  max-width: 92%;
  margin: 0 auto;
}

/* ============ 顶部 Header ============ */
.header {
  background: #8a1c0e;
  color: #fff;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4.5rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.logo-area .logo-img {
  height: 8rem;
  width: auto;
  border-radius: 0.4rem;
  display: block;
}

.logo-area a.logo-link {
  display: inline-block;
  line-height: 0;
}

/* 搜索框 */
.search-box {
  position: relative;
  width: 23rem;
}

.search-box input {
  width: 100%;
  height: 3.6rem;
  border: none;
  border-radius: 0.4rem;
  padding: 0 4rem 0 1.4rem;
  font-size: 1.4rem;
  color: #333;
  outline: none;
}

.search-box .search-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 4rem;
  height: 3.6rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #d9a441;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 分隔线 */
.header-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* 汉堡菜单按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  line-height: 1;
}

/* ============ 导航（含二级下拉） ============ */
.nav {
  padding: 1.6rem 0;
}

.nav > ul {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.nav > ul > li {
  position: relative;
}

.nav > ul > li > a {
  font-size: 2.2rem;
  font-weight: bold;
  padding: 0.6rem 0.4rem;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
  display: block;
}

.nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s;
}

.nav > ul > li > a:hover {
  color: #ffd9a0;
}

.nav > ul > li > a:hover::after {
  width: 100%;
}

.nav > ul > li > a.active {
  color: #ffd9a0;
}

.nav > ul > li > a.active::after {
  width: 100%;
}

/* 二级下拉菜单 */
.nav .sub-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 14rem;
  background: #fff;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.15);
  border-radius: 0 0 0.4rem 0.4rem;
  z-index: 100;
  padding: 0.8rem 0;
  margin-left: -7rem;
}

.nav > ul > li:hover .sub-menu {
  display: block;
}

.nav .sub-menu li a {
  display: block;
  padding: 1rem 2rem;
  font-size: 1.4rem;
  color: #555;
  white-space: nowrap;
  transition: all 0.2s;
  font-weight: normal;
}

.nav .sub-menu li a:hover {
  background: #f7f7f7;
  color: #8a1c0e;
  padding-left: 2.4rem;
}

.nav .sub-menu li a.active {
  color: #8a1c0e;
  font-weight: bold;
}

/* ============ Footer ============ */
.footer {
  background: #8a1c0e;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 3.2rem 0;
  font-size: 1.4rem;
}

.footer .addr {
  margin-bottom: 1.2rem;
}

.footer .copy {
  font-size: 1.3rem;
  opacity: 0.85;
}

.footer .copy span {
  margin: 0 0.8rem;
}

/* ============ 内页 Banner（较矮） ============ */
.sub-banner {
  height: 44rem;
 
  position: relative;
}

.sub-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(138,28,14,0.15), rgba(138,28,14,0.45));
}

/* ============ 面包屑 ============ */
.crumb-bar {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.6rem 0;
  font-size: 1.4rem;
  color: #888;
  flex-wrap: wrap;
}

.crumb .home-icon {
  color: #8a1c0e;
  font-size: 1.6rem;
}

.crumb a:hover {
  color: #8a1c0e;
}

.crumb .sep {
  color: #ccc;
}

.crumb .current {
  color: #8a1c0e;
  font-weight: bold;
}

/* ============ 主体布局：左栏目 + 右内容 ============ */
.main-wrap {
  padding: 3.6rem 0 6rem;
}

.layout {
  display: flex;
  gap: 3.6rem;
  align-items: flex-start;
}

/* 左侧栏目导航 */
.sidebar {
  width: 26rem;
  flex-shrink: 0;
}

.sidebar-head {
  background: #8a1c0e;
  color: #fff;
  padding: 2.2rem 2.4rem;
  border-radius: 0.4rem 0.4rem 0 0;
}

.sidebar-head .cn {
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
}

.sidebar-head .en {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.sidebar-menu {
  border: 1px solid #e5e5e5;
  border-top: none;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2.4rem;
  font-size: 1.6rem;
  color: #444;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.25s;
}

.sidebar-menu li:last-child a {
  border-bottom: none;
}

.sidebar-menu li a::after {
  content: "\203A";
  color: #bbb;
  font-size: 1.8rem;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  background: #f7f7f7;
  color: #8a1c0e;
  font-weight: bold;
  padding-left: 3rem;
}

.sidebar-menu li a.active {
  border-left: 0.4rem solid #8a1c0e;
}

/* 右侧内容区 */
.content {
  flex: 1;
  min-width: 0;
}

.content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #8a1c0e;
  padding-bottom: 1.4rem;
  margin-bottom: 1rem;
}

.content-head h2 {
  font-size: 2.4rem;
  color: #8a1c0e;
  font-weight: bold;
  letter-spacing: 0.1rem;
}

.content-head .path {
  font-size: 1.3rem;
  color: #888;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .nav > ul > li > a {
    font-size: 1.6rem;
  }

  .sub-banner {
    height: 18rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 90%;
  }

  .header-top {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.4rem 0 1rem;
  }

  .logo-area {
    gap: 1rem;
  }

  /* 汉堡菜单显示 */
  .menu-toggle {
    display: block;
  }

  /* 搜索框 */
  .search-box {
    width: 100%;
    order: 3;
  }

  /* 导航：默认隐藏，展开为竖向 */
  .nav {
    display: none;
    padding: 0;
  }

  .nav.open {
    display: block;
  }

  .nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav > ul > li > a {
    display: block;
    font-size: 1.6rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  /* 有子菜单的项：右侧加展开 chevron 箭头 */
  .nav > ul > li.has-sub > a {
    position: relative;
    padding-right: 3rem;
  }

  .nav > ul > li.has-sub > a .arrow {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    width: 0.8rem;
    height: 0.8rem;
    margin-top: -0.4rem;
    border-right: 2px solid rgba(255,255,255,0.55);
    border-bottom: 2px solid rgba(255,255,255,0.55);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    transition: transform 0.3s, margin-top 0.3s;
    -webkit-transition: -webkit-transform 0.3s, margin-top 0.3s;
  }

  .nav > ul > li.sub-open > a .arrow {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: -0.2rem;
  }

  .nav > ul > li:last-child > a {
    border-bottom: none;
  }

  .nav > ul > li > a::after {
    display: none;
  }

  /* 移动端二级菜单展开 */
  .nav .sub-menu {
    display: none;
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-left: 0;
    background: rgba(0,0,0,0.08);
    padding: 0;
  }

  .nav > ul > li:hover .sub-menu {
    display: none;
  }

  .nav > ul > li.sub-open .sub-menu {
    display: block;
  }

  .nav .sub-menu li a {
    padding: 1rem 2rem 1rem 3rem;
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav .sub-menu li a:hover {
    background: rgba(0,0,0,0.1);
    color: #fff;
    padding-left: 3.4rem;
  }

  .nav .sub-menu li a.active {
    color: #fff;
    font-weight: bold;
  }

  .sub-banner {
    height: 14rem;
  }

  .layout {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .content-head h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
}



@media screen and (max-width:769px) {
  html {
    font-size: 8px !important;
  }


}

@media screen and (max-width:375px) {
  html {
    font-size: 7px !important;
  }
}

@media screen and (max-width:360px) {
  html {
    font-size: 6px !important
  }
}

@media screen and (max-width:350px) {
  html {
    font-size: 5px !important
  }
}