/* 面包屑导航的样式 */
.breadcrumb {
  padding: 10px 15px;
  margin-bottom: 20px;
  width: 1200px; /* 设置宽度 */
  margin: 0 auto; /* 居中对齐 */
}

.breadcrumb .home-icon {
  width: 20px; /* 缩小图标大小 */
  height: 20px; /* 缩小图标大小 */
  margin-right: 5px; /* 图标和文字之间的间距 */
  stroke: currentColor; /* 使用当前文本颜色 */
  fill: none; /* 不填充颜色 */
  stroke-width: 2; /* 设置边线宽度 */
  vertical-align: middle; /* 垂直居中显示图标 */
  margin-top: -5px;
}

.breadcrumb a,
.breadcrumb span {
  display: inline-block;
  text-align: left; /* 文字左对齐 */
  text-decoration: none; /* 去掉下划线 */
  font-size: 16px; /* 调整字体大小 */
  color: #555; /* 调整字体颜色 */
}

.breadcrumb a:hover {
  color: #0056b3; /* 鼠标悬停时的颜色 */
}

.breadcrumb .separator {
  color: #6c757d;
  margin: 0 5px;
  font-size: 16px; /* 调整分隔符的字体大小 */
}

.yxrc-talent-section {
  padding: 20px 40px;
}

.yxrc-talent-section .yxrc-talent-header h2 {
  font-size: 36px;
  margin-top: -10px;
  margin-bottom: 20px; /* 减少底部外边距 */
  text-align: center;
}

.yxrc-talent-section .yxrc-talent-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* 减少间距 */
}

.yxrc-talent-section .yxrc-talent-slider a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 15px; /* 添加内边距 */
  border: 1px solid #ddd; /* 添加边框 */
  border-radius: 8px; /* 圆角边框 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影 */
  flex: 0 0 calc(33.333% - 15px); /* 每个链接占据三分之一的宽度，减去间距 */
  box-sizing: border-box; /* 确保内边距和边框不会影响宽度计算 */
}

.yxrc-talent-section .yxrc-talent-slider a img {
  width: 200px;
  height: 300px;
  border-radius: 0%;
  object-fit: cover;
  margin-bottom: 10px;
}

.yxrc-talent-section .yxrc-talent-info {
  font-size: 14px;
}

.yxrc-talent-section .yxrc-talent-name {
  font-weight: bold;
  margin-bottom: 5px;
}

/* 优秀人才详情页面样式 */
.yxrc-talent-detail {
  padding: 20px;
  background: linear-gradient(135deg, #f9f9f9, #eaeaea);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.yxrc-detail-header {
  text-align: center;
}

/* 优秀人才详情页面样式 */
.yxrc-talent-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.yxrc-talent-image img {
  width: 200px;
  height: 300px;
  border-radius: 5%;
  object-fit: cover;
  border: 4px solid #eee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.yxrc-talent-info {
  text-align: center;
}

.yxrc-talent-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.yxrc-talent-title {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
}

.yxrc-talent-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-indent: 2em; /* 首行缩进两字符 */
    text-align: justify; /* 两端对齐 */
    margin: 0;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.pagination a {
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
  margin: 0 4px;
  color: #333;
}

.pagination a:hover {
  background-color: #f1f1f1;
}
@media (max-width: 767px) {

  .content {
  background-color: #fff; /* 设置 content 区域的背景颜色 */
    width: 100%;
    box-sizing:border-box;
    margin:0px;
    padding:10px;
  }
  .yxrc-talent-section .yxrc-talent-header h2 {
    font-size: 18px;
  }
  .yxrc-talent-section .yxrc-talent-slider a img {
    width: 100%;
    height: 150px;
  }
  .yxrc-talent-section .yxrc-talent-slider a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 0 0 calc(48% - 15px);
    box-sizing: border-box;
}
  .yxrc-talent-section .yxrc-talent-slider {
    justify-content: center;
  }
  .yxrc-talent-name {
    font-size: 16px;
  }
     .page-item {
    color: #333333;
    text-decoration: none;
    padding: 4px 8px;
    font-size: 14px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
  .yxrc-talent-title {
  font-size:16px;
  }
}