.sgp-global-footer .sgp-global-footer__main {
  align-items: start;
}

/* Keep the primary account action alongside the mobile menu. */
@media (max-width: 1199px) {
  .sgp-mega-header .sgp-mega-inner .sgp-mega-actions { display: flex; margin-left: auto; }
  .sgp-mega-header .sgp-mega-actions > a:not(.sgp-mega-trial) { display: none; }
  .sgp-mega-header .sgp-mega-inner .sgp-mega-brand { flex: 0 1 190px; min-width: 0; }
}
@media (max-width: 590px) {
  .sgp-mega-header .sgp-mega-inner { gap: 6px; padding-inline: 8px; }
  .sgp-mega-header .sgp-mega-inner .sgp-mega-brand { max-width: 135px; }
  .sgp-mega-header .sgp-mega-actions .sgp-mega-trial { padding-inline: 9px; }
  .sgp-mega-header .sgp-mobile-menu > summary { padding-inline: 8px; }
}

/* Consistent signup buttons in copy, resource panels and page footers. */
body :is(main,.sgp-global-footer) a:is([href*="app.softballgameplan.com/free-profile/"],[href*="app.softballgameplan.com/signup/"],[href*="app.softballgameplan.com/coach/signup/"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: .65rem 1.1rem;
  border: 2px solid #10243d;
  border-radius: 10px;
  background: #10243d;
  color: white;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.sgp-global-footer .sgp-footer-group li > a[href*="app.softballgameplan.com/"][href*="signup"],
.sgp-global-footer .sgp-footer-group li > a[href*="/free-profile/"] {
  background: white;
  color: #10243d;
  padding: .65rem 1.1rem;
}

.sgp-global-footer .sgp-footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  border: 0;
}

.sgp-global-footer .sgp-footer-group__title {
  margin: 0 0 .4rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
}

.sgp-global-footer .sgp-footer-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sgp-global-footer .sgp-footer-group li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .25rem 0;
  border: 0;
  border-radius: .25rem;
  font-weight: 600;
}

@media (max-width: 590px) {
  .sgp-global-footer .sgp-footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }
}
