/* ========================================
   Widget Share - Social Share Buttons
   ======================================== */
/* --- Container --- */
.widget_share {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  align-items: center;
  justify-content: center;
  padding: var(--space-2, 8px) 0;
}
/* --- Base button --- */
.widget_share a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--border-radius-full, 9999px);
  color: #fff;
  text-decoration: none;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.widget_share a:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  opacity: 0.92;
}
.widget_share a:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
/* --- Icon --- */
.widget_share a::before {
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
}
/* --- Tooltip label --- */
.widget_share a::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.7rem;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: var(--border-radius, 4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.widget_share a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
/* --- Platform colors --- */
.widget_share a.fb_share {
  background-color: #1877f2;
}
.widget_share a.fb_share:hover {
  background-color: #166fe5;
}
.widget_share a.twitter_share {
  background-color: #1da1f2;
}
.widget_share a.twitter_share:hover {
  background-color: #0d8dda;
}
.widget_share a.line_share {
  background-color: #06c755;
}
.widget_share a.line_share:hover {
  background-color: #05b34c;
}
/* --- Icon size overrides --- */
.widget_share a.icon-twitter::before {
  font-size: 1.2rem;
}