.global-header {
  width: min(1280px, calc(100% - 64px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #625344;
}

.dreams-page .site { width: min(1280px, calc(100% - 64px)); }
.site > .global-header,
main > .global-header { width: 100%; }

.global-header :is(.brand, .commercial-brand, .account-brand) {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.global-header :is(.brand, .commercial-brand, .account-brand) img {
  width: 220px;
  height: auto;
  display: block;
}

.global-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.global-header nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #c0b5ad;
  text-decoration: none;
  font: 14px/1.2 Arial, sans-serif;
}

.global-header nav a[aria-current="page"] {
  color: #f0e8da;
  text-decoration: underline;
  text-decoration-color: #bea477;
  text-underline-offset: 6px;
}

.reading-utility {
  width: min(1280px, calc(100% - 64px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(98, 83, 68, .55);
}

@media (max-width: 760px) {
  .dreams-page .site { width: calc(100% - 32px); }
  .global-header {
    width: calc(100% - 32px);
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 0 10px;
    gap: 4px;
  }

  .global-header :is(.brand, .commercial-brand, .account-brand) img { width: 158px; }
  .global-header nav {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-left: 0;
  }
  .global-header nav a {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 4px;
    text-align: center;
    white-space: normal;
    font-size: 12px;
    line-height: 1.15;
  }
  .global-header > span { display: none; }
  .global-header > #logout { grid-column: 2; grid-row: 1; min-width: 72px; min-height: 44px; padding: 8px 14px; }
  .reading-utility { width:calc(100% - 32px);min-height:48px; }
}
