@media (max-width: 1024px) {
  /* Style the mobile menu button */
  .menu-toggle,
  .mobile-toggle,
  .navbar-toggle,
  button.menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px; /* space between icon and text */
    background-color: #6a1e9c !important; /* school purple */
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: bold;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: 2px solid #4b0082; /* darker purple border */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* subtle depth */
    cursor: pointer !important;
    text-align: center;
    transition: all 0.2s ease-in-out;
    min-width: 140px; /* enough for icon + text */
    margin-top: 120px; /* moves button down from top */
    font-size: 16px;
  }

  /* Hover / press feedback */
  .menu-toggle:hover,
  .menu-toggle:active,
  .mobile-toggle:hover,
  .mobile-toggle:active,
  .navbar-toggle:hover,
  .navbar-toggle:active,
  button.menu-toggle:hover,
  button.menu-toggle:active {
    background-color: #4b0082 !important; /* darker purple */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) inset; /* pressed effect */
    transform: translateY(1px); /* subtle press animation */
  }

  /* Remove the default dash "-" or any pseudo-elements */
  .menu-toggle span,
  .mobile-toggle span,
  .navbar-toggle span {
    display: none !important;
  }

  .menu-toggle::before,
  .mobile-toggle::before,
  .navbar-toggle::before,
  button.menu-toggle::before {
    content: "☰ Site Menu"; /* hardcoded text with hamburger icon */
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
    white-space: nowrap;
  }

  /* Ensure the menu appears when toggled */
  .main-navigation.toggled-on,
  nav.toggled-on,
  .site-navigation.toggled-on {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }

  /* Optional: submenu spacing */
  .main-navigation ul ul,
  nav ul ul {
    padding-left: 15px;
  }
}
