/* IMSI Design overrides — loaded by Helix3 after template.css */

/* the brand logo asset is 1250x140; cap it to the header height */
#sp-header .logo img.sp-default-logo,
#sp-header .logo img.sp-sticky-logo,
#sp-header .logo img.sp-retina-logo,
#sp-header .logo a img {
    max-height: 30px;
    height: auto;
    width: auto;
}
#sp-header .logo a { display: inline-flex; align-items: center; }

/* ==========================================================================
   Footer — one module per column (bottom1..bottom4) + legal bar (footer1)
   ========================================================================== */
#sp-bottom { background: #081115; padding: 62px 0 34px; }
#sp-bottom .sp-module { margin-bottom: 0; }

.imsi-fbrand .imsi-flogo { max-width: 200px; height: auto; margin-bottom: 18px; }
.imsi-fbrand p { font-size: 13.5px; line-height: 1.65; color: #7E939E; margin: 0; }

.imsi-fcol h4 {
  font-family: IBM Plex Mono, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #FFFFFF; margin: 0 0 14px; font-weight: 500;
}
ul.imsi-flinks { list-style: none; margin: 0; padding: 0; }
ul.imsi-flinks li { margin: 0; }
ul.imsi-flinks a { color: #93A6B0; font-size: 13.5px; line-height: 2.05; text-decoration: none; }
ul.imsi-flinks a:hover { color: #22A9E1; }

#sp-footer { background: #081115; padding: 0 0 40px; }
#sp-footer .container-inner { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
.imsi-flegal { display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; }
.imsi-flegal span { font-size: 12.5px; color: #5C7480; }
.imsi-flegal-links a { color: #8FA3AD; font-size: 12px; margin-left: 24px; text-decoration: none; }
.imsi-flegal-links a:first-child { margin-left: 0; }
.imsi-flegal-links a:hover { color: #22A9E1; }

/* Flex ships its own copyright line; the Legal module replaces it */
#sp-footer .sp-copyright, #sp-footer .footer1 .sp-module + .sp-copyright { display: none; }

@media (max-width: 768px) {
  #sp-bottom { padding: 44px 0 24px; }
  #sp-bottom .sp-module { margin-bottom: 28px; }
  .imsi-flegal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .imsi-flegal-links a { margin: 0 18px 0 0; }
}

/* Flex renders its own copyright line; the Footer - Legal module replaces it */
.sp-copyright { display: none !important; }
