/* v542U — Unified public mobile footer scale.
   Scope: public mobile/tablet footer only. Desktop remains unchanged. */

@media (max-width: 860px){
  body:not([class*="admin"]) footer.footer,
  body:not([class*="admin"]) .footer{
    padding-top: 18px !important;
    padding-bottom: calc(108px + env(safe-area-inset-bottom,0px)) !important;
    font-size: 12.5px !important;
    line-height: 1.38 !important;
  }

  body:not([class*="admin"]) footer.footer .container,
  body:not([class*="admin"]) .footer .container,
  body:not([class*="admin"]) .footer-grid,
  body:not([class*="admin"]) .footer-grid-3{
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 10px 16px !important;
    align-items: start !important;
  }

  body:not([class*="admin"]) .footer-grid > div:first-child,
  body:not([class*="admin"]) .footer-grid-3 > div:first-child,
  body:not([class*="admin"]) footer.footer .container > div:first-child,
  body:not([class*="admin"]) .footer .container > div:first-child{
    grid-column: 1 / -1 !important;
  }

  body:not([class*="admin"]) .footer-logo,
  body:not([class*="admin"]) .footer .footer-logo{
    margin: 0 0 4px !important;
  }

  body:not([class*="admin"]) .footer-logo img,
  body:not([class*="admin"]) .footer .footer-logo img{
    max-width: 126px !important;
    height: auto !important;
    margin-bottom: 2px !important;
  }

  body:not([class*="admin"]) .footer p,
  body:not([class*="admin"]) .footer a,
  body:not([class*="admin"]) .footer li,
  body:not([class*="admin"]) .footer .small,
  body:not([class*="admin"]) .footer-social-link,
  body:not([class*="admin"]) footer.footer p,
  body:not([class*="admin"]) footer.footer a,
  body:not([class*="admin"]) footer.footer li,
  body:not([class*="admin"]) footer.footer .small{
    font-size: 12.5px !important;
    line-height: 1.42 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body:not([class*="admin"]) .footer p,
  body:not([class*="admin"]) footer.footer p{
    margin: 4px 0 0 !important;
  }

  body:not([class*="admin"]) .footer strong,
  body:not([class*="admin"]) footer.footer strong{
    display: block !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    margin: 0 0 4px !important;
  }

  body:not([class*="admin"]) .footer ul,
  body:not([class*="admin"]) footer.footer ul{
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
  }

  body:not([class*="admin"]) .footer li,
  body:not([class*="admin"]) footer.footer li{
    margin: 0 0 5px !important;
  }

  body:not([class*="admin"]) .footer .small,
  body:not([class*="admin"]) footer.footer .small{
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  body:not([class*="admin"]) .footer br,
  body:not([class*="admin"]) footer.footer br{
    display: none !important;
  }
}

@media (max-width: 480px){
  body:not([class*="admin"]) footer.footer,
  body:not([class*="admin"]) .footer{
    font-size: 12px !important;
  }

  body:not([class*="admin"]) .footer p,
  body:not([class*="admin"]) .footer a,
  body:not([class*="admin"]) .footer li,
  body:not([class*="admin"]) .footer .small,
  body:not([class*="admin"]) .footer-social-link,
  body:not([class*="admin"]) footer.footer p,
  body:not([class*="admin"]) footer.footer a,
  body:not([class*="admin"]) footer.footer li,
  body:not([class*="admin"]) footer.footer .small{
    font-size: 12px !important;
  }

  body:not([class*="admin"]) .footer strong,
  body:not([class*="admin"]) footer.footer strong{
    font-size: 12.8px !important;
  }
}
