.site-footer.voca-footer {
  padding: clamp(36px, 4.5vw, 64px) clamp(18px, 4vw, 56px) 24px;
  background: var(--ink);
  color: var(--white);
}

.voca-footer-main,
.voca-footer-legal,
.voca-footer .footer-funding-banner {
  width: min(1280px, 100%);
  margin-inline: auto;
}

.voca-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 88px);
  padding-bottom: 32px;
}

.voca-footer-identity,
.voca-footer-group {
  min-width: 0;
}

.voca-footer-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.voca-footer-brand {
  display: inline-flex;
  width: 96px;
}

.voca-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.voca-footer-location,
.voca-footer-copyright {
  margin: 0;
  color: #c4cec6;
  font: 400 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.voca-footer-copyright {
  font-size: 12px;
}

.voca-footer-group h3 {
  margin: 0 0 12px;
  color: var(--white);
  font: 700 15px/1.3 "Owners", Arial, sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.voca-footer-links {
  display: grid;
  justify-items: start;
}

.voca-footer-links a,
.voca-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  color: #e0e7df;
  font: 400 16px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
  transition: color 140ms ease;
}

.voca-footer-legal {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  padding-block: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.voca-footer-legal a {
  color: #c4cec6;
  font-size: 13px;
}

.voca-footer a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  box-shadow: none;
}

.voca-footer .footer-funding-banner {
  display: block;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .voca-footer-links a:hover,
  .voca-footer-legal a:hover {
    color: var(--lime);
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }
}

@media (max-width: 640px) {
  .site-footer.voca-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .voca-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-bottom: 24px;
  }

  .voca-footer-identity {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas: "logo location" "logo copyright";
    align-items: end;
    gap: 4px 20px;
  }

  .voca-footer-brand {
    grid-area: logo;
    width: 76px;
  }

  .voca-footer-location {
    grid-area: location;
    align-self: end;
  }

  .voca-footer-copyright {
    grid-area: copyright;
    align-self: start;
  }

  .voca-footer-links a {
    font-size: 15px;
  }

  .voca-footer-legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voca-footer-links a,
  .voca-footer-legal a {
    transition: none;
  }
}
