/* Article share bar (LinkedIn, Facebook, copy link, email) */

:root {
  --share-linkedin: #0a66c2;
  --share-facebook: #1877f2;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.article-share__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: 0.85;
  margin: 0;
}

.article-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.share-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.share-btn:focus-visible {
  outline: 2px solid #2bb3c0;
  outline-offset: 2px;
}

.share-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.share-btn--linkedin {
  background: var(--share-linkedin);
  color: #fff;
  box-shadow: 0 2px 8px rgba(10, 102, 194, 0.18);
}

.share-btn--linkedin:hover {
  background: #004182;
  color: #fff;
}

.share-btn--facebook {
  background: var(--share-facebook);
  color: #fff;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.16);
}

.share-btn--facebook:hover {
  background: #0d65d9;
  color: #fff;
}

/* Hero (scheme A) — dark background */
.article-share--hero {
  margin-top: 16px;
}

.article-share--hero .article-share__label {
  color: #c8f0f4;
}

.article-share--hero .share-btn--copy {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.article-share--hero .share-btn--copy:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.article-share--hero .share-btn--email {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #e8f8fa;
}

.article-share--hero .share-btn--email:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.article-share--hero .share-btn--copy.is-copied {
  border-color: rgba(40, 166, 106, 0.55);
  background: rgba(40, 166, 106, 0.22);
  color: #d4ffe8;
}

/* Hero share inside light hero areas */
.hero-card .article-share--hero,
.pm-hero .article-share--hero,
.hero--light .article-share--hero {
  margin-top: 16px;
}

.hero-card .article-share--hero {
  margin-bottom: 14px;
}

.hero-card .article-share--hero .article-share__label,
.pm-hero .article-share--hero .article-share__label,
.hero--light .article-share--hero .article-share__label {
  color: #60758a;
}

.hero-card .article-share--hero .share-btn--copy,
.pm-hero .article-share--hero .share-btn--copy,
.hero--light .article-share--hero .share-btn--copy {
  background: #f0f7fc;
  border-color: #c5dff0;
  color: #07304f;
}

.hero-card .article-share--hero .share-btn--copy:hover,
.pm-hero .article-share--hero .share-btn--copy:hover,
.hero--light .article-share--hero .share-btn--copy:hover {
  background: #e3f2fa;
  color: #07304f;
}

.hero-card .article-share--hero .share-btn--email,
.pm-hero .article-share--hero .share-btn--email,
.hero--light .article-share--hero .share-btn--email {
  border-color: #dce8f1;
  color: #0b6fa4;
}

.hero-card .article-share--hero .share-btn--email:hover,
.pm-hero .article-share--hero .share-btn--email:hover,
.hero--light .article-share--hero .share-btn--email:hover {
  background: #f0f7fc;
  color: #0b6fa4;
}

.hero-card .article-share--hero .share-btn--copy.is-copied,
.pm-hero .article-share--hero .share-btn--copy.is-copied,
.hero--light .article-share--hero .share-btn--copy.is-copied {
  border-color: rgba(40, 166, 106, 0.45);
  background: #eaf8f0;
  color: #1a6b42;
}

/* End of article (scheme C) — light background */
.article-share--end .article-share__label {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #60758a;
}

.article-share--end .share-btn--copy {
  background: #f0f7fc;
  border-color: #c5dff0;
  color: #07304f;
}

.article-share--end .share-btn--copy:hover {
  background: #e3f2fa;
  color: #07304f;
}

.article-share--end .share-btn--email {
  border-color: #dce8f1;
  color: #0b6fa4;
}

.article-share--end .share-btn--email:hover {
  background: #f0f7fc;
  color: #0b6fa4;
}

.article-share--end .share-btn--copy.is-copied {
  border-color: rgba(40, 166, 106, 0.45);
  background: #eaf8f0;
  color: #1a6b42;
}

.article-share-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 18px;
  border-radius: 999px;
  background: #07304f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 110;
}

.article-share-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 520px) {
  .share-btn .share-btn__text {
    display: none;
  }

  .share-btn {
    padding: 0 7px;
    min-width: 30px;
    min-height: 26px;
  }

  .article-share__label {
    width: 100%;
  }
}

@media print {
  .article-share,
  .article-share-toast {
    display: none !important;
  }
}
