.teacher-details-container {
    width: var(--width);
    margin: 0 auto;
    padding-bottom: 50px;
    background-color: #fff;
    border: 1px solid var(--mainColor);
}

.breadcrumb {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid var(--mainColor);
}

.breadcrumb-icon {
    width: 25px;
    height: 31px;
    margin-right: 10px;
    background: url('../images/icon_18.png') no-repeat center / 100% 100%;
}

.breadcrumb a {
    color: #666;
    margin: 0 5px;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--mainColor);
}

.breadcrumb span {
    margin: 0 5px;
}

.teacher-title-box {
    background-color: #F8F5F0;
    margin: 0 auto;
    margin-bottom: 10px;
    position: relative;
    text-align: left;
    width: 948px;
}

.teacher-title-text {
    display: inline-block;
    font-size: 16px;
    width: 100%;
    position: relative;
    padding: 0 60px 0 30px;
    line-height: 31px;
}

.teacher-title-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 31px;
    background: url('../images/icon_list_1.png') no-repeat center center;
    background-size: contain;
}

.teacher-title-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 31px;
    background: url('../images/icon_list_2.png') no-repeat center center;
    background-size: contain;
}

.teacher-content-wrapper {
    display: flex;
    justify-content: center;
}

.teacher-content-box {
    position: relative;
    width: 948px;
    min-height: 588px;
    padding: 50px 60px;
    box-sizing: border-box;
    background-color: #F8F5F0;
}

.border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 948px;
    height: 21px;
    background: url('../images/bg_5.png') no-repeat center center;
    background-size: 100% 100%;
    z-index: 2;
}

.border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 948px;
    height: 21px;
    background: url('../images/bg_5.png') no-repeat center center;
    background-size: 100% 100%;
    z-index: 2;
}

.border-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 21px;
    height: 100%;
    background: url('../images/bg_4.png') center center;
    z-index: 2;
}

.border-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 21px;
    height: 100%;
    background: url('../images/bg_4.png') center center;
    z-index: 2;
}

.bg-decoration {
    position: absolute;
    top: 21px;
    right: 21px;
    width: 328px;
    height: 179px;
    background: url('../images/bg_3.png') no-repeat center center;
    background-size: 100% 100%;
    z-index: 0;
    pointer-events: none;
}

.teacher-inner {
    position: relative;
    z-index: 5;
}

.teacher-header {
    display: flex;
    margin-bottom: 30px;
}

.teacher-img {
    width: 133px;
    height: 191px;
    flex-shrink: 0;
    margin-right: 25px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.teacher-basic-info {
    flex-grow: 1;
    padding-top: 5px;
}

.info-row-1 {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.teacher-name {
    font-size: 26px;
    font-weight: bold;
    color: #b61b22;
    margin-right: 15px;
}

.teacher-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-right: 15px;
}

.teacher-ethnicity {
    font-size: 16px;
    color: #666;
}

.info-row-2 {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.teacher-intro-text {
    font-size: 15px;
    color: #444;
    line-height: 2;
    text-align: justify;
}

.teacher-intro-text p {
    margin-bottom: 20px;
    text-indent: 2em;
}