.ts-footer{--ts-primary:#153a82;--ts-accent:#e11f2c;position:relative;width:100%;background:#102c5d;color:#edf3ff;font-family:inherit;font-size:14px;line-height:1.6}
.ts-footer *,.ts-footer *::before,.ts-footer *::after{box-sizing:border-box}
.ts-footer a{color:inherit;text-decoration:none;transition:color .2s ease}
.ts-footer a:hover{color:#ff929b}
.ts-footer-inner{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(175px,1fr) minmax(200px,1fr);gap:clamp(30px,5vw,90px);max-width:1540px;margin:0 auto;padding:65px clamp(18px,4vw,66px) 55px}
.ts-footer-logo{display:block;max-width:min(290px,100%);width:100%;height:auto;filter:brightness(0) invert(1);object-fit:contain;object-position:left center}
.ts-footer-brand p{max-width:340px;color:#c1cee0;margin:22px 0 0;font-size:14px}
.ts-footer h2{color:#fff;font-size:14px;font-weight:700;letter-spacing:.035em;margin:6px 0 22px;padding:0;line-height:1.4}
.ts-footer ul.ts-footer-menu{margin:0!important;padding:0!important;list-style:none!important}
.ts-footer .ts-footer-menu li{padding:0!important;margin:0 0 11px!important;list-style:none!important}
.ts-footer .ts-footer-menu a{font-size:14px;color:#c1cee0}
.ts-footer .ts-footer-menu a:hover{color:#fff}
.ts-footer-contacts{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.ts-footer-contacts h2{margin-bottom:10px}
.ts-footer-contacts a{font-size:15px;color:#f5f7fc}
.ts-footer-contacts p{margin:0;color:#c1cee0;font-size:14px}
.ts-footer-bottom{max-width:1540px;margin:0 auto;border-top:1px solid rgba(255,255,255,.13);display:flex;justify-content:space-between;gap:20px;padding:18px clamp(18px,4vw,66px) 21px;color:#b3c3d9;font-size:12px}
@media(max-width:780px){.ts-footer-inner{grid-template-columns:1fr 1fr;gap:35px 25px;padding-top:48px;padding-bottom:38px}.ts-footer-brand{grid-column:1/-1}.ts-footer-logo{max-width:245px}}
@media(max-width:480px){.ts-footer-inner{grid-template-columns:1fr;gap:28px}.ts-footer-brand{grid-column:auto}.ts-footer h2{margin-bottom:12px}.ts-footer-bottom{flex-wrap:wrap;gap:6px;padding-top:15px;padding-bottom:16px}}

/* Full footer menu, including any second-level links */
.ts-footer .ts-footer-menu .sub-menu{margin:8px 0 0 13px!important;padding:0!important;list-style:none!important}

/* v1.0.6 — Footer content and copyright use the same 1200px grid as
   the navigation and TEH Page Builder, while footer background stays full width. */
.ts-footer{--teh-site-content-width:1200px;--teh-site-gutter:clamp(18px,3vw,32px);}
.ts-footer .ts-footer-inner,.ts-footer .ts-footer-bottom{
  width:calc(100% - var(--teh-site-gutter) - var(--teh-site-gutter));
  max-width:var(--teh-site-content-width);
  padding-left:0;
  padding-right:0;
  margin-left:auto;
  margin-right:auto;
}
