/* Shared contact details above the original Webflow footer navigation. */
.footer-content {
  width: 100%;
  min-width: 0;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 2rem;
  width: 100%;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #2d3f5933;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-contact .sub-heading {
  margin-bottom: .75rem;
  line-height: 1.4;
}

.footer-contact-link,
.footer-contact-address {
  color: var(--black);
  font-size: 1.125rem;
  line-height: 1.5;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration: none;
  text-underline-offset: .2em;
}

.footer-contact-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.footer-contact-address {
  margin: 0;
  font-style: normal;
}

.footer-contact-directions {
  justify-self: end;
  align-self: center;
  min-height: 48px;
}

.footer-contact a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .footer-contact {
    gap: 1.5rem;
  }

  .footer-contact-link,
  .footer-contact-address {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .footer-contact {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .footer-contact-directions {
    justify-self: start;
  }
}

@media (max-width: 479px) {
  /* Let long navigation labels wrap inside the narrow phone layout. */
  .footer-content .row.top.grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .footer-content .column.gap.footer {
    width: auto;
    min-width: 0;
  }

  .footer-content .footer-link,
  .footer-content .footer-link:hover {
    max-width: 100%;
    white-space: normal;
  }
}
