/* Canonical Hublok footer shared by application, Knowledge and policy pages. */
.site-shell-footer {
  box-sizing: border-box;
  border-top: 1px solid #dfe4e3;
  color: #17212c;
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-shell-footer *,
.site-shell-footer *::before,
.site-shell-footer *::after { box-sizing: border-box; }

.site-shell-footer .site-shell-footer-inner {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 48px 0 28px;
}

.site-shell-footer .site-shell-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 46px;
}

.site-shell-footer .site-shell-footer-brand {
  margin: 0;
  color: #17212c;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: .07em;
}

.site-shell-footer .site-shell-footer-about {
  max-width: 270px;
  margin: 12px 0 0;
  color: #5f6f7d;
  font-size: .875rem;
  line-height: 1.65;
}

.site-shell-footer .site-shell-footer-company {
  max-width: 285px;
  margin: 12px 0 0;
  color: #5f6f7d;
  font-size: .75rem;
  line-height: 1.55;
}

.site-shell-footer .site-shell-footer-heading {
  margin: 0 0 13px;
  color: #5f6f7d;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-shell-footer ul { margin: 0; padding: 0; list-style: none; }
.site-shell-footer li + li { margin-top: 8px; }
.site-shell-footer a { color: rgba(23, 33, 44, .74); text-decoration: none; }
.site-shell-footer a:hover { color: #17212c; }

.site-shell-footer .site-shell-footer-base {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #dfe4e3;
  display: grid !important;
  grid-template-columns: minmax(190px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 20px;
}

.site-shell-footer .site-shell-footer-copy {
  margin: 0;
  color: #5f6f7d;
  font-size: .75rem;
  line-height: 1.5;
}

.site-shell-footer .site-shell-legal {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-shell-footer .site-shell-legal a,
.site-shell-footer .site-shell-footer-tools a,
.site-shell-footer .site-shell-footer-tools span {
  color: #5f6f7d;
  font-size: .75rem;
  line-height: 1.5;
  white-space: nowrap;
}

.site-shell-footer .site-shell-footer-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.site-shell-footer .site-shell-proposals {
  padding: 6px 10px;
  border: 1px solid #dfe4e3;
  border-radius: 5px;
  color: #17212c !important;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-shell-footer .site-shell-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-shell-footer .site-shell-footer-base {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-shell-footer .site-shell-legal,
  .site-shell-footer .site-shell-footer-tools { justify-content: flex-start; }
  .site-shell-footer .site-shell-footer-tools { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .site-shell-footer .site-shell-footer-inner {
    width: min(100% - 30px, 1320px);
    padding-top: 38px;
  }

  .site-shell-footer .site-shell-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-shell-footer .site-shell-footer-base { margin-top: 32px; }
}
