/**
 * Late-loaded overrides — wins over WP / plugin button defaults.
 */

.post-card__stat.post-card__stat--like,
.single-post__stat.single-post__stat--like,
.post-card__share-link.post-card__share-link--copy,
.single-post__share-link.single-post__share-link--copy {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  cursor: pointer;
  opacity: 1 !important;
  filter: none !important;
}

.post-card__stat.post-card__stat--like {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-text);
}

.single-post__stat.single-post__stat--like {
  font-size: var(--text-sm);
  color: var(--color-gray-muted);
}

.post-card__stat.post-card__stat--like:hover,
.post-card__stat.post-card__stat--like:focus-visible,
.single-post__stat.single-post__stat--like:hover,
.single-post__stat.single-post__stat--like:focus-visible {
  color: var(--color-blue-hero);
  outline: none;
  transform: scale(1.05);
}

.post-card__stat.post-card__stat--like.is-liked,
.post-card__stat.post-card__stat--like[aria-disabled='true'],
.single-post__stat.single-post__stat--like.is-liked,
.single-post__stat.single-post__stat--like[aria-disabled='true'] {
  color: #e25555 !important;
  cursor: default;
  transform: none;
  pointer-events: none;
}

.post-card__stat.post-card__stat--like.is-liked svg path,
.post-card__stat.post-card__stat--like[aria-disabled='true'] svg path,
.single-post__stat.single-post__stat--like.is-liked svg path,
.single-post__stat.single-post__stat--like[aria-disabled='true'] svg path {
  fill: currentColor;
}

.post-card__stat.post-card__stat--like.is-loading,
.single-post__stat.single-post__stat--like.is-loading {
  opacity: 0.6 !important;
  pointer-events: none;
}
