/* =====================================================
   OLHAPAUTA — AUTHOR.CSS
   Perfil do autor (bonito e legível)
===================================================== */

.author-archive{
  padding: 28px 0 54px;
}

.author-header{
  background: #fff;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 14px;
  padding: 18px;
  margin: 0 0 22px;
}

.author-header__inner{
  display:flex;
  gap:16px;
  align-items:flex-start;
  min-width:0;
}

.author-header__avatar{
  flex:0 0 auto;
}

.author-avatar{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background:#fff;
}

.author-header__info{
  min-width:0;
}

.author-name{
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 2px 0 8px;
}

.author-meta{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 13px;
  color: rgba(15,23,42,0.70);
  margin-bottom: 10px;
}

.author-dot{
  opacity:.45;
}

.author-link{
  color:#0f172a;
  text-decoration:none;
  border-bottom: 1px solid rgba(15,23,42,0.18);
  padding-bottom: 1px;
}
.author-link:hover{
  color: var(--accent, #e53935);
  border-bottom-color: rgba(229,57,53,0.35);
}

.author-bio{
  margin:0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(15,23,42,0.78);
  max-width: 80ch;
}
.author-bio--empty{
  opacity:.9;
}

.author-posts__title{
  margin: 18px 0 14px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #0f172a;
}

.author-posts__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.author-card{
  background:#fff;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 14px;
  overflow:hidden;
}

.author-card__link{
  display:block;
  text-decoration:none;
  color: inherit;
}

.author-card__thumb{
  background: #f1f5f9;
}

.author-card__img{
  width:100%;
  height:auto;
  display:block;
}

.author-card__img--placeholder{
  width:100%;
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, rgba(15,23,42,0.06), rgba(15,23,42,0.03), rgba(15,23,42,0.06));
}

.author-card__body{
  padding: 14px 14px 16px;
}

.author-card__topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}

.author-card__cats{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.author-card__cats a{
  color: var(--accent, #e53935);
  text-decoration:none;
}
.author-card__cats a:hover{
  text-decoration: underline;
}

.author-card__date{
  font-size: 12px;
  color: rgba(15,23,42,0.62);
  white-space: nowrap;
}

.author-card__title{
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px;
}

.author-card__excerpt{
  margin:0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15,23,42,0.78);
}

.author-card:hover{
  border-color: rgba(229,57,53,0.28);
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

.author-pagination{
  margin-top: 18px;
}

/* responsivo */
@media (max-width: 900px){
  .author-posts__grid{
    grid-template-columns: 1fr;
  }
  .author-name{
    font-size: 22px;
  }
}
