:root {
  --rt-blog-actions-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.blog-card {
  cursor: pointer;
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-content {
  padding-bottom: 14px;
}

.blog-card-meta {
  gap: 10px;
  min-width: 0;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px 22px;
}

.blog-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-share,
.blog-card-like {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--light-gray);
  background: rgba(10, 22, 40, 0.03);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  flex: 0 0 auto;
}

.blog-card-share svg,
.blog-card-like svg {
  width: 18px;
  height: 18px;
}

.blog-card-share:hover,
.blog-card-like:hover {
  transform: translateY(-1px);
  background: rgba(255, 107, 53, 0.08);
  border-color: var(--orange);
  color: var(--orange);
}

.blog-card-share:active,
.blog-card-like:active {
  transform: translateY(0);
}

.blog-card-share:focus-visible,
.blog-card-like:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.25);
  outline-offset: 2px;
}

.blog-card-like svg {
  fill: none;
}

.blog-card-like.is-on {
  background: rgba(255, 107, 53, 0.12);
  border-color: rgba(255, 107, 53, 0.45);
  color: var(--orange);
}

.blog-card-like.is-on svg {
  fill: currentColor;
}

.blog-card-share::after,
.blog-card-like::after {
  content: attr(data-feedback);
  position: absolute;
  top: -38px;
  right: 0;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--rt-blog-actions-shadow);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  white-space: nowrap;
}

.blog-card-share.is-copied::after,
.blog-card-like.is-saved::after {
  opacity: 1;
  transform: translateY(0);
}

/* Share button on dark hero backgrounds (services & profiles) */
.service-hero .blog-card-share,
.profile-hero .blog-card-share {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.service-hero .blog-card-share:hover,
.profile-hero .blog-card-share:hover {
  background: #fff;
  border-color: #fff;
  color: var(--orange);
}

/* Share dropdown menu */
.share-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--white, #fff);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 100;
}

.share-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--navy, #0a1628);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.12s ease;
  white-space: nowrap;
}

.share-menu-item:hover {
  background: rgba(10, 22, 40, 0.06);
}

.share-menu-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
