body {
  padding-top: 3rem;
}


.expertPage {
  min-height: 6rem;
  background: #f7f7f7;
}
.expertDetail{
  background-color: #fff;
}

.expertBread {
  height: 0.6rem;
  border-top: 0.01rem solid #f1f1f1;
  border-bottom: 0.01rem solid #f1f1f1;
  background: #fff;
}
.expertBread .main {
  display: flex;
  align-items: center;
  height: 100%;
  color: #999;
  font-family: "PingFang SC", sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
}
.expertBread strong {
  color: #333;
  font-weight: 400;
}
.expertGrid {
  display: grid;
  grid-template-columns: repeat(5, 2.52rem);
  gap: 0.4rem 0.35rem;
  margin-top: 0.4rem;
  padding-bottom: 0.49rem;
}
.expertGrid .item {
  position: relative;
  display: block;
  height: 3.54rem;
  color: inherit;
  text-decoration: none;
}
.expertGrid .imgBox {
  width: 2.52rem;
  height: 2.52rem;
  overflow: hidden;
  border-radius: 0.1rem;
}
.expertGrid .imgBox img {
  display: block;
  width: 2.52rem;
  height: 2.52rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.expertInfo {
  position: absolute;
  top: 2.04rem;
  right: 0.12rem;
  left: 0.12rem;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  height: 1.5rem;
  overflow: hidden;
  padding: 0.16rem 0.2rem 0.12rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
}
.expertInfo b {
  display: block;
  color: #1a1a1a;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 0.28rem;
}
.expertInfo em {
  display: block;
  margin: 0.03rem 0 0 0.21rem;
  color: #333;
  font-family: "PingFang SC", sans-serif;
  font-size: 0.16rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.28rem;
}
.expertInfo i {
  display: -webkit-box;
  flex: 0 0 100%;
  overflow: hidden;
  margin-top: 0.08rem;
  color: #666;
  font-family: "PingFang SC", sans-serif;
  font-size: 0.14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.2rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.expertGrid .item:hover .expertInfo {
  background-color: #da261d;
}
.expertGrid .item:hover * {
  color: #fff;
}
.expertGrid .item:hover .imgBox img {
  transform: scale(1.08);
}

.expertProfile {
  padding: 0.32rem 0 0.8rem;
  text-align: center;
}
.expertProfile > img {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  border-radius: 0.06rem;
  object-fit: cover;
}
.expertProfile h1 {
  margin-top: 0.22rem;
  color: #1a1a1a;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 0.3rem;
}
.expertRole {
  margin-top: 0.06rem;
  color: #333;
  font-family: "PingFang SC", sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 0.24rem;
}
.profileText {
  margin-top: 0.28rem;
  color: #333;
}
.profileText p {
  margin-top: 0.12rem;
  font-family: "PingFang SC", sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 0.32rem;
  text-align: left;
  text-indent: 2em;
}
@media (max-width: 900px) {
  body {
    padding-top: 1.5rem;
  }
  .expertGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0.15rem;
  }
  .expertGrid .item,
  .expertGrid .imgBox,
  .expertGrid .imgBox img {
    width: 100%;
  }
  .expertProfile {
    padding-top: 0.3rem;
  }
  .expertProfile > img {
    width: min(4rem, 88vw);
    height: min(4rem, 88vw);
  }
  .profileText {
    font-size: 0.15rem;
    line-height: 0.28rem;
  }
}

@media (max-width: 900px) {
  .expertBread {
    height: 0.72rem;
  }

  .expertBread .main {
    font-size: 0.22rem;
  }

  .expertGrid {
    gap: 0.28rem 0.18rem;
    margin-top: 0.28rem;
    padding-bottom: 0.42rem;
  }

  .expertGrid .item {
    height: 3.95rem;
  }

  .expertGrid .imgBox,
  .expertGrid .imgBox img {
    height: 2.7rem;
  }

  .expertInfo {
    top: 2.15rem;
    right: 0.1rem;
    left: 0.1rem;
    height: 1.62rem;
    padding: 0.16rem 0.16rem 0.12rem;
  }

  .expertInfo b {
    font-size: 0.24rem;
    line-height: 0.34rem;
  }

  .expertInfo em {
    flex: 0 0 100%;
    margin: 0.04rem 0 0;
    font-size: 0.18rem;
    line-height: 0.26rem;
  }

  .expertInfo i {
    margin-top: 0.08rem;
    font-size: 0.18rem;
    line-height: 0.28rem;
    -webkit-line-clamp: 2;
  }

  .expertProfile {
    padding-bottom: 0.52rem;
  }

  .expertProfile h1 {
    margin-top: 0.24rem;
    font-size: 0.28rem;
    line-height: 0.4rem;
  }

  .expertRole {
    font-size: 0.22rem;
    line-height: 0.32rem;
  }

  .profileText p {
    font-size: 0.22rem;
    line-height: 0.4rem;
  }
}
