@media (max-width: 700px) {
  .dashboard {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
  }

  .custom-header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo toggle"
      "title title"
      "nav nav";
    justify-items: stretch;
    align-items: center;
    text-align: center;
  }

  .logo-container {
    grid-area: logo;
    justify-self: start;
  }

  .logo-container img {
    max-width: 180px;
  }

  .custom-header h1 {
    grid-area: title;
    text-align: center;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-block;
    justify-self: end;
  }

  .custom-header .main-nav {
    grid-area: nav;
    display: none;
    justify-self: stretch;
    width: 100%;
    margin-top: 10px;
    z-index: 2001;
    background: #fff;
  }

  .custom-header .main-nav.is-open {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin: 0;
    padding: 0;
  }

  .main-nav > ul > li {
    width: 100%;
    list-style: none;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 12px;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 4px;
    padding: 6px 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-button {
    display: inline-block;
    width: auto;
    text-align: center;
  }
}
