/**
 * Styles for the expanded main navigation block placed in the footer.
 */
.expanded-menu-custom {
  padding: 2rem 0;
}

.expanded-menu-custom .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.expanded-menu-custom .menu > li {
  flex: 1 1 220px;
  max-width: 320px;
  list-style: none;
}

.expanded-menu-custom .menu > li > a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #101828;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.expanded-menu-custom .menu-item--expanded > .menu {
  display: block !important;
  margin: 0;
  padding: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  position: static;
}

.expanded-menu-custom .menu > li > .menu > li {
  list-style: none;
}

.expanded-menu-custom .menu > li > .menu > li + li {
  margin-top: 0.35rem;
}

.expanded-menu-custom .menu a {
  color: #475467;
  text-decoration: none;
  transition: color 0.2s ease;
}

.expanded-menu-custom .menu a:hover,
.expanded-menu-custom .menu a:focus-visible {
  color: var(--imp-color-primary, #055cb2);
}

@media (max-width: 640px) {
  .expanded-menu-custom .menu {
    flex-direction: column;
  }

  .expanded-menu-custom .menu > li {
    max-width: 100%;
  }
}
