/*
 * World View Desk v3.3 — article share panel only.
 * Loaded AFTER style.css on article pages. No global or admin styles altered.
 */
.wvd-share {
  --share-ink: #13263d;
  --share-border: #e4eaf0;
  --share-muted: #728299;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 34px 0 24px;
  padding: 25px 25px 22px;
  border: 1px solid var(--share-border);
  border-radius: 18px;
  background: linear-gradient(135deg,#fff 0%,#fff 54%,#f8fafc 100%);
  box-shadow: 0 8px 30px rgba(17,40,62,.045);
}
.wvd-share::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 25px;
  width: 48px;
  height: 3px;
  background: #c32b3f;
  border-radius: 0 0 3px 3px;
}
.wvd-share .wvd-share-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 19px;
}
.wvd-share .wvd-share-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #9b4755;
  font: 800 10px/1.2 var(--sans,system-ui,sans-serif);
  letter-spacing: .17em;
}
.wvd-share .wvd-share-heading h2 {
  margin: 0;
  color: var(--share-ink);
  font-family: var(--serif,Georgia,serif);
  font-size: clamp(23px,2.2vw,29px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.16;
}
.wvd-share .wvd-share-heading-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  color: #ac2639;
  font: 600 22px/1 var(--sans,system-ui,sans-serif);
  border: 1px solid #e8eaf0;
  border-radius: 50%;
  background: white;
}
.wvd-share .wvd-share-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(76px,1fr));
  gap: 4px 5px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 13px 7px 9px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #f8fafc;
}
.wvd-share .wvd-share-button {
  --share-color: #344a60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 87px;
  gap: 9px;
  padding: 8px 2px 7px;
  color: #394b60;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
  font: 650 12px/1.18 var(--sans,system-ui,sans-serif);
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.wvd-share .wvd-share-button:hover {
  color: #14283e;
  background: #fff;
  border-color: #e6ebf1;
  box-shadow: none;
  transform: translateY(-2px);
}
.wvd-share .wvd-share-button:active { transform: scale(.965); }
.wvd-share .wvd-share-button:focus-visible {
  outline: 3px solid #b52b40;
  outline-offset: 2px;
}
.wvd-share .wvd-share-brand {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  background: var(--share-color);
  box-shadow: 0 3px 9px rgba(18,37,60,.13);
  transition: transform .2s ease,box-shadow .2s ease;
}
.wvd-share .wvd-share-button:hover .wvd-share-brand {
  transform: translateY(-2px);
  box-shadow: 0 6px 13px rgba(18,37,60,.16);
}
.wvd-share .wvd-share-brand img {
  display: block;
  width: 24px;
  height: 24px;
  max-width: none;
  object-fit: contain;
}
.wvd-share .wvd-share-label {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}
.wvd-share .wvd-share-whatsapp { --share-color:#15995a; }
.wvd-share .wvd-share-facebook { --share-color:#1877f2; }
.wvd-share .wvd-share-telegram { --share-color:#269cce; }
.wvd-share .wvd-share-x { --share-color:#17202b; }
.wvd-share .wvd-share-linkedin { --share-color:#0a66c2; }
.wvd-share .wvd-share-threads { --share-color:#222; }
.wvd-share .wvd-share-reddit { --share-color:#ff4500; }
.wvd-share .wvd-share-bluesky { --share-color:#1685f4; }
.wvd-share .wvd-share-pinterest { --share-color:#c82339; }
.wvd-share .wvd-share-tumblr { --share-color:#35465c; }
.wvd-share .wvd-share-line { --share-color:#06bb4e; }
.wvd-share .wvd-share-email { --share-color:#5b6c7d; }
.wvd-share .wvd-share-sms { --share-color:#258963; }
.wvd-share .wvd-share-copy { --share-color:#324a62; }
.wvd-share .wvd-share-native { --share-color:#af2d40; }
.wvd-share .wvd-share-native[hidden] { display: none; }
.wvd-share .wvd-share-status {
  margin: 10px 5px 0;
  min-height: 0;
  color: #19754c;
  font: 700 12px/1.5 var(--sans,system-ui,sans-serif);
  text-align: center;
}
.wvd-share .wvd-share-status:empty { display: none; }
@media (max-width: 680px) {
  .wvd-share { margin: 28px 0 22px; padding: 21px 14px 15px; border-radius: 16px; }
  .wvd-share::before { left: 16px; width: 42px; }
  .wvd-share .wvd-share-heading { margin-bottom: 16px; }
  .wvd-share .wvd-share-buttons {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 3px 1px;
    padding: 10px 4px 7px;
    border-radius: 12px;
  }
  .wvd-share .wvd-share-button { min-height: 78px; gap: 7px; padding: 7px 1px; font-size: 11.5px; border-radius: 10px; }
  .wvd-share .wvd-share-brand { width: 43px; height: 43px; flex-basis: 43px; border-radius: 14px; }
  .wvd-share .wvd-share-brand img { width: 22px; height: 22px; }
}
@media (max-width: 355px) {
  .wvd-share { padding-inline: 10px; }
  .wvd-share .wvd-share-buttons { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .wvd-share .wvd-share-button { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .wvd-share .wvd-share-button,
  .wvd-share .wvd-share-brand { transition: none; }
}
