.top-header-menu {
  display: contents;
}

.top-header-menu ul {
  display: contents;

  list-style: none;
  margin: 0;
  padding: 0;
}

.top-header-menu ul li a {
  text-transform: uppercase;
  align-items: center;
  display: flex;
  font-size: 16px;
  height: 100%;
  color: #000;
  font-weight: 400;
}
.top-header-menu a:hover {
  text-decoration: none;
}

.top-header-menu ul li a span {
  position: relative;
}
.top-header-menu ul li a span:after {
  width: 0;
  height: 1px;
  background: #000;
  position: absolute;
  content: '';
  bottom: -10px;
  left: 50%;
  margin-left: -19.5px;
  transition: width 0.3s ease-in-out;
}
.top-header-menu ul li a span:hover:after {
  width: 39px;
}
.top-header-menu ul li ul {
  display: none;
}
.top-header-menu ul li:hover ul {
  display: block;
  position: absolute;
  background: #F4F1F1;
  padding: 15px 35px;
  box-shadow: 0px 4px 10px 0px #f3f3f3;
  height: -moz-fit-content;
  height: auto;
  width: 290px;
  z-index: 3;
  display: grid;
  gap: 10px;
  left: -20px;
}
.top-header-menu ul li:hover ul li {
  text-align: start;
  width: fit-content;
}
.top-header-menu ul li:hover ul li a {
  height: auto;
  padding: 5px 0px;
  display: inline;
  font-size: 14px;

  overflow-wrap: break-word;
  word-wrap: break-word;
}
.top-header-menu ul li ul li a:hover {
  text-decoration: underline;
}

.menu-dropdown {
  display: flex;
  justify-content: start;
  position: relative;
}
.menu-subdropdown {
  display: none;
}
.menu-subdropdown ul {
  padding-top: 10px !important;
  left: -35px !important;
}
.menu-subdropdown ul li a {
  text-transform: unset;
  font-weight: 300;
} 
.menu-dropdown li:has(.menu-subdropdown):hover .menu-subdropdown {
  display: block;
}
.menu-dropdown li:has(.menu-subdropdown) {
  position: relative;
  padding-right: 20px;
  cursor: pointer;
}
.menu-dropdown li:has(.menu-subdropdown)::after {
  content: '';
  display: block;
  width: 10px;
  height: 15px;
  background: url(/images/arr-down-menu.svg);
  position: absolute;
  top: 3px;
  right: 0;
  transition: 0.2s;
}
.menu-dropdown li:has(.menu-subdropdown):hover::after {
  transform: rotate(180deg);
}
@media screen and (max-width: 1600px) {
  .top-header-menu ul li:hover ul {
    padding: 15px 25px;
  }
  .menu-subdropdown ul {
    padding-top: 10px !important;
    left: -25px !important;
  }
}