/* Mobile footer alignment fix: keep the footer closer to the desktop layout. */
@media (max-width: 640px) {
  .site-footer {
    padding: 32px 20px 22px;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: min(100%, 560px);
  }

  .site-footer__brand {
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center !important;
    gap: 14px;
    width: 100%;
  }

  .site-footer__crown {
    width: 64px !important;
    max-width: 64px;
  }

  .site-footer__brand-title {
    font-size: 1rem;
  }

  .site-footer__brand-copy {
    max-width: 300px;
    margin-top: 6px;
    font-size: .86rem;
    line-height: 1.45;
  }

  .site-footer__nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100%;
    justify-content: stretch !important;
  }

  .site-footer__link-column {
    min-width: 0;
    padding-left: 16px !important;
    border-left: 1px solid rgba(255, 255, 255, .10);
    gap: 11px;
  }

  .site-footer__link-column h2 {
    margin-bottom: 2px;
    font-size: 1rem;
  }

  .site-footer__link-column a {
    font-size: .9rem;
    line-height: 1.25;
  }

  .site-footer__bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    width: min(100%, 560px);
    font-size: .75rem;
  }
}

@media (max-width: 360px) {
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer__brand {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .site-footer__crown {
    width: 54px !important;
    max-width: 54px;
  }

  .site-footer__nav {
    gap: 14px !important;
  }

  .site-footer__link-column {
    padding-left: 12px !important;
  }

  .site-footer__link-column a {
    font-size: .84rem;
  }
}
