/*======== 
강사님 프로필
=========*/

/* 기본 구조 */
#profile {
  /* background: #f6f7f8; */
  background: #fff;
  color: #1f2328;
}

/* 상단 프로필 */
#profile .hero {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #e5e7ea;
  padding: 20px 24px;
  border-radius: 12px;
}

#profile .avatar {
  width: 125px;
}

#profile .meta h1 {
  font-size: 26px;
  margin: 0 0 6px;
  font-weight: 700;
}

#profile .subtitle {
  margin: 0 0 10px;
  color: #69707a;
  font-size: 15px;
}

#profile .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#profile .tag {
  font-size: 13px;
  color: #ef4c53;
  background: #ffe9ec;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #f7d6da;
  font-weight: 600;
}

/* 블록 */
#profile .block {
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 6px;
  padding: 20px;
  box-sizing: border-box;
  transition: transform .28s ease;
}
#profile .block:hover {
    transform: translateY(-3px);
}

/* full width (주요경력) */
#profile .block.full {
  margin-top: 20px;
}

/* 2행 구성 */
#profile .rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

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

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

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

/* 타이틀 */
#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;
}

/* 정의 리스트 */
#profile .dl {
  display: grid;
  gap: 10px;
}

#profile .dl-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}

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

#profile .dl-item dd {
  margin: 0;
}

/* 리스트 */
#profile ul.clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

#profile ul.clean li {
  padding: 6px 0;
  border-bottom: 1px solid #f1f2f4;
  font-size: 15px;
}

#profile ul.clean li:last-child {
  border-bottom: none;
}

/* 칩 */
#profile .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#profile .chip {
  background: #f7f9fb;
  border: 1px solid #eceff2;
  color: #3a3f45;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
}

#profile .muted {
  color: #69707a;
}

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


/*학생후기*/
/* 섹션 전체 배경 */
.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;
}