.coach {
    display: flex;
    justify-content: space-between;
}

.coach .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.coach .grid .item {
    position: relative;
    border: solid 2px gray;
    background: #a09ea0;
    cursor: pointer;
}

.coach .grid .item img {
    width: 100%;
    height: 100%;
}

.coach .grid .item .coachName {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    text-align: center;
    padding: 5px 0;
    color: white;
}


.coach .grid .item.cur {
    border-color: #0042d7;
    background: #e5e5e5;
    cursor: default;
}

.coach .grid .item:hover {
    background: #e5e5e5;
}

.coach .grid .item.cur .coachName {
    background: rgba(0,66,215,0.7);
}

.coach .detail {
    flex: 1;
    position: relative;
}

.coach .detail .detail_coachs {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.coach .detail .detail_coachs:first-child {
    display: block;
}


.coach .detail .detail_coachs {
    flex: 1;
}

.coach .detail .detail_coachs .coachName {
    font-family: 庞门正道标题体;
    color: #0042d7;
}

.coach .detail .detail_coachs .career {
    font-family: 庞门正道标题体;
    margin-top: 20px;
}

.coach .detail .detail_coachs .zhanji {
    display: flex;
    margin-top: 20px;
    font-family: 庞门正道标题体;
    color: #0042d7;
    align-items: center;
}

.coach .detail .detail_coachs .zhanji span {
    display: block;
    width: 5px;
    height: 20px;
    background: #0042d7;
    margin-right: 10px;
}

.coach .detail .detail_coachs .coachExperiences {
    line-height: 2;
    margin-top: 20px;
}

.coach .detail .detail_coachs .face {
    width: 400px;
    float: right;
}

@media screen and (min-width:768px) {
    .coach .grid {
        width: 35%;
        height: 600px;
    }
    .coach .detail {
        margin-left: 40px;
    }
    .coach .grid .item {
        height: 170px;
        border-radius: 50px 0 0 0;
    }
    .coach .detail .detail_coachs .coachName {
        font-size: 50px;
    }
    .coach .detail .detail_coachs .career {
        font-size: 30px;
    }
    .coach .detail .detail_coachs .zhanji {
        font-size: 26px;
    }
    .coach .detail .detail_coachs .face {
        width: 400px;
    }
}

@media screen and (max-width:768px) {
    .coach {
        flex-direction: column-reverse;
    }
    .coach .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .coach .detail {
        flex: unset;
        height: 400px;
        overflow: auto;
        margin-bottom: 20px;
    }
    .coach .grid .item {
        height: 100px;
        border-radius: 30px 0 0 0;
    }
    .coach .detail .detail_coachs .coachName {
        font-size: 30px;
    }
    .coach .detail .detail_coachs .career {
        font-size: 20px;
    }
    .coach .detail .detail_coachs .zhanji {
        font-size: 20px;
    }
    .coach .detail .detail_coachs .face {
        width: 50%;
    }
}
