.mobile-nav {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 8px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 0;
    padding: 4px 6px 6px;
    border-radius: 8px;
    background: var(--color-white);
  }

  .mobile-nav-item {
    display: grid;
    grid-template-rows: 64px 10px;
    place-items: end center;
    gap: 0;
    min-width: 0;
    color: var(--color-brand-navy);
    text-decoration: none;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
  }

  button.mobile-nav-item {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
  }

  .mobile-nav-item span:last-child {
    align-self: end;
    min-height: 10px;
    line-height: 10px;
  }

  .mobile-nav-item.is-active {
    color: var(--color-brand-blue);
  }

  .mobile-nav-icon {
    display: block;
    width: 36px;
    height: 36px;
    align-self: end;
    padding: 0;
    border-radius: 8px;
    background: transparent;
  }

  .mobile-nav-item.is-primary .mobile-nav-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
  }

  .mobile-menu-layer {
    position: fixed;
    inset: 0;
    z-index: 19;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    padding: 0;
    background: rgb(0 0 0 / 38%);
  }

  .mobile-menu-sheet {
    position: absolute;
    right: 10px;
    bottom: 92px;
    left: 10px;
    border-radius: 8px;
    padding: 14px;
    background: var(--color-white);
    box-shadow: 0 10px 28px rgb(0 0 0 / 24%);
  }

  .mobile-menu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
    color: var(--color-brand-navy);
  }

  .mobile-menu-heading strong {
    font-size: 14px;
  }

  .mobile-menu-heading button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    color: var(--color-brand-navy);
    background: transparent;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
  }

  .mobile-menu-links {
    display: grid;
    margin-top: 8px;
  }

  .mobile-menu-links a {
    min-height: 44px;
    border-bottom: 1px solid var(--color-brand-mist);
    padding: 14px 6px 10px;
    color: var(--color-brand-navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-menu-links a.is-active {
    border-left: 3px solid var(--color-brand-cyan);
    padding-left: 10px;
    color: var(--color-brand-blue);
  }

  body.is-mobile-menu-open {
    overflow: hidden;
  }
}
