/* Law2CN header scheme A live override - 2026-07-01 */
body .site-header,
body #header_navigation {
  background: #101418 !important;
  border-bottom: 1px solid rgba(201, 154, 74, .26) !important;
  box-shadow: 0 18px 50px rgba(16, 20, 24, .16) !important;
}

body #topBar,
body .topbar-main-class {
  margin-bottom: 0 !important;
  background: #101418 !important;
  border-bottom: 1px solid rgba(244, 234, 217, .1) !important;
}

body #topBar .topbar-inner-cls,
body #topBar .topbar-info-contents,
body .topbar-main-class .topbar-info-contents {
  min-height: 36px !important;
  color: rgba(244, 234, 217, .78) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body #topBar p,
body #topBar a,
body #topBar span,
body .topbar-main-class p,
body .topbar-main-class a,
body .topbar-main-class span {
  color: rgba(244, 234, 217, .84) !important;
}

body #header_navigation .container,
body #topBar .container {
  max-width: 1180px !important;
}

body #header_navigation .header-main-outer-box,
body #header_navigation .header-outer-box {
  background: transparent !important;
}

body #header_navigation .header-outer-box {
  min-height: 78px !important;
  align-items: center !important;
}

body #header_navigation .logo-main-box,
body #header_navigation .logo,
body #header_navigation a.custom-logo-link {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body #header_navigation .logo-main-box {
  flex: 0 0 27% !important;
  max-width: 27% !important;
}

body #header_navigation .header-main-box {
  flex: 0 0 43% !important;
  max-width: 43% !important;
}

body #header_navigation .header-button-outer-box {
  flex: 0 0 30% !important;
  max-width: 30% !important;
}

body #header_navigation .logo {
  min-width: 270px !important;
  height: auto !important;
  padding: 0 !important;
}

body #header_navigation .logo::before,
body #header_navigation .logo:before {
  content: none !important;
  display: none !important;
}

body #header_navigation .logo a.custom-logo-link {
  position: relative !important;
  display: inline-block !important;
  min-height: 58px !important;
  max-width: none !important;
  padding: 0 0 0 58px !important;
  line-height: 1.12 !important;
  background: url("/assets/law2cn-header/law2cn-metal-logo-header.png") left center / 46px 58px no-repeat !important;
}

body #header_navigation .logo img,
body #header_navigation .logo img.custom-logo,
body #header_navigation img.custom-logo,
body #header_navigation a.custom-logo-link img {
  position: absolute !important;
  display: block !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

body #header_navigation .logo a.custom-logo-link::before {
  content: "轩 辕 法 律 服 务 网" !important;
  display: block !important;
  color: #f4ead9 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  white-space: pre !important;
}

body #header_navigation .logo a.custom-logo-link::after {
  content: "Expert legal services since 2001" !important;
  display: block !important;
  margin-top: 4px !important;
  color: #b8ad9a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body #header_navigation nav a,
body #header_navigation .menu a,
body .main-navigation ul li a,
body header nav a,
body header .menu a {
  color: #f1eadf !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body #header_navigation .main-navigation ul li a {
  padding-left: 7px !important;
  padding-right: 7px !important;
}

body #header_navigation nav a:hover,
body #header_navigation .menu a:hover,
body .main-navigation .current-menu-item a,
body .main-navigation .current-menu-item > a {
  color: #c99a4a !important;
  background: rgba(201, 154, 74, .08) !important;
}

body #header_navigation .sub-menu,
body .main-navigation ul ul {
  background: #1b1e24 !important;
  border: 1px solid rgba(201, 154, 74, .22) !important;
}

body #header_navigation .sub-menu a,
body .main-navigation ul ul a {
  color: #f1eadf !important;
}

body #header_navigation #menu-item-998 {
  display: none !important;
}

body .header-contact-btn,
body .header-login-btn,
body #header_navigation .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 5px !important;
  clip-path: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body .header-contact-btn {
  color: #16130f !important;
  background: #b78333 !important;
  border: 1px solid #b78333 !important;
}

body .header-login-btn {
  color: #f4ead9 !important;
  background: transparent !important;
  border: 1px solid rgba(201, 154, 74, .62) !important;
}

body #header_navigation .search-container,
body #header_navigation .header-contact-button-box::before,
body #header_navigation .header-contact-button-box::after,
body #header_navigation .header-login-button-box::before,
body #header_navigation .header-login-button-box::after {
  display: none !important;
}

@media (max-width: 991px) {
  body #topBar,
  body .topbar-main-class {
    display: none !important;
  }

  body #header_navigation .logo-main-box {
    flex: 0 0 58% !important;
    max-width: 58% !important;
  }

  body #header_navigation .header-main-box {
    flex: 0 0 10% !important;
    max-width: 10% !important;
  }

  body #header_navigation .header-button-outer-box {
    flex: 0 0 32% !important;
    max-width: 32% !important;
  }

  body #header_navigation .header-outer-box {
    min-height: 72px !important;
  }

  body #header_navigation .logo {
    min-width: 222px !important;
  }

  body #header_navigation .logo a.custom-logo-link {
    min-height: 52px !important;
    padding-left: 50px !important;
    background-size: 40px 52px !important;
  }

  body #header_navigation .logo a.custom-logo-link::before {
    font-size: 15px !important;
  }

  body #header_navigation .logo a.custom-logo-link::after {
    max-width: 168px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  body .header-login-button-box {
    display: none !important;
  }

  body .header-contact-btn {
    color: #16130f !important;
    background: #b78333 !important;
    border-color: #b78333 !important;
  }
}

@media (max-width: 575px) {
  body #header_navigation .logo-main-box {
    flex: 0 0 62% !important;
    max-width: 62% !important;
  }

  body #header_navigation .header-button-outer-box {
    flex: 0 0 28% !important;
    max-width: 28% !important;
    padding-left: 0 !important;
  }

  body #header_navigation .header-main-box {
    flex: 0 0 10% !important;
    max-width: 10% !important;
  }

  body .header-contact-btn {
    min-height: 38px !important;
    padding: 0 11px !important;
    font-size: 13px !important;
  }
}

body #header_navigation #menu-item-1147 {
  display: none !important;
}

body #topBar .topbar-phone-text span::after {
  content: "  工作日 09:00-18:00";
  color: rgba(244, 234, 217, .84);
  font-weight: 700;
}
