/* New footer (enabled per page with $footer_v2 = true). Replaces the fixed-height
   sticky-footer trick from main_style.css with a flex column. */
html,body{height:auto;}
body{min-height:100vh;display:flex;flex-direction:column;}
#wrapper{flex:1 0 auto;min-height:0;margin-bottom:0;}
#wrapper:after{display:none;}

.ft{background:#161d29;color:#aab6c5;margin-top:40px;font-family:'PTSansRegular',Arial,sans-serif;}
.ft .sibgrid{box-sizing:border-box;}
.ft .sibgrid:after{display:none;}
.ft a{color:#aab6c5;text-decoration:none;}
.ft a:hover{color:#fff;}
.ft-main{display:flex;gap:40px;padding:56px 0 40px;}
.ft-brand{flex:1.5;box-sizing:border-box;padding:0 10px;}
.ft-brand img{display:block;height:32px;width:auto;filter:brightness(0) invert(1);margin-bottom:16px;}
.ft-brand p{margin:0 0 20px;font-size:15px;line-height:1.6;max-width:300px;}
.ft-social{display:flex;gap:10px;}
.ft-social a{display:inline-flex;width:36px;height:36px;border-radius:50%;background:#232d3d;align-items:center;justify-content:center;}
.ft-social a:hover{background:#20659c;}
.ft-social svg{width:16px;height:16px;fill:#dfe7f1;}
.ft-col{flex:1;padding:0 10px;}
.ft-col h4{margin:0 0 16px;font-family:'PTSansBold',Arial,sans-serif;font-weight:normal;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#fff;}
.ft-col ul{list-style:none;margin:0;padding:0;}
.ft-col li{margin:0 0 10px;font-size:15px;}
.ft-bottom{border-top:1px solid #263041;}
.ft-bottom .sibgrid{padding:20px 10px;font-size:13px;color:#7f8ca0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}

@media only screen and (max-width:768px){
  .ft-main{flex-wrap:wrap;gap:28px 0;padding:40px 0 24px;}
  .ft-brand{flex:0 0 100%;padding:0 16px;}
  .ft-col{flex:0 0 50%;box-sizing:border-box;padding:0 16px;}
  .ft-bottom .sibgrid{padding:18px 16px;}
}
