/* Footer — Theme Builder global footer chrome. */

/* ── Footer menu — stacks to a centered column ≤980px ──
   .pa-open-mobile-menu (utilities.css) keeps the list visible in
   place of Divi's hamburger; this stacks the ul itself. */
@media (max-width: 980px) {
  .revity-footer-nav .et-menu {
    flex-direction: column;
    align-items: center;
  }
  .revity-footer-nav .et-menu li {
    padding-right: 0;
    padding-left: 0;
    justify-content: center;   /* Divi 5 menu <li> is display:flex — centers the link */
  }
  /* Divi's with-logo menu sets 31px tap padding at (0,2,4) specificity —
     matching structure + an extra class outranks it */
  .revity-footer-nav.et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
