/* A shorter footer that keeps every useful label visible at every width. */
.footer {
  min-height: 0;
  gap: 18px;
  padding-top: 36px;
  padding-bottom: 20px;
}

.footer > small {
  padding-top: 18px;
}

.contact-instagram-link {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
}

.contact-instagram-link svg {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px;
  margin: 0;
  stroke-width: 1.8;
}

.footer-instagram-link {
  width: 32px;
  height: 32px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
}

.footer-instagram-link svg {
  width: 21px !important;
  height: 21px !important;
  flex: 0 0 21px;
  margin: 0;
  stroke-width: 1.8;
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 11px;
    padding-top: 22px;
    padding-bottom: 18px;
    text-align: center;
  }

  .footer .brand,
  .footer .brand-copy,
  .footer .footer-brand-meta {
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .footer .footer-brand-meta > small,
  .footer > p {
    display: block !important;
  }

  .footer > p {
    max-width: 28rem;
    line-height: 1.45;
  }

  .footer > div {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .footer > small {
    width: 100%;
    padding-top: 14px;
  }
}

@media (max-width: 480px) {
  .footer {
    gap: 9px;
    padding-top: 18px;
    padding-bottom: 15px;
  }

  .footer > div {
    gap: 6px 14px;
  }

  .footer > small {
    padding-top: 11px;
  }
}
