.letter {
  background: #f7f7f5;
  display: flex;
  padding: 17px 39px;
  margin: 50px 60px 38px 60px;
}
.letter span a {
  width: 50px;
  display: inline-block;
  background: #cea96a;
  color: #ffffff;
  padding: 0;
  text-align: center;
  margin-right: 40px;
  font-size: 18px;
}
.letter ul {
  display: flex;
  flex-wrap: wrap;
}
.letter ul li {
  margin-bottom: 8px;
}
.letter ul li a {
  height: 60px;
  font-size: 14px;
}
.letter a {
  padding: 4px 11px;
}
.letter ul li:hover a {
  background: #cea96a;
  color: #ffffff;
}

.peopleList {
  display: flex;
  gap: 50px;
  margin: 0 60px;
  flex-wrap: wrap;
}
.peopleItem {
  width: 29.5%;
  height: 26rem;
  border: solid 1px #d8d8d8;
  position: relative;
  overflow: hidden;
}
.peopleItem img {
  width: 100%;
  height: 100%;
}
.peopleItem .name {
  color: #ffffff;
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出的内容 */
  text-overflow: ellipsis; /* 显示省略号 */
}
.peopleItem .content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}
.peopleItem .peopleInfo {
  background: #fdda38;
  width: 100%;
  height: 30%;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.6s ease-out;
  display: none;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.peopleItem .peopleInfo .name a {
  font-size: 23px;
  word-break: break-all;
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出的内容 */
  text-overflow: ellipsis; /* 显示省略号 */
}
.peopleItem .peopleInfo .content a {
  font-size: 17px;
  line-height: 27px;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.peopleItem .peopleInfo a {
  color: #000000;
}
.peopleItem:hover img {
  transform: scale(1.1);
  transition: all 0.2s;
}
.peopleItem:hover .peopleInfo {
  display: block;
}
.selSelecd {
  display: flex;
  margin: 0 60px;
  margin-top: 54px;
  border: solid 1px #d8d8d8;
  align-items: center;
}
.selSelecd a {
  font-size: 19px;
  min-height: 54px;
  line-height: 54px;
  text-align: center;
  /* padding: 19px 48px; */
  border-right: solid 1px #d8d8d8;
}
.selSelecd a.active {
  background: #fdda38;
  color: #7b5f20;
}
.selSelecd a:nth-child(1) {
  padding: 0 26px;
  width: 23%;
}
.selSelecd a:nth-child(2),
.selSelecd a:nth-child(3) {
  width: 30%;
}
.selSelecd a:nth-child(4) {
  width: 17%;
}
.selSelecd a img {
  width: 14px;
  height: 12px;
  margin-left: 34px;
}
/* 使用伪元素添加自定义箭头 */
.subject-select {
  appearance: none; /* 移除默认样式 */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url("../images/peopleArrow.png") no-repeat right 10px center;
  background-size: 14px 12px;
  padding: 8px 30px 8px 30px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 18px;
  color: #2e2e2e;
}
@media screen and (max-width: 1450px) {
  .peopleList {
    gap: 2.8rem;
  }
  .peopleItem .peopleInfo {
    height: 35%;
  }
  .selSelecd a:nth-child(1) {
    width: 28%;
  }
}
@media screen and (max-width: 1300px) {
  .peopleList {
    gap: 2rem;
  }
  .peopleItem {
    width: 30.4%;
  }
}
@media screen and (max-width: 1240px) {
  .peopleList {
    gap: 2rem;
  }
  .peopleItem {
    width: 29%;
    height: 16rem;
    /* height: 260px; */
  }
  .peopleItem .peopleInfo {
    height: 43%;
    padding: 8px;
  }
  .selSelecd a:last-child {
    display: none;
  }
  .selSelecd a:nth-child(2),
  .selSelecd a:nth-child(3) {
    width: 35%;
  }
  .selSelecd a:nth-child(2) {
    border-right: solid 1px #d8d8d8;
  }
  .selSelecd a {
    border-right: none;
  }

  .peopleItem .peopleInfo a {
    font-size: 14px !important;
    line-height: 22px !important;
  }
  .selSelecd a {
    font-size: 16px;
  }
}
@media screen and (max-width: 1000px) {
  .letter span a {
    width: 0.78rem;
    font-size: 0.23rem;
    margin-right: 0.2rem;
    height: 0.32rem;
    display: flex;
    justify-content: center;
  }
  .letter ul li {
    margin-bottom: 0.1rem;
  }
  .letter ul li a {
    height: 0.34rem;
    font-size: 0.18rem;
    padding: 0.08rem 0.2rem;
  }
  .letter ul {
    font-size: 0.18rem;
  }
  .letter {
    margin: 0.43rem 0;
    padding: 0.13rem 0.15rem;
  }
  .peopleList {
    margin: 0;
    gap: 0.2rem;
  }
  .peopleItem {
    width: 31.3%;
    height: 3.23rem;
  }
  .peopleItem .peopleInfo {
    padding: 0.14rem 0.1rem;
  }
  .peopleItem .peopleInfo .name a {
    font-size: 0.18rem !important;
    line-height: 0.4rem !important;
  }
  .peopleItem .peopleInfo .content a {
    font-size: 0.14rem !important;
    line-height: 0.23rem !important;
  }
  .peopleItem .name,
  .peopleItem .content {
    display: grid;
  }
  .selSelecd {
    margin: 0;
    margin-top: 0.59rem;
  }
  .selSelecd a {
    font-size: 0.18rem;
    min-height: 0.47rem;
    line-height: 0.47rem;
  }
  .selSelecd a:nth-child(1) {
    padding: 0 0.3rem;
  }
  .selSelecd a:nth-child(2),
  .selSelecd a:nth-child(3) {
    width: 36%;
  }
  .selSelecd a:nth-child(2) {
    border-right: solid 1px #d8d8d8;
  }
  .selSelecd a {
    border-right: none;
  }
  .selSelecd a img {
    width: 0.14rem;
    height: 0.1rem;
    margin-left: 0.27rem;
  }
  .peopleItem .peopleInfo {
    height: 37% !important;
  }
  #pg-wrap .page {
    padding: 0.1rem 0 0 0;
  }
}
