/* ── linkcad.com backlink in header ──────────────────────────────────────── */
.lc-site-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--md-primary-bg-color);
  opacity: 0.72;
  padding: 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.lc-site-link:hover,
.lc-site-link:focus-visible {
  opacity: 1;
  color: var(--md-primary-bg-color);
  outline: none;
}

.lc-site-link img {
  border-radius: 2px;
  flex-shrink: 0;
  /* keep it sharp on HiDPI */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Hide the label text on narrow screens where space is tight */
@media screen and (max-width: 59.9375em) {
  .lc-site-link span {
    display: none;
  }
}
