/**
 * Autoria editorial: proporção estável e alinhamento entre tema e núcleo.
 * Somente componentes de perfil; não afeta fotografias das matérias.
 */
body.enc-premium-site .enc-author-card {
  --enc-avatar-size: 88px;
  grid-template-columns: var(--enc-avatar-size) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
body.enc-premium-site .enc-author-card > div,
body.enc-premium-site .enc-author-box > div,
body.enc-premium-site .enc-single-author-mini > div,
body.enc-premium-site .enc-author-profile__content {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.enc-premium-site .enc-author-card h2 {
  margin: 5px 0 9px;
  padding: 0;
  border: 0;
  font-size: clamp(23px, 2vw, 27px);
  line-height: 1.2;
}
body.enc-premium-site .enc-author-card p {
  margin: 0 0 12px;
}
body.enc-premium-site .enc-author-card nav {
  align-items: center;
  gap: 8px 14px;
}
body.enc-premium-site .enc-author-card nav a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}
body.enc-premium-site .enc-author-card > div > .enc-team-author-type {
  color: #796016;
}
body.enc-premium-site .enc-author-box {
  --enc-avatar-size: 96px;
  display: grid;
  grid-template-columns: var(--enc-avatar-size) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
body.enc-premium-site .enc-author-box h2 {
  margin: 6px 0 8px;
  padding: 0;
  border: 0;
  line-height: 1.2;
}
body.enc-premium-site .enc-single-author-mini {
  --enc-avatar-size: 52px;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
body.enc-premium-site .enc-author-profile__inner {
  --enc-avatar-size: 176px;
  display: grid;
  grid-template-columns: var(--enc-avatar-size) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}
body.enc-premium-site .enc-author-profile__photo {
  width: var(--enc-avatar-size);
  height: var(--enc-avatar-size);
  min-width: 0;
  align-self: center;
}
body.enc-premium-site :is(.enc-author-card, .enc-author-box, .enc-single-author-mini, .enc-author-profile__photo) > :is(img.avatar, img.enc-team-avatar) {
  box-sizing: border-box;
  display: block;
  float: none;
  width: var(--enc-avatar-size);
  min-width: var(--enc-avatar-size);
  max-width: var(--enc-avatar-size);
  height: var(--enc-avatar-size);
  min-height: var(--enc-avatar-size);
  max-height: var(--enc-avatar-size);
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  flex: 0 0 var(--enc-avatar-size);
  align-self: start;
  border: 3px solid var(--enc-gold, #b6922e);
  border-radius: 50%;
  background: #f5f7fb;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}
body.enc-premium-site .enc-single-author-mini > :is(img.avatar, img.enc-team-avatar) {
  border-width: 2px;
  align-self: center;
}
body.enc-premium-site .enc-author-profile__photo > :is(img.avatar, img.enc-team-avatar) {
  align-self: center;
  border-color: #d9c77f;
}
body.enc-premium-site .enc-author-profile .enc-author-profile__content h1 {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
body.enc-premium-site .enc-author-profile__links a {
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}
body.enc-premium-site .enc-author-profile__links a:hover,
body.enc-premium-site .enc-author-profile__links a:focus-visible {
  color: #0a2351;
  background: #eadb9d;
  border-color: #eadb9d;
}
body.enc-premium-site :is(.enc-author-card, .enc-author-box, .enc-author-profile) a:focus-visible {
  outline: 3px solid #b6922e;
  outline-offset: 4px;
}
@media (max-width: 960px) and (min-width: 681px) {
  body.enc-premium-site .enc-authors-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  body.enc-premium-site .enc-author-card {
    --enc-avatar-size: 72px;
    gap: 16px;
    padding: 20px;
  }
  body.enc-premium-site .enc-author-card h2 {
    font-size: 23px;
  }
  body.enc-premium-site .enc-author-box {
    --enc-avatar-size: 80px;
    align-items: start;
    gap: 18px;
    padding: 22px;
  }
  body.enc-premium-site .enc-author-profile__inner {
    --enc-avatar-size: 112px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }
  body.enc-premium-site .enc-author-profile__content {
    width: 100%;
  }
  body.enc-premium-site .enc-author-profile__specialties,
  body.enc-premium-site .enc-author-profile__facts,
  body.enc-premium-site .enc-author-profile__links {
    justify-content: center;
  }
  body.enc-premium-site .enc-single-byline {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 380px) {
  body.enc-premium-site .enc-author-card,
  body.enc-premium-site .enc-author-box {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
