
.team{
    background-color: #add8e6;
    padding-top: 5em ;
    padding-bottom: 5em;
}
.teamtxt h1{
    font-size: 45px;
    text-align: center;
    color: #000;
    margin-bottom: 50px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}
@media (max-width: 440px) {
    .teamtxt h1{
        font-size: 32px;
    }
}
.team .container{
    max-width: 1170px;
}
.teamimg .ppimgbox{
    width: 100%;
    height: 260px;
    position: relative;
    overflow: hidden;
}
.teamimg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t-info {
    box-sizing: border-box;
    text-align: center;
    padding: 25px 10px;
    background: #fff;
}
.t-info h5 {
    font-size: 28px;
    color: #e3117c;
    letter-spacing: 1.5px;
}
.t-info p {
    font-size: 14px;
    color: #000;
    line-height: 23px;
    margin-top: 1.5em;
}

/* 价格遮罩层初始状态：移出顶部 */
.price-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* 半透明背景，可选 */
  color: #fff;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out; /* 动画过渡 */
  
  /* 关键：向上平移 100% 彻底隐藏 */
  transform: translateY(-100%); 
}

/* 预留换行符支持 */
.price-overlay p {
  white-space: pre-line;
  margin: 0;
}

/* 鼠标悬浮在触发器上时，将位移归零 */
.teamimg:hover .price-overlay {
  transform: translateY(0);
}