.app-site-header {
  border-bottom: 1px solid #d3d5c7;
  background: #fbfaf3;
  color: #20251c;
}

.app-site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1504px;
  min-height: 72px;
  margin: auto;
  padding: 0 clamp(16px, 4vw, 64px);
}

.app-site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  font: 700 26px/1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.055em;
  text-decoration: none;
  white-space: nowrap;
}

.app-site-brand img { display: block; flex: none; }

.app-site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  font: 650 14px/1.1 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  white-space: nowrap;
}

.app-site-nav a { color: #53594b; text-decoration: none; }
.app-site-nav a:hover, .app-site-nav a[aria-current='page'] { color: #20251c; text-decoration: underline; text-underline-offset: 6px; }

.app-site-account {
  justify-self: end;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8ccba;
  border-radius: 8px;
  font: 720 14px/1 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.app-site-account:hover, .app-site-account[aria-current='page'] { background: #ecf0df; border-color: #a8b28e; }

@media (max-width: 760px) {
  .app-site-header-inner { grid-template-columns: auto 1fr auto; min-height: 62px; gap: 12px; }
  .app-site-brand { font-size: 21px; gap: 6px; }
  .app-site-brand img { width: 27px; height: 27px; }
  .app-site-nav { justify-content: center; gap: clamp(10px, 4vw, 24px); font-size: 13px; }
  .app-site-nav .app-site-nav-extra { display: none; }
  .app-site-account { min-height: 40px; padding: 0 10px; font-size: 13px; }
}

@media (max-width: 440px) {
  .app-site-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding-block: 7px; }
  .app-site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; gap: 18px; min-height: 25px; }
  .app-site-account { grid-column: 2; grid-row: 1; }
}
