/* ==========================================================================
   Share bar — work cases, service pages, insights
   Injected by /Public/Home/js/share.js. Kept quiet on purpose: the buttons
   read as one line of small labels until hover, so they do not compete with
   the article they sit under.
   ========================================================================== */

.sh-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 46px 0 6px;
  padding-top: 22px;
  border-top: 1px solid #e6eaef;
  box-sizing: border-box;
  max-width: 100%;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
}

.sh-bar .sh-lb {
  margin: 0 6px 0 0;
  font-size: 11px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #8a94a3;
}

.sh-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #dfe4ea;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  color: #33404e;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
  -webkit-appearance: none;
  appearance: none;
}

.sh-btn:hover,
.sh-btn:focus {
  text-decoration: none;
  outline: none;
  border-color: #b9c6d4;
  color: #0c1219;
  background: #fbfcfd;
}

.sh-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

.sh-btn .sh-name { font-weight: normal; }

.sh-wc:hover, .sh-wc:focus { color: #07a95b; border-color: #b7e3c9; }
.sh-li:hover, .sh-li:focus { color: #0a66c2; border-color: #b8cfe8; }
.sh-wa:hover, .sh-wa:focus { color: #128c7e; border-color: #b6ddd6; }

.sh-btn.is-open { color: #07a95b; border-color: #b7e3c9; background: #f6fdf9; }

/* the WeChat card ------------------------------------------------------- */

.sh-pop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 224px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(12, 18, 25, .14);
  text-align: center;
  font-family: -apple-system, Helvetica, Arial, sans-serif;
}

.sh-pop::after {
  content: '';
  position: absolute;
  left: var(--sh-arrow, 26px);
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid #e3e8ee;
  border-bottom: 1px solid #e3e8ee;
  transform: rotate(45deg);
}

/* flipped below the button when there is no room above it */
.sh-pop.is-down::after {
  top: -6px;
  bottom: auto;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid #e3e8ee;
  border-top: 1px solid #e3e8ee;
}

.sh-qr {
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.sh-qr img, .sh-qr canvas { display: block; }

/* shown only when the QR encoder could not run */
.sh-qr .sh-link {
  display: block;
  width: 100%;
  padding: 8px;
  border: 1px dashed #dfe4ea;
  border-radius: 4px;
  font-size: 10.5px;
  line-height: 1.45;
  color: #33404e;
  word-break: break-all;
  text-decoration: none;
}

.sh-pop p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #5d6b7a;
}

.sh-pop b {
  display: block;
  margin-bottom: 2px;
  font-size: 12.5px;
  color: #0c1219;
}

.sh-copy {
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid #dfe4ea;
  border-radius: 3px;
  background: #fff;
  font-size: 11.5px;
  color: #33404e;
  cursor: pointer;
}

.sh-copy:hover { border-color: #b9c6d4; color: #0c1219; }

.sh-hint {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #8a94a3;
}

/* placement quirks ------------------------------------------------------ */

/* the case shells pad their own container; keep the bar on the same column */
.iframe-wrap-con > .sh-bar { max-width: 1100px; }

@media (max-width: 767px) {
  .sh-bar {
    margin-top: 36px;
    padding-top: 18px;
    gap: 8px;
  }
  .sh-bar .sh-lb { flex: 1 1 100%; margin-bottom: 2px; }
  .sh-btn { padding: 8px 11px; font-size: 12.5px; }
  .sh-btn .sh-name { display: none; }
  .sh-btn svg { width: 16px; height: 16px; }
  .sh-pop { width: 208px; }
}
