/* 首页「实力师资」：四列卡片与统一头肩肖像。 */
.teacher-asset .teacher-cards-grid {
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

.teacher-asset .teacher-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 23px 21px 25px;
  border-radius: 17px;
}

/* 四张方形头肩 AI 肖像由唯一的圆形容器裁切；避免缩小 img 造成圆内方框。 */
.teacher-asset .teacher-avatar {
  box-sizing: border-box;
  width: clamp(128px, 13vw, 154px);
  height: clamp(128px, 13vw, 154px);
  flex: 0 0 clamp(128px, 13vw, 154px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #e8eee9;
  box-shadow: 0 0 0 1px #dce6df, 0 7px 18px rgba(28, 51, 49, .05);
}

.teacher-asset .teacher-avatar > img {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.teacher-asset .quote-icon { margin: 0 0 14px; }
.teacher-asset .quote-icon img { width: 22px; height: 22px; }
.teacher-asset .teacher-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}
.teacher-asset .teacher-name { margin-bottom: 10px; }
.teacher-asset .teacher-university,
.teacher-asset .teacher-description { font-size: 12.5px; }
.teacher-asset .teacher-university { line-height: 1.7; margin-bottom: 13px; }
.teacher-asset .teacher-description { line-height: 1.75; margin-bottom: 12px; }
.teacher-asset .achievement-tags {
  margin-top: auto;
  padding-top: 8px;
  gap: 8px;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .teacher-asset .teacher-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .teacher-asset .teacher-cards-grid {
    grid-template-columns: 1fr !important;
  }
}
