*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  color: #000;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
ul {
  margin: 0;
  padding-left: 1.2em;
}
p {
  /* margin: 1em 0 0; */
  margin-bottom: 0.9rem;
}
p:first-child {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 源文件：无固定高度，padding:1% 3% 随 logo 撑开 */
  padding: 1% 3%;
  background: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
}
.site-header .logo {
  /* 源文件：logo 列约 9.76% 宽，图片 width:90% */
  width: 8.8vw;
  max-width: 125px;
  min-width: 90px;
  height: auto;
}
.lang-switch {
  /* 固定占位，避免 简/繁/英 切换时顶栏宽度跳动 */
  box-sizing: border-box;
  min-width: 13.5em;
  color: #104c97;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'PingFang TC', Sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: right;
  white-space: nowrap;
  padding-right: 10px;
}
.lang-switch a + a {
  margin-left: 1.25em;
}

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  padding: 0 24px;
  background: #06937e;
  color: #fff;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'PingFang TC', Sans-serif;
  font-size: 1.2vw;
  line-height: 1.3em;
  letter-spacing: 1px;
  text-align: center;
}
/* 源文件 .hhlogo：width:auto + padding-right:15px + margin-top:-5px（尺寸由 img 的 90×39 决定） */
.promo-bar .hh-logo {
  width: auto;
  height: auto;
  padding-right: 15px;
  margin-top: -5px;
  flex-shrink: 0;
}
.promo-bar .promo-text {
  flex: 0 1 auto;
  width: auto;
  max-width: none;
}
.promo-bar a {
  color: #fff;
  text-decoration: underline;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  background: #fff;
  line-height: 0;
}
.hero-stack a {
  line-height: 0;
}
.hero-stack img {
  width: 100%;
  margin: 0;
}

.terms {
  padding: 24px 30px 48px;
  font-size: 14px;
  line-height: 24px;
  color: #000;
}
.terms a {
  color: #104c97;
  text-decoration: underline;
}

@media (max-width: 767px) {
  /* 对齐原 mobile.html：height:100px; pl20 pr20; font20; bold; 无阴影 */
  .site-header {
    position: relative;
    height: 100px;
    padding: 0 20px;
    box-shadow: none;
  }
  .site-header .logo {
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
  }
  .lang-switch {
    min-width: 0;
    color: #104c97;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    padding-right: 0;
  }
  .lang-switch a + a {
    margin-left: 1.25em;
  }
  /* 对齐原 mobile：font18；logo 可见；内容垂直居中 */
  .promo-bar {
    height: 99px; /* 原 59px 内容高 + pb40 */
    min-height: 99px;
    padding: 0 20px;
    overflow: visible;
    font-size: 18px;
    font-family: Sans-serif;
    letter-spacing: 0;
    text-align: left;
    justify-content: center;
    align-items: center;
  }
  .promo-bar .hh-logo {
    box-sizing: content-box;
    width: 90px;
    height: 39px;
    max-width: none;
    padding: 0 15px 0 0;
    margin-top: 0;
  }
  .promo-bar .promo-text {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    font-family: Sans-serif;
    font-size: 18px;
    line-height: 1.3;
  }
  .promo-bar a {
    color: #fff;
    text-decoration: underline;
    font-family: Sans-serif;
  }
  .terms {
    font-size: 12px;
    line-height: 2;
  }
}
