/*======== 
강사님 프로필 (최종 수정본)
=========*/
#profile {
    padding: 100px 0 0;
    background: #f6f7f8;
}

.instructor-profile {
    color: #1f2328;
    padding: 20px 0;
}

/* 상단 히어로 섹션 */
.instructor-profile .hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7ea;
    padding: 30px 40px;
    border-radius: 12px;
    gap: 40px;
}

.instructor-profile .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.instructor-profile .avatar-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: #fde2e4; /* 이미지 배경색 */
    margin-bottom: 15px;
}

.instructor-profile .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-profile .meta h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 5px;
}

.instructor-profile .subtitle {
    font-size: 14px;
    color: #888;
    margin: 0 0 15px;
}

.instructor-profile .tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.instructor-profile .tag {
    font-size: 12px;
    color: #ef4c53;
    background: #fff1f2;
    border: 1px solid #ffdfe2;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* 만족도 통계 영역 */
.instructor-profile .hero-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.instructor-profile .stats-summary {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
}

.instructor-profile .stats-summary .work24_logo {
    padding: 0 0 5px;
    margin: 0 0 10px;
    border-bottom: 1px solid #e2e3e3;    
}

.instructor-profile .stats-summary .work24_logo img {
    display: inline-block;
    width: 90px;
}

.instructor-profile .stats-summary .point {
    color: #ef4c53;
    font-size: 16px;
    font-weight: bold;
}

.instructor-profile .stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: center;
}

.instructor-profile .stats-table th {
    background: #f8f9fa;
    border: 1px solid #e5e7ea;
    padding: 8px 4px;
    color: #666;
    font-weight: 500;
}

.instructor-profile .stats-table td {
    border: 1px solid #e5e7ea;
    padding: 10px 4px;
    color: #333;
    font-weight: bold;
}

/* 하단 블록 레이아웃 (2x2) */
.instructor-profile .rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.instructor-profile .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.instructor-profile .block {
    background: #fff;
    border: 1px solid #e5e7ea;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    transition: transform .28s ease;
}

.instructor-profile .block.half {
    flex: 1 1 calc(50% - 10px);
}

/* 타이틀 및 리스트 스타일 */
.instructor-profile .pf-title {
    font-size: 18px;
    font-weight: 700;
    color: #ef4c53;
    margin: 0 0 14px;
    border-bottom: 2px solid #ef4c53;
    display: inline-block;
    padding-bottom: 2px;
}

.instructor-profile .dl-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.instructor-profile .dl-item dt {
    color: #69707a;
    font-weight: 600;
}

.instructor-profile .dl-item dd { margin: 0; line-height: 1.5; }

.instructor-profile ul.clean { list-style: none; padding: 0; margin: 0; }

.instructor-profile .arrow-list li {
    padding: 8px 0 8px 25px;
    border-bottom: 1px solid #f1f2f4;
    font-size: 15px;
    background-image: url('./images/hrd_arrow2.png');
    background-repeat: no-repeat;
    background-position: left 0 center;
    background-size: 16px;
}

.instructor-profile .arrow-list li:last-child { border-bottom: none; }

/* 반응형 */
@media (max-width: 1024px) {
    .instructor-profile .hero { flex-direction: column; padding: 30px 20px; }
    .instructor-profile .hero-right { align-items: center; width: 100%; }
    .instructor-profile .stats-summary { text-align: center; }
}

@media (max-width: 800px) {
    .instructor-profile .block.half { flex: 1 1 100%; }
    .pc_hidden { display: block; }
}

@media (min-width: 801px) {
    .pc_hidden { display: none; }
}

.coment {
    margin-top: 20px;
    color: #ababab;
    font-size: 14px;
}


/*학생후기*/
/* 섹션 전체 배경 */
.instructor-reviews {
    background: #f6f7f8;
    padding: 60px 0;
}

/* 헤더 스타일 */
.instructor-reviews .review-header {
    text-align: center;
    margin-bottom: 40px;
}

.instructor-reviews .pf-title {
    font-size: 24px;
    font-weight: 800;
    color: #ef4c53;
    margin: 0 0 10px;
    border-bottom: 3px solid #ef4c53;
    display: inline-block;
    padding-bottom: 5px;
}

.instructor-reviews .subtitle {
    font-size: 15px;
    color: #888;
}

/* 슬라이더 메인 컨테이너 - .inner 가로폭을 벗어나지 않도록 강제 */
.instructor-reviews #reviewsSlider {
    width: 100%;
    /* overflow: hidden으로 .inner 밖을 차단 */
    overflow: hidden !important; 
    /* 페이지네이션 공간 확보 */
    padding: 10px 0 60px !important;
    position: relative;
}

/* 리뷰 카드 디자인 */
.instructor-reviews .review-card {
    background: #fff;
    border: 1px solid #e5e7ea;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    min-height: 280px; /* 카드 높이 최소값 지정 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.instructor-reviews .review-card:hover {
    border-color: #ef4c53;
    transform: translateY(-5px);
}

.instructor-reviews .card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.instructor-reviews .rating { color: #ffc107; font-size: 16px; }
.instructor-reviews .score { color: #333; margin-left: 4px; }

.instructor-reviews .course-tag {
    font-size: 11px;
    color: #ef4c53;
    background: #fff1f2;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* 긴 텍스트 처리 */
.instructor-reviews .card-body {
    flex-grow: 1;
}

.instructor-reviews .comment {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin: 0;
    /* 긴 후기가 카드 높이를 해치지 않게 5줄 제한 (말줄임) */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.instructor-reviews .comment b {
    font-weight: 700;
    background-color: #fbeaeb;
}

.instructor-reviews .card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    border-top: 1px solid #f1f2f4;
    padding-top: 15px;
    margin-top: 20px;
}

/* 페이지네이션 (불렛) 커스텀 */
.instructor-reviews .swiper-pagination {
    bottom: 10px !important;
}

.instructor-reviews .swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1 !important;
}

.instructor-reviews .swiper-pagination-bullet-active {
    background: #ef4c53 !important;
    width: 20px;
    border-radius: 4px;
}