.tf-header__inner {
  min-height: 58px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  width: min(1320px,calc(100% - 28px));
  gap: 12px;
}
.tf-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #040c08e6;
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.tf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
}
.tf-logo__image,.tf-logo__mark {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  border-radius: 12px;
  flex: 0 0 38px;
  overflow: hidden;
}
.tf-logo__image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff14;
}
.tf-logo__image img,.tf-logo img,.tf-header img,.site-branding img,.custom-logo {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  display: block;
}
.tf-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07130e;
  background: linear-gradient(135deg,var(--tf-gold),var(--tf-green));
  font-size: 16px;
  font-weight: 920;
}
.tf-logo__text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}
.tf-nav__menu a {
  color: #e2eee6;
  font-size: 13px;
  font-weight: 750;
  transition: color .2s ease;
}
.tf-nav__menu a:hover,.tf-nav__menu .current-menu-item>a,.tf-nav__menu .current_page_item>a {
  color: var(--tf-gold);
}
.tf-header-search {
  width: 205px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  background: #ffffff14;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 4px;
}
.tf-header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 7px 9px;
  font-size: 12.5px;
}
.tf-header-search input::placeholder {
  color: #8da199;
}
.tf-header-search button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  color: #07130e;
  background: var(--tf-gold);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.tf-nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: #ffffff14;
  cursor: pointer;
}
.tf-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
}
@media (max-width:980px) {
  .tf-header__inner {
    flex-wrap: wrap;
    min-height: 58px;
    padding: 8px 0;
  }
  .tf-nav-toggle {
    display: block;
  }
  .tf-nav,.tf-header-search {
    display: none;
    width: 100%;
  }
  body.tf-mobile-nav-open .tf-nav,body.tf-mobile-nav-open .tf-header-search {
    display: block;
  }
}
@media (max-width:768px) {
  .tf-logo__image,.tf-logo__mark {
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
    flex-basis: 34px;
    border-radius: 13px;
  }
  .tf-logo__image img,.tf-logo img,.tf-header img,.site-branding img,.custom-logo {
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
  }
}
@media (max-width:480px) {
  .tf-header__inner {
    min-height: 52px;
    padding: 6px 0;
  }
  .tf-nav-toggle {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .tf-logo {
    gap: 8px;
    min-width: 0;
  }
  .tf-logo__text {
    min-width: 0;
  }
  .tf-logo__text small {
    display: none;
  }
}
.tf-nav__menu--empty a {
  color: var(--tf-gold);
}
@media (max-width:980px),(pointer:coarse) {
  .tf-nav__menu a {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
  }
  .tf-header-search button {
    min-height: 44px;
    min-width: 44px;
  }
  .tf-nav-toggle {
    height: 44px;
    min-width: 44px;
    width: 44px;
  }
}
@media (max-width:980px) {
  .tf-nav__menu a {
    padding: 12px 0;
    display: flex;
    width: 100%;
  }
}
.tf-nav__menu .sub-menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.tf-nav__menu>li:hover>.sub-menu,.tf-nav__menu>li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}
.tf-nav__menu .sub-menu li {
  display: block;
}
.tf-nav__menu .sub-menu a:hover {
  background: rgba(255,255,255,.07);
}
@media (max-width:980px) {
  .tf-nav__menu>li:hover>.sub-menu,.tf-nav__menu>li:focus-within>.sub-menu {
    transform: none;
  }
}

.tf-logo__text strong {
  color: #fff;
  font-size: 16px;
  font-weight: 920;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.tf-logo__text small {
  color: #a9baaf;
  font-size: 11.5px;
  font-weight: 750;
  white-space: nowrap;
}
.tf-nav {
  flex: 1;
  min-width: 0;
}
.tf-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-wrap: nowrap;
}
.tf-nav__menu>li {
  position: relative;
  flex: 0 0 auto;
}
.tf-nav__menu>li>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  color: #e8f0eb;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-decoration-line: none;
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: none;
  transition: background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.tf-nav__menu>li>a:hover,.tf-nav__menu>li>a:focus-visible {
  background: rgba(255,255,255,.11);
  border-color: rgba(248,201,90,.42);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.tf-nav__menu>li.current-menu-item>a,.tf-nav__menu>li.current_page_item>a,.tf-nav__menu>li.current-menu-ancestor>a,.tf-nav__menu>li.current_page_ancestor>a {
  background: var(--tf-gold);
  border-color: var(--tf-gold);
  color: #07130e;
  text-decoration: none;
}
.tf-nav__menu>li.menu-item-has-children>a:after {
  content: "▾";
  margin-left: 6px;
  font-size: 10px;
  line-height: 1;
  opacity: .8;
}
.tf-nav__menu .sub-menu {
  position: absolute;
  left: 50%;
  z-index: 50;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(255,255,255,.14);
  background: #07110c;
  box-shadow: 0 18px 48px rgba(0,0,0,.38);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%,8px);
  transition: opacity .18s ease,transform .18s ease,visibility .18s ease;
  top: calc(100% + 9px);
  min-width: 210px;
  padding: 8px;
  border-radius: 13px;
}
.tf-nav__menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #dce8e0;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
.tf-nav__menu .sub-menu a:hover,.tf-nav__menu .sub-menu a:focus-visible,.tf-nav__menu .sub-menu .current-menu-item>a {
  background: rgba(248,201,90,.12);
  color: var(--tf-gold);
  text-decoration: none;
}
@media (max-width:1180px) and (min-width:981px) {
  .tf-header__inner {
    width: min(100%,calc(100% - 20px));
    gap: 8px;
  }
  .tf-logo__text small {
    display: none;
  }
  .tf-nav__menu {
    gap: 4px;
  }
  .tf-nav__menu>li>a {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12.5px;
  }
  .tf-header-search {
    width: 175px;
  }
}
@media (max-width:980px) {
  .tf-nav__menu {
    display: grid;
    gap: 7px;
    padding: 10px 0;
  }
  .tf-nav__menu>li>a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: 11px;
  }
  .tf-nav__menu>li>a:hover,.tf-nav__menu>li>a:focus-visible {
    transform: none;
  }
  .tf-nav__menu .sub-menu {
    position: static;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 6px 0 2px 12px;
    padding: 0 0 0 10px;
    border-left: 1px solid rgba(255,255,255,.14);
  }
  .tf-nav__menu .sub-menu a {
    min-height: 40px;
    padding: 0 12px;
  }
  .tf-nav__menu>li.menu-item-has-children>a:after {
    margin-left: auto;
  }
}

@media (max-width:768px) {
  .tf-logo__text small {
    font-size: 11px;
    display: none;
  }
  .tf-logo__text strong {
    font-size: 16px;
  }
}
