.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
}

.sidebar > nav {
  gap: .9rem;
  margin-top: 1.25rem;
}

.sidebar-group {
  display: grid;
  gap: .12rem;
}

.sidebar-group-label {
  padding: 0 .65rem .35rem;
  color: var(--zf-sage);
  font-size: .68rem;
  font-weight: 680;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  min-height: 2.1rem;
  gap: .55rem;
  padding: .43rem .65rem;
  line-height: 1.3;
}

.sidebar-icon {
  flex: 0 0 auto;
  width: 1.08rem;
  height: 1.08rem;
  color: var(--zf-sage);
}

.sidebar nav a.active .sidebar-icon {
  color: var(--zf-orange);
}

.sidebar-menu-toggle {
  display: none;
}

@media (max-width: 700px) {
  .sidebar-heading .brand {
    min-width: 0;
  }

  .sidebar-heading .brand-name {
    max-width: 100%;
  }

  .sidebar-menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding: .45rem .75rem;
    border: 1px solid #ffffff52;
    background: transparent;
    color: #fff;
  }

  .sidebar[data-menu-ready]:not([data-menu-open]) > nav {
    display: none;
  }

  .sidebar > nav {
    display: grid;
    overflow: visible;
    margin-top: .75rem;
  }

  .sidebar-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-group-label {
    grid-column: 1 / -1;
  }

  .sidebar nav a {
    white-space: normal;
  }
}
