.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 20px;
  margin-top: auto;
  padding: 14px clamp(16px, 4vw, 48px);
  border-top: 1px solid #e6e9f1;
  background: #fff;
  color: #505a6d;
  font-size: 14px;
}
.site-footer img { display: block; width: min(160px, 100%); height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.site-footer a { color: inherit; text-underline-offset: 3px; }
.site-footer a:hover { color: #3447a5; }
.site-footer a[aria-current=page] { font-weight: 650; }
.site-footer small { justify-self: end; text-align: right; }

@media (max-width: 640px) {
  .site-footer { grid-template-columns: minmax(0, 1fr) auto; }
  .site-footer img { width: min(142px, 100%); }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; }
}
