.site-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-inner {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-main-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 14px;
}

.footer-social {
  justify-self: start;
  text-align: center;
}

.footer-company {
  justify-self: center;
  text-align: center;
}

.footer-housing {
  justify-self: end;
  text-align: center;
}

.footer-label,
.footer-social-links,
.footer-text {
  margin: 0;
}

.footer-label {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-social-links {
  margin-bottom: 6px;
}

.footer-social-icon {
  border: none;
  vertical-align: middle;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #111111;
}

.footer-legal {
  padding-top: 8px;
  padding-bottom: 24px;
}

.footer-sml {
  margin: 0 0 12px 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-small {
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-text a {
  color: var(--color-link);
}

.footer-text a:hover {
  color: var(--color-accent-dark);
}

@media screen and (max-width: 599px) {
  .footer-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-main-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .footer-social,
  .footer-company,
  .footer-housing {
    justify-self: center;
  }

  .footer-text {
    font-size: 0.86rem;
  }

  .footer-sml,
  .footer-small {
    font-size: 0.74rem;
  }
}

@media print {
  .site-footer .screen {
    display: none;
  }
}
