/* Shared footer component. Content lives in partials/footer-{zh,en}.html. */
.pagefoot .site-footer-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 32px; }
.pagefoot .site-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)) minmax(0,1.28fr); }
.pagefoot .site-footer-links a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .pagefoot .site-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .pagefoot .site-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pagefoot .site-footer-support { grid-column: 1 / -1; }
  .pagefoot .site-footer-support ul { flex-direction: row; flex-wrap: wrap; column-gap: 20px; }
}
