/* Custom styles that can't be easily done with Tailwind utility classes */
.dropdown-menu {
  display: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  height: 10px;
  width: 100%;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

@media (min-width: 1280px) {
  .rg-inverted-menu .rg-inner-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.rg-inverted-menu {
  background-color: transparent !important;
}

.rg-inverted-menu a,
.rg-inverted-menu button {
  color: #fff !important;
}
.rg-inverted-menu .rg-logo-header img {
  filter: invert(1);
}

.rg-inverted-menu .dropdown-menu a {
  color: #000 !important;
}
.rg-inverted-menu .rg-action-button a {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-submenu.active {
  max-height: 500px;
}
