/* ══════════════════════════════
   Tarjeta de autor reutilizable
   (fin de post y página /autores/)
══════════════════════════════ */
.author-card-wrap {
  display: block;
  max-width: 460px;
  margin: 0;
}
.author-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.author-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.author-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transform: translateY(-1px);
}
.author-card:hover .author-arrow { transform: translate(2px, -2px); }
.author-card:focus-visible { outline: 2px solid var(--gray-900); outline-offset: 2px; }

.author-avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  line-height: 1;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.author-name {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.3;
}
.author-company {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.3;
}
.author-arrow {
  transition: transform var(--transition);
}

/* ══════════════════════════════
   Página /autores/
══════════════════════════════ */
.autores-page { padding: var(--sp-12) 0 var(--sp-16); }

.autores-hero {
  max-width: 640px;
  margin: 0 auto var(--sp-10);
  text-align: center;
}
.autores-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.autores-hero .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-700);
}
.autores-hero h1 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.autores-hero p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.autores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}
.autores-grid .author-card-wrap {
  max-width: none;
}

.autores-foot {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-align: center;
  line-height: 1.7;
}
.autores-foot code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ══════════════════════════════
   Variante sin link (firma de post)
══════════════════════════════ */
.author-card--static {
  cursor: default;
}
.author-card--static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.article-signature {
  margin: var(--sp-12) 0 var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════
   Bloque pregunta-respuesta del autor (dentro del post)
══════════════════════════════ */
.author-qa {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #404040;
  border-radius: 10px;
  font-family: 'Inter', system-ui, sans-serif;
}
.author-qa__q {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #d4d4d4;
}
.author-qa__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #737373;
  margin-bottom: 0.35rem;
}
.author-qa__q p {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: #171717;
  margin: 0;
}
.author-qa__a p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #262626;
  margin: 0;
}
.author-qa__a strong {
  color: #171717;
  font-weight: 700;
}

