/* 파트너·회원 강사 글 보기 프로필 카드(2026-12-05) — profile.lib.php 가 그린 .pf-* 만 꾸민다. 이 파일을 빼면 꾸밈만 없어짐 */
.iaied-tv.is-pf { max-width: 1040px; }
.iaied-tv.is-pf > header { display: none; }
.iaied-tv #bo_v_con.is-pf { font-size: 16px; line-height: 1.65; }
.iaied-tv #bo_v_con.is-pf > .pf-wrap { max-width: none; margin: 0; }
#bo_v_con .pf-wrap * { box-sizing: border-box; }

/* 위쪽 카드: 사진 + 이름·소속·강의 분야 */
#bo_v_con .pf-card { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, #ffffff 0%, #f5f8fe 100%); border: 1px solid #e3e9f4; box-shadow: 0 14px 40px rgba(15, 29, 61, .08); }
#bo_v_con .pf-card.no-photo { grid-template-columns: 1fr; }
#bo_v_con .pf-photo { margin: 0; }
#bo_v_con .pf-photo img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; margin: 0 0 12px !important; border-radius: 16px; box-shadow: 0 10px 26px rgba(15, 29, 61, .14); }
#bo_v_con .pf-photo img:last-child { margin-bottom: 0 !important; }
#bo_v_con .pf-info { min-width: 0; }
#bo_v_con .pf-badge { display: inline-block; margin: 0 0 10px; padding: 5px 14px; border-radius: 999px; background: rgba(80, 188, 182, .14); color: #2a8f89; font-size: 14px !important; font-weight: 700; line-height: 1.4; }
#bo_v_con h1.pf-name { margin: 0 0 8px !important; padding: 0; font-size: 36px !important; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #1f2d3d; }
#bo_v_con p.pf-role { margin: 0 0 20px !important; font-size: 17px !important; font-weight: 600; color: #4a5568; word-break: keep-all; }
#bo_v_con p.pf-role i { color: #c9a24a; margin-right: 4px; }
#bo_v_con h2.pf-sub { margin: 0 0 10px !important; padding: 0; font-size: 13px !important; font-weight: 800; letter-spacing: .04em; color: #366ACD; }
#bo_v_con ul.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
#bo_v_con li.pf-chip { margin: 0 !important; padding: 6px 13px; border-radius: 999px; background: #eef3fc; border: 1px solid #d9e4f7; color: #2c4f9e; font-size: 14px !important; font-weight: 600; line-height: 1.35; list-style: none !important; word-break: keep-all; }
#bo_v_con li.pf-chip::before { display: none !important; }

/* 실적 묶음 카드 */
#bo_v_con .pf-sec { margin: 40px 0 0; }
#bo_v_con h2.pf-sec-t { display: flex; align-items: center; gap: 10px; margin: 0 0 18px !important; padding: 0; font-size: 23px !important; font-weight: 800; color: #1f2d3d; }
#bo_v_con h2.pf-sec-t::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: linear-gradient(180deg, #c9a24a, #e6c877); }
#bo_v_con .pf-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; } /* 12-05 같은 줄 박스 높이 맞춤 */
#bo_v_con .pf-group { padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid #e5e9f0; box-shadow: 0 6px 18px rgba(15, 29, 61, .05); transition: border-color .2s, box-shadow .2s; }
#bo_v_con .pf-groups > .pf-group:only-child { grid-column: 1 / -1; }
#bo_v_con .pf-group:hover { border-color: #c9d7f0; box-shadow: 0 10px 26px rgba(15, 29, 61, .09); }
#bo_v_con .pf-group.is-single { display: flex; align-items: center; padding: 16px 22px; min-height: 64px; }
#bo_v_con .pf-group { display: flex; flex-direction: column; }
#bo_v_con .pf-group.is-single { flex-direction: row; }
#bo_v_con h3.pf-group-t { position: relative; margin: 0 !important; padding: 0 0 0 18px; font-size: 16px !important; font-weight: 700; line-height: 1.5; color: #1f2d3d; word-break: keep-all; }
#bo_v_con h3.pf-group-t::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: #366ACD; box-shadow: 0 0 0 3px rgba(54, 106, 205, .15); }
#bo_v_con ul.pf-items { margin: 12px 0 0 !important; padding: 12px 0 0 18px !important; border-top: 1px dashed #e1e7f0; list-style: none !important; }
#bo_v_con .pf-group:not(:has(h3)) ul.pf-items { margin-top: 0 !important; padding-top: 0 !important; border-top: 0; }
#bo_v_con ul.pf-items li { position: relative; margin: 0 0 6px !important; padding: 0 0 0 14px; font-size: 15px !important; line-height: 1.6; color: #3a4558; list-style: none !important; word-break: keep-all; overflow-wrap: anywhere; }
#bo_v_con ul.pf-items li:last-child { margin-bottom: 0 !important; }
#bo_v_con ul.pf-items li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 2px; border-radius: 1px; background: #9fb3d9; }

@media (max-width: 900px) {
    #bo_v_con .pf-card { grid-template-columns: 240px 1fr; gap: 24px; padding: 22px; }
    #bo_v_con h1.pf-name { font-size: 30px !important; }
}
@media (max-width: 700px) {
    .iaied-tv.is-pf { padding-top: 18px; }
    #bo_v_con .pf-card { grid-template-columns: 1fr; gap: 18px; padding: 18px; text-align: center; }
    #bo_v_con .pf-photo { max-width: 300px; margin: 0 auto; }
    #bo_v_con ul.pf-chips { justify-content: center; }
    #bo_v_con h1.pf-name { font-size: 28px !important; }
    #bo_v_con p.pf-role { font-size: 16px !important; }
    #bo_v_con .pf-groups { grid-template-columns: 1fr; gap: 12px; }
    #bo_v_con .pf-group { padding: 16px 18px; }
    #bo_v_con h2.pf-sec-t { font-size: 20px !important; }
}

/* 12-06 제목만 있는 실적 모음 카드(is-singles) — 맨 앞 가로 전체, 안에서 두 줄 목록 */
#bo_v_con .pf-group.is-singles { grid-column: 1 / -1; display: block; padding: 20px 24px; background: linear-gradient(135deg, #f8fafe 0%, #f1f5fc 100%); border-color: #dfe7f5; }
#bo_v_con ul.pf-singles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
#bo_v_con ul.pf-singles li { position: relative; margin: 0 !important; padding: 0 0 0 18px; font-size: 16px !important; font-weight: 700; line-height: 1.5; color: #1f2d3d; list-style: none !important; word-break: keep-all; overflow-wrap: anywhere; }
#bo_v_con ul.pf-singles li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: #366ACD; box-shadow: 0 0 0 3px rgba(54, 106, 205, .15); }
@media (max-width: 700px) {
    #bo_v_con .pf-group.is-singles { padding: 16px 18px; }
    #bo_v_con ul.pf-singles { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    #bo_v_con ul.pf-singles li { font-size: 15px !important; text-align: left; }
}

/* 12-06 8차: 실적 카드가 홀수면 마지막 한 장은 가로 전체(profile.lib.php is-wide) */
#bo_v_con .pf-group.is-wide { grid-column: 1 / -1; }
