/* =====================================================
   OPTIONSWHEELER – SHARED HEADER + MENU (site-nav.css)
   Styles whatever site-nav.js injects:
   .site-header > .site-navbar > .site-logo + .site-nav-links
   Also covers the #site-header placeholder so the bar
   looks right before the script runs.
   ===================================================== */

#site-header,
.site-header {
  width: 100%;
  background: #0f2a33;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  position: relative;
  z-index: 10;
}

#site-header *,
.site-header *,
#site-header *::before,
.site-header *::before,
#site-header *::after,
.site-header *::after { box-sizing: border-box; }

.site-navbar {
  width: min(1120px, 90%);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo,
.site-logo:visited {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: #fff; }
.site-logo span { color: #43c995; }

/* Menu */
.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: .25rem;
  margin: 0;
  padding: 0;
}

.site-nav-links a,
.site-nav-links a:visited {
  display: inline-block;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: #d3e2e5;
  text-decoration: none;
  transition: color .2s, background .2s;
}

.site-nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}

.site-nav-links a.active,
.site-nav-links a[aria-current="page"] {
  color: #0f2a33;
  background: #43c995;
}

/* Tablet + mobile: logo on top, menu wraps underneath */
@media (max-width: 900px) {
  .site-navbar {
    min-height: auto;
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .site-nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .25rem;
    margin-left: -.85rem;
  }
}

@media (max-width: 600px) {
  .site-logo { font-size: 1.4rem; }
  .site-nav-links a { font-size: .8125rem; padding: .4rem .7rem; }
}
