/* 导航样式1：对照参照页顶栏。菜单、搜索、登录功能不变。 */

.hires-site-header {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  --red: #C9002B;
  --gold: #F6B800;
  --warm: #FFF9F1;
  --ink: #161616;
  --ink2: #64615E;
  --line: #E7E0D8;
  --hires-nav-primary: var(--red);
  --hires-nav-primary-hover: #A00025;
  --hires-nav-dark: var(--ink);
  --hires-nav-muted: var(--ink2);
  --hires-nav-border: var(--line);
  --hires-nav-light: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94) !important;
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: none !important;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hires-site-header.header {
  box-shadow: none !important;
}

.hires-header-inner {
  box-sizing: border-box;
  width: min(1440px, 100%);
  max-width: 1440px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  height: 68px;
  gap: 40px;
}

.hires-site-header .logo.hires-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0;
  padding: 0;
  background: none !important;
  color: var(--ink);
  text-decoration: none;
}
.hires-site-header .brand-disc {
  width: 32px !important;
  height: 32px !important;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 1.5px, var(--gold) 2px 4.5px, var(--red) 5px 10.5px, rgba(255, 255, 255, .12) 11px 11.5px, var(--ink) 12px);
}
.hires-site-header .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.hires-site-header .brand-name b {
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: .06em;
  font-size: 18px;
  line-height: 1.05;
  color: var(--ink);
  white-space: nowrap;
}
.hires-site-header .brand-name span {
  display: block;
  width: auto !important;
  height: auto !important;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--ink2);
  white-space: nowrap;
}

.hires-site-header .nav-links {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 28px;
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  font-size: 15px;
  font-weight: 500;
}

.hires-site-header .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.hires-site-header .nav-link,
.hires-site-header .nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  height: 100%;
  min-height: 68px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink2) !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease;
}

.hires-site-header .nav-link::after,
.hires-site-header .nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.hires-site-header .nav-link:hover,
.hires-site-header .nav-link:focus-visible,
.hires-site-header .nav-dropdown-toggle:hover,
.hires-site-header .nav-dropdown-toggle:focus-visible,
.hires-site-header .nav-item.is-open > .nav-dropdown-toggle {
  color: var(--ink) !important;
}

.hires-site-header .nav-item.is-current > .nav-link,
.hires-site-header .nav-item.is-current > .nav-dropdown-toggle {
  color: var(--ink) !important;
  font-weight: 700;
}

.hires-site-header .nav-item.is-current > .nav-link::after,
.hires-site-header .nav-item.is-current > .nav-dropdown-toggle::after,
.hires-site-header .nav-item.is-open > .nav-dropdown-toggle::after {
  transform: scaleX(1);
}

.hires-site-header .nav-chevron {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.hires-site-header .nav-item.is-open .nav-chevron,
.hires-site-header .nav-item:focus-within .nav-chevron,
.hires-site-header .nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

.hires-site-header .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 208px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 22px 40px -28px rgba(22, 22, 22, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.hires-site-header .nav-item:hover > .nav-dropdown,
.hires-site-header .nav-item:focus-within > .nav-dropdown,
.hires-site-header .nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
}

.hires-site-header .nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.hires-site-header .nav-dropdown a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  border: 0;
  color: var(--ink2) !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.hires-site-header .nav-dropdown a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
  transition: background .18s ease;
}

.hires-site-header .nav-dropdown a:hover,
.hires-site-header .nav-dropdown a:focus-visible,
.hires-site-header .nav-dropdown a.is-current {
  background: var(--warm);
  color: var(--ink) !important;
  outline: none;
}

.hires-site-header .nav-dropdown a:hover::before,
.hires-site-header .nav-dropdown a:focus-visible::before,
.hires-site-header .nav-dropdown a.is-current::before {
  background: var(--red);
}

.hires-site-header .nav-dropdown a.is-current {
  color: var(--red) !important;
  font-weight: 700;
}

.hires-site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 0 1 auto;
}

.hires-header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  min-width: 168px;
  height: 38px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink2);
  transition: border-color .2s;
}

.hires-header-search:focus-within {
  border-color: var(--ink);
}

.hires-header-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hires-nav-dark);
  font-size: 13px;
  line-height: 1.4;
  outline: none;
}

.hires-header-search__input::placeholder {
  color: var(--hires-nav-muted);
}

.hires-header-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: var(--ink2) !important;
  cursor: pointer;
}

.hires-header-search__btn:hover {
  background: transparent !important;
  color: var(--ink) !important;
}

.hires-nav-vip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--warm) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.hires-nav-vip svg {
  color: var(--gold);
}

.hires-nav-vip:hover {
  color: var(--warm) !important;
}

.hires-nav-vip[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 2px;
  background: var(--red);
}

.hires-site-header .icon-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--hires-nav-dark);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background .2s;
}

.hires-site-header .icon-btn:hover {
  background: var(--hires-nav-light);
  color: var(--hires-nav-dark);
}

.hires-site-header .icon-btn .ceofont {
  font-size: 18px !important;
  margin: 0;
}

.hires-header-user {
  display: flex;
  align-items: center;
}

.hires-header-user em {
  display: none !important;
}

.hires-site-header .head-login {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  height: auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--ink2) !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1 !important;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  transform: none !important;
}

.hires-site-header .head-login:hover {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--ink) !important;
  transform: none !important;
}

.hires-site-header .head-avatar {
  position: relative;
  display: flex;
  align-items: center;
}

.hires-site-header .user-down {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  width: 300px !important;
  max-width: none !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  padding-top: 8px;
  z-index: 1002;
}

.hires-site-header .head-avatar > .avatar {
  display: block;
  line-height: 0;
}

.hires-site-header .head-avatar > .avatar img {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hires-site-header .menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}

.hires-mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  overflow-y: auto;
  padding: 8px 20px 28px;
  background: #fff;
  border-top: 0;
  box-shadow: none;
}

.hires-mobile-nav.is-open {
  display: block;
}

.hires-mobile-nav .mobile-nav-list {
  max-width: 720px;
  margin: 0 auto;
}

.hires-mobile-nav > .mobile-nav-list > a,
.hires-mobile-nav .mobile-nav-group > .mobile-nav-toggle {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--hires-nav-border);
  background: transparent;
  color: var(--hires-nav-dark);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
}

.hires-mobile-nav > .mobile-nav-list > a:hover,
.hires-mobile-nav .mobile-nav-group > .mobile-nav-toggle:hover,
.hires-mobile-nav .mobile-nav-group.is-open > .mobile-nav-toggle {
  color: var(--ink);
}

.hires-mobile-nav .mobile-nav-toggle .nav-chevron {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.hires-mobile-nav .mobile-nav-group.is-open .mobile-nav-toggle .nav-chevron {
  transform: rotate(180deg);
}

.hires-mobile-nav .mobile-submenu {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--warm);
  transition: grid-template-rows .2s ease;
}

.hires-mobile-nav .mobile-submenu-inner {
  overflow: hidden;
}

.hires-mobile-nav .mobile-nav-group.is-open .mobile-submenu {
  grid-template-rows: 1fr;
}

.hires-mobile-nav .mobile-submenu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink2);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}

.hires-mobile-nav .mobile-submenu a::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--red);
}

.hires-mobile-nav .mobile-submenu a:hover,
.hires-mobile-nav .mobile-submenu a.is-current {
  color: var(--red);
}

.night .hires-site-header,
.night .hires-site-header.header {
  background: #171717 !important;
  border-bottom-color: rgba(216, 216, 216, .28);
  box-shadow: none !important;
}

.night .hires-site-header .nav-link,
.night .hires-site-header .nav-dropdown-toggle,
.night .hires-site-header .icon-btn,
.night .hires-site-header .menu-toggle {
  color: #eee !important;
}

.night .hires-site-header .nav-link:hover,
.night .hires-site-header .nav-dropdown-toggle:hover,
.night .hires-site-header .nav-item.is-current > .nav-link,
.night .hires-site-header .nav-item.is-current > .nav-dropdown-toggle {
  color: #fff !important;
}

.night .hires-site-header .nav-dropdown {
  background: #1c1c1c;
  border-color: rgba(231, 224, 216, .22);
  box-shadow: 0 22px 40px -28px rgba(0, 0, 0, .8);
}

.night .hires-site-header .nav-dropdown a {
  color: rgba(255, 249, 241, .72) !important;
}

.night .hires-site-header .nav-dropdown a::before {
  background: rgba(231, 224, 216, .28);
}

.night .hires-site-header .nav-dropdown a:hover,
.night .hires-site-header .nav-dropdown a:focus-visible,
.night .hires-site-header .nav-dropdown a.is-current {
  background: rgba(255, 249, 241, .08);
  color: #fff9f1 !important;
}

.night .hires-site-header .nav-dropdown a.is-current {
  color: var(--red) !important;
}

.night .hires-header-search {
  background: #151a23;
  border-color: #2a3240;
}

.night .hires-header-search__input {
  color: #eee;
}

.night .hires-mobile-nav {
  background: #191f28;
}

.night .hires-mobile-nav > .mobile-nav-list > a,
.night .hires-mobile-nav .mobile-nav-group > .mobile-nav-toggle {
  color: #eee;
  border-bottom-color: #2a3240;
}

.night .hires-mobile-nav .mobile-submenu {
  background: #151a23;
}

.night .hires-site-header .head-login {
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(216, 216, 216, .7) !important;
}

.night .hires-site-header .head-login:hover {
  background: transparent !important;
  border-color: transparent !important;
  color: #fff !important;
}

@media (max-width: 1480px) {
  .hires-header-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 960px) {
  .hires-header-search,
  .hires-nav-vip { display: none !important; }
}
@media (max-width: 1180px) {
  .hires-site-header .nav-links {
    display: none;
  }
  .hires-site-header .menu-toggle {
    display: grid;
    place-items: center;
  }
  .hires-header-search {
    width: min(220px, 42vw);
  }
}

@media (max-width: 720px) {
  .hires-header-inner {
    height: 56px;
    min-height: 56px;
    min-width: 0;
  }
  .hires-site-header,
  .hires-header-inner,
  .hires-site-header .header-actions {
    max-width: 100%;
  }
  .hires-site-header .user-down {
    width: min(300px, calc(100vw - 16px)) !important;
    right: 0 !important;
    left: auto !important;
  }
  .hires-mobile-nav {
    top: 56px;
  }
  .hires-header-search,
  .hires-nav-vip {
    display: none !important;
  }
}

@media (max-width: 599px) {
  .hires-site-header .brand-name span {
    display: none;
  }
  .hires-site-header .brand-name b {
    font-size: 15px;
    letter-spacing: .04em;
  }
}

@media (max-width: 575.98px) {
  .hires-header-inner {
    width: 100%;
    padding: 0 16px;
    gap: 12px;
  }
  .hires-header-search {
    width: 132px;
    min-width: 0;
  }
  .hires-header-search__input {
    padding: 0 10px;
    font-size: 12px;
  }
  .hires-site-header .head-login {
    min-width: 0;
    height: auto;
    padding: 0 !important;
    font-size: 12px !important;
  }
}
