/**
 * Homepage: mobile hide for restoration/content/executive-decision.
 * Spacing is pure Tailwind via section_classes (full utilities in site.css).
 */

/* Optional ENGAGE lockup (unused on hero; keep for any remaining links) */
.ajp-engage-lockup,
a.ajp-engage-lockup {
  white-space: nowrap !important;
  letter-spacing: 0.12em;
}

/* Header / mobile nav: keep short menu labels on one line */
header nav a,
header nav span,
#mobile-menu a,
.menu-default a {
  white-space: nowrap;
}

/* Hero CTAs: stack on narrow screens; allow "Get Involved" / Platform to wrap */
@media (max-width: 639.98px) {
  #hero .mt-8.flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem;
  }
  #hero .mt-8.flex > div {
    width: 100%;
    max-width: 100%;
  }
  #hero .mt-8.flex a {
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
  }
}

@media (max-width: 767.98px) {
  #restoration,
  #content,
  #executive-decision {
    display: none !important;
  }

  #restoration + div,
  #content + div,
  #executive-decision + div {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .ta-hide-mobile {
    display: none !important;
  }
}
