.site-footer--expanded {
  width: min(calc(100% - 3rem), var(--max, 88rem));
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  border-top: 1px solid var(--line, #45453f);
}

.site-footer--expanded .footer-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line, #45453f);
}

.site-footer--expanded .footer-intro p {
  margin: 0;
  color: var(--muted, #b7b8b2);
  font-size: .875rem;
}

.site-footer--expanded .footer-intro .footer-address {
  margin-inline-start: auto;
}

.site-footer--expanded .footer-address a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.site-footer--expanded .footer-navigation {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
  padding: 2rem 0 2.5rem;
}

.site-footer--expanded .footer-column h2 {
  margin: 0 0 .85rem;
  font-size: 1rem;
}

.site-footer--expanded .footer-column ul {
  display: grid;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer--expanded .footer-column a {
  display: inline-block;
  min-height: 1.65rem;
  padding: .15rem 0;
  color: var(--muted, #b7b8b2);
  font-size: .875rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-footer--expanded .footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line, #45453f);
  color: var(--muted, #b7b8b2);
  font-size: .8rem;
}

.site-footer--expanded a:hover,
.site-footer--expanded a:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 1024px) {
  .site-footer--expanded .footer-intro .footer-address {
    flex-basis: 100%;
    margin-inline-start: 0;
  }

  .site-footer--expanded .footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer--expanded .footer-column:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line, #45453f);
    padding-top: 1.5rem;
  }

  .site-footer--expanded .footer-column:last-child ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: .85rem;
  }
}

@media (max-width: 600px) {
  .site-footer--expanded {
    width: min(calc(100% - 1.5rem), var(--max, 88rem));
  }

  .site-footer--expanded .footer-navigation {
    gap: 1.5rem .85rem;
  }

  .site-footer--expanded .footer-column a {
    min-height: 2rem;
  }
}
