.mt-spa-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
}
.mt-spa-header-inner {
  max-width: 1500px;
  min-height: 74px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
}
.mt-spa-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  text-decoration: none;
  color: #222;
}
.mt-spa-brand img {
  width: 150px;
  height: 48px;
  object-fit: contain;
}
.mt-spa-brand strong {
  font-size: 22px;
  white-space: nowrap;
}
.mt-spa-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
}
.mt-spa-nav a {
  color: #444;
  text-decoration: none;
}
.mt-spa-nav a:hover { color: #007bff; }
.mt-spa-nav .red { color: #e53935; }
.mt-spa-nav .green { color: #28a745; }
.mt-spa-nav .purple { color: #7b1fa2; }
.mt-spa-nav .blue { color: #0d47a1; }
.mt-spa-nav .teal { color: #17a2b8; }
.mt-spa-search {
  width: 210px;
}
.mt-spa-search input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 9px 14px;
  outline: 0;
  font-size: 13px;
  background: #fff;
}
#app > div > header,
#app header:first-of-type {
  display: none !important;
}
html,
body,
#app,
.theme-page,
.theme-surface-soft {
  background: #fff !important;
}
@media (max-width: 1320px) {
  .mt-spa-nav { gap: 12px; font-size: 14px; }
  .mt-spa-brand { min-width: 250px; }
  .mt-spa-brand img { width: 120px; }
}
@media (max-width: 900px) {
  .mt-spa-header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
  }
  .mt-spa-brand { min-width: auto; }
  .mt-spa-brand img { width: 82px; height: 36px; }
  .mt-spa-brand strong { display: none; }
  .mt-spa-nav {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 15px;
    padding: 6px 0 2px;
  }
  .mt-spa-search {
    margin-left: auto;
    width: 165px;
  }
}
