/* S6 MASTER FOOTER v1 — the same layout, color, CMS content on every customer page. */
footer.s6-master-footer.site-footer {
  box-sizing:border-box!important;width:100%!important;margin:40px 0 0!important;padding:0!important;
  background:linear-gradient(135deg,#12348f 0%,#173fb0 58%,#12348f 100%)!important;
  color:#fff!important;font-family:"Source Sans Pro","Segoe UI",system-ui,-apple-system,Arial,sans-serif!important;
}
footer.s6-master-footer,footer.s6-master-footer *{box-sizing:border-box}
footer.s6-master-footer .footer-inner{
  width:100%!important;max-width:1240px!important;margin:0 auto!important;
  padding:58px 28px 44px!important;display:grid!important;
  grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,.8fr)) minmax(0,1.1fr)!important;
  gap:48px!important;align-items:start!important;
}
footer.s6-master-footer .footer-col{min-width:0!important;overflow-wrap:anywhere}
footer.s6-master-footer .footer-col h3{
  color:#f5b33c!important;font-size:.82rem!important;letter-spacing:.18em!important;
  text-transform:uppercase!important;font-weight:800!important;line-height:1.35!important;
  margin:4px 0 22px!important;
}
footer.s6-master-footer .footer-col ul{
  display:grid!important;gap:14px!important;list-style:none!important;margin:0!important;padding:0!important;
}
footer.s6-master-footer .footer-col li{margin:0!important;padding:0!important;list-style:none!important}
footer.s6-master-footer a,footer.s6-master-footer .footer-contact-list span{
  color:#fff!important;font-size:.93rem!important;line-height:1.45!important;
  text-decoration:none!important;
}
footer.s6-master-footer a:hover{text-decoration:underline!important}
footer.s6-master-footer a:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:4px}
footer.s6-master-footer .footer-logo-wrap{display:flex!important;align-items:center!important;min-height:92px!important}
footer.s6-master-footer .footer-logo-img{display:block!important;max-width:100%!important;width:auto!important;max-height:105px!important;height:auto!important;object-fit:contain!important;background:none!important;border:0!important}
footer.s6-master-footer .footer-brand-fallback{color:#fff!important;font-size:1.35rem!important;font-weight:800!important}
footer.s6-master-footer .footer-brand-col p{
  color:rgba(255,255,255,.92)!important;font-size:.94rem!important;line-height:1.75!important;
  margin:18px 0 20px!important;max-width:38ch!important;
}
footer.s6-master-footer .footer-socials{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:16px!important}
footer.s6-master-footer .footer-social{
  display:grid!important;place-items:center!important;width:42px!important;height:42px!important;
  color:#fff!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.35)!important;
  background:rgba(255,255,255,.04)!important;text-decoration:none!important;font-size:.88rem!important;font-weight:800!important;
}
footer.s6-master-footer .footer-social.is-wa{background:#20ce67!important;border-color:#20ce67!important}
footer.s6-master-footer .footer-contact-list li{display:flex!important;align-items:flex-start!important;gap:10px!important}
footer.s6-master-footer .footer-contact-icon{width:20px!important;flex:0 0 20px!important;color:#fff!important}
footer.s6-master-footer .footer-payment-title{margin-top:24px!important}
footer.s6-master-footer .footer-payment-banner{
  display:block!important;max-width:100%!important;max-height:86px!important;object-fit:contain!important;
  width:auto!important;height:auto!important;background:#fff!important;border-radius:12px!important;padding:5px!important;
}
footer.s6-master-footer .footer-payment-chips{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
footer.s6-master-footer .footer-payment-chip{
  display:inline-block!important;background:#fff!important;color:#17348c!important;font-size:.75rem!important;
  font-weight:800!important;line-height:1.45!important;border-radius:8px!important;padding:7px 10px!important;
  white-space:nowrap!important;
}
footer.s6-master-footer .footer-base{
  max-width:1240px!important;margin:0 auto!important;padding:20px 28px!important;
  border-top:1px solid rgba(255,255,255,.22)!important;
  color:rgba(255,255,255,.75)!important;font-size:.82rem!important;text-align:center!important;
}
footer.s6-master-footer .s6-footer-legal{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:8px}
footer.s6-master-footer .s6-footer-legal a{font-size:.8rem!important;color:rgba(255,255,255,.9)!important}
@media(max-width:980px){footer.s6-master-footer .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px!important}}
@media(max-width:620px){
  footer.s6-master-footer .footer-inner{grid-template-columns:minmax(0,1fr)!important;padding:42px 22px 32px!important;gap:30px!important}
  footer.s6-master-footer .footer-base{padding:18px 22px!important}
  footer.s6-master-footer .footer-logo-img{max-height:90px!important}
}

/* Preserve a balanced layout even if Admin removes one of the activity link columns. */
@media(min-width:981px){
footer.s6-master-footer[data-footer-columns="1"] .footer-inner{grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr) minmax(0,1.1fr)!important}
footer.s6-master-footer[data-footer-columns="0"] .footer-inner{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important}
}

/* Version 2: flexible master footer blocks from Admin, no hidden third+ column. */
@media(min-width:981px){
  footer.s6-master-footer .footer-inner,
  footer.s6-master-footer[data-footer-columns="0"] .footer-inner,
  footer.s6-master-footer[data-footer-columns="1"] .footer-inner{
    max-width:1420px!important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
    column-gap:clamp(22px,3vw,46px)!important;
    row-gap:36px!important;
  }
  footer.s6-master-footer .footer-brand-col{min-width:210px!important}
}
footer.s6-master-footer .footer-col h3{overflow-wrap:anywhere;word-break:normal}
footer.s6-master-footer .footer-col li a{overflow-wrap:anywhere}
footer.s6-master-footer .footer-extra-contact-link a{flex:1;min-width:0}
@media(max-width:980px) and (min-width:621px){
  footer.s6-master-footer .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){footer.s6-master-footer .footer-inner{grid-template-columns:minmax(0,1fr)!important}}
