/* Keep the standard header logo and mobile controls on one row. */
@media (max-width: 768px) {
  #masthead .inside-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
  }

  #masthead .inside-header > .site-logo {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    text-align: left;
  }

  #masthead .site-logo a {
    display: block;
  }

  #masthead .header-image {
    display: block;
    width: 216px;
    max-width: 100%;
    height: auto;
  }

  #masthead #site-navigation {
    position: static;
    float: none;
    clear: none;
    flex: 0 0 92px;
    width: 92px;
    margin: 0;
    padding: 0;
  }

  #masthead #site-navigation .inside-navigation {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  #masthead #site-navigation .menu-toggle {
    order: 0;
    flex: 0 0 44px;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 44px;
    text-align: center;
  }

  #masthead #site-navigation .mobile-bar-items {
    position: static;
    order: 1;
    flex: 0 0 44px;
    margin: 0;
  }

  #masthead #site-navigation .mobile-bar-items a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    line-height: 1;
  }

  #masthead #site-navigation .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  #masthead #site-navigation .navigation-search {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
  }
}
