/* Semnătura de autor + cardul „Despre autor" (blog + /autor/{slug}).
   CSS propriu, nu utilitare Tailwind: bundle-ul compilat nu se mai reface pe server,
   iar clasele care nu sunt deja în el nu au niciun efect. */
.author-byline,
.author-card {
  --author-line: rgba(15, 23, 42, .10);
  --author-soft: rgba(15, 23, 42, .03);
  --author-muted: #6b7280;
  --author-strong: #111827;
  --author-link: #047857;
  --author-ok: #15803d;
  box-sizing: border-box;
  font-family: inherit;
  color: inherit;
}
html.dark .author-byline,
html.dark .author-card {
  --author-line: rgba(255, 255, 255, .12);
  --author-soft: rgba(255, 255, 255, .04);
  --author-muted: #9ca3af;
  --author-strong: #f9fafb;
  --author-link: #34d399;
  --author-ok: #4ade80;
}
.author-byline *,
.author-card * { box-sizing: border-box; }
.author-byline a,
.author-card a { color: var(--author-link); text-decoration: underline; text-underline-offset: 2px; }
.author-byline a:hover,
.author-card a:hover { text-decoration-thickness: 2px; }

/* Semnătura de sub titlu */
.author-byline { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; line-height: 1.4; }
.author-byline__img { width: 48px; height: 48px; max-width: none; border-radius: 50%; object-fit: cover; flex: 0 0 48px; display: block; }
.author-byline__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.author-byline__who { font-weight: 600; font-size: 15px; color: var(--author-strong); }
.author-byline__job { font-weight: 400; color: var(--author-muted); }
.author-byline__meta { font-size: 13px; color: var(--author-muted); }
.author-byline__review { font-size: 13px; font-weight: 600; color: var(--author-ok); }

/* Cardul „Despre autor" */
.author-card { margin: 40px 0 8px; padding: 22px 24px; border: 1px solid var(--author-line); border-radius: 14px; background: var(--author-soft); line-height: 1.55; }
.author-card__main { display: flex; gap: 20px; align-items: flex-start; }
.author-card__img { width: 112px; height: 112px; max-width: none; border-radius: 50%; object-fit: cover; flex: 0 0 112px; display: block; }
.author-card__body { min-width: 0; }
.author-card p { margin: 0; padding: 0; }
.author-card__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--author-muted); }
.author-card__name { font-size: 20px; font-weight: 700; margin-top: 2px !important; line-height: 1.25; color: var(--author-strong); }
.author-card__name a { color: inherit; text-decoration: none; }
.author-card__name a:hover { text-decoration: underline; }
.author-card__job { font-size: 14px; color: var(--author-muted); margin-top: 2px !important; }
.author-card__cred { font-size: 14px; font-weight: 600; color: var(--author-ok); margin-top: 2px !important; }
.author-card__topics { font-size: 13px; color: var(--author-muted); margin-top: 4px !important; }
.author-card__topics span { font-weight: 600; }
.author-card__bio { font-size: 15px; margin-top: 10px !important; }
.author-card__links { font-size: 14px; margin-top: 10px !important; }
.author-card__sep { color: var(--author-muted); padding: 0 4px; }
.author-card__note { font-size: 13px; color: var(--author-muted); margin-top: 16px !important; padding-top: 12px !important; border-top: 1px solid var(--author-line); }

@media (max-width: 600px) {
  .author-card { padding: 18px; }
  .author-card__main { flex-direction: column; gap: 14px; }
  .author-card__img { width: 88px; height: 88px; flex-basis: 88px; }
}
