/* =========================================================================
   SI shared top navigation — present on index.html (Embed Studio) and
   picks.html (Today's Picks). Self-contained so it can be dropped onto any
   page that already loads the SI brand fonts. Matches the studio header:
   navy bar, Saira Condensed kicker, orange accent on the active link.
   ========================================================================= */

.si-topnav {
  --nav-navy: #0B2234;
  /* Follow the active brand's accent/surface (SI values are the fallback). */
  --nav-orange: var(--accent, #FE4000);
  --nav-bg: rgba(11, 34, 52, 0.92);
  --nav-line: rgba(215, 221, 226, 0.30);
  --nav-link: #9DB0BE;
  --nav-link-hover: #FFFFFF;

  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--nav-line);
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg, rgba(11, 34, 52, 0.92));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* left: wordmark links home */
.si-topnav .si-nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; min-width: 0;
}
.si-topnav .si-nav-logo { height: 32px; width: auto; display: block; }
.si-topnav .si-nav-div {
  width: 1px; height: 24px; background: rgba(215, 221, 226, 0.16);
  flex-shrink: 0;
}
.si-topnav .si-nav-kicker {
  font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-style: italic;
  font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--nav-link); white-space: nowrap;
}

/* right: page links */
.si-topnav .si-nav-links {
  display: flex; align-items: center; gap: 6px;
}
.si-topnav .si-nav-link {
  font-family: 'Saira Condensed', sans-serif; font-weight: 800; font-style: italic;
  font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--nav-link); text-decoration: none;
  padding: 9px 14px; border-radius: 6px; line-height: 1;
  min-height: 40px; display: inline-flex; align-items: center;
  border: 1px solid transparent;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.si-topnav .si-nav-link:hover { color: var(--nav-link-hover); background: rgba(215, 221, 226, 0.08); }
.si-topnav .si-nav-link.active {
  color: var(--accent-ink, #fff); background: var(--nav-orange);
  box-shadow: 0 4px 14px -4px rgba(var(--accent-rgb, 254, 64, 0), 0.55);
}
.si-topnav .si-nav-link.active:hover { background: var(--nav-orange); }

@media (max-width: 560px) {
  .si-topnav { padding: 10px 14px; gap: 10px; }
  .si-topnav .si-nav-kicker { display: none; }
  .si-topnav .si-nav-div { display: none; }
  .si-topnav .si-nav-logo { height: 28px; }
  .si-topnav .si-nav-links { gap: 4px; }
  .si-topnav .si-nav-link { font-size: 13px; padding: 8px 10px; }
}
