/* CI adjustment: central brand, calmer administration title, simple footer. */
header {
  position: relative;
  height: 148px;
  justify-content: center;
}

header .brand {
  min-width: 0;
  display: inline-flex;
  justify-content: center;
}

header .brand-logo {
  display: block;
  width: auto;
  max-width: min(360px, 42vw);
  max-height: 126px;
  object-fit: contain;
}

header .account {
  position: absolute;
  right: clamp(22px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
}

header .nav-link {
  color: var(--ink);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}

header .nav-link:hover,
header .nav-link:focus-visible {
  color: var(--gold);
}

.hero:has(+ .admin-forms) h1 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.15;
}

footer {
  text-align: center;
}

@media (max-width: 650px) {
  header {
    height: 142px;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 8px;
  }

  header .brand-logo {
    max-width: min(245px, 80vw);
    max-height: 88px;
  }

  header .account {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 2px;
  }

  header .account form {
    margin: 0;
  }
}
