/* 公益计划 */
/* commonwealList */
.commonwealList {
    width: 100%;
    box-sizing: border-box;
}
.comwealList {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0.9rem;
    box-sizing: border-box;
    background-color: #fff;
    min-height: 70vh;
}
.comwealList_tentList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.comwealList_tentItem {
    display: flex;
    gap: 0.2rem 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 2.5rem;
    box-sizing: border-box;
    transition: all .5s ease;
}
.comwealList_tentItem:hover {
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.2);
}
.comwealList_tentImg {
    width: 95px;
    border-radius: 50%;
    /* overflow: hidden; */
}
.comwealList_tentImg>img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    transition: all .5s ease;
}
.comwealList_tentItem:hover .comwealList_tentImg>img {
    transform: scale(1.1);
}
.comwealList_tentItem>span:nth-child(2),
.comwealList_tentItem>span:nth-child(3) {
    margin: 0.1rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 显示的行数 */
    -webkit-box-orient: vertical;
    line-height: 1.5em; /* 每行的高度 */
    max-height: 1.5em; /* 最大高度为三行的高度 */
}
.comwealList_tentItem>span:nth-child(2) {
    font-size: 16px;
    color: #333;
}
.comwealList_tentItem>span:nth-child(3) {
    font-size: 13px;
    color: #666;
}
.comwealList_tentItem>span:last-child {
    color: #fff;
    background: #26478a;
    font-size: 15px;
    padding: 0.3rem 1.5rem;
    border-radius: 5px;
    box-sizing: border-box;
    line-height: 1.3em;
    margin-top: 0.9rem;
}