/* HelloBLOOM public header, adapted for the four corporate destinations. */
.hb-home-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(250px, .3fr) minmax(560px, 1fr) minmax(245px, .3fr);
  align-items: center;
  min-height: 56px;
  padding: 0 14px;
  border-top: 3px solid rgba(124, 199, 217, .58);
  border-bottom: 1px solid #d8e4cc;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 3px 11px rgba(17, 77, 77, .07);
  color: #173737;
}

.hb-home-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(270px, 20.4vw, 343px);
  min-width: 0;
  text-decoration: none;
}

.hb-header-logo-frame {
  position: relative;
  min-height: 0;
  height: auto;
  aspect-ratio: 807 / 90;
  overflow: hidden;
  flex: 0 0 auto;
  line-height: 0;
}

.hb-header-logo-frame > img {
  position: absolute;
  display: block;
  width: 139.1574%;
  max-width: none;
  height: auto;
  max-height: none;
  left: -25.7745%;
  top: -264.4444%;
  object-fit: fill;
  object-position: center;
}

.hb-home-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 35px);
  min-width: 0;
  white-space: nowrap;
}

.hb-home-nav a,
.hb-home-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #114d4d;
  font-size: clamp(.96rem, 1.04vw, 1.08rem);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.hb-home-nav a:hover,
.hb-home-nav a:focus-visible {
  color: #498559;
  transform: translateY(-1px);
}

.hb-home-nav a[aria-current="page"] {
  background: #eef5df;
  color: #498559;
}

.hb-home-nav a:focus-visible,
.hb-home-login:focus-visible {
  outline: 2px solid #498559;
  outline-offset: 2px;
}

.hb-home-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hb-home-login {
  min-height: 34px;
  padding: 6px 20px;
  border: 1px solid #d8e4cc;
  background: #fff;
  box-shadow: 0 7px 17px rgba(17, 77, 77, .07);
  white-space: nowrap;
}

.hb-home-login:hover {
  background: #f8fbf2;
  box-shadow: 0 4px 10px rgba(17, 77, 77, .09);
}

@media (max-width: 1180px) {
  .hb-home-topbar {
  grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding-inline: 20px;
  }

  .hb-home-brand { width: 264px; }
  .hb-home-nav { gap: 8px; }
  .hb-home-nav a { padding-inline: 10px; font-size: .94rem; }
}

@media (max-width: 880px) {
  .hb-home-topbar {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding: 8px 12px 10px;
  }

  .hb-home-brand { width: min(288px, 84vw); }
  .hb-home-actions { justify-content: center; }
  .hb-home-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hb-home-nav a {
    padding: 6px 10px;
    font-size: .94rem;
  }
}

@media (max-width: 380px) {
  .hb-home-nav { gap: 4px; }
  .hb-home-nav a { padding-inline: 8px; font-size: .82rem; }
}
