.site-footer {
  width: 100%;
}

.legal-layout .site-footer {
  flex: 0 0 auto;
}

.site-footer-inner {
  box-sizing: border-box;
  padding: 28px 40px 20px;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand nav"
    "copy copy";
  column-gap: 48px;
  row-gap: 22px;
  align-items: start;
}

.footer-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo {
  width: 52px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo:hover {
  content: url("../assets/logo/logo_hover.png");
}

.site-footer a,
.site-footer p {
  margin: 0;
  color: #ffffff;
  font-family: "Karla", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 120%;
  letter-spacing: 0%;
  text-decoration: none;
}

.footer-role,
.footer-location {
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0%;
}

.footer-location {
  margin-top: 2px;
}

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-nav a:hover {
  color: #3dcfb6;
}

#footer-copy {
  grid-area: copy;
  justify-self: center;
  color: #3dcfb6;
  font-family: "Fira Code", monospace;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  text-align: center;
  letter-spacing: 0.04em;
}

@media (max-width: 1200px) {
  .site-footer-inner {
    padding: 24px 32px 18px;
  }
}

@media (max-width: 900px) {
  .site-footer-inner {
    padding: 22px 20px 16px;
  }

  .footer-wrapper {
    column-gap: 28px;
    row-gap: 18px;
  }

  .footer-logo {
    width: 48px;
  }
}

@media (max-width: 780px) {
  .site-footer-inner {
    padding: 18px 18px 14px;
  }

  .footer-wrapper {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand nav"
      "copy copy";
    column-gap: 24px;
    row-gap: 16px;
  }

  .footer-logo {
    width: 36px;
  }

  .footer-role,
  .footer-location,
  .footer-nav a {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
  }

  #footer-copy {
    font-size: 18px;
  }
}