/* Social icons in the footer (an edit listed in scripts/import_design.py): rounded tiles in the footer's own
   colours, cream (#EBE8D5) on the slate footer (#263844), in the place of the design's Instagram link. */
.y-social { display: flex; flex-wrap: wrap; gap: 10px; margin-inline-start: auto; margin-inline-end: 12px; }
.y-soc { width: 40px; height: 40px; border-radius: 10px; background: #EBE8D5; color: #263844; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.y-soc:hover { background: #FFFFFF; transform: translateY(-2px); }
.y-soc:focus-visible { outline: 3px solid #3DAE5E; outline-offset: 3px; }
.y-soc svg { display: block; }
/* An icon with no address yet: same tile, not a link, so no hover lift. */
.y-soc-off, .y-soc-off:hover { background: #EBE8D5; transform: none; cursor: default; }
@media (prefers-reduced-motion: reduce) { .y-soc, .y-soc:hover { transition: none; transform: none; } }
/* Phones: the design lets this footer row wrap at 640px and below. The copyright takes its own line, the icons
   start at the same edge as the footer text, and back-to-top stays at the far end. */
@media (max-width: 640px) {
  .y-sfbot > span:first-child { flex-basis: 100%; }
  .y-social { margin-inline-start: 0; }
  .y-sfbot .y-top { margin-inline-start: auto; }
}
