* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
a { color: inherit; }

.patent-expert-wrap {
  min-height: 100vh;
  background-color: #f0f2f5;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 专家资料卡 */
.expert-profile-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  margin-bottom: 24px;
}
.expert-profile-card .profile-header { display: flex; align-items: center; gap: 30px; margin-bottom: 24px; }
.expert-profile-card .avatar-placeholder {
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold; border: 3px solid rgba(255,255,255,0.5);
}
.expert-profile-card h1 { margin: 0 0 8px; font-size: 32px; font-weight: 600; }
.expert-profile-card .subtitle { margin: 0 0 16px; font-size: 16px; opacity: 0.9; }
.expert-profile-card .tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag { padding: 4px 12px; border-radius: 20px; font-size: 14px; font-weight: 500; }
.tag-primary { background: rgba(255,255,255,0.2); color: #fff; }
.tag-success { background: rgba(103,194,58,0.3); color: #e1f3d8; }
.tag-warning { background: rgba(230,162,60,0.3); color: #fdf6ec; }
.expert-profile-card .profile-summary { font-size: 16px; line-height: 1.8; opacity: 0.95; }

/* 内容布局 */
.content-container { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.main-content { display: flex; flex-direction: column; gap: 20px; }
.sidebar { display: flex; flex-direction: column; gap: 20px; }

/* 卡片通用 */
.section-card, .sidebar-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.card-header { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #303133; margin-bottom: 16px; }
.card-icon { font-size: 18px; }
.section-content p { color: #606266; line-height: 1.8; margin-bottom: 16px; }

/* 时间线 */
.timeline-item { display: flex; gap: 16px; padding: 16px 0; position: relative; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 36px; bottom: 0; width: 2px; background: #E4E7ED; }
.timeline-marker { width: 12px; height: 12px; border-radius: 50%; background: #409EFF; margin-top: 4px; flex-shrink: 0; }
.timeline-content h4 { margin: 0 0 8px; font-size: 16px; color: #303133; }
.timeline-content p { margin: 0; color: #606266; line-height: 1.6; }

/* 工具网格 */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-item { background: #f5f7fa; border-radius: 12px; padding: 20px; transition: all 0.3s; }
.tool-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.tool-icon { font-size: 32px; margin-bottom: 12px; }
.tool-item h4 { margin: 0 0 8px; font-size: 16px; color: #303133; }
.tool-item p { margin: 0; font-size: 14px; color: #909399; line-height: 1.6; }

/* 寓意区块 */
.meaning-section { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 20px; }
.meaning-item { display: flex; gap: 16px; }
.meaning-icon { width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(135deg, #409EFF, #764ba2); color: #fff; font-size: 28px; font-weight: bold; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.meaning-text h4 { margin: 0 0 8px; font-size: 16px; color: #303133; }
.meaning-text p { margin: 0; font-size: 14px; color: #909399; line-height: 1.6; }
.meaning-summary { background: #f5f7fa; padding: 16px 20px; border-radius: 8px; }
.meaning-summary p { margin: 0; color: #606266; line-height: 1.8; }

/* 书籍推荐 */
.book-recommendation { display: flex; gap: 24px; align-items: center; }
.book-cover { width: 100px; height: 140px; background: linear-gradient(135deg, #409EFF, #764ba2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 48px; flex-shrink: 0; }
.book-info h4 { margin: 0 0 4px; font-size: 18px; color: #303133; }
.book-info p { margin: 0 0 12px; color: #909399; }
.book-links { display: flex; gap: 16px; margin-bottom: 8px; }
.book-link { color: #409EFF; text-decoration: none; padding: 4px 12px; border: 1px solid #409EFF; border-radius: 4px; font-size: 14px; }
.book-link.jd { color: #e63946; border-color: #e63946; }
.reading-tip { font-size: 14px; color: #E6A23C; }

/* 侧边栏技能 */
.skills-list .skill-item { margin-bottom: 16px; }
.skills-list .skill-item:last-child { margin-bottom: 0; }
.skill-name { display: block; margin-bottom: 8px; font-size: 14px; color: #606266; }
.progress-bar { height: 8px; background: #E4E7ED; border-radius: 4px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #409EFF, #67C23A); border-radius: 4px; }

/* 侧边栏链接 */
.links-list { display: flex; flex-direction: column; gap: 10px; }
.link-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f5f7fa; border-radius: 8px; text-decoration: none; color: #606266; transition: all 0.3s; }
.link-item:hover { background: #ecf5ff; color: #409EFF; }
.link-item span:last-child { font-size: 14px; }

/* 联系方式 */
.contact-card .contact-info p { margin: 0 0 16px; color: #909399; font-size: 14px; }
.contact-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f5f7fa; border-radius: 8px; font-size: 14px; color: #606266; }

/* 页脚 */
.footer-icp { text-align: center; color: #909399; font-size: 12px; padding: 20px 0; margin-top: 40px; }

@media (max-width: 1024px) {
  .content-container { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1; min-width: 280px; }
}
@media (max-width: 768px) {
  .patent-expert-wrap { padding: 16px; }
  .expert-profile-card { padding: 24px; }
  .expert-profile-card .profile-header { flex-direction: column; text-align: center; }
  .expert-profile-card .tags { justify-content: center; }
  .tool-grid { grid-template-columns: 1fr; }
  .meaning-section { grid-template-columns: 1fr; }
  .book-recommendation { flex-direction: column; text-align: center; }
}
