#gNav {
  border-bottom: 1px solid #eaeaea;
  background: #fff;
}

#gNav .layout {
  display: flex;
  justify-content: center;
}

.gnav-list {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}

.gnav-list a,
.gnav-list span {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.has-sub {
  position: relative;
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.5rem 0;
  list-style: none;
  min-width: 220px;
}

.has-sub:hover .sub-nav {
  display: block;
}

.sub-nav a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #333;
  text-decoration: none;
}

.sub-nav a:hover {
  background: #f7f8fa;
}
