/*
 * nav.css
 * Styles for .site-header nav and #content width on Jekyll-rendered pages.
 * Add <link rel="stylesheet" href="/css/nav.css"> to default.html
 * (already included in the updated default.html).
 *
 * These rules are additive — they do not override anything in site.css.
 */

/* ── Nav links inside .site-header ───────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__nav {
  display: flex;
  gap: 24px;
}

.site-header__logo {
  text-decoration: none;
  color: inherit;
}

.site-header__nav a {
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
}

.site-header__nav a:hover,
.site-header__nav a.current {
  color: #84b355;
}

/* ── Content width on Jekyll pages ───────────────────────────── */
#content {
  margin: 2em auto;
  width: 92.5%;
  max-width: 700px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .site-header__nav { gap: 16px; }
  .site-header__nav a { font-size: 12px; }
}
