/* Footer social row
   ------------------------------------------------------------------
   Official brand marks (Simple Icons, CC0), each a single path on a
   24x24 viewBox, so they share one optical size instead of five.

   Monochrome is the point: Instagram's gradient, Facebook's blue,
   TikTok's cyan/magenta and LinkedIn's blue are four different brand
   palettes, and putting them together on one row makes the footer look
   like a badge wall. Drawn in the page's own neutrals they read as one
   set and the site keeps its single colour moment.

   Resting is --neutral--11 (#b3b3b3) rather than the #ededed the text
   links use: five solid glyphs carry more optical weight than five
   words, so matching the hex would have made them louder than the
   links beside them. Hover lifts to #ededed. */

/* Vertical is the default because that is where these live on the main site
   footer, in a narrow column beside "Quick Links", which is itself a stacked
   list. Stacking also retires the fitting problem the horizontal row had there:
   that column tops out near 155px and shrink-wraps, so five 22px marks at a
   20px gap overflowed to 190px and orphaned LinkedIn onto its own line at 360,
   768 and 860. A column has no such ceiling. */
.mw-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Horizontal variant for the standalone page footers (/what-is-makeway,
   /interest), which are a single centred row rather than a column of lists.
   Room is not scarce there, so the marks get an airier gap than the column
   ever could. nowrap so a future squeeze overflows visibly instead of quietly
   orphaning the last mark. */
.mw-socials--row {
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
}

.mw-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #b3b3b3;
  text-decoration: none;
  border-radius: 3px;
  transition: color .18s ease;
}

/* Crispness comes from drawing at the size it ships at. The glyphs are
   vector, so this is really about not letting a parent scale them to a
   fractional pixel box. */
.mw-social svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Two classes, not one, on every rule that sets colour. The page footers style
   their links with `.wm-foot a` / `.ig-foot a`, which is one class plus one
   element and therefore beats a lone `.mw-social` — the marks would have been
   repainted the footer's text grey. `.mw-socials .mw-social` outranks it. */
.mw-socials .mw-social { color: #b3b3b3; }
.mw-socials .mw-social:hover { color: #ededed; }

.mw-socials .mw-social:focus-visible {
  outline: 2px solid #469bee;
  outline-offset: 4px;
  color: #ededed;
}

/* Touch has no hover, so let the resting state carry a little more. */
@media (hover: none) {
  .mw-socials .mw-social { color: #c4c4c4; }
}

@media (prefers-reduced-motion: reduce) {
  .mw-social { transition: none; }
}
