/* React + Share — one look, matches the navy header */
.hpt-engage-section {
  margin: 1rem 0 1.15rem !important;
  padding: .9rem .9rem 1rem !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #0f172a !important;
  color: #e2e8f0 !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .18) !important;
}
.hpt-engage-label {
  color: #fdba74 !important;
  margin-bottom: .7rem !important;
}
.hpt-engage-label::before {
  background: #f97316 !important;
}

.hpt-engage-section--react .hpt-engage-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: .5rem !important;
}
.hpt-react-btn {
  display: flex !important;
  align-items: center !important;
  gap: .45rem !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: .55rem .7rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.07) !important;
  color: #f8fafc !important;
  font: inherit !important;
  font-size: .86rem !important;
  font-weight: 650 !important;
  cursor: pointer !important;
}
.hpt-react-btn .hpt-ico { font-size: 1.05rem !important; }
.hpt-react-btn .hpt-react-count {
  margin-left: auto !important;
  color: #94a3b8 !important;
  font-variant-numeric: tabular-nums !important;
}
.hpt-react-btn.is-on,
.hpt-react-btn[aria-pressed="true"] {
  background: #2563eb !important;
  border-color: #2563eb !important;
}
.hpt-react-btn.is-on .hpt-react-count,
.hpt-react-btn[aria-pressed="true"] .hpt-react-count { color: #fff !important; }

.hpt-share-bar.hpt-engage-row,
.hpt-engage-section--share .hpt-engage-row,
.hpt-engage-section--share .hpt-share-bar {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .45rem !important;
  align-items: stretch !important;
}
.hpt-share-bar a,
.hpt-share-bar button,
.hpt-engage-section--share a,
.hpt-engage-section--share button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
}
.hpt-share-bar a svg,
.hpt-share-bar button svg,
.hpt-engage-section--share a svg,
.hpt-engage-section--share button svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}
.hpt-share-bar a[href*="whatsapp"],
.hpt-engage-section--share a[href*="whatsapp"] { background: #128c7e !important; border-color: transparent !important; }
.hpt-share-bar a[href*="facebook"],
.hpt-engage-section--share a[href*="facebook"] { background: #1877f2 !important; border-color: transparent !important; }
.hpt-share-bar a[href*="twitter"],
.hpt-share-bar a[href*="x.com"],
.hpt-engage-section--share a[href*="twitter"],
.hpt-engage-section--share a[href*="x.com"] { background: #111827 !important; }
.hpt-share-bar a[href*="linkedin"],
.hpt-engage-section--share a[href*="linkedin"] { background: #0a66c2 !important; border-color: transparent !important; }
.hpt-share-bar a[href*="truthsocial"],
.hpt-engage-section--share a[href*="truthsocial"] { background: #e11d48 !important; border-color: transparent !important; }
.hpt-share-bar a[href*="instagram"],
.hpt-engage-section--share a[href*="instagram"] { background: #c026d3 !important; border-color: transparent !important; }
.hpt-share-bar a[href*="youtube"],
.hpt-engage-section--share a[href*="youtube"] { background: #dc2626 !important; border-color: transparent !important; }

html[data-theme="dark"] .hpt-engage-section {
  background: #111827 !important;
}
@media (max-width: 360px) {
  .hpt-share-bar.hpt-engage-row,
  .hpt-engage-section--share .hpt-share-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
