/* Author archive — E-E-A-T card above the post list */

body.author .page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, Canvas 96%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, #000 4%, transparent);
}

html[data-mh-theme="dark"] body.author .page-header {
  background: #1a1a1c;
  border-color: #333;
  box-shadow: none;
}

body.author .page-header .page-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
}

body.author .page-header .page-title .avatar {
  flex: 0 0 auto;
  width: 5.5rem !important;
  height: 5.5rem !important;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, currentColor 14%, transparent);
}

body.author .page-header .page-title .vcard {
  font-weight: 700;
}

body.author .mh-author-specialty {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.78;
  line-height: 1.35;
}

body.author .page-header .author-info {
  margin: 0.15rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}
