body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 
    'Microsoft Yahei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
  color: #333;
}
/* 布局工具类 */
.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-1 {
  flex: 1;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.self-center {
  align-self: center;
}

.self-stretch {
  align-self: stretch;
}

.self-start {
  align-self: flex-start;
}

.shrink-0 {
  flex-shrink: 0;
}

.justify-content {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

/* 间距工具类 */
.ml-4 {
  margin-left: 4px;
}

.ml-8 {
  margin-left: 8px;
}

.ml-16 {
  margin-left: 16px;
}

.ml-20 {
  margin-left: 20px;
}

.ml-24 {
  margin-left: 24px;
}

.mt-4 {
  margin-top: 4px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

/* 主容器样式 */
.main-box {
  width: 1200px;
  margin: 20px auto;
  line-height: 1.6;
  font-size: 16px;
  box-sizing: border-box;
}

.banner-img {
  width: 100%;
}

.banner-img img{
  width: 100%;
}

/* 标题样式 */
.section-title-box {
  background-color: #f57f03;
  padding: 15px 0;
}

.section-title-box.blue{
  background-color: #2f6ee0;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.section-subtitle {
  font-size: 14px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.breadcrumb {
  color: #333;
  margin-bottom: 20px;
}

.breadcrumb span {
  color: #f57f03;
}

/* 专家展示区域 */
.expert-showcase {
  gap: 25px;
  padding: 16px;
  background-color: #f3f3f3;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* 专家卡片样式 */
.expert-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.expert-avatar {
  width: 120px;
  height: 160px;
  border-radius: 6px;
  object-fit: cover;
}

.expert-name {
  display: block;
  color: #1a1a1a;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.expert-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expert-list-avatar {
  width: 120px;
  height: 190px;
  border-radius: 6px;
  object-fit: cover;
}

.expertise-sub-desc {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.expertise-sub-item {
  font-size: 13px;
  color: #999;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 咨询按钮 */
.consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background-color: #2f6ee0;
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.consult-btn:hover {
  background-color: #2457c2;
}

.bulletin img {
  width: 100%;
  margin: 15px 0;
}

/* 资讯区域样式 */
.expert-news {
  gap: 25px;
  padding: 16px;
  background-color: #f3f3f3;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-title {
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 500;
  margin: 20px 20px 12px;
  line-height: 1.5;
  transition: color 0.2s ease;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
}

.news-card a{
  text-decoration: none;
}

.news-card a:hover .news-title {
  color: #2f6ee0;
}

.news-desc {
  font-size: 14px;
  color: #666;
  margin: 0 20px 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
}

.news-date {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #999;
  padding: 0 20px 20px;
  word-wrap: break-word;
}

.date-icon {
  /* width: 14px;
  height: 14px; */
  margin-right: 6px;
}

/* 新闻列表 */
.news-list {
  padding: 0;
}

.news-list-grid {
  display: grid;
  gap: 27px;
}

.news-list-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-list-img {
  width: 240px;
  height: 140px;
  border-radius: 6px;
  object-fit: cover;
}

.news-list-card .news-title {
  margin: 0 0 12px;
}

.news-list-card .news-desc {
  margin: 0 0 16px;
}

.news-list-card .news-date {
  padding: 0 0 5px;
}

.news-list-card a{
  text-decoration: none;
}

.news-list-card a:hover .news-title {
  color: #2f6ee0;
}

/* 更多按钮 - 匹配示例样式 */
.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  color: #fff; /* 示例中的蓝色文字 */
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  background-color: #f57f03; /* 白色背景 */
  padding: 10px 24px; /* 增加点击区域 */
  margin-bottom: 35px;
}

.more-btn:hover {
  color: #fff;
  background-color: #e77905; /* 白色背景 */
}

.more-btn.blue {
  background-color: #2f6ee0 ;
}

.more-btn.blue:hover {
  background-color: #2457c2;
}


.more-btn-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.more-btn:hover .more-btn-icon {
  transform: translateX(3px); /* 箭头右移动画 */
}

/* 分页样式 */
.pagination {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.pagination-item {
  display: flex;
  align-items: center;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  background-color: #f0f0f0;
  color: #2f6ee0;
}

.pagination-link.current {
  background-color: #2f6ee0;
  color: #fff;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-color: #fff;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  background-color: #f0f0f0;
  color: #2f6ee0;
}

.pagination-icon {
  width: 16px;
  height: 16px;
}

.ellipsis {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #999;
}

/* 专家头部信息 */
.expert-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: flex-start;
  background-color: #ffffff;
  padding: 50px;
}

.expert-avatar-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
}

/* 专家详情页头像尺寸 */
.expert-header-avatar {
  width: 200px;
  height: 280px;
  border-radius: 6px;
  object-fit: cover;
}

.expert-info {
  max-width: 700px;
}

.expert-header-name {
  display: block;
  color: #1a1a1a;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* 咨询按钮 */
.expert-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: #2f6ee0;
  color: #fff !important;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  height: 50px;
  box-shadow: 0 4px 12px rgba(47, 110, 224, 0.3);
  margin-top: 10px;
}

.expert-header-btn:hover {
  background-color: #2457c2;
  box-shadow: 0 6px 16px rgba(47, 110, 224, 0.4);
  transform: translateY(-2px);
}

.expert-header-btn:active {
  box-shadow: 0 2px 8px rgba(47, 110, 224, 0.3);
  transform: translateY(0);
}

.expert-header-btn .consult-icon {
  width: 20px;
  height: 20px;
}

.expert-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expert-detail-item {
  color: #444444;
  font-size: 16px;
  line-height: 1.6;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 内容区块样式 */
.content-section {
  margin-top: 20px;
  background-color: #ffffff;
  padding: 50px;
}

.title-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  width: 100%;
}

/* 详情页标题样式 */
.exper-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  padding-bottom: 20px;
  position: relative;
}

.exper-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  background-color: #2f6ee0;
  width: 100%;
}

/* 工作履历样式 */
.work-experience {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.experience-item {
  font-size: 18px;
  color: #333333;
  font-weight: 500;
  white-space: nowrap;
}

.experience-desc {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin-top: 8px;
  padding-left: 0;
  max-width: 800px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 项目经历样式 */
.project-experience {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.project-item {
  font-size: 18px;
  color: #333333;
  font-weight: 500;
  white-space: nowrap;
}

.project-desc {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 900px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 个人专长样式 */
.expertise-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.expertise-category {
  font-size: 18px;
  color: #333333;
  font-weight: 500;
  white-space: nowrap;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}

.expertise-item {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  max-width: 800px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 资质展示样式 */
.qualification-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.qualification-item {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  max-width: 600px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.qualification-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.qualification-img {
  flex: 1;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

/* 成功案例样式 */
.case-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.case-title {
  font-size: 18px;
  color: #333333;
  font-weight: 500;
  white-space: nowrap;
}

.case-desc {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  max-width: 900px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.case-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.case-img {
  flex: 1;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

/* 贡献说明样式 */
.contribution-section {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 附件区域样式 */
.attachment-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.attachment-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.attachment-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff6ed;
  color: #f57f03;
  border: none;
  border-radius: 4px;
  height: 47px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.attachment-item:hover {
  background-color: #fff0e0;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(245, 127, 51, 0.15);
}

.attachment-item:active {
  transform: translateY(0);
}

.attachment-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-right: 8px;
}

.attachment-name {
  font-size: 16px;
  color: #f57f03;
  white-space: nowrap;
}

.download-icon {
  margin-left: 5px;
  font-size: 14px;
}

/* 申请表单容器 */
.expert-application {
  background-color: #fff;
  padding: 40px;
  border-radius: 4px;
  position: relative;
}

/* 标题样式（匹配设计稿） */
.application-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 50px;
  font-weight: 600;
  color: #1a1a1a;
}

/* 照片上传区域（匹配设计稿） */
.photo-upload-container {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.photo-img {
  width: 100px;
  height: 120px;
  border: 1px solid #ddd;
  position: relative;
  overflow: hidden;
}

.photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 上传按钮容器*/
.upload-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 25px;
}

.expert-application .layui-form-label {
  width: 130px;
}

.expert-application .layui-input-block {
  margin-left: 130px;
}

/* 上传列表 */
.upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}
/* 单个文件项 */
.file-item {
  width: calc(25% - 12px);
  min-width: 160px;
  background: #fafafa;
  border-radius: 6px;
  padding: 12px;
  position: relative;
  border: 1px solid #eee;
}
/* 文件预览 */
.file-preview {
  width: 100%;
  height: 120px;
  background: #f0f0f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}
.file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-icon {
  font-size: 36px;
  color: #2f6ee0;
}
/* 文件名输入框 */
.file-name-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
  box-sizing: border-box;
}
.file-name-input:focus {
  border-color: #2f6ee0;
  box-shadow: 0 0 0 2px rgba(47, 110, 224, 0.1);
}
/* 删除按钮 */
.file-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 77, 79, 0.1);
  color: #ff4d4f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}
.file-delete:hover {
  background: #ff4d4f;
  color: #fff;
}
/* 上传状态 */
.file-status {
  font-size: 12px;
  text-align: center;
  color: #666;
}
.status-uploading {
  color: #2f6ee0;
}
.status-success {
  color: #52c41a;
}
.status-error {
  color: #ff4d4f;
}

.el-alert {
  width: 100%;
  padding: 8px 16px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  opacity: 1;
  display: flex;
  align-items: center;
  transition: opacity .2s;
  background-color: #fef0f0;
  color: #f56c6c;
  margin-bottom: 10px;
}

.submit-button {
  display: block;
  width: 130px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #165dff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #467af1;
}

.submit-btn {
  width: 100%;
  height: 48px;
  line-height: 48px;
}

/* 自定义弹窗皮肤样式 */
.custom-contact-layer .layui-layer-title {
  color: #333;
  font-size: 24px;
  text-align: center;
  border: none;
  padding: 0 16px;
  margin-top: 30px;
}
.custom-contact-layer {
  border-radius: 8px;
  overflow: hidden;
}

.contact_expert {
  padding: 35px 45px;
}

.contact_expert .layui-form-item {
  margin: 0 0 18px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
}
.contact_expert .layui-form-label {
  width: 100px;
  height: 47px;
  line-height: 29px;
  background: #fff;
  border: 0;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
  color: #333;
}

.contact_expert .layui-input-block {
  margin-left: 100px;
  min-height: 47px;
  line-height: 47px;
}

.contact_expert .layui-input,
.contact_expert .layui-select {
  border: none;
  height: 47px;
  line-height: 47px;
  padding: 0 15px;
  font-size: 14px;
  color: #666;
}

.contact_expert .layui-form-select .layui-edge {
  right: 15px;
}

.layui-form-item .layui-form-error {
  position: absolute;
  top: 100%;
  left: 0;
  color: #ff4d4f !important;
  font-size: 12px;
  margin-top: 4px;
}