.site-footer {
  margin-top: 40px;
  padding: 20px 0 0;
  border-top: 1px solid #d1d9e0;
  color: #656d76;
  font-size: 13px;
  text-align: left;
}

.site-footer a { color: inherit; }
.footer-back { margin: 0 0 14px; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-link { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; }
.footer-link svg, .footer-link img { display: block; width: 18px; height: 18px; object-fit: contain; }
.footer-link svg { fill: currentColor; }

.repo-preview {
  display: block;
  width: min(320px, 100%);
  overflow: hidden;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
}

.repo-preview:hover { border-color: #0969da; text-decoration: none; }
.repo-preview img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #f6f8fa; }
.repo-preview-caption { display: block; padding: 9px 12px; }
.repo-preview-caption strong, .repo-preview-caption small { display: block; }
.repo-preview-caption strong { color: #1f2328; font-size: 12px; }
.repo-preview-caption small { margin-top: 2px; color: #656d76; font-size: 11px; }
.footer-note { margin: 15px 0 0; color: #656d76; font-size: 12px; }

@media (max-width: 600px) {
  .footer-main { flex-direction: column; }
  .repo-preview { width: 100%; }
}
