/* Site header — refined industrial */
.site-header {
  --hdr-bg: #ffffff;
  --hdr-utility: #0f172a;
  --hdr-utility-text: rgba(248, 250, 252, 0.82);
  --hdr-nav: #0c2d4a;
  --hdr-nav-hover: #0a3d66;
  --hdr-accent: #0ea5e9;
  --hdr-accent-deep: #0369a1;
  --hdr-text: #334155;
  --hdr-muted: #64748b;
  --hdr-border: #e2e8f0;
  --hdr-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --hdr-font: 'DM Sans', 'Segoe UI', sans-serif;
  --hdr-display: 'Sora', 'DM Sans', sans-serif;
  --hdr-container: 1320px;
  --hdr-gutter: 15px;
  background: var(--hdr-bg);
  font-family: var(--hdr-font);
  box-shadow: var(--hdr-shadow);
  position: relative;
  z-index: 1000;
}

.site-header a {
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.site-header .header-utility .container,
.site-header .header-primary .container {
  max-width: var(--hdr-container);
  width: 100%;
  padding-left: var(--hdr-gutter);
  padding-right: var(--hdr-gutter);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Utility bar */
.site-header .header-utility {
  background: var(--hdr-utility);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: auto;
  min-height: 38px;
  color: var(--hdr-utility-text);
  font-size: 12px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1100;
}

.site-header .header-utility__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 16px;
  align-items: center;
  min-height: 38px;
  padding: 6px 0;
  width: 100%;
}

.site-header .header-utility .header-contact {
  grid-column: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-self: start;
  justify-content: flex-start;
  gap: 8px 18px;
  flex: none;
  min-width: 0;
  width: auto;
  max-width: 100%;
}

.site-header .header-lang {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 26px;
  flex-shrink: 0;
  margin-left: 0;
  position: relative;
  z-index: 12;
  overflow: visible;
}

.site-header .header-utility .top_email {
  float: none;
  margin: 0;
  padding: 0;
}

.site-header .header-utility .header-contact__item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 6px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--hdr-utility-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.site-header .header-utility__actions {
  grid-column: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  float: none;
  height: auto;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.site-header .header-utility .header-contact__item:hover,
.site-header .header-utility .header-contact__item:focus {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  text-decoration: none;
}

.site-header .header-utility .header-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hdr-accent);
  line-height: 1;
}

.site-header .header-utility .header-contact__icon i,
.site-header .header-utility .header-contact__icon .glyphicon {
  display: block;
  font-size: 14px;
  line-height: 1;
  width: 14px;
  height: 14px;
  text-align: center;
}

.site-header .header-utility .header-contact__item:hover .header-contact__icon,
.site-header .header-utility .header-contact__item:focus .header-contact__icon {
  color: #fff;
}

.site-header .header-utility .header-contact__text {
  display: inline-block;
  line-height: 1;
  word-break: normal;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
}

.site-header .top_lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  float: none;
  margin: 0;
  padding: 0;
  height: auto;
}

.site-header .header-social {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.site-header .header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(248, 250, 252, 0.75);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  overflow: visible;
  padding: 0;
}

.site-header .header-social a:hover {
  color: #fff;
  background: rgba(14, 165, 233, 0.35);
}

.site-header .header-social i {
  font-size: 13px;
  width: auto;
  height: auto;
  line-height: 1;
  border-radius: 0;
  background: transparent;
}

.site-header .header-social .icon-x {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Primary row: logo + nav + search */
.site-header .header-primary {
  background: #fff;
  border-bottom: 1px solid var(--hdr-border);
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
}

.site-header .header-primary__inner {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 200px);
  column-gap: 16px;
  align-items: center;
  min-height: 72px;
  margin: 0;
  padding: 6px 0;
  border: none;
  background: transparent;
  width: 100%;
}

.site-header .header-primary__inner::before,
.site-header .header-primary__inner::after {
  display: none;
  content: none;
}

.site-header .header-primary__bar {
  display: contents;
}

.site-header .header-primary__toggle {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  flex: 0 0 0 !important;
  order: 99;
}

.site-header .header-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  grid-column: 1;
  justify-self: start;
  max-width: 280px;
}

.site-header .logo {
  display: block;
  max-width: 280px;
  max-height: 68px;
  width: auto;
  height: auto;
  margin: 0 !important;
  object-fit: contain;
  object-position: left center;
}

.site-header .header-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  float: none;
  margin: 0;
  padding: 0;
}

.site-header .top_email {
  display: flex;
}

.site-header .header-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hdr-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
}

.site-header .header-contact__item:hover,
.site-header .header-contact__item:focus {
  color: var(--hdr-accent-deep);
  border-color: rgba(14, 165, 233, 0.25);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.1);
}

.site-header .header-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  color: var(--hdr-accent-deep);
  flex-shrink: 0;
}

.site-header .header-contact__icon i {
  margin: 0;
  font-size: 15px;
}

.site-header .header-contact__text {
  line-height: 1.3;
  word-break: break-all;
}

/* Search */
.site-header .header-search {
  float: none !important;
  width: 100%;
  min-width: 0;
  max-width: 200px;
  grid-column: 3;
  justify-self: end;
  margin: 0;
}

.site-header .search_group {
  float: none !important;
  margin: 0 !important;
  height: auto;
  background: transparent;
  color: inherit;
}

.site-header .header-search__group {
  display: flex;
  align-items: stretch;
  float: none;
  width: 100%;
  height: 38px;
  margin: 0 !important;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  overflow: visible;
  background: #f8fafc;
  box-shadow: none;
}

.site-header .header-search__group .form-control {
  display: block;
  width: 1%;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 999px 0 0 999px;
}

.site-header .header-search__group:focus-within {
  border-color: rgba(14, 165, 233, 0.5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.site-header .header-search__group input.form-control {
  flex: 1 1 auto;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: var(--hdr-text);
  font-size: 13px;
  box-shadow: none;
}

.site-header .header-search__group input.form-control::placeholder {
  color: #94a3b8;
}

.site-header .header-search__group .input-group-btn {
  display: flex;
  align-items: stretch;
  width: auto;
  flex: 0 0 auto;
  white-space: normal;
}

.site-header .header-search__btn,
.site-header #search_submit.header-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 38px;
  margin: 0 !important;
  padding: 0;
  border: none;
  border-radius: 0 999px 999px 0;
  background: var(--hdr-nav);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.site-header .header-search__btn .fa,
.site-header #search_submit .fa {
  font-size: 14px;
  line-height: 1;
}

.site-header .header-search__btn:hover,
.site-header #search_submit.header-search__btn:hover {
  background: var(--hdr-accent-deep);
  color: #fff;
}

/* Navigation — inline row */
.site-header .header-nav.navbar {
  margin: 0;
  border: none;
  border-radius: 0;
  min-height: 0;
  background: transparent;
}

.site-header .header-primary__nav {
  display: flex !important;
  grid-column: 2;
  justify-self: center;
  height: auto !important;
  overflow: visible !important;
  padding: 0;
  border: none;
  box-shadow: none;
  justify-content: center;
  align-items: center;
  min-width: 0;
  width: 100%;
  float: none !important;
}

.site-header .header-primary__nav.collapse {
  display: flex !important;
  visibility: visible !important;
  height: auto !important;
}

.site-header .header-primary__nav.in {
  overflow: visible !important;
}

.site-header .header-nav .navbar-nav {
  float: none !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  gap: 0;
}

.site-header .header-nav .navbar-nav > li {
  float: none;
  border: none;
  position: relative;
  flex-shrink: 0;
}

.site-header .header-nav .navbar-nav > li > a {
  position: relative;
  display: block;
  padding: 8px 10px !important;
  color: var(--hdr-text) !important;
  font-family: var(--hdr-display);
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background: transparent !important;
}

.site-header .header-nav .navbar-nav > li > a::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--hdr-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-header .header-nav .navbar-default .navbar-nav > li > a:hover,
.site-header .header-nav .navbar-default .navbar-nav > li > a:focus,
.site-header .header-nav .navbar-default .navbar-nav > li > a.active,
.site-header .header-nav .navbar-default .navbar-nav > .active > a,
.site-header .header-nav .navbar-default .navbar-nav > .active > a:hover,
.site-header .header-nav .navbar-default .navbar-nav > .open > a,
.site-header .header-nav .navbar-default .navbar-nav > .open > a:hover,
.site-header .header-nav .navbar-default .navbar-nav > .open > a:focus {
  background: transparent;
  color: var(--hdr-accent-deep);
}

.site-header .header-nav .navbar-nav > li > a:hover::after,
.site-header .header-nav .navbar-nav > li > a:focus::after,
.site-header .header-nav .navbar-nav > .active > a::after,
.site-header .header-nav .navbar-nav > .open > a::after {
  transform: scaleX(1);
}

.site-header .header-nav .nav_small {
  background: #fff;
  border: 1px solid var(--hdr-border);
  border-radius: 10px;
  padding: 6px 0;
  margin-top: 4px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  min-width: 180px;
}

.site-header .header-nav .nav_small > li > a {
  padding: 9px 18px;
  color: var(--hdr-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-header .header-nav .nav_small > li > a:hover {
  background: #f1f5f9;
  color: var(--hdr-accent-deep);
}

.site-header .header-nav .dropdown-menu2 li {
  background: #f8fafc;
}

.site-header .header-nav .dropdown-menu2 li a {
  color: var(--hdr-text);
}

.site-header .header-nav .dropdown-menu2 li:hover {
  background: #e0f2fe;
}

/* GTranslate inline in utility bar */
.site-header #gt_float_wrapper {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}

.site-header .gt_float_switcher .gt-selected .gt-current-lang {
  color: rgba(248, 250, 252, 0.9) !important;
  font-size: 12px !important;
}

.site-header .gt_float_switcher .gt-selected .gt-current-lang:hover {
  color: #fff !important;
}

.site-header .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23cbd5e1'/></svg>") !important;
}

.site-header .gt_float_switcher .gt_options {
  z-index: 10050 !important;
}

/* Sticky header row */
.site-header .header-primary.navbar-fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  margin-top: 0;
  opacity: 1;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

.site-header .header-primary.navbar-fixed-top .logo {
  max-height: 56px;
  max-width: 220px;
}

.site-header .header-primary.navbar-fixed-top .header-primary__inner {
  min-height: 64px;
  padding: 4px 0;
}

.site-header .header-primary.navbar-fixed-top .navbar-nav > li > a {
  padding: 8px 10px;
}

/* Desktop — force single row */
@media screen and (min-width: 769px) {
  .site-header .header-utility__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .site-header .header-lang {
    grid-column: 3;
    justify-self: end;
    margin-left: 12px;
  }

  .site-header .header-utility__actions {
    grid-column: 2;
    justify-self: end;
  }

  .site-header .header-lang #gt_float_wrapper {
    margin-left: 0 !important;
    justify-content: flex-end !important;
  }

  .site-header .header-primary__toggle {
    display: none !important;
    position: absolute !important;
    pointer-events: none !important;
  }

  .site-header .header-primary__nav,
  .site-header .header-primary__nav.collapse {
    display: flex !important;
    height: auto !important;
    overflow: visible !important;
  }

  .site-header .navbar-default .navbar-nav {
    float: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .site-header .navbar-default .navbar-nav > li {
    float: none !important;
    border: none !important;
  }

  .site-header .navbar-default .navbar-nav > li > a {
    padding: 8px 10px !important;
    color: var(--hdr-text) !important;
    font-size: 12px !important;
  }

  .site-header #app_menudown {
    display: none !important;
  }

  .site-header .header-nav .navbar-brand,
  .site-header #search_btn {
    display: none !important;
  }
}

@media screen and (min-width: 992px) {
  .site-header .header-utility__inner,
  .site-header .header-primary__inner {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 220px);
  }

  .site-header .header-nav .navbar-nav > li > a {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }

  .site-header .header-search {
    max-width: 220px;
  }

  .site-header .logo {
    max-width: 300px;
    max-height: 72px;
  }

  .site-header .header-logo {
    max-width: 300px;
  }
}

@media screen and (min-width: 1200px) {
  .site-header .header-utility__inner,
  .site-header .header-primary__inner {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 240px);
  }

  .site-header .header-nav .navbar-nav > li > a {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  .site-header .header-search {
    max-width: 240px;
  }

  .site-header .logo {
    max-width: 320px;
    max-height: 76px;
  }

  .site-header .header-logo {
    max-width: 320px;
  }
}

/* Medium desktop — tighter */
@media screen and (min-width: 769px) and (max-width: 991px) {
  .site-header .header-utility__inner,
  .site-header .header-primary__inner {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 170px);
  }

  .site-header .header-logo {
    max-width: 200px;
  }

  .site-header .logo {
    max-width: 200px;
    max-height: 58px;
  }

  .site-header .header-nav .navbar-nav > li > a {
    padding: 8px 7px !important;
    font-size: 11px !important;
    letter-spacing: 0.02em;
  }

  .site-header .header-search {
    max-width: 170px;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  /* Override legacy style.css inside site header */
  .site-header .top_lang,
  .site-header .top_email,
  .site-header .top_search {
    display: flex !important;
  }

  .site-header .header-utility {
    min-height: 0;
    overflow: visible;
  }

  .site-header .header-utility .container {
    overflow: visible;
  }

  .site-header .header-utility__actions {
    display: none !important;
  }

  .site-header .header-utility__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 2px 0;
    min-height: 26px;
    overflow: visible;
  }

  .site-header .header-utility .header-contact {
    flex: 1 1 auto;
    min-width: 0;
    grid-column: auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-header .header-utility .header-contact::-webkit-scrollbar {
    display: none;
  }

  .site-header .header-utility .header-contact__item {
    align-items: center;
    gap: 3px;
    font-size: 9px;
    line-height: 1;
  }

  .site-header .header-utility .header-contact__icon {
    width: 11px;
    height: 11px;
    line-height: 1;
  }

  .site-header .header-utility .header-contact__icon i,
  .site-header .header-utility .header-contact__icon .glyphicon {
    font-size: 11px;
    width: 11px;
    height: 11px;
  }

  .site-header .header-utility .header-contact__text {
    max-width: 8.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
    line-height: 1;
  }

  .site-header .header-lang {
    flex: 0 0 auto;
    grid-column: auto;
    justify-self: auto;
    margin-left: 0;
    min-height: 0;
    z-index: 1002;
    overflow: visible;
  }

  .site-header .header-utility .header-contact #gt_float_wrapper,
  .site-header .header-lang #gt_float_wrapper {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: auto !important;
    overflow: visible !important;
  }

  .site-header .header-utility .gt_float_switcher {
    font-size: 11px !important;
    overflow: visible !important;
  }

  .site-header .header-utility .gt_float_switcher .gt-selected .gt-current-lang {
    font-size: 10px !important;
    gap: 3px !important;
    padding: 2px 0 !important;
    white-space: nowrap;
  }

  .site-header .header-utility .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    font-size: 10px !important;
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .header-utility .gt_float_switcher img {
    width: 16px !important;
  }

  .site-header .header-utility .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0;
  }

  .site-header .header-utility .gt_float_switcher .gt_options {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(70vh, 520px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18) !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .header-utility .gt_float_switcher .gt_options a {
    padding: 7px 6px !important;
    font-size: 11px !important;
    gap: 5px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header .header-utility .gt_float_switcher .gt_options a img {
    width: 18px !important;
    flex-shrink: 0;
  }

  .site-header .header-social a {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .site-header .header-primary__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 6px 0 0;
  }

  .site-header .header-primary__inner.navbar {
    background: transparent !important;
    margin-top: 0 !important;
    min-height: 0;
  }

  .site-header .header-primary__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    flex: 0 0 auto;
    order: 0;
    padding: 4px 0 8px;
  }

  .site-header .header-logo {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    margin: 0;
    max-width: none;
    order: unset;
    padding: 0;
  }

  .site-header .logo {
    max-width: 180px;
    max-height: 48px;
    margin: 0 !important;
    object-position: left center;
  }

  .site-header .header-primary__toggle {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    float: none !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    flex: 0 0 auto;
    position: static !important;
    pointer-events: auto !important;
    order: unset;
    background: transparent;
    margin: 0;
    padding: 0;
    min-height: 0;
  }

  .site-header .header-primary__toggle .navbar-toggle {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--hdr-border);
    border-radius: 8px;
    background: var(--hdr-nav);
  }

  .site-header .header-primary__toggle .navbar-toggle .icon-bar {
    background: #fff;
  }

  .site-header .header-nav .navbar-brand {
    display: none !important;
  }

  .site-header #search_btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none;
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 10px;
    font-size: 16px;
    border-radius: 8px;
    color: var(--hdr-nav);
    background: #f1f5f9;
    border: 1px solid var(--hdr-border);
  }

  .site-header #search_btn:hover,
  .site-header #search_btn:focus {
    background: #e2e8f0;
    color: var(--hdr-accent-deep);
    cursor: pointer;
  }

  .site-header .header-primary__nav {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    grid-column: auto;
    justify-self: stretch;
    display: block !important;
  }

  .site-header .header-primary__nav.collapse:not(.in) {
    display: none !important;
  }

  .site-header .header-primary__nav.collapse.in {
    display: block !important;
    overflow: visible !important;
  }

  .site-header .header-search {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    grid-column: auto;
    margin: 0 0 12px;
    padding: 0;
  }

  .site-header .header-nav .navbar-nav {
    display: block !important;
    float: none !important;
    margin: 0;
    border-top: 1px solid var(--hdr-border);
    width: 100%;
  }

  .site-header .header-nav .navbar-nav > li {
    float: none !important;
    border: none !important;
    width: 100%;
  }

  .site-header .header-nav .navbar-nav > li > a {
    color: var(--hdr-text) !important;
    text-align: left;
    padding: 14px 18px !important;
    letter-spacing: 0.04em;
    font-size: 13px !important;
    white-space: normal;
  }

  .site-header .header-nav .navbar-nav > li > a,
  .site-header .header-nav .nav_small > li > a,
  .site-header .header-nav .nav_small .dropdown-menu2 > li > a {
    text-decoration: none !important;
  }

  .site-header .header-nav .navbar-nav > li > a::after,
  .site-header .header-nav .nav_small > li > a::after {
    display: none !important;
    content: none !important;
  }

  .site-header .header-nav .navbar-default .navbar-nav > li > a:hover,
  .site-header .header-nav .navbar-default .navbar-nav > li > a:focus,
  .site-header .header-nav .navbar-default .navbar-nav > .active > a,
  .site-header .header-nav .navbar-default .navbar-nav > .open > a {
    background: #f1f5f9 !important;
    color: var(--hdr-accent-deep) !important;
  }

  .site-header .header-nav .navbar-nav > li.dropdown {
    position: relative;
  }

  .site-header .header-nav .navbar-nav > li.dropdown > a:not(#app_menudown) {
    display: block;
    padding-right: 48px !important;
    min-height: 46px;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-header .header-nav .navbar-nav > li.dropdown > #app_menudown {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none;
    width: 44px;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    color: var(--hdr-muted);
    background: transparent;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .site-header .header-nav .navbar-nav > li.dropdown > #app_menudown .fa {
    display: block;
    transition: transform 0.28s ease, color 0.2s ease;
    transform-origin: center center;
  }

  .site-header .header-nav .navbar-nav > li.dropdown.open > #app_menudown .fa {
    transform: rotate(180deg);
    color: var(--hdr-accent-deep);
  }

  .site-header .header-nav .navbar-nav > li.dropdown > #app_menudown:hover,
  .site-header .header-nav .navbar-nav > li.dropdown > #app_menudown:focus {
    color: var(--hdr-accent-deep);
    background: rgba(14, 165, 233, 0.08);
  }

  .site-header .header-nav .nav_small {
    position: static !important;
    display: none;
    float: none !important;
    margin: 0;
    padding: 4px 0 6px;
    background: #f8fafc;
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    list-style: none;
  }

  .site-header .header-nav .dropdown.open > .nav_small,
  .site-header .header-nav .dropdown.open > .dropdown-menu {
    display: block !important;
    position: static !important;
    float: none !important;
    animation: headerNavSlide 0.28s ease;
  }

  @keyframes headerNavSlide {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .site-header .header-nav .nav_small > li {
    position: relative;
    float: none !important;
    width: 100%;
    border: none;
  }

  .site-header .header-nav .nav_small > li > a {
    display: block;
    color: var(--hdr-text) !important;
    padding: 11px 44px 11px 28px !important;
    min-height: 42px;
    box-sizing: border-box;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    background: transparent !important;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-header .header-nav .nav_small > li.sub-open > a:first-child {
    color: var(--hdr-accent-deep) !important;
    background: rgba(14, 165, 233, 0.06) !important;
  }

  .site-header .header-nav .nav_small > li.dropdown > a:first-child {
    padding-right: 48px !important;
  }

  .site-header .header-nav .nav_small .dropdown-menu2 {
    display: none !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2px 0 6px !important;
    background: rgba(241, 245, 249, 0.85) !important;
    border: none !important;
    box-shadow: none !important;
    list-style: none;
    overflow: hidden;
  }

  .site-header .header-nav .dropdown.open .dropdown-menu2 {
    display: none !important;
  }

  .site-header .header-nav .nav_small > li.sub-open > .dropdown-menu2 {
    display: block !important;
  }

  .site-header .header-nav .nav_small .dropdown-menu2 > li {
    float: none !important;
    height: auto !important;
    line-height: 1.45 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none;
  }

  .site-header .header-nav .nav_small .dropdown-menu2 > li > a {
    display: block;
    padding: 9px 16px 9px 40px !important;
    font-size: 12px !important;
    color: var(--hdr-muted) !important;
    text-decoration: none;
    background: transparent !important;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-header .header-nav .nav_small .dropdown-menu2 > li > a:hover,
  .site-header .header-nav .nav_small .dropdown-menu2 > li > a:focus {
    color: var(--hdr-accent-deep) !important;
    background: rgba(14, 165, 233, 0.1) !important;
  }

  .site-header .header-nav .nav_small .dropdown-menu2 > li > a .fa {
    display: none;
  }

  .site-header .header-nav .nav-sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    margin: 5px 4px 0 0;
    color: var(--hdr-muted);
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: transparent;
    box-sizing: border-box;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .site-header .header-nav .nav-sub-toggle .fa {
    display: block;
    font-size: 16px;
    transition: transform 0.28s ease, color 0.2s ease;
    transform-origin: center center;
  }

  .site-header .header-nav .nav_small > li.sub-open > .nav-sub-toggle .fa {
    transform: rotate(180deg);
    color: var(--hdr-accent-deep);
  }

  .site-header .header-nav .nav-sub-toggle:hover,
  .site-header .header-nav .nav-sub-toggle:focus {
    color: var(--hdr-accent-deep);
    background: rgba(14, 165, 233, 0.08);
  }

  .site-header .header-nav .nav_small > li.sub-open > .nav-sub-toggle {
    color: var(--hdr-accent-deep);
    background: transparent;
  }

  .site-header #searchform {
    display: none;
  }

  .site-header #searchform.search-open {
    display: block;
  }

  .site-header .search_group {
    margin: 8px 0 0 !important;
  }

  .site-header #app_menudown1 {
    display: none !important;
  }
}
