.site-topbar-v2 {
  background: #3f4a66;
  border-top: 3px solid #c1121f;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .16);
}

.nav-inner-v2 {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
}

.brand-v2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #111827;
  font-weight: 950;
  line-height: 1;
}

.brand-mark-v2 {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffcc00;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 950;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}

.brand-text-v2 {
  background: #ffcc00;
  color: #111827;
  padding: 8px 9px;
  border-radius: 3px;
  font-size: 22px;
  letter-spacing: -.7px;
}

.nav-search-v2 {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 44px;
  background: #313a52;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 3px;
  overflow: hidden;
  max-width: 520px;
}

.nav-search-v2 input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: #313a52;
  color: #fff;
  padding: 0 13px;
  font-size: 13px;
}

.nav-search-v2 input::placeholder {
  color: #aeb7c8;
}

.nav-search-v2 button {
  border: 0;
  background: #313a52;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 18px;
}

.nav-search-v2 button:hover {
  background: #273046;
  color: #fff;
}

.advanced-search-v2 {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}

.advanced-search-v2:hover,
.nav-link-v2:hover {
  color: #ffcc00;
}

.nav-actions-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  white-space: nowrap;
}

.nav-link-v2 {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.nav-link-v2 small {
  position: absolute;
  right: -12px;
  top: -10px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffcc00;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 950;
}

.nav-separator-v2 {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.25);
}

.post-ad-btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  background: #4aa3ff;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 3px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}

.post-ad-btn-v2:hover {
  background: #2388ed;
}

.mobile-nav-toggle-v2 {
  display: none;
  width: 42px;
  height: 38px;
  border: 0;
  border-radius: 5px;
  background: #ffcc00;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
  cursor: pointer;
}

.mobile-nav-panel-v2 {
  display: none;
  background: #313a52;
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 12px;
}

.mobile-nav-panel-v2.open {
  display: grid;
  gap: 8px;
}

.mobile-nav-panel-v2 form {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 8px;
}

.mobile-nav-panel-v2 input {
  height: 40px;
  border: 0;
  border-radius: 5px;
  padding: 0 12px;
}

.mobile-nav-panel-v2 button,
.mobile-nav-panel-v2 a {
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
}

.mobile-nav-panel-v2 a:last-child {
  background: #4aa3ff;
  color: #fff;
}

@media (max-width: 1050px) {
  .nav-inner-v2 {
    grid-template-columns: auto 1fr auto;
  }

  .advanced-search-v2,
  .nav-actions-v2 {
    display: none;
  }

  .mobile-nav-toggle-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-search-v2 {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .nav-inner-v2 {
    min-height: 64px;
    grid-template-columns: auto auto;
  }

  .brand-text-v2 {
    font-size: 19px;
  }

  .nav-search-v2 {
    display: none;
  }

  .mobile-nav-toggle-v2 {
    justify-self: end;
  }
}

@media print {
  .site-topbar-v2 {
    display: none;
  }
}
