.article-share {
  margin-top: 18px;
}

.article-share summary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(120deg, #315fdb, #194e8e);
  box-shadow: 0 10px 24px rgba(35, 78, 160, 0.22);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-share summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(35, 78, 160, 0.28);
}

.article-share summary::-webkit-details-marker { display: none; }
.article-share summary img { flex: none; }
.article-share-chevron {
  margin-left: 8px;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 160ms ease;
}
.article-share[open] .article-share-chevron { transform: rotate(180deg); }

.article-share summary:focus-visible,
.article-share-actions a:focus-visible,
.article-share-actions button:focus-visible {
  outline: 3px solid rgba(49, 95, 219, 0.45);
  outline-offset: 3px;
}

.article-share-panel {
  max-width: 650px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(49, 95, 219, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.article-share-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.article-share-actions > * {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #d7e1f2;
  border-radius: 13px;
  background: #f8fbff;
  color: #2754a4;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.article-share-actions > *::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  background: #e6efff;
  font-size: 1rem;
  line-height: 1;
}

.article-share-actions [data-native-share]::before { content: "↗"; }
.article-share-actions [data-copy-share]::before { content: "⧉"; }
.article-share-actions [data-share-service="whatsapp"]::before { content: "W"; background: #e4f7ec; color: #168953; }
.article-share-actions [data-share-service="telegram"]::before { content: "➤"; background: #e5f4ff; color: #1684bd; }
.article-share-actions [data-share-service="x"]::before { content: "𝕏"; background: #e9edf3; color: #172235; }
.article-share-actions [data-share-service="email"]::before { content: "✉"; }

.article-share-actions > *:hover {
  border-color: #a8bce8;
  background: #edf4ff;
}

.article-share-actions > [hidden],
.article-share-status:empty { display: none; }
.article-share-status { margin: 12px 0 0; color: var(--muted); font-size: 0.84rem; }
.article-share-status[data-state="copied"] {
  padding: 14px 16px;
  border: 1px solid #c8e9d9;
  border-radius: 14px;
  background: #f1fbf5;
  color: #14744f;
}
.article-share-status[data-state="copied"] strong { display: block; font-size: 0.9rem; }
.article-share-status[data-state="copied"] strong::before { content: "✓"; margin-right: 7px; }
.article-share-status[data-state="copied"] code {
  display: block;
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff;
  color: #385070;
  font: 600 0.78rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
  user-select: all;
}

.article-share-end {
  margin-top: 42px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(49, 95, 219, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, #eef4ff, #f2fbf7);
}

.article-share-end .eyebrow { margin-bottom: 7px; }
.article-share-end h2 { margin: 0 0 6px; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.article-share-end > p:not(.eyebrow) { margin: 0; }
.article-share--footer .article-share-panel { max-width: none; }

@media (max-width: 760px) {
  .article-share summary { width: 100%; justify-content: center; }
  .article-share-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-share-end { margin-top: 32px; }
}
