/* W35 — article share component (2026-08-04 Article sample):
   top row (labeled pills, under the disclosure), rail cluster (icon squares,
   under the TOC), end band (wash, before the app cutout). No share counts. */

/* ---- Shared pill ---- */
.hc-share .hc-share__pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hc-body);
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  padding: 7px 14px;
  background: transparent;
  white-space: nowrap;
}
.hc-share button.hc-share__pill {
  font-family: inherit;
  cursor: pointer;
  background: #fff;
}
.hc-share .hc-share__pill:hover {
  border-color: var(--hc-ink);
  color: var(--hc-ink);
}
.hc-share .hc-share__pill--solid {
  background: #fff;
  padding: 8px 15px;
}

/* ---- Top row ---- */
.hc-share--top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 40px;
}
.hc-share__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-mut);
  margin-right: 2px;
}
.hc-share__divider {
  width: 1px;
  height: 22px;
  background: var(--hc-line);
}

/* ---- Rail cluster (inside the TOC nav) ---- */
.hc-share--rail {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hc-wash);
}
.hc-share__rail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hc-mut);
  margin-bottom: 10px;
}
.hc-share__rail-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.hc-share .hc-share__sq {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--hc-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hc-share button.hc-share__sq {
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.hc-share .hc-share__sq:hover {
  border-color: var(--hc-ink);
}

/* ---- End band ---- */
.hc-share--end {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--hc-wash);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 36px 0 0;
}
.hc-share__end-copy {
  flex: 1;
  min-width: 200px;
}
.hc-share__end-head {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--hc-ink);
}
.hc-share__end-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hc-secondary);
  margin-top: 3px;
}
.hc-share__end-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Copied state */
.hc-share [data-hc-copy].is-copied {
  border-color: #0e7a4f;
  color: #0e7a4f;
}

/* 44px tap targets on touch widths (the rail cluster is gone below 1128). */
@media (max-width: 900px) {
  .hc-share--top .hc-share__pill,
  .hc-share--end .hc-share__pill {
    padding: 12px 16px;
  }
}
