/* Compact footer layout for phones. Desktop remains unchanged. */
@media (max-width: 640px) {
  .withying-site-footer {
    padding: 40px 0 22px;
  }

  .withying-site-footer .wrap {
    padding-inline: 18px;
  }

  .withying-site-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 20px;
    margin-bottom: 34px;
  }

  .withying-site-footer .footer-brand,
  .withying-site-footer .footer-column--cta {
    grid-column: 1 / -1;
  }

  .withying-site-footer .footer-logo {
    margin-bottom: 10px;
  }

  .withying-site-footer .footer-bio {
    line-height: 1.65;
    margin: 0;
    max-width: 34em;
  }

  .withying-site-footer .footer-heading {
    margin-bottom: 10px;
  }

  .withying-site-footer .footer-links a,
  .withying-site-footer .footer-social {
    min-height: 40px;
    padding-block: 8px;
  }

  .withying-site-footer .footer-social {
    gap: 10px;
  }

  .withying-site-footer .footer-nl-link {
    margin-top: 10px;
  }

  .withying-site-footer .footer-column--cta {
    border-top: 1px solid rgba(250, 249, 246, 0.08);
    padding-top: 24px;
  }

  .withying-site-footer .footer-cta-body {
    line-height: 1.65;
    margin: 0 0 14px;
    max-width: none;
  }

  .withying-site-footer .footer-cta-btn {
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    width: 100%;
  }

  .withying-site-footer .footer-bottom {
    gap: 10px;
    padding-top: 18px;
  }

  .withying-site-footer .footer-bottom-links {
    display: grid;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .withying-site-footer .footer-inner {
    gap-inline: 14px;
  }

  .withying-site-footer .footer-social-label {
    letter-spacing: 1px;
  }
}
