/* =========================
   Author Page (EEAT)
   ========================= */

.author-page{
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header */
.author-header{
  text-align: center;
  margin-bottom: 2rem;
}

.author-avatar{
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem auto;
  display: block;
}

.author-specialty{
  font-weight: 600;
  opacity: 0.85;
  margin-top: .35rem;
}

/* Bio */
.author-bio p{
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

/* =========================
   Topics (Categories)
   ========================= */

/* Topics as a clean 2-col grid */
.author-page .author-topics ul{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.25rem; /* row / col gap */
  list-style: none;
  padding: 0;
  margin: 0;
}

.author-page .author-topic-link{
  display: grid;
  grid-template-columns: 50px 1fr; /* icon + text */
  align-items: center;
  column-gap: 1rem;
  text-decoration: none;
  line-height: 1.2;
  background: transparent; /* evita "badge" gigante */
  padding: 0;              /* limpio tipo lista */
  border-radius: 0;
}

.author-page .author-topic-icon{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.author-page .author-topic-name{
  font-size: 1.05rem;
  font-weight: 700;
}

/* Mobile: 1 column */
@media (max-width: 700px){
  .author-page .author-topics ul{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Responsive: slightly smaller badges on mobile */
@media (max-width: 600px){
  .author-page .author-topics ul{
    gap: 0.6rem;
  }

  .author-page .author-topic-link{
    padding: .5rem .75rem;
  }

  .author-page .author-topic-icon{
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 7px;
  }

  .author-page .author-topic-name{
    font-size: .98rem;
  }
}

/* =========================
   Articles list (avoid theme heading styles)
   ========================= */

.author-page .author-post-list article{
  margin-bottom: 0.9rem;
}

.author-page .author-post-title{
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
}

.author-page .author-post-link{
  text-decoration: none;
}