/* Page content max width (unchanged) */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Fixed full-width shell */
.navbar {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  height: 70px;
  z-index: 9999;
  background-color: var(--navbar-bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Constrained inner row – controls visual width of the bar */
.navbar-inner {
  max-width: 1200px !important;    /* wider than content so items aren't squashed */
  width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;  /* logo far left, items far right */
  padding: 0 20px;                 /* desktop edge padding */
  gap: 16px;
}

/* Kill any legacy "push it right" rules from the core file */
.navbar-logo {
  margin: 0 !important;
  display: flex;
  align-items: center;
  height: 100%;
}
.navbar-logo img {
  max-height: 40px;  /* adjust to taste */
  height: auto;
  object-fit: contain;
}

/* Right-side group spacing */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;         /* increase if you want more space between items */
}
.navbar-right h1 { margin: 0; }

/* Keep content below fixed bar */
.page-wrapper { padding-top: 75px; }

/* --- Mobile tweaks: logo flush to screen edge --- */
@media (max-width: 600px) {
  .navbar-inner {
    max-width: none;         /* let it fill */
    padding-left: 0;         /* logo up against left edge */
    padding-right: 8px;      /* tiny right padding for icons */
  }
  .navbar-logo img {
    max-height: 32px;        /* slightly smaller logo on phones */
  }
  .navbar-right { gap: 12px; }
}
/* Remove any default link styling from the logo link */
.logo-link {
  display: inline-block;
  text-decoration: none;   /* no underline */
  border: none;            /* just in case */
  outline: none;
}
.logo-link img {
  display: block;          /* removes inline gap under image */
}
.support-link {
  font-size: 1.2rem;         
  font-weight: 300;          /* lighter/thinner text */
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

/* Custom underline */
.support-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;               /* make underline thinner too */
  background-color: var(--text-color);
}