/*
 * 统一顶部栏：一层深蓝导航、固定内容容器、产品独立下拉层。
 * 只处理头部，不接管页面正文、首屏和各模块的布局。
 */
:root { --yh-header-blue: #073b7c; --yh-header-hover: #f27721; }

/* 无障碍跳转链接：默认不占页面视觉空间，仅在键盘聚焦时出现。 */
.skip {
  position: fixed;
  z-index: 10050;
  top: 0;
  left: 50%;
  display: block;
  padding: 10px 18px;
  transform: translate(-50%, -120%);
  transition: transform .16s ease;
  background: #fff;
  color: #003f86;
  font: 600 15px/1.2 "Microsoft YaHei", sans-serif;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(0, 35, 80, .2);
}

.skip:focus,
.skip:focus-visible {
  transform: translate(-50%, 10px);
  outline: 2px solid #f47a22;
  outline-offset: 2px;
}

body.refined-site .header_fixed,
body.refined-site #header {
  background: var(--yh-header-blue) !important;
}

@media (min-width: 992px) {
  body.refined-site .header_fixed,
  body.refined-site #header { height: 102px !important; position: relative; z-index: 1000; }

  /* 顶部栏已处于文档流中，正文不再为旧的 fixed header 预留空白。 */
  body.refined-site main { padding-top: 0 !important; }
  body.refined-site.page-index #part-00 { margin-top: 0 !important; }

  body.refined-site .header_fixed .header_navbar {
    height: 102px !important;
    min-height: 102px !important;
    padding: 0;
    background: var(--yh-header-blue) !important;
    overflow: visible !important;
  }

  body.refined-site .header_fixed .header_navbar > .container-fluid {
    width: min(100% - 64px, 1440px);
    height: 102px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible !important;
  }

  body.refined-site .header_fixed .header_logo {
    display: block;
    flex: 0 0 350px;
    width: 350px;
    margin: 0 34px 0 0;
    padding: 0;
    transform: none !important;
  }

  body.refined-site .header_fixed .header_logo picture,
  body.refined-site .header_fixed .header_logo img { display: block; width: 100%; height: auto; }

  body.refined-site .header_fixed .header_menu_right_box { position: relative; flex: 1 1 auto; min-width: 0; height: 102px; margin: 0; overflow: visible !important; }
  body.refined-site .header_fixed .navbar-collapse { display: block !important; padding-top: 35px; overflow: visible !important; }

  /* 辅助操作与主导航分层：快速链接、语言、联系英豪、搜索。 */
  body.refined-site .header_fixed .header_menu01 {
    display: block !important;
    position: absolute;
    top: -4px;
    right: 0;
    margin: 0 !important;
  }
  body.refined-site .header_fixed .header_menu01 .row { display: flex; align-items: center; gap: 16px; margin: 0 !important; }
  body.refined-site .header_fixed .header_menu01 .col-auto { width: auto; padding: 0; }
  body.refined-site .header_fixed .header_menu01 .header_dropdown_toggle {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.78);
    font: 12px/18px "Microsoft YaHei", sans-serif;
    letter-spacing: .02em;
    text-decoration: none;
  }
  body.refined-site .header_fixed .header_menu01 .header_dropdown_toggle:hover { color: #fff; }
  body.refined-site .header_fixed .header_menu01 .header_drop_icon { width: 10px; height: 10px; opacity: .8; }
  body.refined-site .header_fixed .header_menu01 .yh-search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #fff;
    line-height: 0;
    vertical-align: middle;
    transform: translateY(-9px);
  }
  body.refined-site .header_fixed .header_menu01 .global-search-icon { display: block; width: 16px; height: 16px; fill: currentColor; }

  body.refined-site .header_fixed .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1vw, 17px);
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    left: 36px;
  }

  body.refined-site .header_fixed .navbar-nav > .nav-item { position: relative; flex: 0 0 auto; margin: 0; padding: 0; }
  body.refined-site .header_fixed .navbar-nav > .nav-item > .nav-link {
    display: block;
    padding: 10px 0;
    color: #fff;
    font: 700 16px/24px "Microsoft YaHei", sans-serif;
    white-space: nowrap;
    transition: color .18s ease;
  }

  body.refined-site .header_fixed .navbar-nav > .nav-item > .nav-link:hover,
  body.refined-site .header_fixed .navbar-nav > .nav-item > .nav-link:focus-visible,
  body.refined-site .header_fixed .navbar-nav > .nav-item > .nav-link.current-page { color: var(--yh-header-hover) !important; }

  body.refined-site .header_fixed .header_search_sp,
  body.refined-site .header_fixed .navbar-toggler { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1250px) {
  body.refined-site .header_fixed .navbar-nav { left: 0; }
}

@media (max-width: 991px) {
  body.refined-site .header_fixed { z-index: 1000; }
  body.refined-site .header_fixed .navbar-nav > .nav-item > .nav-link:hover,
  body.refined-site .header_fixed .navbar-nav > .nav-item > .nav-link:focus-visible { color: var(--yh-header-hover) !important; }
}

