/* Wish in Paint shared footer (Phase 5B): the same on the Gallery, the editor and the content pages. Written to stand
   on its own over either style sheet. */
.site-foot { position: relative; z-index: 2; margin: 0; padding: 40px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid rgba(30, 28, 25, 0.12); color: #6f685f; font: 400 13px/1.6 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; text-align: left; }
.site-foot .sf-in { display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(2, minmax(110px, 0.7fr)) minmax(200px, 1fr); gap: 28px 32px; max-width: 1080px; margin: 0 auto; }
.site-foot img { display: block; width: auto; height: 40px; }
.site-foot .sf-brand p { margin: 8px 0 0; font: italic 400 13px/1.4 Georgia, 'Iowan Old Style', 'Times New Roman', serif; }
.site-foot .sf-col { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 2px; max-width: none; margin: 0; padding: 0; min-width: 0; }
.site-foot .sf-col h2 { margin: 0 0 6px; font: 500 11px/1.4 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #8b847a; }
.site-foot .sf-col a { display: inline-block; padding: 3px 0; color: #1e1c19; text-decoration: none; letter-spacing: 0; overflow-wrap: anywhere; }
.site-foot .sf-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-foot a:focus-visible { outline: 1px solid #1e1c19; outline-offset: 2px; }
.site-foot .sf-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; max-width: 1080px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid rgba(30, 28, 25, 0.08); font-size: 12px; }
.site-foot .sf-base p { margin: 0; }
@media (max-width: 760px) {
  .site-foot .sf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot .sf-brand, .site-foot .sf-in > div.sf-col { grid-column: 1 / -1; }
}
