/* Social icon color */
.icon-facebook         { color: #3b5998; }
.icon-twitter, .icon-x { color: #000000; }
.icon-pinterest        { color: #cb2027; }
.icon-youtube          { color: #bb0000; }
.icon-instagram        { color: #517fa4; }
.icon-linkedin-squared { color: #0a66c2; }

/* Social icon styling */
.social-icons {
  line-height: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.social-icons i:before {
  margin: 0;
}

.social-share-links {
  display: inline-flex;
  gap: .25em;
  line-height: 0;
}
.social-share-links i:before{
  margin: 0;
  font-size: 1.75em;
}
.social-share-links .back-to-top {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23d4d4d4;stop-opacity:1"/><stop offset="100%" style="stop-color:%238c8c8c;stop-opacity:1"/></linearGradient></defs><rect width="100" height="100" rx="20" ry="20" fill="url(%23a)"/><path d="m25 48 25-25 25 25" stroke="%23fff" stroke-width="8" fill="none" stroke-linecap="round"/><path d="m25 72 25-25 25 25" stroke="%23fff" stroke-width="8" fill="none" stroke-linecap="round"/></svg>');
  background-size: contain;
  margin: 0 0 0 .25em;
  padding: 0;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
}


body.node-type-blog .social-share-links-pane .pane-content {
  text-align: right;
}
body.node-type-blog .social-share-links-pane .pane-content:before{
  content: 'Share This Post:';
  display: inline-block;
  font-weight: 600;
  font-size: 140%;
  color: #999;
}









.social-links {
  display: flex;
  gap: clamp(.5em, 2vw, var(--space));
  flex-wrap: wrap;
  margin-bottom: var(--space);
  justify-content: center;
}

.social-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10em;
  background-color: var(--color-accent);     /* button background */
  color: #fff;                /* icon color */
  position: relative;
  height: clamp(2.5em, 10vw, 3em);
  width: clamp(2.5em, 10vw, 3em);
  box-sizing: border-box;
}

/* The icon */
.social-links > a::before {
  content: "";
  width: 1em;
  height: 1em;
  background-color: currentColor;  /* icon takes color from the link */
  -webkit-mask: var(--svg) no-repeat center / contain;
  mask: var(--svg) no-repeat center / contain;
  display: block;
}
/* FACEBOOK */
.social-links > a.facebook {
  --svg: url("data:image/svg+xml;utf8,\
  <svg width='9' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'>\
  <path fill='currentColor' fill-rule='evenodd' d='M6.14 18V9.9h2.458L9 6.3H6.14V4.547c0-.927.023-1.847 1.318-1.847H8.77V.126C8.77.088 7.643 0 6.503 0 4.122 0 2.631 1.492 2.631 4.23V6.3H0v3.6h2.631V18H6.14Z' clip-rule='evenodd'/>\
  </svg>");
}

/* PINTEREST */
.social-links > a.pinterest {
  --svg: url("data:image/svg+xml;utf8,\
  <svg width='14' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'>\
  <path fill='currentColor' d='M7.24 0C2.512 0 0 3.176 0 6.636c0 1.607.854 3.61 2.224 4.247.209.097.319.053.364-.148.039-.152.224-.895.307-1.241a.33.33 0 0 0-.078-.318c-.452-.547-.812-1.557-.812-2.498 0-2.418 1.83-4.756 4.947-4.756 2.695 0 4.578 1.833 4.578 4.459 0 2.966-1.495 5.019-3.444 5.019-1.075 0-1.882-.888-1.625-1.983.31-1.302.909-2.71.909-3.647 0-.843-.454-1.547-1.384-1.547C4.884 4.223 4 5.36 4 6.886c0 .971.329 1.625.329 1.625s-1.087 4.596-1.284 5.451c-.34 1.45.042 3.8.077 4.007.017.11.141.148.207.054.106-.143 1.418-2.108 1.787-3.527l.68-2.605c.36.681 1.402 1.258 2.515 1.258C11.616 13.15 14 10.107 14 6.33 14 2.712 11.044 0 7.24 0Z'/>\
  </svg>");
}

/* X / TWITTER */
.social-links > a.x {
  --svg: url("data:image/svg+xml;utf8,\
  <svg width='14' height='13' fill='none' xmlns='http://www.w3.org/2000/svg'>\
  <path fill='currentColor' d='M11.026.006h2.146L8.484 5.365 14 12.659H9.68L6.295 8.235l-3.87 4.424H.279L5.294 6.92 0 0h4.43l3.058 4.042L11.026.006Zm-.753 11.367h1.19L3.785 1.223H2.509l7.764 10.15Z'/>\
  </svg>");
}

/* Tiktok */
.social-links > a.tiktok {
  --svg: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
  <path d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/>\
  </svg>");
}

/* YOUTUBE */
.social-links > a.youtube {
  --svg: url("data:image/svg+xml;utf8,\
  <svg width='18' height='13' fill='none' xmlns='http://www.w3.org/2000/svg'>\
  <path fill='currentColor' fill-rule='evenodd' d='M7.19 8.627v-5.05c1.793.843 3.181 1.659 4.824 2.537-1.355.751-3.031 1.594-4.824 2.513Zm9.992-7.562c-.31-.408-.836-.725-1.398-.83-1.65-.313-11.94-.314-13.589 0-.45.084-.85.288-1.194.605C-.45 2.187.003 9.406.353 10.576c.147.506.337.871.577 1.11.308.318.73.536 1.215.633 1.358.282 8.356.438 13.61.043.484-.085.912-.31 1.25-.64 1.342-1.34 1.25-8.967.176-10.657Z'/>\
  </svg>");
}

/* INSTAGRAM */
.social-links > a.instagram {
  --svg: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'>\
    <g fill='currentColor'>\
      <path fill-rule='evenodd' d='M9 13.91A4.909 4.909 0 1 0 9 4.09a4.909 4.909 0 0 0 0 9.818Zm0-1.637a3.273 3.273 0 1 0 0-6.546 3.273 3.273 0 0 0 0 6.546Z' clip-rule='evenodd'/>\
      <path d='M13.91 3.272a.818.818 0 1 0-.001 1.636.818.818 0 0 0 0-1.636Z'/>\
      <path fill-rule='evenodd' d='M.535 2.68C0 3.73 0 5.105 0 7.855v2.29c0 2.75 0 4.125.535 5.175a4.909 4.909 0 0 0 2.145 2.145C3.73 18 5.105 18 7.855 18h2.29c2.75 0 4.125 0 5.175-.535a4.91 4.91 0 0 0 2.145-2.145C18 14.27 18 12.895 18 10.145v-2.29c0-2.75 0-4.125-.535-5.175A4.909 4.909 0 0 0 15.32.535C14.27 0 12.895 0 10.145 0h-2.29C5.105 0 3.73 0 2.68.535A4.908 4.908 0 0 0 .535 2.68Zm9.61-1.044h-2.29c-1.402 0-2.355.002-3.091.062-.718.058-1.085.165-1.34.295a3.272 3.272 0 0 0-1.43 1.43c-.131.256-.238.623-.296 1.34-.06.737-.062 1.69-.062 3.092v2.29c0 1.402.002 2.355.062 3.091.058.718.165 1.085.295 1.34a3.274 3.274 0 0 0 1.43 1.431c.256.13.623.237 1.34.295.737.06 1.69.062 3.092.062h2.29c1.402 0 2.355-.002 3.091-.062.718-.058 1.085-.165 1.34-.295a3.274 3.274 0 0 0 1.431-1.43c.13-.256.237-.623.295-1.34.06-.737.062-1.69.062-3.091V7.854c0-1.402-.002-2.355-.062-3.091-.058-.718-.165-1.085-.295-1.34a3.272 3.272 0 0 0-1.43-1.43c-.256-.131-.623-.238-1.34-.296-.737-.06-1.69-.062-3.091-.062Z' clip-rule='evenodd'/>\
    </g>\
    <defs>\
      <clipPath id='a'>\
        <path fill='currentColor' d='M0 0h18v18H0z'/>\
      </clipPath>\
    </defs>\
  </svg>");
}

/* LINKEDIN */
.social-links > a.linkedin {
  --svg: url("data:image/svg+xml;utf8,\
  <svg width='18' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'>\
  <path fill='currentColor' d='M6.7 14.25H3.794V4.906H6.7v9.344ZM5.231 3.656c-.906 0-1.656-.781-1.656-1.719 0-.593.313-1.156.813-1.437.53-.313 1.187-.313 1.687 0 .531.281.844.844.844 1.437 0 .938-.75 1.719-1.688 1.719ZM17.544 14.25h-2.875V9.719c0-1.094-.032-2.47-1.532-2.47S11.42 8.407 11.42 9.626v4.625H8.513V4.906h2.78v1.281h.032c.406-.718 1.344-1.5 2.75-1.5 2.938 0 3.5 1.938 3.5 4.438v5.125h-.031Z'/>\
  </svg>");
}
