/* Shared footer component contract for HM2, SQ2, and the future ServiceBricks realization. */
.site-footer {
  padding: 4rem 0 1.5rem;
  color: var(--brand-footer-text);
  background: var(--brand-footer-background);
  border-top: 1px solid var(--brand-footer-divider);
}

.site-footer > .container {
  max-width: 1280px;
}

.site-footer h6 {
  color: var(--brand-footer-heading);
  font-size: .82rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.site-footer > .container a {
  color: var(--brand-footer-link);
}

.site-footer > .container a:hover,
.site-footer > .container a:focus-visible {
  color: var(--brand-footer-link-hover);
}

.site-footer .footer-secondary,
.site-footer .site-footer-description {
  max-width: 280px;
  color: var(--brand-footer-description) !important;
  line-height: 1.65;
}

.site-footer .footer-copy,
.site-footer .site-footer-copy {
  color: var(--brand-footer-bottom-text) !important;
  font-size: .85rem;
}

.site-footer .footer-brand,
.site-footer .site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  color: var(--brand-footer-heading);
  text-decoration: none;
}

.site-footer .footer-brand:hover,
.site-footer .site-footer-brand:hover {
  color: var(--brand-footer-link-hover);
}

.site-footer .footer-brand-name,
.site-footer .site-footer-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: .5rem;
}

.site-footer .list-unstyled.d-flex li {
  margin-bottom: 0;
}

.site-footer .row {
  padding-bottom: 3rem;
}

.site-footer .footer-bottom,
.site-footer .site-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-footer-divider);
}

.site-footer .footer-bottom-brand-wrap,
.site-footer .site-footer-bottom-brand-wrap {
  margin-bottom: 0;
}

.site-footer .footer-bottom-brand,
.site-footer .site-footer-bottom-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--brand-footer-link);
}

.site-footer .footer-bottom-brand:hover,
.site-footer .site-footer-bottom-brand:hover {
  color: var(--brand-footer-link-hover);
}

.site-footer .footer-bottom-logo,
.site-footer .site-footer-bottom-logo {
  width: auto;
  height: 1.25rem;
  filter: var(--brand-footer-logo-filter);
}

@media (min-width: 768px) {
  .site-footer .footer-bottom,
  .site-footer .site-footer-bottom {
    flex-direction: row;
  }
}
