/* Menu Top Navigation Widget - Estilos */

.menu-top-navigation-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.menu-top-nav-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  z-index: 30;
}

.menu-top-main-nav {
  display: flex;
  width: 100%;
}

.menu-top-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  cursor: pointer;
  border-right: 1px solid;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  overflow: hidden;
}

.menu-top-nav-item:first-child {
  border-left: 1px solid;
}

/* Efeito hover padrão */
.menu-top-nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: height 0.3s ease;
  z-index: 1;
}

.menu-top-nav-item:hover::after {
  height: 100%;
}

/* Estilo específico para a página atual */
.menu-top-nav-item.menu-top-current {
  position: relative;
}

.menu-top-nav-item.menu-top-current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transition: none;
  z-index: 2;
}

.menu-top-nav-item.menu-top-current:hover::after {
  height: 3px;
}

.menu-top-nav-content {
  position: relative;
  z-index: 10;
  transition: all 0.3s ease;
}

.menu-top-right-nav {
  display: none;
  margin-right: 1rem;
  align-items: center;
  font-size: 14px;
  color: inherit;
}

@media (min-width: 1024px) {
  .menu-top-main-nav {
    width: auto;
  }

  .menu-top-nav-item {
    flex: none;
  }

  .menu-top-right-nav {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .menu-top-nav-container {
    flex-direction: column;
    height: auto;
  }

  .menu-top-main-nav {
    flex-direction: column;
  }

  .menu-top-nav-item {
    border-right: none;
    border-bottom: 1px solid;
  }

  .menu-top-right-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border-bottom: 1px solid;
  }
}
