/*
 Theme Name:   Divi Child
 Template:     Divi
 Version:      1.0.0
*/

@import url("../Divi/style.css");

/* ===========================================================================
   Mobile (≤1024px)
   - Nur Burger-Icon zeigen
   - Menü dem Divi-JS überlassen (kein eigenes display:none mehr!)
   - Login-Link anzeigen
   - equal-heights zurücksetzen
============================================================================ */
@media only screen and (max-width: 1024px) {
  /* Burger-Icon einblenden */
  .et_pb_menu__toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Login-Link in der mobilen Nav anzeigen */
  .menu-item-login {
    display: list-item !important;
  }

  /* equal-heights für Mobile auflösen */
  .equal-heights {
    display: block !important;
  }
  .equal-heights .et_pb_column {
    display: block !important;
    width: 100% !important;
  }
}

/* ===========================================================================
   Desktop (≥1025px)
   - Login/Logout ausblenden
   - equal-heights: Spalten gleich hoch + Buttons unten
============================================================================ */
@media only screen and (min-width: 1025px) {
  /* Login- und Logout-Menüpunkte ausblenden */
  .menu-item-login,
  .menu-item-logout {
    display: none !important;
  }

  /* equal-heights aktivieren */
  .equal-heights {
    display: flex !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .equal-heights .et_pb_column {
    display: flex !important;
    flex-direction: column !important;
  }
  .equal-heights .et_pb_button_module_wrapper {
    margin-top: auto !important;
  }
}
