/* The same footer layout is used by public pages and the workspace. */
#gk-footer.gk-preview-footer { width: min(1200px, calc(100% - 96px)); margin: 40px auto 0; padding: 28px 0 18px; border-top: 1px solid var(--line, #d8dccf); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-areas: "identity links" "credit credit"; align-items: start; gap: 18px 32px; color: var(--muted, #626b62); font-size: 11px; }
#gk-footer .gk-footer-identity { grid-area: identity; min-width: 0; text-align: left; }
#gk-footer .footer-brand { display: inline-block; padding: 6px 0; color: var(--ink, #243d33); text-decoration: none; }
#gk-footer .footer-brand strong { margin: 0; font: 22px/1.2 var(--serif, Georgia, serif); }
#gk-footer .gk-footer-links { grid-area: links; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: start; gap: 4px 22px; min-width: 0; text-align: right; margin: 0; padding: 0; }
#gk-footer .gk-footer-links a { display: block; padding: 6px 0; max-width: 100%; color: inherit; font-size: 11px; line-height: 1.7; text-decoration: none; overflow-wrap: anywhere; }
#gk-footer .gk-footer-links a:hover { color: var(--ink, #243d33); text-decoration: underline; text-underline-offset: 4px; }
#gk-footer .gk-footer-credit { grid-area: credit; margin: 0; text-align: center; font-size: 11px; line-height: 1.6; }
@media (max-width: 800px) { #gk-footer.gk-preview-footer { width: calc(100% - 48px); } }
@media (max-width: 640px) {
  #gk-footer.gk-preview-footer { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "identity" "credit" "links"; gap: 4px; padding-block: 24px 28px; }
  #gk-footer .gk-footer-identity { text-align: center; }
  #gk-footer .gk-footer-credit { margin: 0 0 10px; text-align: center; }
  #gk-footer .gk-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; width: 100%; text-align: left; }
  #gk-footer .gk-footer-links a { padding: 6px 0; text-align: left; }
  #gk-footer .gk-footer-links a:nth-child(even) { text-align: right; }
}
@media (max-width: 420px) { #gk-footer .footer-brand strong { font-size: 18px; } #gk-footer .gk-footer-links { column-gap: 12px; } }
