/* Editorial Header, Mega Menu, Navigation Bar */
.atlas-header {
  background: var(--atlas-surface);
  border-bottom: 1px solid var(--atlas-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(32,41,56,.02);
}

.atlas-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.atlas-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--atlas-ink);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  white-space: nowrap;
}
.atlas-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.atlas-logo-text {
  display: flex;
  flex-direction: column;
}
.atlas-logo-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--atlas-ink);
}
.atlas-logo-subtitle {
  font-size: 0.68rem;
  color: var(--atlas-muted);
  font-family: var(--atlas-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.atlas-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.atlas-nav-item {
  position: relative;
}
.atlas-nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--atlas-text);
  padding: 6px 10px;
  border-radius: var(--atlas-radius-xs);
  transition: color var(--atlas-trans-fast), background var(--atlas-trans-fast);
  white-space: nowrap;
}
.atlas-nav-link:hover,
.atlas-nav-link.active {
  color: var(--atlas-primary);
  background: var(--atlas-primary-light);
}

.atlas-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.atlas-search-trigger {
  background: var(--atlas-paper);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-sm);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--atlas-muted);
  cursor: pointer;
  white-space: nowrap;
}
.atlas-search-trigger kbd {
  background: #FFFFFF;
  border: 1px solid var(--atlas-border);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.72rem;
}

.atlas-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .atlas-nav {
    display: none;
  }
  .atlas-mobile-toggle {
    display: block;
  }
}
