/* MegaMix AI — Instagram, YouTube, TikTok (header & footer) */
.site-social-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-social-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  line-height: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-social-link:hover,
.site-social-link:focus-visible {
  color: #fff;
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}

.site-social-link svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Standard 24×24 glyph — visually centered in the square button */
.site-social-link--tiktok svg {
  width: 20px;
  height: 20px;
}

.navbar-container .site-social-mount--header {
  flex-shrink: 0;
  margin-left: 12px;
  display: flex;
  align-items: center;
}

.navbar-right .site-social-mount--header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Footer: full-width row so the icon group is centered on the page */
.footer .site-social-mount--footer,
.site-footer.footer .site-social-mount--footer {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 4px;
  padding: 0;
}

/*
 * Footer pages set `.footer a { display: inline-block }` (higher specificity than `.site-social-link`).
 * These rules must win so icons stay centered in their square buttons.
 */
.footer a.site-social-link,
.site-footer.footer a.site-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  margin: 0;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  vertical-align: middle;
  text-align: center;
  overflow: hidden;
}

.footer a.site-social-link svg,
.site-footer.footer a.site-social-link svg {
  display: block;
  margin: 0;
  flex-shrink: 0;
}

.footer a.site-social-link:hover,
.site-footer.footer a.site-social-link:hover,
.footer a.site-social-link:focus-visible,
.site-footer.footer a.site-social-link:focus-visible {
  transform: translateY(-1px);
}

.footer a:not(.site-social-link),
.site-footer.footer a:not(.site-social-link) {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .navbar-container .site-social-mount--header {
    margin-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-social-link {
    transition: none;
  }
  .site-social-link:hover,
  .site-social-link:focus-visible {
    transform: none;
  }
}
