/* Shared homepage footer; isolated from the legacy theme's footer rules. */
.site-footer {
  background: #11202d;
  color: #d8e0e6;
  font-size: 1rem;
  line-height: 1.65;
  border-top: 4px solid #f6732e;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: 4rem 3rem;
  align-items: start;
}

.site-footer__logo {
  display: inline-block;
  margin: -.75rem 0 1rem;
}

.site-footer__logo img {
  display: block;
  width: 12.5rem;
  max-width: 100%;
  height: auto;
}

.site-footer__description {
  max-width: 32ch;
  margin: 0 0 1.5rem;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-style: normal;
}

.site-footer__contact a {
  padding-block: .375rem;
  overflow-wrap: anywhere;
}

.site-footer__hours {
  color: #aebecb;
  font-size: .875rem;
  margin-bottom: .5rem;
}

.site-footer .site-footer__heading {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 500;
}

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

.site-footer__nav a {
  display: inline-block;
  padding-block: .4rem;
}

.site-footer a {
  color: inherit;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-footer a:hover {
  color: #ffb587;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.site-footer :is(a, button):focus-visible {
  outline: 2px solid #ffb587;
  outline-offset: 5px;
}

.site-footer__group {
  padding: 1.75rem;
  background: #1b2e3e;
  border-top: 2px solid #f6732e;
}

.site-footer .site-footer__eyebrow {
  margin: 0 0 .625rem;
  color: #ffb587;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .06em;
}

.site-footer__group h2 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: 1.75rem;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.site-footer__group p {
  margin-bottom: 1.25rem;
}

.site-footer__group .site-footer__affiliation {
  margin-bottom: .5rem;
  color: #fff;
  font-weight: 500;
}

.site-footer a.site-footer__group-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3rem;
  padding: .875rem 1rem;
  background: #f6732e;
  color: #11202d;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer a.site-footer__group-link:hover {
  background: #ffb587;
}

.site-footer__group-link:active {
  transform: translateY(1px);
}

.site-footer__group-link svg {
  flex: 0 0 auto;
}

.site-footer__external-note {
  display: block;
  margin-top: .5rem;
  color: #aebecb;
  font-size: .875rem;
}

.site-footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding-block: .5rem;
  margin-top: .75rem;
}

.site-footer__linkedin i {
  color: #fff;
  font-size: 1.25rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid #364855;
  color: #aebecb;
  font-size: .875rem;
}

.site-footer__copyright,
.site-footer__bottom .cookie-footer {
  margin: 0;
}

@media (max-width: 991px) {
  .site-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding-top: 3rem;
  }

  .site-footer__group {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-block: 2.5rem 2rem;
  }

  .site-footer__nav ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 1rem;
  }

  .site-footer__nav a,
  .site-footer__contact a {
    padding-block: .625rem;
  }

  .site-footer__group {
    padding: 1.5rem;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a {
    transition: none;
  }

  .site-footer__group-link:active {
    transform: none;
  }
}
