/* ================================================================
   EDUCATION UPDATES — SOCIAL SHARE CSS
   File: social-share.css
   Paste into: Appearance → Customize → Additional CSS
              OR append to child theme style.css
   Matches the existing Education Updates design system exactly.
================================================================ */


/* ── OUTER CARD SHELL ─────────────────────────────────────────── */

.eu-social-share {
  margin: 40px 0 20px;
  padding: 24px 28px;
background: transparent !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.09);
  position: relative;
  overflow: hidden;
  font-family: 'Figtree', sans-serif;
}

/* Gradient top accent stripe */
.eu-social-share::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 16px 16px 0 0;
}

/* Subtle corner glow */
.eu-social-share::after {
  content: '';
  position: absolute;
  bottom: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  pointer-events: none;
}


/* ── HEADER ROW ───────────────────────────────────────────────── */

.eu-ss-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.eu-ss-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: #1e2235;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.eu-ss-label i {
  font-size: 0.95rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eu-ss-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, transparent);
}


/* ── BUTTONS ROW ─────────────────────────────────────────────── */

.eu-ss-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Base button */
.eu-ss-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 9px 16px !important;
  border-radius: 50px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  font-family: 'Figtree', sans-serif !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  transition: transform 0.22s ease,
              box-shadow 0.22s ease,
              background 0.22s ease,
              color 0.22s ease !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.eu-ss-btn i {
  font-size: 0.88rem !important;
  flex-shrink: 0 !important;
}

/* Hover lift shared */
.eu-ss-btn:hover {
  transform: translateY(-2px) !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}


/* ── PER-PLATFORM COLOURS ─────────────────────────────────────── */

/* Facebook */
.eu-ss-btn--facebook {
  background: rgba(24, 119, 242, 0.10) !important;
  color: #1877f2 !important;
  border-color: rgba(24, 119, 242, 0.22) !important;
  -webkit-text-fill-color: #1877f2 !important;
}
.eu-ss-btn--facebook:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  box-shadow: 0 5px 18px rgba(24, 119, 242, 0.40) !important;
}

/* WhatsApp */
.eu-ss-btn--whatsapp {
  background: rgba(37, 211, 102, 0.10) !important;
  color: #25d366 !important;
  border-color: rgba(37, 211, 102, 0.22) !important;
  -webkit-text-fill-color: #25d366 !important;
}
.eu-ss-btn--whatsapp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.40) !important;
}

/* Instagram */
.eu-ss-btn--instagram {
  background: rgba(225, 48, 108, 0.10) !important;
  color: #e1306c !important;
  border-color: rgba(225, 48, 108, 0.22) !important;
  -webkit-text-fill-color: #e1306c !important;
}
.eu-ss-btn--instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  border-color: transparent !important;
  box-shadow: 0 5px 18px rgba(225, 48, 108, 0.40) !important;
}

/* Telegram */
.eu-ss-btn--telegram {
  background: rgba(0, 136, 204, 0.10) !important;
  color: #0088cc !important;
  border-color: rgba(0, 136, 204, 0.22) !important;
  -webkit-text-fill-color: #0088cc !important;
}
.eu-ss-btn--telegram:hover {
  background: #0088cc !important;
  border-color: #0088cc !important;
  box-shadow: 0 5px 18px rgba(0, 136, 204, 0.40) !important;
}

/* Twitter / X */
.eu-ss-btn--twitter {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #0f0f0f !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  -webkit-text-fill-color: #0f0f0f !important;
}
.eu-ss-btn--twitter:hover {
  background: #0f0f0f !important;
  border-color: #0f0f0f !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25) !important;
}

/* Copy Link */
.eu-ss-btn--copy {
  background: rgba(37, 99, 235, 0.09) !important;
  color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.22) !important;
  -webkit-text-fill-color: #2563eb !important;
}
.eu-ss-btn--copy:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
  border-color: transparent !important;
  box-shadow: 0 5px 18px rgba(37, 99, 235, 0.38) !important;
}

/* Copied state — green flash */
.eu-ss-btn--copied,
.eu-ss-btn--copied:hover {
  background: #16a34a !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.38) !important;
  transform: translateY(-2px) !important;
}


/* ── RESPONSIVE ───────────────────────────────────────────────── */

@media (max-width: 600px) {
  .eu-social-share {
    padding: 20px 16px;
  }

  .eu-ss-buttons {
    gap: 7px;
  }

  /* Hide text labels on small phones — icon-only pills */
  @media (max-width: 400px) {
    .eu-ss-btn-label {
      display: none !important;
    }

    .eu-ss-btn {
      padding: 10px 12px !important;
      border-radius: 50% !important;
      width: 40px !important;
      height: 40px !important;
      justify-content: center !important;
      gap: 0 !important;
    }

    .eu-ss-btn i {
      font-size: 1rem !important;
    }
  }
}

/* ================================================================
   END — SOCIAL SHARE CSS
================================================================ */