/* Shared footer content adapts to actual visible groups and optional company fields. */
.site-root.v3 .wx-footer-main{min-width:0;gap:clamp(24px,4vw,58px)}
.site-root.v3 .wx-footer-groups-0{grid-template-columns:minmax(0,1fr)}
.site-root.v3 .wx-footer-groups-1{grid-template-columns:minmax(0,1.7fr) minmax(120px,1fr)}
.site-root.v3 .wx-footer-groups-2{grid-template-columns:minmax(0,1.7fr) repeat(2,minmax(120px,1fr))}
.site-root.v3 .wx-footer-groups-3{grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(120px,1fr))}
.site-root.v3 .wx-footer-no-brand{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.site-root.v3 .wx-footer-brand,.site-root.v3 .wx-footer-nav,.site-root.v3 .v3-join-copy,.site-root.v3 .v3-join-actions{min-width:0;overflow-wrap:anywhere}
.site-root.v3 .wx-footer-brand .wx-logo{object-fit:contain;flex:0 0 44px}
.site-root.v3 .wx-footer-brand .logo-txt{min-width:0}
.site-root.v3 .wx-footer-brand .logo-txt b{white-space:normal}
.site-root.v3 .wx-footer-brand>p{white-space:pre-line;max-width:48em}
.site-root.v3 .wx-footer-details .wx-icon{flex:0 0 16px}
.site-root.v3 .wx-footer-details>a span{overflow-wrap:anywhere}
.site-root.v3 .wx-footer-nav>a{overflow-wrap:anywhere}
.site-root.v3 .footer-bottom>span{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.site-root.v3 .v3-join-copy p{white-space:pre-line}
.site-root.v3 .v3-join-actions{flex-wrap:wrap}
.site-root.v3 .v3-join-actions .btn-primary,.site-root.v3 .v3-join-actions .btn-outline{max-width:100%;height:auto;min-height:52px;white-space:normal;text-align:center}
.site-root.v3 .v3-join .wx-join-actions-only{display:flex;justify-content:center}
.site-root.v3 .wx-public-footer-empty{padding:0;min-height:0;border:0;margin:0;gap:0}
.site-root.v3 .wx-public-footer-empty>.container{padding-top:0;padding-bottom:0;min-height:0}
@media(max-width:1000px){
  .site-root.v3 .wx-footer-main:not(.wx-public-footer-empty){grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
  .site-root.v3 .wx-footer-brand{grid-column:1/-1}
  .site-root.v3 .wx-footer-groups-0:not(.wx-public-footer-empty),.site-root.v3 .wx-footer-groups-1:not(.wx-public-footer-empty){grid-template-columns:minmax(0,1fr)}
  .site-root.v3 .wx-footer-groups-2:not(.wx-public-footer-empty){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .site-root.v3 .wx-footer-main:not(.wx-public-footer-empty){grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;padding:32px 0 28px}
  .site-root.v3 .wx-footer-nav>h3{margin-bottom:10px}
  .site-root.v3 .v3-join-actions{width:100%;gap:12px}
  .site-root.v3 .v3-join-actions>a{flex:1 1 170px}
  .site-root.v3 .wx-footer-groups-0:not(.wx-public-footer-empty),.site-root.v3 .wx-footer-groups-1:not(.wx-public-footer-empty){grid-template-columns:minmax(0,1fr)}
}
