.layoutTeacherDetail {
    display: flex;
    gap: 30px; /* Khoảng cách giữa các khối */
    align-items: flex-start;
    padding: 50px 0;
}
.layoutTeacherDetail_info {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    text-align: justify;
}
.layoutTeacherDetail_detail {
    width: calc(100% - 380px - 30px);
    display: flex;
    flex-direction: column;
    gap: 35px;
    text-align: justify;
    border-left: 5px solid #dee2e6;
    padding-left: 30px;
}
.teacherDetailImg {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: calc(100% * (4 / 3)); /* Tỷ lệ 3:4 */
    border-radius: 12px; /* Làm tròn khung ngoài */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Tạo hiệu ứng đổ bóng */
}

.teacherDetailImg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hình ảnh lấp đầy khung */
    border-radius: 12px;
}

.sponsor_sign {
    background-color: #319795;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    min-width: 50px;
    height: 32px;
    border-radius: 7px 0 0 7px;
    position: absolute;
    right: 0;
    top: 20px;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.teacherInfoBox {
    display: flex;
    flex-direction: column;
}

.teacherInfoBox2 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.teacherInfoBox2 .teacherInfoBox2_info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.teacherInfoBox2 h1 {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    color: #008ac0;
    margin-bottom: 0 !important; 
}

.teacherInfoBox2 .teacherInfoBox2_image {
    display: none;
    position: relative;
}

.teacherInfoBox2 .teacherInfoBox2_image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.teacherInfoBox2 .teacherInfoBox2_info_sub {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 0 !important;
}

.teacherInfoBox2 .teacherInfoBox2_info_contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.teacherInfoBox2 .teacherInfoBox2_info_contact i {
    color: #008ac0;
    font-size: 16px;
    margin: 0;
    height: unset;
    width: unset;
}

.teacherInfoBox2 .teacherInfoBox2_info_contact .teacherInfoBox2_info_contact_item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 35px;
}
.teacherInfoBox2 .teacherInfoBox2_info_contact .line {
    width: 75px;
    height: 25px;
    background: #008ac0;
    border-radius: 12px 0 0 12px;
}
.teacherInfoBox2 .teacherInfoBox2_content {
    display: flex;
    gap: 1rem;
}
.teacherInfoBox > *:last-child {
    margin-bottom: 0 !important;
}
.teacherInfoBox .teacherInfoBox2_content .teacherInfoBox2_content_image {
    flex:0 0 200px;
}
.teacherInfoBox .teacherInfoBox2_content .teacherInfoBox2_content_image img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.teacherInfoBox h2 {
    font-weight: bold;
    font-size: 22px;
    text-transform: uppercase;
    background: url(https://liendoancutathehinhhcm.storage.googleapis.com/storage/images/line-bottom-header.webp) left bottom no-repeat;
    background-size: 150px 3px;
    background-position-x: left;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.teacherInfoBox h3 {
    font-size: 18px;
    font-weight: bold;
    /* margin-bottom: 0 !important; */
}
.teacherInfoBox .teacherInfoBox_company {
    margin-bottom: 0.5rem;
}
.teacherInfoBox .container-skills {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 8px;
}
.teacherInfoBox .container-skills .bar {
    margin: 0;
}
.teacherInfoBox .container-skills .bar-title, .teacherInfoBox .container-skills .percent {
    color: #212529;
}

.teacherInfoBox .container-skills .bar-fill-html {
    background: #008ac0;
}

@media(max-width: 990px){
    .layoutTeacherDetail {
        flex-direction: column;
    }
    .layoutTeacherDetail_info {
        display: none;
    }
    .layoutTeacherDetail_detail {
        gap: 20px;
        border-left: none;
        padding-left: unset;
    }
    .teacherInfoBox2 .teacherInfoBox2_image {
        width: 180px;
        display: flex;
    }
    .teacherInfoBox2 .teacherInfoBox2_info_contact {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0; 
    }
    .teacherInfoBox2 .teacherInfoBox2_info_contact .line {
        display: none;
    }
    .teacherInfoBox h2, .teacherInfoBox2 .teacherInfoBox2_info_sub {
        font-size: 20px;
    }
    .teacherInfoBox2 h1 {
        font-size: 26px;
    }
    .teacherInfoBox2 .teacherInfoBox2_info {
        width: calc(100% - 180px);

    }
    .layoutTeacherDetail_detail {
        width: 100%;
    }
}

@media(max-width: 567px){
    .teacherInfoBox2 {
        flex-direction: column;
    }
    .teacherInfoBox2 .teacherInfoBox2_image, .teacherInfoBox2 .teacherInfoBox2_info {
        width: 100%;
    }
    .teacherInfoBox h2, .teacherInfoBox2 .teacherInfoBox2_info_sub {
        font-size: 18px;
    }
    .teacherInfoBox2 h1 {
        font-size: 22px;
    }
}