/* === Site Navigation ===
 * Hamburger menu shared across all leoandco.org pages.
 * Desktop: horizontal inline nav. Mobile: hamburger toggle.
 */

.site-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .brand {
  height: 80px;
  max-width: 100%;
  width: auto;
  display: inline-block;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.925rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #eef2ff;
  color: #6366f1;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1;
}

/* Mobile */
@media (max-width: 719px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid #e6e8ef;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .site-nav {
    position: relative;
  }
}
