/*
 * Fabula Child - Header/Nav overrides
 * - Keep full logo on mobile
 * - Move hamburger (menu-tg) to the right next to search
 * - Add tabs styling for the dual search (assets vs posts)
 */

/* 1) Keep the logo readable on small screens */
@media (max-width: 1024px) {
  #jkd-nav .logo-wrp img.theme-logo {
    width: auto;
    max-width: 180px;
    height: auto;
  }
}

/* 2) Hamburger moved inside .nav-actions → cancel absolute centering from parent */
#jkd-nav .nav-actions .menu-tg {
  display: flex;            /* ensure it shows in the right actions */
  position: relative;       /* override pos-abs / absolute centering */
  left: auto;
  right: auto;
  transform: none;
  margin-left: 4px;
}

/* Parent hides .menu-tg above 1024px; keep same behavior */
@media (min-width: 1025px) {
  #jkd-nav .nav-actions .menu-tg {
    display: none;
  }
}

/* 3) Dual search UI */
.einv-nav-search {
  width: 100%;
}

.einv-nav-search-tabs {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}

.einv-nav-search-tab {
  appearance: none;
  border: 1px solid rgba(127, 127, 127, 0.25);
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

.einv-nav-search-tab.is-active {
  border-color: rgba(127, 127, 127, 0.45);
}

.einv-nav-search-panes {
  width: 100%;
}

.einv-nav-search-pane[hidden] {
  display: none !important;
}
