/* Mobile only: logo row, contact row, then resources and legal side by side. */
@media(max-width:700px){
  #apex-page-top .apex-shell-footer .footer-main{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:auto auto auto;
    column-gap:clamp(16px,5vw,24px);
    row-gap:24px;
    align-items:start;
  }
  #apex-page-top .apex-shell-footer .footer-main>.footer-brand{
    grid-column:1 / -1;
    grid-row:1;
    display:flex;
    align-items:center;
    justify-content:center;
    width:min(100%,220px);
    max-width:220px;
    min-height:64px;
    height:auto;
    margin:0;
    padding:0;
    justify-self:center;
    text-align:center;
  }
  #apex-page-top .apex-shell-footer .footer-main>.footer-brand img{
    width:100%;height:auto;max-height:none;
    object-fit:contain;object-position:center;
  }
  #apex-page-top .apex-shell-footer .footer-main>.footer-contact{
    grid-column:1 / -1!important;
    grid-row:2!important;
    align-self:start!important;
    justify-self:center;
    width:100%;min-width:0;
    text-align:center!important;
  }
  #apex-page-top .apex-shell-footer .footer-main>.footer-resource-groups{
    grid-column:1;grid-row:3;
    min-width:0;width:100%;text-align:left;
  }
  #apex-page-top .apex-shell-footer .footer-main>.footer-legal{grid-column:2;grid-row:3}
  #apex-page-top .apex-shell-footer .footer-phone{
    display:flex;align-items:center;justify-content:center;gap:8px;
    min-height:44px;margin:0 0 8px;
    font-size:24px;line-height:1.35;white-space:normal;
  }
  #apex-page-top .apex-shell-footer .footer-phone span,
  #apex-page-top .apex-shell-footer .footer-directions span{margin-left:0}
  #apex-page-top .apex-shell-footer address{
    font-size:13px;line-height:1.65;margin:0 0 8px;white-space:normal;
  }
  #apex-page-top .apex-shell-footer .footer-directions{
    display:flex;align-items:center;justify-content:center;gap:8px;
    width:fit-content;max-width:100%;min-height:44px;
    margin:0 auto;padding:6px 0;
    font-size:13px;line-height:1.45;white-space:normal;
  }
  #apex-page-top .apex-shell-footer .footer-resource-groups h2{
    min-height:0;margin:0;
    font-size:10px;line-height:1.4;letter-spacing:.6px;white-space:normal;
  }
  #apex-page-top .apex-shell-footer .footer-resource-groups a{
    display:flex;align-items:center;min-height:32px;
    margin:0;padding:3px 0;
    font-size:13px;line-height:1.45;white-space:normal;
  }
}
