/* Header — shared Home V3 style */
.mma-frontend-header {
  --mma-v3-gold: #d4af37;
  --mma-v3-gold-bright: #f1c40f;
  --mma-v3-border: rgba(212, 175, 55, .28);

  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, .97);
  border-bottom: 1px solid var(--mma-v3-border);
  padding: 0 32px;
}

.mma-frontend-header .mma-header-inner {
  width: min(1400px, 100%);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.mma-frontend-header .mma-logo {
  flex: 0 0 auto;
}

.mma-frontend-header .mma-logo a {
  display: block;
}

.mma-frontend-header .mma-logo img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 52px;
}

.mma-frontend-header .mma-navigation {
  flex: 1 1 auto;
}

.mma-frontend-header .mma-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.mma-frontend-header .mma-navigation li {
  margin: 0;
  padding: 0;
}

.mma-frontend-header .mma-navigation li a {
  display: inline-block;
  padding: 28px 0 24px;
  color: #d7d2c7;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.mma-frontend-header .mma-navigation li a:hover,
.mma-frontend-header .mma-navigation li a:focus,
.mma-frontend-header .mma-navigation li.mma-menu-item-active a {
  color: var(--mma-v3-gold-bright);
  border-bottom-color: var(--mma-v3-gold-bright);
  outline: none;
}

.mma-frontend-header .mma-header-icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mma-frontend-header .mma-search-toggle,
.mma-frontend-header .mma-user-icon {
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--mma-v3-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.mma-frontend-header .mma-search-toggle:hover,
.mma-frontend-header .mma-user-icon:hover {
  color: var(--mma-v3-gold-bright);
}

.mma-frontend-header .mma-icon-search::before {
  content: "\f179";
  font-family: dashicons;
  font-size: 21px;
}

.mma-frontend-header .mma-search-container {
  display: none;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 20px;
}

.mma-frontend-header .mma-search-container[aria-hidden="false"] {
  display: block;
}

.mma-frontend-header .mma-search-container form {
  display: flex;
  gap: 10px;
}

.mma-frontend-header .mma-search-container input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--mma-v3-border);
  background: #080808;
  color: #fff;
}

.mma-frontend-header .mma-search-container button {
  border: 0;
  background: var(--mma-v3-gold);
  color: #111;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .mma-frontend-header .mma-navigation ul {
    gap: 14px;
  }

  .mma-frontend-header .mma-navigation li a {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .mma-frontend-header .mma-header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .mma-frontend-header .mma-navigation {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
  }

  .mma-frontend-header .mma-navigation ul {
    justify-content: flex-start;
    min-width: max-content;
  }

  .mma-frontend-header .mma-navigation li a {
    padding: 8px 0;
  }
}

/* Match Home V3 header height on all frontend pages. */
.mma-frontend .mma-frontend-header {
  padding: 0 32px;
}
