.brand-lockup {
  flex: 0 0 220px;
  min-width: 0;
}
.brand-logo {
  width: 210px;
  height: 55px;
  display: block;
  object-fit: contain;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #c9d7cf;
  border-radius: 18px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  color: var(--green);
  background: #fff;
  white-space: nowrap;
}
.language-switch a.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.language-switch a{font-size:0}.language-switch a:first-child::after{content:"Kiswahili";font-size:12px}.language-switch a:last-child::after{content:"English";font-size:12px}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
}
.auth-top .brand-lockup {
  margin-bottom: 0;
}
.topbar {
  min-height: 78px;
  height: auto;
}
.topbar .header-actions {
  min-width: 0;
}
@media (max-width: 980px) {
  .topbar {
    gap: 18px;
  }
  .brand-lockup {
    flex-basis: 185px;
  }
  .brand-logo {
    width: 180px;
  }
  .topbar nav {
    gap: 14px;
  }
  .header-actions {
    gap: 7px;
  }
  .user-name {
    display: none;
  }
  .language-switch a {
    padding: 0 9px;
  }
}
@media (max-width: 700px) {
  .topbar {
    position: sticky;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 122px;
    padding: 9px 14px 10px;
    gap: 7px 10px;
  }
  .topbar .brand-lockup {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
  }
  .topbar .brand-logo {
    display: block;
    width: min(260px, 78vw);
    height: 55px;
  }
  .topbar nav {
    display: none;
  }
  .topbar .header-actions {
    display: flex;
    width: 100%;
    margin: 0;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .language-switch {
    gap: 5px;
  }
  .language-switch a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0;
  }
  .language-switch a:first-child::after,.language-switch a:last-child::after{font-size:11px}
  .outline-btn,
  .primary-btn {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }
  .user-name {
    display: none;
  }
  .hero {
    padding-top: 34px;
  }
  .hero h1 {
    font-size: clamp(35px, 10vw, 46px);
    overflow-wrap: anywhere;
  }
  .hero > div:first-child > p:last-child {
    font-size: 15px;
  }
  .live-card {
    width: 100%;
    min-width: 0;
  }
  .auth-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-top .brand-logo {
    width: min(240px, 80vw);
  }
}
@media (max-width: 390px) {
  .topbar {
    padding-left: 8px;
    padding-right: 8px;
  }
  .language-switch a {
    padding: 0 7px;
    font-size: 0;
  }
  .language-switch a:first-child::after,.language-switch a:last-child::after{font-size:10px}
  .outline-btn,
  .primary-btn {
    padding: 0 8px;
    font-size: 11px;
  }
  .topbar .header-actions {
    gap: 5px;
  }
}
