.tm-header {
  background: linear-gradient(90deg, rgba(250, 250, 250, 0.58), rgba(255, 255, 255, 0.58));
  backdrop-filter: blur(18.9px);
  -webkit-backdrop-filter: blur(18.9px);
  width: 100%;
  position: relative;
  z-index: 20;
  color: #235fa5;
}
.tm-header__inner {
  box-sizing: border-box;
  min-height: 78px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px clamp(20px, 3.1vw, 45px);
  display: flex;
  align-items: center;
  gap: 28px;
}
.tm-header__brand {
  flex: 0 0 auto;
}
.tm-header__brand img {
  display: block;
  width: auto;
  max-width: 185px;
  height: auto;
  object-fit: contain;
}
.tm-header__navigation {
  flex: 1 1 auto;
  min-width: 0;
}
.tm-header__menu,
.tm-header__menu ul,
.tm-header__mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tm-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 35px);
}
.tm-header__menu li {
  position: relative;
}
.tm-header__menu a {
  color: #235fa5;
  text-decoration: none;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.tm-header__menu .menu-item-has-children > a:after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.tm-header__menu a:hover,
.tm-header__menu .current-menu-item > a,
.tm-header__menu .current-menu-parent > a {
  color: #17477d;
}
.tm-header__menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 0;
  box-shadow: 0 8px 20px rgba(20, 50, 90, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s;
}
.tm-header__menu li:hover > ul,
.tm-header__menu li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.tm-header__menu ul a {
  display: block;
  padding: 8px 18px;
}
.tm-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}
.tm-header__button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #235fa5;
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 32px;
  text-decoration: none;
  cursor: pointer;
}
.tm-header__button img,
.tm-header__icon {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}
.tm-header__badge {
  position: absolute;
  top: -1px;
  right: -8px;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #2d82d7;
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  font-weight: 700;
  text-align: center;
}
.tm-header__search {
  padding: 10px clamp(20px, 3.1vw, 45px);
  border-top: 1px solid rgba(35, 95, 165, 0.14);
}
.tm-header__search form {
  display: flex;
  gap: 8px;
  max-width: 1350px;
  margin: 0 auto;
}
.tm-header__search input {
  flex: 1;
  padding: 9px;
  border: 1px solid #cbd8e6;
  border-radius: 12px;
}
.tm-header__search button {
  padding: 9px 14px;
  border-radius: 28px;
}
.tm-header__mobile-toggle,
.tm-header__mobile-menu {
  display: none;
}
.tm-header button:focus-visible,
.tm-header a:focus-visible,
.tm-header input:focus-visible {
  outline: 2px solid #235fa5;
  outline-offset: 3px;
}
@media (max-width: 980px) {
  .tm-header__inner {
    padding: 12px 22px;
  }
  .tm-header__navigation {
    display: none;
  }
  .tm-header__actions {
    margin-left: auto;
  }
  .tm-header__mobile-toggle {
    display: inline-flex;
  }
  .tm-header__mobile-menu {
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e7edf4;
  }
  .tm-header__mobile-menu[hidden],
  .tm-header__search[hidden] {
    display: none;
  }
  .tm-header__mobile-nav > li {
    border-bottom: 1px solid #edf2f7;
  }
  .tm-header__mobile-nav a {
    display: block;
    padding: 12px 0;
    color: #235fa5;
    text-decoration: none;
  }
  .tm-header__mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
  }
  .tm-header__mobile-close {
    float: right;
    margin-bottom: 10px;
  }
  .tm-header__mobile-close .tm-header__icon {
    width: 22px;
    height: 22px;
  }
}
.tm-header__actions--icons .tm-header-icons {
  gap: 20px;
}
.tm-header__actions--icons .tm-header-icons__mobile-toggle {
  display: none;
}
@media (max-width: 980px) {
  .tm-header__actions--icons .tm-header-icons__mobile-toggle {
    display: inline-flex;
  }
}
.tm-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}
.tm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
}
.tm-header__menu,
.tm-header__menu ul,
.tm-header__menu li {
  list-style: none !important;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.tm-header__menu ul {
  padding-left: 0;
}
