/* 대표강사 소개(teacher 게시판) 본문 .ld-* 꾸밈 — 2026-12-05. 그림 속 글자를 텍스트로 옮긴 본문용 */
#bo_v_con .ld { max-width: 1080px; margin: 0 auto; color: #1f2d3d; font-size: 16px; line-height: 1.65; word-break: keep-all; }
#bo_v_con .ld * { box-sizing: border-box; }
#bo_v_con .ld p, #bo_v_con .ld li, #bo_v_con .ld h2, #bo_v_con .ld h3 { word-break: keep-all; overflow-wrap: anywhere; }
#bo_v_con .ld img { width: 100% !important; max-width: 100% !important; height: 100% !important; margin: 0 !important; display: block; object-fit: cover; }
/* 위: 사진 + 소개 */
#bo_v_con .ld-hero { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 44px; align-items: center; padding: 34px 40px; border-radius: 26px; overflow: hidden; background: linear-gradient(135deg, #eaf3fb 0%, #e3f1ee 55%, #f6f9fd 100%); border: 1px solid #dce7f2; box-shadow: 0 18px 44px rgba(15, 29, 61, .08); }
#bo_v_con .ld-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(54, 106, 205, .12), rgba(54, 106, 205, 0) 70%); pointer-events: none; }
#bo_v_con .ld-photo { aspect-ratio: 720 / 1147; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 36px rgba(15, 29, 61, .18); background: #dfe9f3; }
#bo_v_con .ld-intro { position: relative; z-index: 1; min-width: 0; }
#bo_v_con p.ld-tag { display: inline-block; margin: 0 0 14px !important; padding: 7px 18px; border-radius: 999px; background: linear-gradient(90deg, #4fb7a5, #6cc6b4); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.01em; box-shadow: 0 6px 16px rgba(79, 183, 165, .3); }
#bo_v_con h2.ld-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 28px !important; padding: 0; font-size: 56px; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: #1b2f7a; }
#bo_v_con .ld-pos { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #1b2f7a; }
#bo_v_con h3.ld-h { margin: 0 0 12px !important; padding: 0 0 0 12px; border-left: 4px solid #c9a24a; font-size: 19px; font-weight: 800; line-height: 1.3; color: #1b2f7a; }
#bo_v_con ul.ld-career { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
#bo_v_con ul.ld-career li { position: relative; margin: 0 !important; padding: 10px 14px 10px 34px; border-radius: 12px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(214, 226, 240, .9); font-size: 15.5px; font-weight: 600; line-height: 1.45; color: #273449; list-style: none !important; }
#bo_v_con ul.ld-career li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #366ACD; box-shadow: 0 0 0 3px rgba(54, 106, 205, .15); }
/* 아래: 주요 활동 */
#bo_v_con .ld-act { margin: 48px 0 0; }
#bo_v_con h3.ld-sec { display: flex; align-items: center; gap: 12px; margin: 0 0 22px !important; padding: 0; font-size: 30px; font-weight: 900; letter-spacing: -.02em; color: #1b2f7a; }
#bo_v_con h3.ld-sec::before { content: ""; width: 6px; height: 30px; border-radius: 3px; background: linear-gradient(180deg, #c9a24a, #e6c877); }
#bo_v_con .ld-act-list { display: grid; gap: 18px; }
#bo_v_con .ld-act-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #e2e8f1; box-shadow: 0 10px 28px rgba(15, 29, 61, .06); }
#bo_v_con .ld-act-item:nth-child(even) .ld-act-text { order: 2; }
#bo_v_con .ld-act-text { display: flex; align-items: center; gap: 22px; padding: 28px 32px; background: linear-gradient(135deg, #f3f9fc, #eaf5f3); }
#bo_v_con .ld-num { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 2px solid rgba(54, 106, 205, .18); color: #1b2f7a; font-size: 28px; font-weight: 900; letter-spacing: -.02em; box-shadow: 0 8px 20px rgba(27, 47, 122, .12); }
#bo_v_con .ld-act-text ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
#bo_v_con .ld-act-text li { position: relative; margin: 0 0 8px !important; padding: 0 0 0 16px; font-size: 17px; font-weight: 600; line-height: 1.5; color: #273449; list-style: none !important; }
#bo_v_con .ld-act-text li:last-child { margin-bottom: 0 !important; }
#bo_v_con .ld-act-text li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: #4fb7a5; }
#bo_v_con .ld-act-photo { min-width: 0; aspect-ratio: 960 / 412; }
@media (max-width: 1000px) {
    #bo_v_con .ld-hero { grid-template-columns: 260px 1fr; gap: 28px; padding: 26px; }
    #bo_v_con h2.ld-name { font-size: 44px; }
    #bo_v_con .ld-pos { font-size: 19px; }
    #bo_v_con ul.ld-career { grid-template-columns: 1fr; }
}
/* 12-05 3차: 태블릿·좁은 PC 창(701~900px)에서 활동 카드가 사진에 밀려 글자가 세로로 한 자씩 서던 문제 → 위아래 배치 */
@media (max-width: 900px) {
    #bo_v_con .ld-hero { grid-template-columns: 220px minmax(0, 1fr); }
    #bo_v_con .ld-act-item { grid-template-columns: minmax(0, 1fr); }
    #bo_v_con .ld-act-item:nth-child(even) .ld-act-text { order: 0; }
    #bo_v_con .ld-act-text { padding: 22px 24px; }
}
@media (max-width: 700px) {
    #bo_v_con .ld { font-size: 15px; }
    #bo_v_con .ld-hero { grid-template-columns: 1fr; gap: 20px; padding: 20px 18px 22px; text-align: center; }
    #bo_v_con .ld-photo { width: 72%; max-width: 280px; margin: 0 auto; }
    #bo_v_con h2.ld-name { justify-content: center; font-size: 38px; margin-bottom: 22px !important; }
    #bo_v_con .ld-pos { flex-basis: 100%; font-size: 17px; }
    #bo_v_con h3.ld-h { display: inline-block; text-align: left; }
    #bo_v_con ul.ld-career { text-align: left; gap: 8px; }
    #bo_v_con ul.ld-career li { font-size: 14.5px; }
    #bo_v_con .ld-act { margin-top: 34px; }
    #bo_v_con h3.ld-sec { font-size: 24px; }
    #bo_v_con .ld-act-item { grid-template-columns: 1fr; }
    #bo_v_con .ld-act-item:nth-child(even) .ld-act-text { order: 0; }
    #bo_v_con .ld-act-text { padding: 20px; gap: 16px; }
    #bo_v_con .ld-num { width: 56px; height: 56px; font-size: 22px; }
    #bo_v_con .ld-act-text li { font-size: 15.5px; }
    #bo_v_con .ld-act-photo { min-height: 0; }
}

/* 12-05 2차: 위·아래 빈 공간 줄이기(이 글에서만) + 모바일 폭 넓게 쓰기 */
.basic-body-sub:has(.ld) > p:first-child:has(> br:only-child) { display: none; }
#bo_v:has(.ld) > header { display: none; }
#bo_v:has(.ld) { padding-top: 8px; margin-bottom: 0; }
#bo_v:has(.ld) #bo_v_atc { min-height: 0; }
#bo_v:has(.ld) #bo_v_con { margin: 0 0 10px; min-height: 0; overflow: visible; }
@media (max-width: 700px) {
    #bo_v:has(.ld) { padding: 4px 0 0; }
    #bo_v_con .ld-hero { gap: 16px; padding: 18px 14px 20px; border-radius: 20px; }
    #bo_v_con .ld-photo { width: 62%; max-width: 240px; border-radius: 16px; }
    #bo_v_con p.ld-tag { margin-bottom: 10px !important; padding: 6px 14px; font-size: 13.5px; }
    #bo_v_con h2.ld-name { gap: 4px; font-size: 34px; margin-bottom: 18px !important; }
    #bo_v_con .ld-pos { font-size: 16px; }
    #bo_v_con h3.ld-h { font-size: 17px; margin-bottom: 10px !important; }
    #bo_v_con ul.ld-career { gap: 6px; }
    #bo_v_con ul.ld-career li { padding: 9px 12px 9px 30px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; }
    #bo_v_con ul.ld-career li::before { left: 12px; width: 8px; height: 8px; margin-top: -4px; }
    #bo_v_con .ld-act { margin-top: 28px; }
    #bo_v_con h3.ld-sec { font-size: 22px; margin-bottom: 14px !important; }
    #bo_v_con h3.ld-sec::before { height: 22px; width: 5px; }
    #bo_v_con .ld-act-list { gap: 14px; }
    #bo_v_con .ld-act-item { border-radius: 16px; }
    #bo_v_con .ld-act-text { align-items: flex-start; gap: 12px; padding: 16px 16px 18px; }
    #bo_v_con .ld-num { width: 42px; height: 42px; font-size: 17px; border-width: 2px; box-shadow: 0 4px 12px rgba(27, 47, 122, .12); }
    #bo_v_con .ld-act-text ul { padding-top: 2px !important; }
    #bo_v_con .ld-act-text li { margin-bottom: 6px !important; padding-left: 14px; font-size: 15px; line-height: 1.45; }
    #bo_v_con .ld-act-text li::before { top: .68em; width: 6px; }
}
@media (max-width: 380px) {
    #bo_v_con .ld-hero { padding: 16px 12px 18px; }
    #bo_v_con h2.ld-name { font-size: 31px; }
    #bo_v_con ul.ld-career li { font-size: 14px; }
    #bo_v_con .ld-act-text li { font-size: 14.5px; }
}
