/* 个人信息栏专用样式：保留照片、220px 栏宽与原有字体，不影响正文。 */
.author-profile {
  --profile-icon-width: 24px;
  --profile-icon-gap: 9px;
  --profile-group-gap: 14px;
  --profile-photo-offset: -18px; /* 照片轻微左移，使其与左对齐姓名视觉上大致居中。 */
}
.author-profile .bio-photo {
  display: block;
  float: none;
  max-width: 100%;
  height: auto;
  margin: 0 0 0 var(--profile-photo-offset);
}
/* 照片到姓名的间距；原先实际约45px，现为26px。 */
.author-profile .profile-identity { margin-top: 26px; }
/* 姓名、身份介绍和链接保持左对齐，仅微调照片的位置。 */
.author-profile .profile-identity h3 { margin: 0 0 8px; line-height: 1.15; text-align: left; }
.author-profile .profile-bio {
  margin: 0 0 18px;
  font-family: 'PT Serif', serif;
  font-size: 15px;
  line-height: 1.6;
  font-style: normal;
  text-indent: 0;
}
.author-profile .profile-links { text-align: left; font-size: 16px; font-style: normal; }
.author-profile .profile-links__group + .profile-links__group { margin-top: var(--profile-group-gap); }

/* 整行可点击；负边距只扩展点击背景，图标仍对齐侧栏左边缘。 */
.author-profile .profile-row {
  display: flex;
  align-items: center;
  gap: var(--profile-icon-gap);
  min-height: 30px;
  box-sizing: border-box;
  margin: 0 -6px;
  padding: 4px 6px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  font-size: 16px;
  font-style: normal;
  line-height: 22px;
  text-indent: 0;
  text-decoration: none;
}
.author-profile a.profile-row,
.author-profile a.profile-row:visited {
  position: static;
  color: inherit;
  text-decoration: none;
  transition: color .15s, background-color .15s;
}
.author-profile a.profile-row:hover { color: #286b93; background: #f0f5f8; text-decoration: none; }
.author-profile a.profile-row:focus-visible { outline: 2px solid #286b93; outline-offset: 2px; }
.author-profile .profile-icon-column {
  display: inline-flex;
  flex: 0 0 var(--profile-icon-width);
  width: var(--profile-icon-width);
  align-items: center;
  justify-content: center;
}
/* 图片内部留白不同，按视觉大小校准，不强制所有图片同高。 */
.author-profile .profile-icon { display: block; height: 20px; width: auto; max-width: 24px; }
.author-profile .profile-icon--inspire,
.author-profile .profile-icon--cv { height: 18px; }
.author-profile .profile-icon--ads { height: 22px; }

/* CV 沿用普通图标链接的外观与 hover，不再使用独立按钮背景和边框。 */
@media (prefers-reduced-motion: reduce) {
  .author-profile a.profile-row { transition: none; }
}
