.footer .left {
  flex: 1 1 48%;
  min-width: 0;
}

.footer .mid {
  flex: 0 0 auto;
}

.footer .right {
  flex: 0 1 320px;
  min-width: 0;
}

.footer-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem 1.25rem;
  width: 100%;
  align-items: start;
}

.footer-location {
  text-align: center;
  min-width: 0;
  padding-inline: 0.5rem;
}

.footer-location h2 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.85rem;
}

.footer-location-address,
.footer-location-address p {
  text-align: center !important;
  margin: 0 0 0.55rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-location-address a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-location-meta {
  margin-top: 0.35rem;
}

.footer-location-meta p {
  margin-bottom: 0.35rem;
  text-align: center;
}

.footer-location-meta strong {
  display: block;
  margin-top: 0.55rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 1023px) {
  .footer .left,
  .footer .right {
    flex: 1 1 100%;
  }

  .footer-locations {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
