* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "华文楷体", "STKaiti", "KaiTi", serif;
}

body {
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
}

.container-body {
    width: 100vw;
    max-width: 1920px;
    margin: auto;
}

.banner {
    height: 300px;
    background-image: url('../asserts/banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}

.banner-content {
    display: flex;
    align-items: flex-end;
    width: 75%;
    margin: 0 auto;
    padding-bottom: 1px;
}

.nav-title {
    background-color: rgb(149, 21, 16);
    font-size: 24px;
    color: white;
    padding: 14px 60px 14px 30px;
    display: inline-block;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
    margin-bottom: -1px;
}

.nav-path-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.nav-path {
    background-color: rgb(191, 164, 109);
    font-size: 15px;
    color: #fff;
    padding: 16px 55px 16px 60px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
    margin-left: -20px;
    line-height: 1;
    transform: translateY(1px);
}

.main-content {
    display: flex;
    margin: 0 auto;
    width: 75%;
}

.containner-left {
    width: 250px;
}

.nav-list {
    list-style: none;
    width: 100%;
    background-color: rgb(238, 240, 246);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 18px;
}

.nav-list a {
    display: block;
    padding: 10px 10px 10px 25px;
    color: #333;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
}
.nav-list a::after {
    content: ">";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(215, 218, 233);
}

.nav-list a:hover,
.nav-list a.active {
    color: #fff;
    background-color: rgb(149, 21, 16);
}

.containner-right {
    flex: 1;
    min-width: calc(100% - 270px); /* 确保最小宽度不小于总宽度减去左侧导航栏宽度 */
}

.row-tec {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    justify-content: space-between;
}

.teacher {
    flex: 0 0 calc(50% - 10px);
    background-color: #fff;
    border-radius: 8px;
    margin-top: 30px;
    margin-left: 45px;
    display: flex;
    min-width: 0;
    box-sizing: border-box;
}

.img-tec {
    width: 215px;
    height: 270px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 4px;
}

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

.info-tec {
    flex: 1;
}

.name-tec {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
}

.intru-tec {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
}

.honor-tec ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.honor-tec li {
    display: block;
    background-color: rgb(233, 239, 247);
    color: rgb(95, 109, 150);
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.fl {
    float: left;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 0 45px;
}

.pagination a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
    transition: background-color .3s;
}

.pagination a.active {
    background-color: rgb(149, 21, 16);
    color: white;
    border-color: rgb(149, 21, 16);
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination a.prev,
.pagination a.next {
    background-color: #f1f1f1;
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .containner-left {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .row-tec {
        flex-direction: column;
    }
}

.introduction-container {
    width: 100%;
    padding: 30px 7%;
}

.teacher-intro {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.teacher-info {
    flex: 1;
}

.teacher-name {
    font-size: 40px;
    color: #d4af37;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.teacher-name::after {
    content: '';
    position: absolute;
    left: -84%;
    bottom: 0;
    width: 250%;
    height: 5px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), #d4af37);;
    border-radius: 0 20px 20px 0;
}

.teacher-detail {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
    text-indent: 2em;
}

.teacher-photo {
    width: 410px;
    height: 540px;
}

.teacher-photo img {
    /* width: 100%;
    height: auto; */
    width: 410px;
    height: 596px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .teacher {
        flex-direction: column;
    }
    
    .img-tec {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}
