.wd-nav > li > a,
.main-nav .menu > li > a,
.whb-header .wd-nav > li > a {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.wd-dropdown,
.wd-dropdown-menu,
.wd-sub-menu,
.sub-menu {
  background: #ffffff !important;
  border: 1px solid rgba(229, 234, 243, 0.95) !important;
  box-shadow: 0 18px 40px rgba(7, 28, 88, 0.14) !important;
}

.wd-dropdown-menu li a,
.wd-sub-menu li a,
.sub-menu li a {
  color: #172033 !important;
  font-size: 12.6px !important;
  font-weight: 700 !important;
}

@media screen and (min-width: 1025px) {
  html body .whb-header .wd-nav,
  html body .whb-header .main-nav .menu,
  html body .whb-header .menu {
    align-items: center !important;
    gap: 0 !important;
  }

  html body .whb-header .wd-nav > li,
  html body .whb-header .main-nav .menu > li,
  html body .whb-header .menu > li {
    position: relative !important;
    margin: 0 1px !important;
    padding: 0 !important;
  }

  html body .whb-row.whb-general-header .wd-nav > li > a,
  html body .whb-row.whb-general-header .menu > li > a,
  html body .whb-header .wd-nav > li > a,
  html body .whb-header .main-nav .menu > li > a,
  html body .whb-header .menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 12px !important;
    border-radius: 12px 12px 0 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.12px !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background 0.18s ease, color 0.18s ease !important;
  }

  html body .whb-row.whb-general-header .wd-nav > li:hover > a,
  html body .whb-row.whb-general-header .menu > li:hover > a,
  html body .whb-header .wd-nav > li:hover > a,
  html body .whb-header .main-nav .menu > li:hover > a,
  html body .whb-header .menu > li:hover > a,
  html body .whb-header .wd-nav > li:focus-within > a,
  html body .whb-header .main-nav .menu > li:focus-within > a,
  html body .whb-header .menu > li:focus-within > a,
  html body .whb-header .wd-nav > li.wd-opened > a,
  html body .whb-header .main-nav .menu > li.wd-opened > a,
  html body .whb-header .menu > li.wd-opened > a {
    background: #ffffff !important;
    color: #172033 !important;
    box-shadow: none !important;
  }

  html body .whb-header .wd-nav > li.current-menu-item:not(:hover):not(:focus-within) > a,
  html body .whb-header .wd-nav > li.current-menu-ancestor:not(:hover):not(:focus-within) > a,
  html body .whb-header .main-nav .menu > li.current-menu-item:not(:hover):not(:focus-within) > a,
  html body .whb-header .main-nav .menu > li.current-menu-ancestor:not(:hover):not(:focus-within) > a,
  html body .whb-header .menu > li.current-menu-item:not(:hover):not(:focus-within) > a,
  html body .whb-header .menu > li.current-menu-ancestor:not(:hover):not(:focus-within) > a {
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  html body .whb-header .wd-nav > li.menu-item-has-children > a::after,
  html body .whb-header .main-nav .menu > li.menu-item-has-children > a::after,
  html body .whb-header .menu > li.menu-item-has-children > a::after,
  html body .whb-header .wd-nav > li.has-sub > a::after {
    margin-inline-start: 5px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    color: currentColor !important;
    opacity: 0.95 !important;
  }

  html body .whb-header .wd-nav > li > .wd-dropdown,
  html body .whb-header .wd-nav > li > .wd-dropdown-menu,
  html body .whb-header .main-nav .menu > li > .sub-menu,
  html body .whb-header .menu > li > .sub-menu,
  html body .whb-header .wd-nav > li > .sub-menu {
    z-index: 10050 !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateX(0) !important;
    min-width: 255px !important;
    max-width: 320px !important;
    width: max-content !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 6px 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(229, 234, 243, 0.95) !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 40px rgba(7, 28, 88, 0.14) !important;
    transform-origin: top right !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html body .whb-header .wd-dropdown .sub-menu,
  html body .whb-header .wd-dropdown .wd-sub-menu,
  html body .whb-header .wd-dropdown-menu .sub-menu,
  html body .whb-header .wd-dropdown-menu .wd-sub-menu,
  html body .whb-header .sub-menu .sub-menu {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body .whb-header .wd-dropdown li,
  html body .whb-header .wd-dropdown-menu li,
  html body .whb-header .sub-menu li,
  html body .whb-header .wd-sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(229, 234, 243, 0.9) !important;
  }

  html body .whb-header .wd-dropdown li:last-child,
  html body .whb-header .wd-dropdown-menu li:last-child,
  html body .whb-header .sub-menu li:last-child,
  html body .whb-header .wd-sub-menu li:last-child {
    border-bottom: 0 !important;
  }

  html body .whb-header .wd-dropdown a,
  html body .whb-header .wd-dropdown-menu a,
  html body .whb-header .main-nav .menu > li > .sub-menu a,
  html body .whb-header .menu > li > .sub-menu a,
  html body .whb-header .wd-nav > li > .sub-menu a,
  html body .whb-header .wd-sub-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 43px !important;
    padding: 9px 16px !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #172033 !important;
    font-size: 12.6px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: -0.08px !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background 0.16s ease, color 0.16s ease !important;
  }

  html body .whb-header .wd-dropdown a:hover,
  html body .whb-header .wd-dropdown-menu a:hover,
  html body .whb-header .main-nav .menu > li > .sub-menu a:hover,
  html body .whb-header .menu > li > .sub-menu a:hover,
  html body .whb-header .wd-nav > li > .sub-menu a:hover,
  html body .whb-header .wd-sub-menu a:hover,
  html body .whb-header .wd-dropdown li.current-menu-item > a,
  html body .whb-header .wd-dropdown-menu li.current-menu-item > a,
  html body .whb-header .sub-menu li.current-menu-item > a,
  html body .whb-header .wd-sub-menu li.current-menu-item > a {
    background: rgba(17, 70, 255, 0.07) !important;
    color: #1146ff !important;
    transform: none !important;
  }

  html body .whb-header .sub-menu .sub-menu,
  html body .whb-header .wd-sub-menu .wd-sub-menu,
  html body .whb-header .wd-dropdown-menu .wd-dropdown-menu {
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    transform: translateX(0) !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(229, 234, 243, 0.95) !important;
    box-shadow: 0 18px 40px rgba(7, 28, 88, 0.14) !important;
  }
}

@media screen and (max-width: 1024px) {
  .wd-nav > li > a,
  .main-nav .menu > li > a,
  .whb-header .wd-nav > li > a {
    font-size: 14px !important;
    font-weight: 700 !important;
  }
}
