/* Deploy hotfix:
 * Keep key UI changes visible even if extra.css is cached by the browser/CDN.
 */

/* Blog list CTA: continue reading */
.md-post .md-post__action a {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.92rem;
  margin-top: 0.3rem;
  border: 1px solid var(--wiki-accent-strong);
  border-radius: 7px;
  background: var(--wiki-accent);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(40, 53, 147, 0.18);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}

.md-post .md-post__action a:hover {
  transform: translateY(-1px);
  background: var(--wiki-accent-strong);
  border-color: var(--wiki-accent-strong);
  box-shadow: 0 4px 12px rgba(40, 53, 147, 0.25);
}

.md-post .md-post__action a::before {
  content: "» ";
}

[data-md-color-scheme="slate"] .md-post .md-post__action a {
  border-color: rgba(197, 202, 233, 0.5);
}

/* Blog detail share block + icon sizing */
.blog-share {
  margin: 3rem 0 2rem;
  padding: 1.5rem;
  border-top: 1px solid var(--wiki-card-border);
  text-align: center;
}

.blog-share-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.blog-share .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  color: #fff !important;
}

.blog-share .share-btn svg {
  width: 1.1rem !important;
  height: 1.1rem !important;
  min-width: 1.1rem;
  min-height: 1.1rem;
  fill: currentColor;
}

.share-btn--wechat { background-color: #07c160; }
.share-btn--xhs { background-color: #ff2442; }
.share-btn--github { background-color: #24292f; }
