.banner {
    background: url("https://img.asiancancer.com/images/newmoderncancerthai/images/MDT_team.webp") no-repeat center;
    background-size: cover;
}

.team-content .text {
    font-size: 16px;
    margin: 20px 0;
    font-weight: 400;
    color: #666666;
}

.team-content .doc_list {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}

.team-content .doc_list .doc_c {
    border-radius: 16px;
    background: #ffffff;
    width: calc(25% - 12px);
    /*height: 530px;*/
    margin-right: 16px;
    margin-bottom: 16px;
    box-shadow: 0 16px 5px -12px rgb(0 0 0 / 5%), 0 4px 15px 0 rgb(0 0 0 / 5%), 0 8px 10px -5px rgb(0 0 0 / 5%);
    transition: all 1s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.team-content .doc_list .doc_c:nth-child(4n) {
    margin-right: 0;
}

.team-content .doc_list .doc_c .doc_c_p {
    width: 100%;
    text-align: center;
}

.team-content .doc_list .doc_c .doc_c_p a {
    width: 100%;
    display: block;
    padding: 20px 20px 0 20px;
    box-sizing: border-box;
}

.team-content .doc_list .doc_c .doc_c_p a img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-content .doc_list .doc_c dl {
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    flex-grow: 1;
    -webkit-flex-grow: 1;
    position: relative;
}

.team-content .doc_list .doc_c dl dt {
    font-size: 25px;
    font-weight: bold;
    color: #333333;
    line-height: initial;
}

.team-content .doc_list .doc_c dl dd.first {
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 2;*/
    width: 100%;
    margin: 5px 0;
    box-sizing: border-box;
    border-radius: 5px;
}

.team-content .doc_list .doc_c dl dd.first span {
    display: inline-block;
    color: #2A78BA;
    background: #e9f1f8;
    font-size: 16px;
    padding: 0 5px;
    margin: 0 5px 5px 0;
    box-sizing: border-box;
    white-space: normal;
}

.team-content .doc_list .doc_c dl dd.first span br {
    display: none;
}

.team-content .doc_list .doc_c dl dd.first span:last-child {
    margin-bottom: 0;
    margin-right: 0;
}

.team-content .doc_list .doc_c dl dd.second {
    color: #666666;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 50px;
}

.team-content .doc_list .doc_c p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 20px;
}

.team-content .doc_list .doc_c p a {
    width: 102px;
    border-radius: 4px;
    padding: 5px 10px;
    display: block;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
    border: none;
    background: #2A78BA;
    color: #fff;
}

.team-content .doc_list .doc_c p a.more-text{
    background: none;
    padding: 0;
    font-weight: bold;
    color: #2A78BA;
}

.team-content .doc_list #wrap4 {
    margin-right: 0px;
}

.team-content .doc_list .doc_c p a {
    transition: all 1s;
}

/* 取消移动端的hover效果 只有pc端的生效 */
@media (any-hover: hover) {
    .team-content .doc_list .doc_c:hover {
        transform: translate(0, -10px);
    }

    .team-content .doc_list .doc_c p a:hover {
        color: #2A78BA;
        background: #fff;
        border: 1px solid #2A78BA;
    }

    .team-content .doc_list .doc_c p a.more-text:hover{
        border: none;
    }

    .team-content .doc_list .doc_c dl dt a:hover {
        color: #2A78BA;
    }
}

@media screen and (max-width: 768px) {
    .marginTop30 {
        margin-top: 20px;
    }

    .banner {
        background: url("/uploads/allimg/2023/10/18/1-094803261.jpg") no-repeat center;
    }

    .team-content {
        text-align: center;
        margin: 0 auto;
    }

    .team-content .text {
        display: none;
    }

    .team-content .doc_list {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        flex-wrap: wrap;
        margin: 0;
    }

    .team-content .doc_list .doc_c {
        /*width: calc(50% - 5px);*/
        width: 100%;
        height: auto;
        border-radius: 8px;
        float: none;
        box-sizing: border-box;
        margin: 0 0 15px 0;
    }

    .team-content .doc_list .doc_c .doc_c_p {
        padding: 0;
    }

    .team-content .doc_list .doc_c .doc_c_p a {
        padding: 15px 15px 0 15px;
    }


    .team-content .doc_list .doc_c .doc_c_p img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }

    .team-content .doc_list .doc_c p {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        position: initial;
    }

    .team-content .doc_list .doc_c p a {
        padding: 5px;
        box-sizing: border-box;
    }

    .team-content .doc_list .doc_c p a.consult-text {
        margin: 0;
    }

    .team-content .doc_list .doc_c p a.more-text{
        background: none;
        padding: 0;
        font-weight: bold;
        color: #2A78BA;
    }

    .team-content .doc_list .doc_c dl {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .team-content .doc_list .doc_c dl dd.first {
        /*overflow: hidden;*/
        /*text-overflow: ellipsis;*/
        /*display: -webkit-box;*/
        /*-webkit-line-clamp: 2;*/
        /*-webkit-box-orient: vertical;*/
        width: 100%;
    }

    .team-content .doc_list .doc_c dl dd.second {
        width: 100%;
        overflow: hidden;
        margin-bottom: 10px;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        font-size: 14px;
        text-align: left;
    }

    .team-content .doc_list .doc_c dl dt {
        font-size: 20px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .team-content .doc_list .doc_c dl dd{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
    }


    .team-content .doc_list .doc_c dl dd.first span {
        margin-right: 5px;
        margin-bottom: 5px;
        padding: 0 5px;
    }

    .team-content .doc_list .doc_c dl dd.first span:last-child{
        margin-right: 0;
        margin-bottom: 5px;
    }
}
