/* =========================================================
   FORMLINE SHARED FOOTER
   File: /site/css/footer.css

   Purpose:
   - Footer styling that can be used on any CMS page
   - Load this file inside the footer HTML module
   ========================================================= */

/* Hide the old platform footer only on pages where this footer CSS is loaded */
#site_footer {
  display: none;
}

.fl-home-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e4e8eb;
}

.fl-home-footer,
.fl-home-footer * {
  box-sizing: border-box;
}

.fl-home-footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.75fr)) minmax(220px, 0.9fr);
  gap: 38px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 44px 40px 42px 40px;
}

.fl-footer-brand {
  max-width: 280px;
}

.fl-footer-wordmark {
  margin: 0 0 8px 0 !important;
  color: #111418 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
}

.fl-footer-submark {
  margin: 0 0 18px 0 !important;
  color: #66727a !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.fl-footer-tagline {
  margin: 0 0 20px 0 !important;
  color: #3b444b !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.fl-footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fl-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #0d2c54 !important;
  text-decoration: none !important;
  border: 1px solid #d8dde0;
  border-radius: 3px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fl-footer-social a:hover {
  background: #f4f6f7;
  border-color: #0d2c54;
}

.fl-footer-col-title {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  color: #111418 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.fl-footer-links {
  display: grid;
  gap: 7px;
}

.fl-footer-links a {
  color: #3b444b !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.fl-footer-links a:hover {
  color: #0d2c54 !important;
  text-decoration: underline !important;
}

.fl-footer-legal {
  padding-left: 32px;
  border-left: 1px solid #d8dde0;
}

.fl-footer-legal p {
  margin: 0 !important;
  color: #66727a !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

@media (max-width: 1050px) {
  .fl-home-footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .fl-footer-legal {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid #d8dde0;
  }
}

@media (max-width: 680px) {
  .fl-home-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 24px;
  }

  .fl-footer-brand {
    max-width: none;
  }
}