.teacher-bg{background: url('../img/section_bg.png') #f9f9f9; padding:0 0 100px 0 !important;font-family: 'NanumSquare'; text-align: center;}
.teacher-box .main-text h1{font-size: 32px; color: #333;font-weight: 400;letter-spacing: -0.5px;margin: 30px 0 10px 0;line-height: 40px;}
.teacher-box .main-text h1 b{color: #0862c1;font-weight: bold;}
.teacher-box .main-text h1:before{content: '';display: block;width: 40px;height: 2px;border-radius: 0px;background: #13406f;margin: auto;margin-bottom: 30px;}
.teacher-box .main-text h5{font-size: 16.5px; color: #777;letter-spacing: -0.5px;line-height: 24px;}
.teacher-box .img-box{margin-top: 40px;display: inline-block;background: #fff;padding: 50px 30px 0px 30px;width: 850px;border: solid 1px #ddd;}
.teacher-box .img-box > ul{font-size: 0; padding:0 10px;}
.teacher-box .img-box > ul > li{ position:relative; min-height:325px; padding:0 0 30px 260px; margin-bottom: 30px;border-bottom: dotted 1px #aaa; text-align:left;}
.teacher-box .img-box > ul > li:last-child{border-bottom: 0}
.teacher-box .img-box > ul > li .img { position:absolute; left:0; top:0; border:3px solid #adadad; width:200px;height:230px;}
.teacher-box .img-box > ul > li h2 { padding:17px 0 15px; font-size:33px; color:#232425;font-family: 'NanumSquare';}
.teacher-box .img-box > ul > li h2 span { font-size:22px;}
.teacher-box .img-box > ul > li p { font-size:15px; color:#787878;}
.teacher-box .img-box > ul > li div { position:relative; padding:58px 0 0;font-family: 'NanumGothic', '�굹�닎怨좊뵓', Helvetica, 'Apple SD Gothic Neo', Sans-serif;}
.teacher-box .img-box > ul > li div:after { content:""; display:block; position:absolute; left:0; top:27px; width:54px; height:2px; background:#f3b92e;}
.teacher-box .img-box > ul > li div strong { font-size:20px;}
.teacher-box .img-box > ul > li div ul { padding:28px 0 0 ;}
.teacher-box .img-box > ul > li div ul li { line-height:22px; font-size:15px; color:#202020;}

/*리뉴얼 26.05.07*/
.teacher-box .main-text {
    margin-bottom: 50px;
}

/* 프로필 카드 아이템 전용 스타일 */
.teacher-bg .container {
    width: 940px;
}
.container .profile-card-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #f1f3f5;
    /* 기존 텍스트 정렬 무시 */
    text-align: left; 
}

.container .profile-card-item .profile-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* 이미지 영역 */
.container .profile-card-item .profile-image {
    flex: 0 0 210px;
}

.container .profile-card-item .profile-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.05);
}

/* 정보 영역 */
.container .profile-card-item .profile-info {
    flex: 1;
}

.container .profile-card-item .profile-header h2 {
    font-family: 'Pretendard', 'Cafe24Surround', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #000;
}

.container .profile-card-item .profile-header h2 span {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-left: 8px;
}

/* 강의 분야 태그 */
.container .profile-card-item .course-tags {
    margin-bottom: 25px;
}

.container .profile-card-item .course-tags .label {
    color: #f39c12;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}

.container .profile-card-item .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.container .profile-card-item .tags span {
    background: #f1f3f5;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* 인사말 (따옴표 디자인) */
.container .profile-card-item .greeting-box {
    /* position: relative; */
    padding: 25px 0;
    margin: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.container .profile-card-item .greeting-box p {
    position: relative;
    padding: 20px;
    font-size: 19px;
    font-weight: 700;
    word-break: keep-all;
    color: #222;
    line-height: 1.4;
}

.container .profile-card-item .greeting-box p::before,
.container .profile-card-item .greeting-box p::after {
    content: '"';
    position: absolute;
    font-size: 50px;
    color: #f39c12;
    font-family: Georgia, serif;
    opacity: 0.6;
}

.container .profile-card-item .greeting-box p::before { left: 0; top: -20px; }
.container .profile-card-item .greeting-box p::after { right: 0; bottom: -20px; transform: rotate(180deg); }

/* 배지 스타일 */
.container .profile-card-item .badge-row {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.container .profile-card-item .badge {
    flex: 1;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.container .profile-card-item .badge img {
    display: inline-block;
    margin-right: 10px;
    width: 70px;
}

.container .profile-card-item .badge strong {
    display: block;
    font-weight: 700;    
}

.container .profile-card-item .badge.orange { background: #fff4e6; border: 1px solid #ffd8a8; }
.container .profile-card-item .badge.blue { background: #e7f5ff; border: 1px solid #a5d8ff; }

.container .profile-card-item .badge strong { font-size: 16px; margin-bottom: 5px; color: #333; }
.container .profile-card-item .badge span { font-size: 13px; color: #777; }

/* 경력 리스트 */
.container .profile-card-item .career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container .profile-card-item .career-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.container .profile-card-item .type {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    margin-right: 12px;
}

.container .profile-card-item .type.present { background: #f39c12; color: #fff; }
.container .profile-card-item .type.past { background: #e9ecef; color: #adb5bd; }

/* 반응형 모바일 */
@media (max-width: 850px) {
    .container .profile-card-item .profile-inner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .container .profile-card-item .profile-image {
        width: 100%;
        max-width: 320px;
    }
    
    .container .profile-card-item .badge-row {
        flex-direction: column;
    }
}