.follow {
  font-size: 1rem;
}

.social {
  color: #444;
  text-decoration: none;
  margin-left: 0.35em;
}

.social svg {
  width: 1.5em;
  height: 1.5em;
  fill: currentColor;
  vertical-align: -0.15em;
  transition: color 0.2s ease;
}

/* Brand hover colours */
.social.facebook:hover   { color: #1877f2; }
.social.x:hover          { color: #000000; }
.social.instagram:hover  { color: #e4405f; }
.social.youtube:hover    { color: #ff0000; }
.social.pinterest:hover  { color: #bd081c; }
.social.tiktok:hover     { color: #000000; }
.social.whatsapp:hover   { color: #25d366; }
.social.linkedin:hover   { color: #0a66c2; }
.social.email:hover      { color: #666666; }

/* Keyboard accessibility */
.social:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.social.pinterest svg{
  transform: translateY(0.5px); /* tiny optical correction */
}
.social.email svg {
    transform: translateY(-0.25em);
    width: 2.3em;
    height: 2.1em;
}
.social.x svg {
    margin-right: -2em;
    width: 5em;
    height: 1.6em;
}

.social.facebook svg {
  transform: translateY(0.15em);
}
.social.facebook {
  margin-right:-0.5em;
}
.social.whatsapp svg{
  width: 1.3em;
  height: 1.3em;
}
.social.instagram svg{
  width: 1.7em;
  height: 1.7em;
  transform: translateY(0.1em);
}
.social.tiktok svg{
  transform: translateY(0.1em);
}
.social.whatsapp .wa-bg {
  fill: currentColor;
}

.social.whatsapp .wa-phone {
  fill: #ffffff;
}
@media (max-width: 640px) {
  /* Keep all social icons consistent on mobile */
  .social svg {
    width: 1.3em;
    height: 1.3em;
    transform: none;
    margin: 0;
  }

  /* Undo the extra-large custom ones on mobile */
  .social.x svg,
  .social.email svg {
    width: 1.3em;
    height: 1.3em;
    margin: 0;
    transform: none;
  }
}

