#header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#header {
  --_header-padding: 50px;
  --_header-height: 80px;
  transition: background 0.2s ease-in-out;
  background: transparent;
  padding: 18px 0;
  position: fixed;
  top: 0;
  left: 0;
  height: var(--_header-height);
  display: flex;
  align-items: center;
  font-size: var(--font-l);
  color: #000;
  font-family: "Geist", "Arial", "Helvetica", sans-serif;
  width: 100%;
  z-index: 9999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#header.fixed-position,
#header:has(.nav-active) {
  background: #fff;
}
#header .container {
  width: 100%;
  max-width: none;
  padding-inline: 20px !important;
}
#header .container > div {
  padding: 0;
}
#header .grid-block {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(105px, auto) auto;
  justify-content: space-between;
  gap: 0 15px;
  grid-template-areas: "logo-holder nav-opener";
}
#header .logo-holder {
  grid-area: logo-holder;
}
#header .nav-opener {
  grid-area: nav-opener;
}
#header .menu-holder {
  grid-area: menu-holder;
}
#header .btn-block {
  grid-area: btn-block;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  max-width: 480px;
  margin: 30px auto 0;
}
#header .btn-block .btn {
  display: block;
  background: #1C1B17;
  padding: 0.9em 1.05em;
  border: 1px solid transparent;
  border-radius: 6px !important;
  box-shadow: 0px 1px 2px 0px rgba(28, 27, 23, 0.06);
  font: 460 var(--font-xs)/1 "Geist", "Arial", "Helvetica", sans-serif;
  width: 100%;
  max-width: none;
  margin: 0;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.0066875em;
  white-space: nowrap;
  color: #fff;
}
#header .btn-block.btn-white {
  background: #fff;
  border-color: #B8B7B5;
  color: #000;
  box-shadow: 0 1px 2px rgba(28, 27, 23, 0.06);
}
#header .btn-block.btn-white:hover {
  background: #F8F8F7;
}
#header .btn-block:before {
  content: "";
  display: none;
}
#header .nav-bar {
  display: contents;
}
#header .nav-bar.nav-active .nav-opener:before {
  background: #000;
  transform: translate(0, 7px) rotate(-135deg);
  width: 22px;
}
#header .nav-bar.nav-active .nav-opener span {
  background: #000;
  width: 0;
}
#header .nav-bar.nav-active .nav-opener:after {
  background: #000;
  transform: translate(0, -7px) rotate(135deg);
  width: 22px;
}
#header .nav-bar .nav-opener {
  transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  position: relative;
  margin: -11px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px 0;
  text-indent: -9999px;
  overflow: hidden;
  z-index: 9999;
  float: right;
}
#header .nav-bar .nav-opener:before,
#header .nav-bar .nav-opener:after,
#header .nav-bar .nav-opener span {
  transition: background 0.2s ease-in-out, width 0.2s ease-in-out, transform 0.2s ease-in-out;
  content: "";
  background: #000;
  width: 100%;
  height: 2px;
}
#header .nav-bar .nav-drop {
  display: contents;
}
#header ul .ico-holder {
  width: 40px;
  height: 40px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #DADAD7;
  border-radius: 6px;
}
#header ul .ico-holder img {
  width: 26px;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
#header ul .title {
  display: block;
  text-transform: uppercase;
  font-weight: 460;
  letter-spacing: 0.15px;
  font-size: var(--font-xs);
  color: #686764;
}
#header ul .name {
  display: block;
}
#header ul.menu-list .title {
  margin: 0 0 11px;
}
#header ul.menu-list li.small-menu {
  position: relative;
}
#header ul.menu-list .third-child > li > a {
  border-radius: 6px;
}
#header ul.menu-list .third-child > li > a:hover {
  background: #F4F4F0;
}
#header ul.menu-list .third-child .new-tag {
  display: flex;
  align-items: center;
  gap: 0 8px;
}
#header ul.menu-list .third-child .new-tag:after {
  content: "New";
  background: #ECFDF7;
  padding: 0.2em 0.6em;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.38;
  color: #06763A;
  border-radius: 16px;
  top: 0;
  right: 0;
}
#header .menu-children-wrapper {
  position: relative;
  margin: 0 0 calc(var(--_header-padding) / 2);
}
#header .menu-children-wrapper a {
  padding: 10px;
  text-decoration: none;
  border-radius: 6px;
}
#header .menu-children-wrapper a:hover {
  background: #F4F4F0;
}
@media (min-width: 480px) {
#header .container {
  padding-inline: max(25px, 50% - 696px) !important;
}
}
@media (min-width: 768px) {
#header ul.menu-list .second-child {
  display: grid;
    grid-template-columns: 1fr 1fr;
}
}
@media (min-width: 1024px) {
#header {
  height: auto;
    font-size: var(--font-s);
    padding: 0;
    display: block;
    letter-spacing: 0;
}
#header .grid-block {
  grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo-holder menu-holder btn-block";
}
#header .btn-block {
  flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    max-width: none;
    margin: 0;
}
#header .btn-block .btn {
  width: unset;
    font-size: var(--font-s);
}
#header .nav-bar .nav-opener {
  display: none;
}
#header ul.menu-list {
  display: flex;
    justify-content: center;
    align-items: center;
}
#header ul.menu-list > li:hover > a {
  color: #000;
}
#header ul.menu-list > li:hover > a:after {
  width: calc(100% - 20px);
}
#header ul.menu-list > li:hover > a .submenu-toggle {
  color: #000;
    rotate: 0.5turn;
}
#header ul.menu-list > li:hover > ul {
  visibility: visible;
    opacity: 1;
}
#header ul.menu-list > li > a {
  display: flex;
    align-items: center;
    gap: 0 9px;
    padding: 20px 10px;
    font-weight: 460;
    text-decoration: none;
    position: relative;
}
#header ul.menu-list > li > a:after {
  width: 0;
    height: 4px;
    content: "";
    background: #000;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
#header ul.menu-list > li > a .submenu-toggle {
  transition: color 0.2s ease-in-out, rotate 0.2s ease-in-out;
    display: block;
    line-height: 0;
    font-size: 11px;
    margin-top: 0.2em;
}
#header ul.menu-list > li > a .submenu-toggle:after {
  transition: transform 0.2s ease-in-out, top 0.2s ease-in-out, border-color 0.2s ease-in-out;
    width: 6px;
    height: 6px;
    content: "";
    position: relative;
    top: -3px;
    left: 0;
    display: block;
    border-right: 1px solid #282725;
    border-bottom: 1px solid #282725;
    transform: rotate(45deg);
}
#header ul.menu-list .second-child {
  width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0 20px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 12px 16px -4px rgba(28, 27, 23, 0.08), 0px 4px 6px -2px rgba(28, 27, 23, 0.03);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 32px 31px 34px;
    visibility: hidden;
    opacity: 0;
}
#header ul.menu-list .second-child > li {
  flex: 1;
}
#header ul.menu-list .third-child {
  margin-left: 3px;
}
#header ul.menu-list .third-child > li:not(:last-child) {
  margin: 0 0 8px;
}
#header ul.menu-list .third-child > li > a {
  display: flex;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    gap: 0 10px;
}
#header ul.menu-list .third-child > li > a:hover {
  background: #F4F4F0;
}
#header ul.menu-list .third-child > li > a .text-block {
  margin-top: -5px;
}
#header ul.menu-list .third-child > li > a .name {
  font-weight: 460;
}
#header ul.menu-list .third-child > li > a .text {
  font-size: 12px;
    color: #3C3C3A;
}
#header .menu-children-wrapper {
  display: none;
    width: 100%;
    min-width: 200px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #000;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 300;
    overflow: hidden;
}
#header .menu-children-wrapper a {
  display: block;
    font-size: 0.9rem;
    padding: 0.65em 1em;
    border-radius: 0;
}
}
@media (min-width: 1024px) and (min-width: 1024px) {
#header ul.menu-list > li:hover .menu-children-wrapper {
  display: block;
}
}
@media (min-width: 1024px) and (min-width: 1200px) {
#header ul.menu-list .third-child > li > a {
  gap: 0 16px;
}
#header ul.menu-list .third-child > li > a .text {
  font-size: var(--font-s);
    letter-spacing: 0.2px;
}
}
@media (min-width: 1024px) and (min-width: 768px) {
#header ul.menu-list .third-child > li > a .name {
  letter-spacing: 0.2px;
}
}
@media (min-width: 1200px) {
#header .logo-holder {
  width: 213px;
}
#header .btn-block {
  gap: 12px;
}
#header ul .ico-holder {
  width: 56px;
    height: 56px;
}
#header ul.menu-list > li > a {
  padding: 28px 15px;
}
}
@media (min-width: 1360px) {
#header .grid-block {
  gap: 0 25px;
}
}
@media (max-width: 1023px) {
#header .nav-bar.nav-active .nav-drop {
  inset-inline: 0;
    opacity: 1;
    transition: opacity 0.3s 0s, inset 0s 0s;
}
#header .nav-bar .nav-drop {
  display: block;
    position: absolute;
    inset: 100% 100% calc(-100dvh + var(--_header-height)) -100%;
    background: #fff;
    padding: 8px 20px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s 0s, inset 0s 0.3s;
}
#header ul.menu-list a,
#header ul.menu-list .title {
  position: relative;
    display: block;
    text-decoration: none;
}
#header ul.menu-list > li {
  border-bottom: 1px solid #EAEAE6;
}
#header ul.menu-list > li.active {
  color: #000;
}
#header ul.menu-list > li.active .submenu-toggle {
  color: #000;
}
#header ul.menu-list > li.active .submenu-toggle:after {
  rotate: 0.5turn;
}
#header ul.menu-list > li > a {
  display: flex;
    align-items: center;
    gap: 0 10px;
    text-decoration: none;
    padding: 10px 0;
}
#header ul.menu-list > li > a .submenu-toggle {
  transition: color 0.2s ease-in-out;
    position: relative;
}
#header ul.menu-list > li > a .submenu-toggle:after {
  width: 6px;
    height: 6px;
    transition: rotate 0.2s ease-in-out;
    content: "";
    display: block;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
}
#header ul.menu-list .second-child {
  margin: calc(var(--_header-padding) / 2) 0;
}
#header ul.menu-list .second-child > li + li {
  margin-top: 30px;
}
#header ul.menu-list .third-child > li > a {
  padding: 10px;
    display: flex;
    align-items: center;
    gap: 0 15px;
}
#header ul.menu-list .third-child > li > a .name {
  font-size: var(--font-m);
}
#header ul.menu-list .third-child > li > a .text {
  display: none;
}
}
#header ul.menu-list .third-child .ico-holder {
  flex-shrink: 0;
}
#header ul.menu-list .third-child .text-block {
  min-width: 0;
}
@media (min-width: 1024px) {
#header .container {
  padding-inline: max(40px, 50% - 680px) !important;
}
#header ul.menu-list .second-child {
  column-gap: 24px;
}
}
/* Adapt the existing menu to the feature pages without loading the legacy page theme. */
#header.ir-feature-header {
  --font-xs: 12.75px;
  --font-s: 14.25px;
  --font-m: 15.75px;
  --font-l: 17.25px;
  position: relative;
  height: auto;
  min-height: 66px;
  border-color: transparent;
  background: var(--hero-background);
}

#header.ir-feature-header a { color: inherit; }
#header.ir-feature-header a.btn:not(.btn-white) { color: #fff; }
#header.ir-feature-header .logo { display: block; width: 142px; }
#header.ir-feature-header .logo img { display: block; width: 100%; }
#header.ir-feature-header .ico-holder { flex-shrink: 0; }

@media (min-width: 1024px) {
  #header.ir-feature-header ul.menu-list > li:focus-within > .second-child {
    visibility: visible;
    opacity: 1;
  }
  #header.ir-feature-header ul.menu-list > li:focus-within > .menu-children-wrapper,
  #header.ir-feature-header ul.menu-list > li:hover > .menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  #header.ir-feature-header:not(:has(.nav-active)) .nav-drop { visibility: hidden; }
  #header.ir-feature-header .menu-list > li:not(.active) > ul { display: none; }
}
