/* Scoped presentation of the existing Flatsome footer. */
#footer .footer-2,
#footer .absolute-footer { background:#183cc8; color:#fff; }
#footer .footer-2 { padding:64px 0 52px; }
#footer .footer-2 > .row {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(250px,1.5fr);
  gap:clamp(24px,4vw,64px); width:calc(100% - 64px); max-width:1280px; margin:0 auto;
}
#footer .footer-2 > .row > .widget { width:auto; max-width:none; padding:0; margin:0; }
#footer .footer-2 #custom_html-3 p,
#footer .footer-2 #custom_html-4 p,
#footer .footer-2 #custom_html-5 p { color:#fff !important; margin:0 0 10px; font-size:14px; line-height:1.45; }
#footer .footer-2 #custom_html-3 p:first-child,
#footer .footer-2 #custom_html-4 p:first-child,
#footer .footer-2 #custom_html-5 p:first-child { margin:0 0 20px; font-size:14px !important; font-weight:700; letter-spacing:.04em; }
#footer .footer-2 #custom_html-3 a,
#footer .footer-2 #custom_html-4 a,
#footer .footer-2 #custom_html-5 a { color:#fff !important; text-decoration:none; }
#footer .footer-2 #custom_html-3 a:hover,
#footer .footer-2 #custom_html-4 a:hover,
#footer .footer-2 #custom_html-5 a:hover { text-decoration:underline; }
#footer .footer-2 #custom_html-6 .textwidget > div { background:transparent !important; color:#fff !important; }
#footer .footer-2 #custom_html-6 h3,
#footer .footer-2 #custom_html-6 p { color:#fff !important; }
#footer .footer-2 #custom_html-6 h3 { font-size:24px !important; font-weight:600 !important; }
#footer .footer-2 #custom_html-6 p { font-size:15px !important; line-height:1.5; }
#footer .footer-2 #custom_html-6 form { width:100%; }
#footer .footer-2 #custom_html-6 input[type=email] { width:100%; background:transparent !important; color:#fff !important; border:1px solid #fff !important; border-radius:24px !important; box-shadow:none; }
#footer .footer-2 #custom_html-6 input[type=email]::placeholder { color:#fff; opacity:.8; }
#footer .footer-2 #custom_html-6 input[type=email]:focus-visible { outline:2px solid #fff !important; outline-offset:3px !important; }
#footer .footer-2 #custom_html-6 button { background:#fff !important; color:#183cc8 !important; border-radius:24px !important; }
#footer .footer-2 a:focus-visible, #footer .footer-2 button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
#footer .absolute-footer { padding:22px 0; border-top:1px solid rgba(255,255,255,.3); }
#footer .absolute-footer .container { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; }
#footer .absolute-footer .footer-primary { order:0; color:#fff; }
#footer .absolute-footer .footer-secondary { order:1; }
#footer .absolute-footer .footer-primary a,
#footer .absolute-footer .footer-primary strong { color:#fff; }
@media(max-width:849px) {
 #footer .footer-2 { padding:40px 0; }
 #footer .footer-2 > .row { grid-template-columns:1fr; width:calc(100% - 40px); gap:30px; }
 #footer .footer-2 > .row > .widget { min-width:0; }
 #footer .footer-2 #custom_html-6 { width:100%; }
 #footer .absolute-footer .container { justify-content:flex-start; text-align:left; }
 #footer .absolute-footer .footer-primary,
 #footer .absolute-footer .footer-secondary { float:none; max-width:100%; }
}
/* Match the source palette while retaining the existing footer structure. */
#footer.footer-wrapper{--footer-bg:#173cc9!important;--footer-ink:#fff!important;--footer-muted:#e3eaff!important;--footer-line:rgba(255,255,255,.35)!important;--footer-font:Arial,sans-serif!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget p a{color:#fff!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget>div:has(form input[type=email]){background:transparent!important;border-color:transparent!important;padding:0!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget form input[type=email]{background:transparent!important;color:#fff!important;border-color:#fff!important;border-radius:24px!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget form input[type=email]::placeholder{color:#e3eaff!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget form button[type=submit]{background:#fff!important;color:#173cc9!important;border-radius:24px!important}
