/* =====================================================
   911index – Site Styles (header + nav + content pages)
   ===================================================== */

:root{
  --header-h: 100px;
  --site-header-h: var(--header-h);
  --admin-sticky-top: var(--header-h);
}

/* =====================================================
   Fixed Header
   ===================================================== */

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: var(--header-h);
  z-index: 300;

  background: var(--bg, #f5f5f7);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 6px 0;

  /* OEM-like: header content spans full width but is constrained inside */
  align-items: stretch;
  text-align: center;
}

/* Ensure inner content doesn't add unexpected height */
.site-header *{ margin: 0; }

/* Logo */
.site-logo{ margin: 0; line-height: 1; }

.site-logo img{
  height: 36px;
  width: auto;
  display: block;
}

/* Optional if you still use the .page-title row anywhere */
.site-header .page-title{ justify-content: center; }

/* Subtitle */
.subtitle{
  color: #555;
  font-size: 13px;
  line-height: 1.2;
}


/* =====================================================
   NEW Top navigation in header
   ===================================================== */


.top-nav{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0; /* was 6px: caused vertical mismatch */
}


.top-nav a{
  font-size: 13px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
}

.top-nav a:hover{ background: rgba(0,0,0,0.06); text-decoration: none; }

.top-nav a.active{ background: rgba(0,0,0,0.06); }

/* =====================================================
   Generic page wrapper (for Home/About/Contact/Privacy)
   ===================================================== */

.page{
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 18px) 16px 48px;
}

.intro{
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 26px 28px;
}

.intro h2{
  margin: 0 0 10px 0;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.intro p{
  margin: 0 0 12px 0;
  max-width: 75ch;
  line-height: 1.55;
  color: #333;
}

.cta-wrap{ margin-top: 18px; }

.cta{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #111;
  background: rgba(0,0,0,0.06);
}

.cta:hover{ text-decoration: underline; }

@media (max-width: 720px){
  .intro{ padding: 18px 16px; }
  .intro h2{ font-size: 20px; }
  .intro p{ max-width: 100%; }
}
/* =========================
   Header auth links (Login / Register)
   ========================= */

.nav-row{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.top-nav,
.nav-auth{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-nav{
  justify-content: flex-start;
}

.nav-auth{
  justify-content: flex-end;
}

/* =========================
   NEW Nav-auth a
   ========================= */
   

.nav-divider{
  width: 1px;
  height: 18px;
  background: rgba(0,0,0,0.18);
  margin: 0 6px;
}

.nav-auth a{
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  opacity: 0.9;
}

.nav-auth a:hover{
  background: rgba(0,0,0,0.06);
  text-decoration: none;
}

.nav-auth a.active{
  background: rgba(0,0,0,0.06);
}

