/* Use one gap for text items and a smaller gap for social links. */
.footer-bar > .footer-top,
.domingos-footer-bar > .domingos-footer-top {
  --footer-item-gap: clamp(12px, 2vw, 24px);
  --footer-icon-gap: 8px;
  justify-content: center;
  column-gap: var(--footer-item-gap);
}

.footer-top > .footer-top__mid,
.domingos-footer-top > .domingos-footer-top__mid {
  flex: 0 1 auto;
}

/* Keep the phone and links together when the upper footer wraps. */
.footer-top > .footer-contact-row,
.domingos-footer-top > .footer-contact-row {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--footer-icon-gap);
  white-space: nowrap;
}

.footer-contact-row .footer-contact-phone {
  margin-inline-end: calc(var(--footer-item-gap) - var(--footer-icon-gap) + clamp(4px, 1vw, 14px));
}

.footer-contact-row .footer-blog,
.footer-contact-row .domingos-footer-blog {
  text-decoration: underline;
}

.footer-contact-row .footer-contact-phone a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-row .footer-contact-phone a:hover {
  text-decoration: underline;
}

.footer-contact-row .footer-icon,
.footer-contact-row .domingos-footer-icon {
  border-radius: 50%;
}

.footer-contact-row a[aria-label="Instagram"] {
  display: grid;
  place-items: center;
  padding: 0;
}

.footer-contact-row a[aria-label="Instagram"] > svg {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0;
}

@media (max-width: 640px) {
  .footer-bar > .footer-top,
  .domingos-footer-bar > .domingos-footer-top,
  .footer-top > .footer-top__mid,
  .domingos-footer-top > .domingos-footer-top__mid {
    text-align: center;
  }

  .footer-top > .footer-contact-row,
  .domingos-footer-top > .footer-contact-row {
    justify-content: center;
    margin-inline: auto;
  }
}
