/* ── NewsPress — Página de Autor ─────────────────────── */

/* ══════════════════════════════════════════════════════
   HERO — PERFIL
   ══════════════════════════════════════════════════════ */
.np-autor-hero {
  background: var(--np-surface-alt);
  border-bottom: 1px solid var(--np-border);
  padding: var(--sp-7) 0;
}

.np-autor-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
}

/* ── Foto ────────────────────────────────────────────── */
.np-autor-foto {
  flex-shrink: 0;
}

.np-autor-foto__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--np-surface);
  box-shadow: var(--sh-md);
  display: block;
}

.np-autor-foto__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--np-surface-dim);
  border: 4px solid var(--np-surface);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--np-text-muted);
}

.np-autor-foto__placeholder svg {
  width: 52px;
  height: 52px;
}

/* ── Datos textuales ─────────────────────────────────── */
.np-autor-info {
  flex: 1;
  min-width: 0;
  padding-top: var(--sp-2);
}

.np-autor-info__label {
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--np-accent);
  margin: 0 0 var(--sp-2);
}

.np-autor-info__nombre {
  font-family: var(--f-serif);
  font-size: var(--t-2xl);
  font-weight: 700;
  color: var(--np-text);
  line-height: 1.15;
  margin: 0 0 var(--sp-2);
}

.np-autor-info__cargo {
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--np-text-sec);
  margin: 0 0 var(--sp-3);
}

.np-autor-info__bio {
  font-size: var(--t-base);
  color: var(--np-text-sec);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 0 var(--sp-4);
}

/* ── Fila de acción ──────────────────────────────────── */
.np-autor-info__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* ── Iconos de redes ─────────────────────────────────── */
.np-autor-redes {
  display: flex;
  gap: var(--sp-2);
}

.np-autor-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  color: var(--np-text-sec);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}

.np-autor-red svg {
  width: 16px;
  height: 16px;
}

.np-autor-red:hover {
  transform: translateY(-2px);
  border-color: transparent;
}

.np-autor-red--tw:hover { background: #000; color: #fff; }
.np-autor-red--ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.np-autor-red--fb:hover { background: #1877f2; color: #fff; }
.np-autor-red--li:hover { background: #0a66c2; color: #fff; }

/* ── Email ───────────────────────────────────────────── */
.np-autor-email {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--np-text-sec);
  text-decoration: none;
  border-bottom: 1px solid var(--np-border);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.np-autor-email svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.np-autor-email:hover {
  color: var(--np-accent);
  border-color: var(--np-accent);
}

/* ── Estadística ─────────────────────────────────────── */
.np-autor-stat {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
}

.np-autor-stat strong {
  font-size: var(--t-xl);
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--np-text);
  line-height: 1;
}

.np-autor-stat span {
  font-size: var(--t-xs);
  color: var(--np-text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ══════════════════════════════════════════════════════
   CONTENIDO — GRID DE NOTICIAS
   ══════════════════════════════════════════════════════ */
.np-autor-content {
  padding: var(--sp-7) 0 var(--sp-8);
}

.np-autor-content__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--np-border);
}

.np-autor-content__titulo {
  font-size: var(--t-sm);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--np-text-sec);
  margin: 0;
}

.np-autor-content__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 7px;
  border-radius: 10px;
  background: var(--np-accent);
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 700;
}

/* Estado vacío */
.np-autor-empty {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  color: var(--np-text-muted);
}

.np-autor-empty svg {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--sp-3);
  display: block;
  opacity: .4;
}

.np-autor-empty p {
  font-size: var(--t-base);
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .np-autor-hero {
    padding: var(--sp-5) 0;
  }

  .np-autor-hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-4);
  }

  .np-autor-foto__img,
  .np-autor-foto__placeholder {
    width: 96px;
    height: 96px;
  }

  .np-autor-info__nombre {
    font-size: var(--t-xl);
  }

  .np-autor-info__bio {
    max-width: 100%;
    font-size: var(--t-sm);
  }

  .np-autor-info__row {
    justify-content: center;
  }
}
