/**
 * 创始人介绍页面样式
 * 公共样式，三个创始人页面共用
 */

/* 创始人头像 */
.founder-avatar {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid #fff;
  display: inline-block;
}

/* 文章头部间距 */
.article-header {
  margin-bottom: 28px;
}

.article-header .article-title {
  margin-top: 8px;
}

/* 文章正文 - 增加呼吸感 */
.article-body p {
  margin-bottom: 16px !important;
  line-height: 1.9 !important;
}

/* 二级标题 - 增加上方间距，形成分节感 */
.article-body h2 {
  margin-top: 36px !important;
  margin-bottom: 16px !important;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  font-size: 1.15rem !important;
}

/* 三级标题 */
.article-body h3 {
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

/* 列表项 - 增加行间距 */
.article-body li {
  margin-bottom: 10px !important;
  line-height: 1.7 !important;
}

/* 引用块 - 增加内边距和视觉区分 */
.article-body blockquote {
  margin: 20px 0 !important;
  padding: 16px 20px !important;
  background: rgba(147, 51, 234, 0.04);
  border-left: 4px solid var(--primary, #6f42c1);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.article-body blockquote p {
  margin-bottom: 0 !important;
}

/* 表格 - 增加行间距 */
.article-body table {
  font-size: 0.9rem;
  margin-top: 12px;
  margin-bottom: 20px;
}

.article-body table th {
  background-color: var(--primary-color, #6f42c1);
  color: #fff;
  font-weight: 500;
}

.article-body table td,
.article-body table th {
  vertical-align: middle;
  padding: 10px 12px !important;
}

.article-body table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* mark 高亮 - 优化样式 */
.article-body mark {
  background: linear-gradient(120deg, rgba(255, 200, 50, 0.25) 0%, rgba(255, 200, 50, 0.15) 100%);
  padding: 1px 4px;
  border-radius: 3px;
  color: inherit;
  font-weight: 500;
}

/* abbr 缩写 - 优化样式 */
.article-body abbr {
  text-decoration: none;
  border-bottom: 1px dotted var(--primary, #6f42c1);
  cursor: help;
  color: var(--primary, #6f42c1);
  font-weight: 500;
}

/* kbd 标签 - 优化样式 */
.article-body kbd {
  background: var(--primary, #6f42c1);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 6px;
  box-shadow: none;
}

/* 内容卡片 - 增加内边距 */
.content-card.article-content-wrapper {
  padding: 24px !important;
}

/* 文章底部标签区 */
.article-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tag-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tag-item {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(147, 51, 234, 0.06);
  color: var(--primary, #6f42c1);
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.tag-item:hover {
  background: rgba(147, 51, 234, 0.12);
}

/* 响应式 */
@media (max-width: 768px) {
  .founder-avatar {
    width: 100px !important;
    height: 100px !important;
  }

  .article-body p {
    margin-bottom: 14px !important;
    line-height: 1.85 !important;
  }

  .article-body h2 {
    margin-top: 28px !important;
    margin-bottom: 14px !important;
  }

  .article-body h3 {
    margin-top: 20px !important;
  }

  .article-body table {
    font-size: 0.85rem;
  }

  .content-card.article-content-wrapper {
    padding: 18px !important;
  }
}

@media (min-width: 992px) {
  .content-card.article-content-wrapper {
    padding: 36px !important;
  }

  .article-body p {
    margin-bottom: 18px !important;
    line-height: 1.95 !important;
  }

  .article-body h2 {
    margin-top: 44px !important;
    margin-bottom: 20px !important;
    font-size: 1.25rem !important;
  }

  .article-body h3 {
    margin-top: 28px !important;
    margin-bottom: 14px !important;
  }

  .article-body li {
    margin-bottom: 12px !important;
  }

  .article-header {
    margin-bottom: 36px;
  }
}
