/* 师资 */
.teachers {
    width: 70%;
    margin: 10px auto 20px;
}

.teachers .slide_b {
    width: 100%;
    overflow: hidden;
}

.teachers .t_list {
    margin: 10px 0;
    background-color: white;
}

.teachers .slide_t p {
    color: #88c346;
}

.teachers .t_title p {
    padding-bottom: 5px;
    border-bottom: 1px solid #d4d4d4;
}

.teachers dl {
    float: left;
    box-sizing: border-box;
}

.teachers .t_list dl {
    width: 11%;
}

.famous .t_list dl {
    width: 20%;
}

.famous .professor {
    width: 100% !important;
}

.teachers dd {
    display: none;
}

.teachers dt {
    overflow: hidden;
}

.teachers dt p {
    width: 55px;
    min-height: 30px;
    text-align: justify;
}

.famous dt p {
    float: left;
}

.teachers dt:hover {
    color: #599760;
    cursor: pointer;
}

.teachers dt span {
    display: inline-block;
    width: 100%;
}

@media only screen and (max-width:1355px) {
    .teachers dt p {
        width: 48px;
    }
}

@media only screen and (max-width:1010px) {
    .teachers dl {
        width: 25%;
    }
}

@media only screen and (max-width:767px) {
    .teachers dl {
        width: 33.33%;
    }

    .teachers .t_list dl {
        width: 16%;
    }

    .teachers dt p {
        width: 45px;
    }
}

@media only screen and (max-width:550px) {
    .teachers dl {
        width: 50%;
    }

    .teachers .t_list dl {
        width: 25%;
    }
}

@media only screen and (max-width:1530px) {
    .famous .t_list dl {
        width: 25%;
    }
}

@media only screen and (max-width:1100px) {
    .famous .t_list dl {
        width: 33.33%;
    }
}

@media only screen and (max-width:1024px) {
    .famous .t_list dl {
        width: 25%;
    }
}

@media only screen and (max-width:700px) {
    .teachers {
        width: 80%;
    }

    .famous .t_list dl {
        width: 33.33%;
    }
}

@media only screen and (max-width:530px) {
    .famous .t_list dl {
        width: 50%;
    }
}

@media only screen and (max-width:350px) {
    .famous .t_list dl {
        width: 100%;
    }
}

.teachers .teacher_img {
    display: inline-block;
    width: 18vw;
    height: 18vw !important;
    overflow: hidden;
}

.teacher_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher_info_t {
    position: relative;
}

.teacher_tag {
    position: absolute;
    bottom: 0;
    left: 40%;
}

.teacher_tag h1 {
    margin: 20px 0;
}

.teacher_tag p {
    display: inline-block;
    margin-right: 10px;

}

.teacher_tag em a {
    display: inline !important;
}

.teacher_info_b {
    height: 280px;
    margin-top: 20px;
    overflow-y: scroll;
    word-wrap: break-word;
}

.teacher_info_b>div {
    padding: 25px 10px 10px 0;
}

.teacher_info_b p {
    font-size: 10.5pt;
    font-family: DengXian;
    color: black;
    line-height: 21px;
    text-align: left;
}

@media only screen and (max-width:1355px) {
    .teachers .teacher_img {
        width: 16vw;
        height: 16vw !important;
    }
}

@media only screen and (max-width:1100px) {
    #item {
        padding: 10px;
        width: 90%;
    }

    .teachers .teacher_img {
        display: block;
        width: 180px;
        height: 180px !important;
        margin: 0 auto;
    }

    .teacher_tag {
        position: static;
        width: 80%;
        margin: 5px auto;
    }

    .teacher_tag h1 {
        margin: 10px 0;
    }

    .teacher_info_b>div {
        width: 90%;
        margin: 0 auto;
    }
}

/* 学术平台 */
.teachers .t_list a {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    word-break: break-all;
}

/* 教师详情 */
.teachers_detail .item {
    margin-top: 20px;
}

.teachers_detail .teacher_top {
    display: flex;
    align-items: end;
}

.teachers_detail .teacher_img {
    width: 260px;
    height: 260px;
}

.teachers_detail .teacher_info {
    position: static;
    margin-left: 80px;
}

.teachers_detail .teacher_bottom {
    margin: 30px 0 80px;
}

@media only screen and (max-width:670px) {
    .teachers_detail .teacher_img {
        width: 160px;
        height: 160px;
        flex-shrink: 0;
    }

    .teachers_detail .teacher_info {
        margin-left: 20px;
    }

    .teachers_detail .teacher_info p {
        display: inline-block;
        margin-right: 20px;
    }

    .teachers_detail .teacher_info em {
        word-break: break-all;
    }
}

@media only screen and (max-width:400px) {
    .teachers_detail .teacher_top {
        flex-direction: column;
        align-items: start;
    }

    .teachers_detail .teacher_info {
        margin-left: 0;
        margin-top: 10px;
    }
}


/* 园林大师 */
.masters {
    min-height: calc(100vh - 480px);
}
.masters .master-list {
    width: 70%;
    padding: 40px 0;
    margin: 10px auto 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.masters .master-item {
    width: 180px;
}
.masters .master-item .master-item-img {
    width: 180px;
    height: 270px;
    overflow: hidden;
}
.masters .master-item .master-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.masters .master-item .master-item-info {
    text-align: center;
}
.masters .master-item .master-item-info .name {
    margin-top: 10px;
    line-height: 30px;
    color: #599760;
}
.masters .master-item .master-item-info .title {
    font-size: 16px;
    line-height: 20px;
}

.masters .master-detail {
    display: flex;
    justify-content: space-between;
    width: 70%;
    padding: 60px 0;
    margin: 0 auto;
}
.masters .master-detail .master-detail-img {
    width: 240px;
    height: 360px;
}
.masters .master-detail .master-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.masters .master-detail .master-detail-info {
    width: calc(100% - 300px);
}
.masters .master-detail .master-detail-info .name {
    color: #599760;
}
.masters .master-detail .master-detail-info .title {
    margin-top: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d4d4d4;
}
.masters .master-detail .master-detail-info .master-detail-content {
    margin-top: 20px;
}

.masters .master-timeline {
    position: relative;
    width: 100%;
    height: calc(100vh - 480px);
    min-height: 680px;

}
.masters .master-timeline .master-timeline-content-bg {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70%;
    height: calc(100% - 82px);
}
.masters .master-timeline .master-timeline-content-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.masters .master-timeline .master-timeline-content {
    position: relative;
    width: 100%;
    height: 100%;
}
.masters .master-timeline .master-timeline-content .timeline-list {
    position: relative;
    width: 70%;
    height: 100%;
    padding-bottom: 40px;
    margin: 0 auto;
    font-size: 0;
    white-space: nowrap;
    overflow-x: scroll;
}
.masters .master-timeline .master-timeline-content .timeline-item {
    position: relative;
    display: inline-block;
    width: 320px;
    min-height: 100%;
    border-left: 1px solid #999999;
    vertical-align: top;
}
.masters .master-timeline .master-timeline-content .timeline-item .timeline-item-box {
    margin: 0 auto;
    width: 75%;
    height: 100%;
}
.masters .master-timeline .master-timeline-content .timeline-item .timelineline-year {
    padding: 20px;
    width: calc(100% - 40px);
    color: #18431e;
}
.masters .master-timeline .master-timeline-content .timeline-item .timelineline-year .year {
    display: inline-block;
    font-size: 30px;
    line-height: 40px;
    font-weight: bold;
    font-family: Microsoft YaHei, "微软雅黑";
}
.masters .master-timeline .master-timeline-content .timeline-item .timeline-line {
    width: 100%;
    height: 2px;
    border-top: 4px solid #18431e;
}
.masters .master-timeline .master-timeline-content .timeline-item .timeline-content {
    padding: 40px 0;
    width: 100%;
    font-size: 16px;
    white-space: normal;
}
.masters .master-timeline .master-timeline-content .timeline-item .timeline-img-content{
    padding: 40px 0;
    padding-bottom: 0;
    width: 100%;
    object-fit: cover;
}
.masters .master-timeline .master-timeline-content .timeline-item .timeline-img {
    width: 100%;
    height: 180px;
}
.masters .master-timeline .master-timeline-content .timeline-item .timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.masters .master-timeline .master-timeline-content .timeline-item .timeline-title {
    padding-top: 10px;
    text-align: center;
    font-size: 14px;
}

/* 时间轴导航按钮 */
.masters .master-timeline .master-timeline-content .timeline-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(128, 128, 128, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.masters .master-timeline .master-timeline-content .timeline-nav-btn span {
    color: white;
    font-size: 20px;
}

.masters .master-timeline .master-timeline-content .timeline-nav-btn:hover {
    background-color: rgba(128, 128, 128, 0.8);
}

.masters .master-timeline .master-timeline-content .timeline-nav-left {
    left: 10%;
}

.masters .master-timeline .master-timeline-content .timeline-nav-right {
    right: 10%;
}

.masters .master-detail-footer {
    width: 70%;
    padding: 60px 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0 40px;
}
.masters .master-detail-footer .master-detail-footer-item {
    width: calc(33.3% - 27px);
    margin-bottom: 20px;
}
.masters .master-detail-footer .master-detail-footer-item .master-detail-footer-item-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.masters .master-detail-footer .master-detail-footer-item .master-detail-footer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.masters .master-detail-footer .master-detail-footer-item .master-detail-footer-item-info {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

@media only screen and (max-width:1010px) {
    .masters .master-detail-footer .master-detail-footer-item .master-detail-footer-item-img {
        height: 100px;
    }
    .masters .master-detail-footer .master-detail-footer-item .master-detail-footer-item-info {
        font-size: 12px;
    }
    .masters .master-detail-footer .master-detail-footer-item {
        width: calc(33.3% - 27px);
    }
} 
@media only screen and (max-width:767px) {
    .masters .master-timeline {
        height: calc(100vh - 180px);
    }
    .masters .master-timeline .master-timeline-content .timeline-list {
        width: 90%;
    }
    .masters .master-timeline .master-timeline-content-bg {
        width: 90%;
    }
    .masters .master-timeline .master-timeline-content .timeline-item { 
        width: 50%;
    }

    .masters .master-timeline .master-timeline-content .timeline-nav-btn {
        width: 40px;
        height: 40px;
    }
    .masters .master-timeline .master-timeline-content .timeline-nav-btn span {
        font-size: 16px;
    }
    .masters .master-timeline .master-timeline-content .timeline-nav-left {
        left: 5%;
    }
    .masters .master-timeline .master-timeline-content .timeline-nav-right {
        right: 5%;
    }

    .masters .master-detail-footer {
        width: 90%;
    }
    .masters .master-detail-footer .master-detail-footer-item {
        width: calc(50% - 20px);
    }
    .masters .master-detail-footer .master-detail-footer-item .master-detail-footer-item-img {
        height: 100px;
    }
    .masters .master-detail-footer .master-detail-footer-item .master-detail-footer-item-info {
        font-size: 12px;
    }
} 
@media only screen and (max-width:530px) {
    .masters .master-item .master-item-info .title {
        font-size: 12px;
    }
    .masters .master-detail {
        width: 90%;
        flex-direction: column;
    }
    .masters .master-detail .master-detail-img {
        width: 100%;
        margin-bottom: 20px;
    }
    .masters .master-detail .master-detail-info {
        width: 100%;
    }

    /* .masters .master-timeline .master-timeline-content .timeline-item { 
        width: 100%;
    } */

    .masters .master-detail-footer {
        width: 90%;
    }
}