/*
 * GRIDTEK
 * Compact Header Logo and Buttons
 */

.site-header {
  --header-logo-size: 36px;
}

/* Logo matches the outside of the icon boxes */

.site-header > .brand svg {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

/* Search button container */

.site-header .header-search-menu {
  flex: 0 0 36px;
  width: 36px;
}

/* Matching search and hamburger boxes */

.site-header .header-search-trigger,
.site-header .menu-toggle {
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 7px;
  box-sizing: border-box;
}

/* Search symbol */

.site-header .header-search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .header-search-trigger svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
}

/* Hamburger lines and open-menu X */

.site-header .menu-toggle > span,
.site-header.navigation-open .menu-toggle > span {
  width: 20px;
  height: 1px;
  margin: 0;
}

/* Center the hamburger when visible */

@media (max-width: 1020px) {
  .site-header .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
}