:root {
  --snd-navy: #2e3092;
  --snd-orange: #e89a35;
  --snd-ink: #292b39;
  --snd-muted: #707389;
}

.mobile-menu-nav {
  display: none !important;
}

.header-wrap.none {
  display: block !important;
  background: #fff;
  position: relative;
  z-index: 20;
}

.pageTopCon {
  background: var(--snd-navy);
  color: #fff;
  min-height: 42px;
}

.pageTopCon .container,
.header .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.pageTopCon .pageTop {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 42px;
}

.pageTopCon .pull-left {
  display: none;
}

.pageTopCon .pull-right,
.pageTopCon .header-center,
.pageTopCon .header-elem {
  display: flex;
  align-items: center;
}

.pageTopCon .header-center {
  gap: 22px;
}

.pageTopCon p {
  margin: 0;
}

.custom-header-text {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.pageTopCon .social-icons {
  display: flex;
  gap: 14px;
  color: #fff;
  font-size: 14px;
}

.header {
  background: #fff;
  border-bottom: 1px solid #e9e9f1;
  box-shadow: 0 5px 18px rgba(34, 37, 91, 0.08);
}

.header #inner-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 28px;
  row-gap: 0;
  padding: 14px 0;
}

#logo {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

#logo img.dark-logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 66px;
  object-fit: contain;
}

#logo img.light-logo,
.pix-menu {
  display: none !important;
}

.main-nav {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.main-nav > ul.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul.menu > li {
  position: relative;
  margin: 0;
  padding: 13px 10px;
  border-radius: 6px;
  color: var(--snd-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.main-nav > ul.menu > li > a {
  color: inherit;
  text-decoration: none;
}

.main-nav > ul.menu > li:hover,
.main-nav > ul.menu > li:focus-within,
.main-nav > ul.menu > li.current-menu-item {
  background: #f3f3fb;
  color: var(--snd-navy);
}

.main-nav .pix-dropdown-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 30;
  display: block;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  border: 1px solid #ececf4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 31, 74, 0.14);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--snd-ink);
  font-size: 13px;
  line-height: 1.4;
  list-style: none;
}

.main-nav .sub-menu li:hover {
  background: #f3f3fb;
  color: var(--snd-navy);
}

.widget-right {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}

.topSearchForm .textfield {
  width: 145px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dedfeb;
  border-radius: 20px;
  background: #fafaff;
  color: var(--snd-ink);
  font: inherit;
  outline: none;
  transition: width 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.topSearchForm .textfield:focus {
  width: 180px;
  border-color: var(--snd-navy);
  box-shadow: 0 0 0 3px rgba(46, 48, 146, 0.1);
}

@media (max-width: 1050px) {
  .header #inner-header {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 8px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .main-nav > ul.menu {
    justify-content: center;
  }

  .widget-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 600px) {
  .pageTopCon .container,
  .header .container {
    width: calc(100% - 28px);
  }

  .pageTopCon .pageTop {
    justify-content: center;
  }

  .pageTopCon .header-center {
    gap: 0;
  }

  .pageTopCon .social-icons {
    display: none;
  }

  .header #inner-header {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    padding: 12px 0;
  }

  #logo img.dark-logo {
    max-width: 190px;
    max-height: 54px;
  }

  .widget-right {
    grid-column: 2;
  }

  .topSearchForm .textfield {
    width: 112px;
  }

  .topSearchForm .textfield:focus {
    width: 130px;
  }

  .main-nav {
    grid-row: 2;
    overflow: visible;
  }

  .main-nav > ul.menu {
    justify-content: flex-start;
    gap: 2px;
  }

  .main-nav > ul.menu > li {
    padding: 9px 7px;
    font-size: 12px;
  }

  .main-nav .sub-menu {
    min-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
