.creator-page {
  display: flex;
  flex-direction: column;
  /* min-height: 100vh; */
}

.student-new.creator-page .creator-hero-section {
  width: 100%;
  padding: 120px 0px;
  background: #000 !important;
  height: inherit;
}

.creator-page .creator-hero-title-section p {
  color: #802fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.creator-page .creator-hero-title-section h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0px;
}

.creator-page .creator-tab-section {
  font-family: var(--font-family) !important;
  width: 100%;
  background: #000;
}

.creator-page .creator-tab-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.creator-page .creator-tab-list {
  display: flex;
  gap: 40px;
  border-bottom: 2px solid #333;
}

.creator-page .creator-tab-list .creator-filter-tab {
  padding: 0 0 16px 0;
  background: #000;
  color: #666666;
  border: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 140%;
}

.creator-page .creator-tab-list .creator-filter-tab-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  /* background: #fff; */
}

.creator-page
  .creator-tab-list
  .creator-filter-tab.active
  .creator-filter-tab-underline {
  background: #fff;
}

.creator-page .creator-tab-list .creator-filter-tab.active {
  color: #fff;
}

/* 크리에이터 목록 */
.creator-page .creator-list-section {
  width: 100%;
  padding: 80px 0 120px 0;
  background: #000;
}

.creator-page .creator-list-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0px;
  padding-top: 80px;
  position: relative;
}

/* 크리에이터 탭 */
.creator-page .creator-list-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.creator-page .creator-card:hover .card-bg {
  background: #802fff !important;
}

.creator-page .creator-list-grid .creator-card-image {
  position: absolute;
  top: 0;
  width: 378px;
  height: 381px;
}

.creator-page .creator-list-grid .creator-card-image img {
  width: 230px;
  height: 361px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  object-fit: contain;
}

.creator-page .creator-list-grid .creator-card-content {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  text-align: center;
  width: 100%;
}

.creator-page .creator-list-grid .creator-card-content h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.creator-page
  .creator-list-grid
  .creator-card-content
  .creator-card-button-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.creator-page
  .creator-list-grid
  .creator-card-content
  .creator-card-button-container
  button {
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: 4px;
  border-radius: 200px;
  border: 1px solid #333;
  background: #121212;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  justify-content: center;
}
.creator-instructor-list-grid .creator-card-content .creator-card-stats > div {
  width: 90px;
}

.creator-instructor-list-grid
  .creator-card-content
  .creator-card-stats
  .creator-card-stats-title {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  margin-bottom: 4px;
}

.creator-instructor-list-grid
  .creator-card-content
  .creator-card-stats
  .creator-card-stats-number {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

/* 강사 목록 */
.creator-instructor-list-grid {
  display: none;
  grid-template-columns: repeat(
    3,
    minmax(378px, 1fr)
  ); /* 데스크톱: 3열, 최소 378px */
  gap: 24px;
  position: relative;
  justify-content: center; /* 카드가 부족할 때 중앙 정렬 */
}

.creator-instructor-list-grid .creator-card-image-container {
  position: absolute;
  top: 0;
  width: 378px;
  height: 381px;
  z-index: 1; /* 배경 위, 오버레이 아래 */
}

.creator-instructor-list-grid .creator-card-content {
  position: absolute;
  bottom: 32px; /* 45px → 32px (피그마 스펙: 32px from bottom) */
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 32px; /* 30px → 32px (피그마 스펙) */
  z-index: 3; /* 오버레이 위, 최상단 */
}

.creator-instructor-list-grid .creator-card-content h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.creator-instructor-list-grid .creator-card-content .creator-card-stats {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}

.badge-full-container {
  display: flex;
  gap: 17px; /* 16px → 17px (피그마 스펙) */
  justify-content: center;
  margin-bottom: 32px; /* 30px → 32px (피그마 스펙: 32px spacing) */
  align-items: center;
  margin-top: 12px;
}

/* 배지 컨테이너와 빈 배지 이미지 크기 통일 - 피그마 스펙: 58px */
.badge-full-container .badge-container,
.badge-full-container > img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.badge-full-container .badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-full-container .badge-container img {
  width: 100%;
  height: 100%;
}

.creator-card:hover .badge-full-container .badge-container,
.creator-card:hover .badge-full-container > img {
  width: 58px;
  height: 58px;
}

#instructorContent .creator-card .profile-btn {
  /* button_1 - 피그마 스펙 */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 32px;
  width: 314px; /* 100% → 314px (피그마 스펙) */
  max-width: 100%; /* 반응형을 위해 최대 너비 제한 */
  height: 48px;
  background: #802fff; /* main_2 */
  border: none;
  border-radius: 4px;
  color: #fff;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 16px; /* h9_16_B */
  line-height: 140%;
  letter-spacing: -0.03em;
  cursor: pointer;
  margin: 0 auto; /* 중앙 정렬 */
}

#instructorContent .creator-card .profile-btn:hover {
  background: #6622cc;
}

#instructorContent .creator-card .profile-btn:active {
  background: #6622cc;
}

/* ========================================
   반응형 브레이크포인트 정리
   - 모바일 소형: ~375px (iPhone SE 등)
   - 모바일 일반: 376px~768px (일반 스마트폰)
   - 태블릿: 769px~1024px
   - 데스크톱: 1025px~
======================================== */

/* ===== 모바일 소형 (375px 이하) ===== */
@media (max-width: 375px) {
  .student-new.creator-page .creator-hero-section {
    padding: 42px 20px;
  }

  .creator-page .creator-hero-title-section p {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .creator-page .creator-hero-title-section h1 {
    font-size: 20px;
  }

  /* 탭 메뉴 모바일 스타일 - h10_14_B */
  .creator-page .creator-tab-list .creator-filter-tab {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.03em;
  }

  .creator-filter-tab {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.03em;
  }

  /* 크리에이터 목록 */
  .creator-page .creator-list-grid {
    display: grid !important;
    width: 100%;
    left: 0px;
    grid-template-columns: repeat(2, 1fr);
  }
  .creator-page .creator-list-container {
    padding-top: 32px !important; /* 모바일: 구분선과 32px 거리 */
  }

  /* 크리에이터 컨텐츠 스크롤바 숨김 */
  .creator-list-container #creatorContent.creator-list-grid {
    overflow-x: auto !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE, Edge */
  }

  .creator-list-container #creatorContent.creator-list-grid::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari */
  }

  .creator-list-grid .creator-card {
    width: 100%;
    height: 300px;
  }

  .creator-page .creator-list-grid .creator-card-image {
    width: 80%;
    height: 80%;

    left: 50%;
    transform: translateX(-50%);
  }

  .creator-card-image img {
    top: 10px;
    height: 200px;
  }

  .creator-page .creator-list-grid .creator-card-content h3 {
    font-size: 18px;
  }

  .creator-page
    .creator-list-grid
    .creator-card-content
    .creator-card-button-container {
    width: 100%;
  }

  .creator-page
    .creator-list-grid
    .creator-card-content
    .creator-card-button-container
    button {
    width: calc(100% - 24px);
    padding: 8px 6px;
    font-size: 12px;
  }

  .creator-page .creator-list-grid .creator-card-image img {
    width: 100% !important;
    height: 100% !important;
    top: 0px !important;
  }

  /* 강사 목록 */
  .creator-instructor-list-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    left: 0px;
    gap: 8px;
    margin-bottom: 52px;
  }

  .student-new .creator-instructor-list-grid .creator-card {
    width: 100%;
  }

  .creator-instructor-list-grid .creator-card-image-container {
    width: 100%;
    height: 100%;
    aspect-ratio: 378 / 381;
    top: 40px;
  }

  .creator-instructor-list-grid .creator-card-content {
    bottom: 20px;
    width: 100%;
  }

  .creator-instructor-list-grid .creator-card-content h3 {
    font-size: 18px;
  }

  .creator-instructor-list-grid .creator-card-content .creator-card-stats {
    width: 100%;
  }

  .creator-instructor-list-grid
    .creator-card-content
    .creator-card-stats
    .creator-card-stats-title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    margin-bottom: 4px;
  }

  .creator-instructor-list-grid
    .creator-card-content
    .creator-card-stats
    .creator-card-stats-number {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
  }

  .creator-instructor-list-grid .badge-container {
    width: 25px;
    height: 25px;
  }

  .creator-instructor-list-grid .badge-full-container img {
    width: 25px;
    height: 25px;
  }

  #instructorContent .creator-card {
    height: 520px !important;
  }

  #instructorContent .creator-card .profile-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  /* 모바일에서 크리에이터 카드 이미지 위치 조정 */
  .creator-list-grid .creator-card-image {
    top: 30px;
  }

  .creator-list-grid .creator-card-content {
    bottom: 8px;
  }

  /* ===== 모바일 크리에이터 카드 (피그마 디자인) ===== */
  /* 크리에이터 카드 컨테이너 */
  .student-new .creator-card {
    position: relative;
    width: 100%;
    height: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    aspect-ratio: 154 / 300;
  }
  .creator-page .creator-list-grid .creator-card-content {
    bottom: 0px;
  }

  /* 카드 배경 */
  .student-new .creator-card .card-bg {
    position: absolute;
    width: 100%;
    height: 260.78px;
    bottom: 0;
    left: 0;
    background: #121212;
    border-radius: 9.59px;
  }

  /* 이미지 컨테이너 */
  .student-new .creator-card-image-container {
    position: absolute;
    width: 130.9px;
    height: 166.79px;
    left: 0;
    top: 0;
    overflow: visible;
    z-index: 2;
  }

  /* 크리에이터 이미지 */
  .student-new .creator-card-image-container img {
    position: absolute;
    width: 93.28px;
    height: 146.67px;
    left: 50%;
    transform: translateX(-50%) scaleX(-1);
    top: 7.61px;
    object-fit: contain;
  }

  /* 컨텐츠 영역 */
  .student-new .creator-card-content {
    position: absolute;
    width: 107px;
    height: 126.47px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24.83px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 3px;
    z-index: 3;
  }

  /* 크리에이터 이름 */
  .student-new .creator-card-content h3 {
    width: 107px;
    height: 21.25px;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 140%;
    text-align: center;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
  }

  /* 통계 정보 컨테이너 */
  .student-new .creator-card-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 1.7px;
    width: 107px;
    height: 27.19px;
    margin-top: 0px;
  }

  /* 개별 통계 아이템 */
  .student-new .creator-card-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1.69px;
    width: 38px;
    height: 27.19px;
  }

  /* 통계 타이틀 */
  .student-new .creator-card-stats-title {
    width: 38px;
    height: 11.05px;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500;
    font-size: 8px;
    line-height: 140%;
    text-align: center;
    letter-spacing: -0.03em;
    color: #ffffff;
    opacity: 0.4;
    margin: 0;
  }

  /* 통계 숫자 */
  .student-new .creator-card-stats-number {
    width: 38px;
    height: 14.45px;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 10px;
    line-height: 140%;
    text-align: center;
    color: #ffffff;
    margin: 0;
  }

  /* 배지 컨테이너 */
  .student-new .badge-full-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 6.43px;
    width: 107px;
    height: 21.93px;
    margin-top: 3px;
  }

  /* 배지 아이템 */
  .student-new .badge-container {
    width: 21.93px;
    height: 21.93px;
    position: relative;
  }

  /* 빈 배지 */
  .student-new .badge-full-container img[alt='빈배지'] {
    width: 21.93px;
    height: 21.93px;
  }

  /* 배지 툴팁 */
  .student-new .badge-tooltip {
    position: absolute;
    bottom: 29.75px;
    left: 50%;
    transform: translateX(-50%);
    background: #292929;
    border-radius: 6.8px;
    padding: 10.2px;
    white-space: nowrap;
    font-size: 10px;
    color: #ffffff;
    display: none;
    z-index: 10;
  }

  .student-new .badge-container:hover .badge-tooltip {
    display: block;
  }

  /* 인스타그램 링크 컨테이너 - 모바일 */
  .student-new .creator-instagram-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
  }

  /* 인스타그램 버튼 - 모바일 */
  .student-new .instagram-btn {
    /* padding: 3px 8px; */
    gap: 4px;
    height: 20px;
    width: auto;
    min-width: auto;
  }

  .student-new .instagram-icon {
    width: 12px;
    height: 12px;
  }

  .student-new .instagram-btn span {
    font-size: 9px;
    line-height: 100%;
  }

  /* 프로필 버튼 */
  .student-new .profile-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    gap: 6.8px;
    width: 107px;
    height: 25.5px;
    background: #802fff;
    border-radius: 3.4px;
    border: none;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    line-height: 140%;
    text-align: center;
    letter-spacing: -0.03em;
    color: #ffffff;
    cursor: pointer;
    margin-top: 6.8px;
  }

  /* 강사 목록 그리드 수정 */
  .creator-instructor-list-grid {
    gap: 12px 8px !important;
  }

  /* 강사 카드 높이 조정 - 데스크톱과 유사한 비율 유지 */
  #instructorContent .creator-card {
    height: auto !important;
  }

  #instructorContent .card-bg {
    height: 100% !important;
    bottom: 0;
  }

  /* 기존 스타일 오버라이드 - 데스크톱 스타일과 유사하게 */
  .creator-instructor-list-grid .creator-card-image-container {
    position: absolute;
    width: 130.9px;
    height: 166.79px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }

  .creator-instructor-list-grid .creator-card-image-container img {
    position: absolute;
    width: 93.28px !important;
    height: 146.67px !important;
    left: 50%;
    transform: translateX(-50%) scaleX(-1);
    top: -33.39px !important; /* 7.61px → -33.39px (41px 위로) */
  }

  /* 이미지 하단 그라데이션 오버레이 */
  .creator-instructor-list-grid .gradient-overlay {
    position: absolute;
    width: 130.9px;
    height: 60px;
    left: 50%;
    transform: translate(-50%, 10%);
    bottom: 0px;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, #121212 100%);
    z-index: 1;
  }

  #instructorContent .gradient-overlay {
    bottom: 0px;
    width: 130.9px;
    height: 60px;
  }

  /* Frame 178 - 컨텐츠 영역 */
  .creator-instructor-list-grid .creator-card-content {
    position: absolute;
    padding: 0 !important;
    width: 100%;
    height: 148.79px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    bottom: 20px !important;
  }

  /* Frame 177 - 이름 영역 래퍼 */
  .creator-instructor-list-grid .creator-card-content > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 4.51px;
    width: 125.9px;
    height: 25px;
    flex: none;
    order: 0;
    flex-grow: 0;
  }

  /* 이름 텍스트 */
  .creator-instructor-list-grid .creator-card-content h3 {
    width: auto;
    height: 25px;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 18px !important;
    line-height: 140%;
    text-align: center;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 !important;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
  }

  /* Frame 1707484288 - 통계 및 배지 메인 컨테이너 */
  .creator-instructor-list-grid .creator-card-content > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 125.9px;
    /* height: 115.79px; */
    flex: none;
    order: 1;
    flex-grow: 0;
  }

  /* Frame 1707484287 - 통계 및 배지 서브 컨테이너 */
  .creator-instructor-list-grid .creator-card-content > div:nth-child(2) > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: auto;
    height: 69.79px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
  }

  /* Frame 235 - 통계 정보 컨테이너 */
  .creator-instructor-list-grid .creator-card-stats {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    gap: 2px !important;
    width: 100% !important;
    height: 31.99px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
  }

  /* Frame 234, 232, 233 - 개별 통계 아이템 */
  .creator-instructor-list-grid .creator-card-stats > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 1.99px;
    width: 44.71px;
    height: 31.99px;
    flex: none;
    flex-grow: 0;
  }

  /* 통계 타이틀 스타일 */
  .creator-instructor-list-grid .creator-card-stats-title {
    width: 44.71px;
    height: 13px;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500;
    font-size: 9px !important;
    line-height: 140%;
    text-align: center;
    letter-spacing: -0.03em;
    color: #ffffff;
    opacity: 0.4;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 0 !important;
  }

  /* 통계 숫자 스타일 */
  .creator-instructor-list-grid .creator-card-stats-number {
    width: 44.71px;
    height: 17px;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 11.9232px !important;
    line-height: 140%;
    text-align: center;
    color: #ffffff;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    margin: 0 !important;
  }

  /* Frame 238 - 배지 컨테이너 */
  .creator-instructor-list-grid .badge-full-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
    gap: 7.56px !important;
    width: 125.9px !important;
    height: 25.8px !important;
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
  }

  /* 배지 컨테이너 스타일 */
  .creator-instructor-list-grid .badge-container,
  .creator-instructor-list-grid .badge-full-container img {
    width: 25.8px !important;
    height: 25.8px !important;
  }

  .creator-instructor-list-grid .badge-full-container {
    gap: 7.56px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  /* Frame 1707484246 - 프로필 버튼 */
  #instructorContent .creator-card .profile-btn {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 3px 4px !important;
    gap: 8px !important;
    width: 125.9px !important;
    height: 20px !important;
    background: #802fff !important;
    border-radius: 4px !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    margin-top: 0 !important;
    font-family: 'Pretendard' !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 140% !important;
    text-align: center !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    margin: 0 auto;
  }
}

/* ===== main.html에서 이동한 스타일 ===== */

/* 크리에이터 이미지 개별 스타일 */
.creator-card-image img[alt='클로이'] {
  width: 230px;
  height: 361px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  object-fit: contain;
}

.creator-card-image img[alt='스완'] {
  width: 275px !important;
  height: 412.45px !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: -23px !important;
  object-fit: contain !important;
}

.creator-card-image img[alt='폴라리스'] {
  width: 289.33px !important;
  height: 434px !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: -33px !important;
  object-fit: contain !important;
}

.creator-card-image img[alt='아이린'] {
  width: 254px !important;
  height: 381px !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: -5px !important;
  object-fit: contain !important;
}

.creator-card-image img[alt='태랑'] {
  width: 234px !important;
  height: 311px !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: 35px !important;
  object-fit: contain !important;
}

/* 버튼 내 아이콘 스타일 */
.creator-card-button-container button {
  white-space: nowrap;
}
.creator-card-button-container button img[alt='TikTok'] {
  width: 18px;
  height: 18px;
}

.creator-card-button-container button img[alt='Instagram'] {
  width: 16px;
  height: 16px;
}

/* 강사 카드 이미지 스타일 - 68px 위로 이동 */
.creator-card-image-container img[alt='클로이'] {
  width: 230px;
  height: 382px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -44px; /* 24px → -44px (68px 위로) */
  object-fit: contain;
}

.creator-card-image-container img[alt='스완'] {
  width: 275px;
  height: 380px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -44px; /* 24px → -44px (68px 위로) */
  object-fit: contain;
}

.creator-card-image-container img[alt='폴라리스'] {
  width: 289.33px;
  height: 434px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -68px; /* 0 → -68px (68px 위로) */
  object-fit: contain;
}

.creator-card-image-container img[alt='아이린'] {
  width: 254px;
  height: 381px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -68px; /* 0 → -68px (68px 위로) */
  object-fit: contain;
}

.creator-card-image-container img[alt='태랑'] {
  width: 234px;
  height: 311px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -28px; /* 40px → -28px (68px 위로) */
  object-fit: contain;
}

/* 태랑 특별 h3 스타일 */
.creator-instructor-list-grid .creator-card:last-child h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* 하단 배너 섹션 */
.banner-full-width {
  width: 100vw;
  margin-top: auto;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: url('/html/_module/creator/images/joinus.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-container {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
}

.banner-content-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-content {
  padding: 104px 0;
  text-align: left;
}

#instructorBanner {
  display: none;
}

.banner-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.banner-title-wide {
  max-width: 653px;
}

.banner-description {
  color: #999;
  font-size: 14px;
  line-height: 140%;
  margin-bottom: 24px;
}

.banner-description-light {
  color: rgba(255, 255, 255, 0.6);
}

.banner-button {
  display: inline-flex;
  padding: 9px 32px;
  align-items: center;
  gap: 10px;
  border-radius: 400px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.banner-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 이전 클래스명도 유지 (하위 호환성) */
.creator-banner-section {
  width: 100vw;
  margin-top: auto;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.creator-banner-bg {
  max-width: 1920px;
  width: 100%;
  height: 321px;
  min-height: 321px;
  background: url('/html/_module/creator/images/joinus.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin: 0 auto;
}

.creator-banner-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.creator-banner-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.creator-banner-desc {
  color: #999;
  font-size: 14px;
  line-height: 140%;
  margin-bottom: 24px;
}

.creator-banner-btn {
  display: inline-flex;
  padding: 9px 32px;
  align-items: center;
  gap: 10px;
  border-radius: 400px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.creator-banner-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* <style> 태그에서 이동한 스타일 */
.creator-card {
  flex: 0 0 378px;
  width: 378px;
  height: 564px;
  position: relative;
  transition: transform 0.2s ease; /* 0.3s → 0.2s (더 빠르게) */
}

.creator-card:hover {
  transform: translateY(-2px); /* -8px → -2px (아주 미세하게) */
}

.creator-card .card-bg {
  position: absolute;
  bottom: 0;
  width: 378px;
  height: 496px;
  background: #121212;
  border-radius: 20px;
  transition: none;
}

/* 그라데이션 오버레이 기본 스타일 */
.gradient-overlay {
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, #121212 100%);
  transition: background 0.3s ease;
  z-index: 2; /* 이미지(z-index: 2) 위, 컨텐츠(z-index: 3) 아래 */
}

.creator-card:hover .card-bg,
.creator-card.active .card-bg {
  background: #802fff;
  box-shadow: 0 4px 12px rgba(128, 47, 255, 0.15); /* 훨씬 미세한 그림자 */
}

.creator-card:hover .gradient-overlay,
.creator-card.active .gradient-overlay {
  background: linear-gradient(180deg, rgba(128, 47, 255, 0) 0%, #802fff 100%);
}

/* 강사 섹션 카드 배경 높이 조정 - 피그마 스펙: 642px */
#instructorContent .card-bg {
  height: 642px; /* 645px → 642px (피그마 스펙) */
}

#instructorContent .creator-card {
  height: 642px; /* 720px → 642px (피그마 스펙) */
}

/* 강사 섹션 활성 카드의 프로필 버튼 스타일 */
#instructorContent .creator-card.active .profile-btn {
  background: #000 !important;
}

#instructorContent .creator-card.active .profile-btn:hover {
  background: #333 !important;
}

/* 강사 섹션 hover 시 프로필 버튼 스타일 */
#instructorContent .creator-card:hover .profile-btn {
  background: #000 !important;
}

#instructorContent .creator-card:hover .profile-btn:hover {
  background: #333 !important;
}

/* 탭 전환 애니메이션 */
#creatorContent,
#instructorContent {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#creatorContent.active,
#instructorContent.active {
  opacity: 1;
  transform: translateY(0);
}

.creator-filter-tab {
  position: relative;
  color: #666666;
  font-size: 18px;
  transition: color 0.2s ease;
}

.creator-filter-tab.active {
  color: #fff;
}

.creator-filter-tab div {
  transition: all 0.3s ease;
}

/* 중간 크기 화면 (1025px ~ 1200px) - 3열이 좁아질 때 2열로 전환 */
@media (min-width: 1025px) and (max-width: 1200px) {
  .creator-instructor-list-grid {
    grid-template-columns: repeat(2, minmax(378px, 1fr)) !important;
    gap: 20px !important;
    max-width: 820px; /* 378px * 2 + 20px gap + padding */
    margin: 0 auto;
    margin-top: 90px;
  }

  .creator-page .creator-list-container {
    max-width: 1180px;
    padding: 0 40px;
  }
}

/* 태블릿 스타일 (769px ~ 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .banner-content-wrapper {
    padding: 0 40px;
  }

  .banner-content {
    padding: 80px 0;
  }

  .banner-title {
    font-size: 24px;
  }

  .creator-page .creator-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .creator-instructor-list-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* 태블릿에서 카드가 컨테이너에 맞게 조정 */
  .creator-card {
    width: 100%;
    max-width: 378px;
    height: 564px;
  }

  .creator-card .card-bg {
    width: 100%;
    height: 496px;
    border-radius: 20px;
  }

  #instructorContent .card-bg {
    height: 642px; /* 피그마 스펙 */
  }

  #instructorContent .creator-card {
    height: 642px; /* 피그마 스펙 */
  }

  .creator-card-image-container {
    width: 378px;
    height: 381px;
  }

  .creator-card-content h3 {
    font-size: 28px;
  }

  .badge-full-container {
    gap: 16px;
  }

  .badge-full-container .badge-container,
  .badge-full-container > img {
    width: 58px;
    height: 58px;
  }

  #instructorContent .creator-card .profile-btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
  }
}

/* 배지 툴팁 스타일 */
.badge-container {
  position: relative;
  display: inline-block;
}

.badge-tooltip {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}

.badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
}

.badge-container:hover .badge-tooltip {
  opacity: 1;
  visibility: visible;
}

/* 미디어 쿼리 - 태블릿 */
@media (max-width: 1024px) {
  .student-new .creator-category-grid,
  .student-new .creator-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .student-new .creator-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .student-new .creator-featured-grid {
    grid-template-columns: 1fr;
  }

  .student-new .creator-featured-card {
    flex-direction: column;
  }

  .student-new .creator-featured-image {
    width: 100%;
    height: 300px;
  }

  /* 크리에이터 목록 그리드 조정 */
  .creator-page .creator-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 강사 목록 그리드 조정 */
  .creator-instructor-list-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== 376px ~ 768px 구간: 데스크톱 스타일 그대로, 1열로만 표시 ===== */
@media (min-width: 376px) and (max-width: 768px) {
  /* 탭 메뉴와 강사 목록 사이 간격 80px 유지 */
  .creator-page .creator-list-container {
    padding-top: 80px !important;
  }

  /* 강사 목록 그리드를 1열로 변경 (카드 크기는 데스크톱 그대로) */
  .creator-instructor-list-grid {
    grid-template-columns: 1fr !important; /* 2열 → 1열 */
    justify-items: center; /* 카드 중앙 정렬 */
  }

  /* 데스크톱 이미지 스타일 강제 적용 (모바일 스타일 무효화) */
  .creator-card-image-container img,
  .creator-instructor-list-grid .creator-card-image-container img,
  .student-new .creator-card-image-container img {
    width: auto !important; /* 데스크톱 크기로 복원 */
    height: auto !important;
    transform: translateX(-50%) !important; /* scaleX(-1) 제거 */
    top: -44px !important; /* 24px → -44px (68px 위로 이동) */
  }

  /* 개별 강사 이미지 스타일 복원 */
  .creator-card-image-container img[alt='클로이'] {
    width: 230px !important;
    height: 382px !important;
    top: -44px !important; /* 24px → -44px (68px 위로) */
  }

  .creator-card-image-container img[alt='스완'] {
    width: 275px !important;
    height: 380px !important;
    top: -44px !important; /* 24px → -44px (68px 위로) */
  }

  .creator-card-image-container img[alt='폴라리스'] {
    width: 289.33px !important;
    height: 434px !important;
    top: -68px !important; /* 0 → -68px (68px 위로) */
  }

  /* 이미지 컨테이너도 데스크톱 크기로 */
  .creator-card-image-container,
  .creator-instructor-list-grid .creator-card-image-container,
  .student-new .creator-card-image-container {
    width: 378px !important;
    height: 381px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 0 !important;
    z-index: 1 !important; /* 배경 위, 오버레이 아래 */
  }

  /* 그라데이션 오버레이도 데스크톱 크기 */
  .gradient-overlay,
  .creator-instructor-list-grid .gradient-overlay,
  .student-new .gradient-overlay {
    width: 100% !important;
    height: 140px !important;
    left: 0 !important;
    transform: none !important;
    bottom: -24px !important;
    z-index: 2 !important; /* 이미지 위, 컨텐츠 아래 */
  }

  /* 컨텐츠 영역도 데스크톱 스타일 */
  .creator-card-content,
  .creator-instructor-list-grid .creator-card-content,
  .student-new .creator-card-content {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    bottom: 32px !important;
    padding: 0 32px !important;
    z-index: 3 !important; /* 오버레이 위, 최상단 */
  }

  /* 이름, 배지, 버튼 모두 데스크톱 크기 */
  .creator-card-content h3,
  .creator-instructor-list-grid .creator-card-content h3,
  .student-new .creator-card-content h3 {
    font-size: 28px !important;
    margin-bottom: 16px !important;
  }

  .badge-full-container,
  .creator-instructor-list-grid .badge-full-container,
  .student-new .badge-full-container {
    width: auto !important;
    height: auto !important;
    gap: 17px !important;
    margin-bottom: 32px !important;
  }

  .badge-container,
  .badge-full-container > img,
  .creator-instructor-list-grid .badge-container,
  .creator-instructor-list-grid .badge-full-container img,
  .student-new .badge-container,
  .student-new .badge-full-container img {
    width: 58px !important;
    height: 58px !important;
  }

  .profile-btn,
  #instructorContent .creator-card .profile-btn,
  .student-new .profile-btn {
    width: 314px !important;
    height: 48px !important;
    padding: 12px 32px !important;
    font-size: 16px !important;
  }

  /* 인스타그램 버튼도 데스크톱 크기 */
  .instagram-btn,
  .student-new .instagram-btn {
    width: 165px !important;
    height: 36px !important;
    padding: 8px 16px !important;
    gap: 4px !important;
  }

  .instagram-icon,
  .student-new .instagram-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .instagram-btn span,
  .student-new .instagram-btn span {
    font-size: 14px !important;
    line-height: 140% !important;
  }
}

/* 팀 합류 문의 배너 색션 */
.student-new .home-joinus-inquiry {
  position: relative;
  width: 100%;
  height: 320px;

  background: url('/assets/images/main/home-joinus-inquiry-banner.png')
    no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin-top: 120px;
}

.student-new .joinus-inquiry-container {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 100px;
}

.student-new .joinus-inquiry-container h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.student-new .joinus-inquiry-container p {
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  margin-bottom: 24px;
}

.student-new .joinus-inquiry-container button.joinus-inquiry-button {
  width: 118px;
  height: 40px;
  background: #ffffff10;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  outline: none;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.student-new .joinus-inquiry-container button.joinus-inquiry-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== 모바일 일반 (376px ~ 768px) ===== */
@media (min-width: 376px) and (max-width: 768px) {
  /* 하단 배너 - 작은 모바일 */
  .student-new .joinus-inquiry-container {
    padding-top: 32px;
    margin: 0 auto;
    bottom: 16px;
    transform: translate(-50%, -16px);
  }

  .student-new .joinus-inquiry-container h2 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .student-new .joinus-inquiry-container p {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .student-new .joinus-inquiry-container button.joinus-inquiry-button {
    width: 100px;
    height: 40px;
    font-size: 13px;
    margin: 0 auto;
  }

  /* 강사 카드 스타일 */
  #instructorContent .card-bg {
    height: calc(100% - 40px);
  }

  .creator-card-image-container img[alt='클로이'] {
    top: 8px; /* 잘림 방지 */
    height: 166.79px;
  }

  .creator-card-image-container img[alt='스완'] {
    top: 10px;
    height: 166.79px;
    transform: translateX(-50%) scaleX(-1) scale(1.25);
  }

  .creator-card-image-container img[alt='폴라리스'] {
    top: 12px;
    height: 166.79px;
    transform: translateX(-50%) scale(1.3);
  }

  .creator-instructor-list-grid .creator-card-content {
    bottom: -20px;
  }

  .creator-instructor-list-grid .creator-card-content > div:nth-child(2) {
    margin-bottom: 0px;
  }

  .creator-instructor-list-grid .creator-card-content > div:nth-child(2) > div {
    gap: 2px;
    height: 32px;
  }
}

/* 캐러셀 좌우 카드 이미지 축소 */
.instructor-center-card:not(.center-card)
  .instructor-center-card-image-container
  img {
  transform: translateX(-50%) scale(0.85) !important;
}

/* 중앙 카드는 더 크게 */
.instructor-center-card.center-card
  .instructor-center-card-image-container
  img {
  transform: translateX(-50%) scale(1.15) !important;
}

/* 히어로 섹션 모바일 스타일은 위의 미디어 쿼리에 통합됨 */

/* ===== 주석처리: 메인 페이지에서 전문 강사진 섹션 사용 예정 ===== */
/*
/* 메인 페이지 크리에이터 섹션 스타일 */
/*
#creatorSection {
  width: 100%;
  background: #000;
}

/* 메인 페이지 - 크리에이터 카드 기본 스타일 (home-creator-card-bg) */
/*
.home-creator-card-bg {
  position: absolute;
  bottom: 0;
  width: 378px;
  height: 496px;
  background: #121212;
  border-radius: 20px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.creator-card:hover .home-creator-card-bg {
  background: #802fff;
  box-shadow: 0 20px 40px rgba(128, 47, 255, 0.3);
}

/* 크리에이터 이미지 영역 */
/*
.creator-card .creator-image {
  position: absolute;
  top: 0;
  width: 378px;
  height: 381px;
}

/* 크리에이터 컨텐츠 영역 */
/*
.creator-card .creator-content {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

/* 크리에이터 이름 */
/*
.creator-card .creator-card-name {
  color: #FFF;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* 인스타그램 링크 컨테이너 */
/*
.creator-instagram-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 16px;
}

/* 인스타그램 버튼 */
/*
.instagram-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #121212;
  border: 1px solid #333;
  border-radius: 200px;
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.instagram-btn:hover {
  background: #1e1e1e;
  border-color: #555;
}

.instagram-icon {
  width: 18px;
  height: 18px;
}

/* 모바일 반응형 (375px 이하) */
/*
@media (max-width: 375px) {
  /* 메인 페이지 크리에이터 섹션 */
/*
  #creatorSection {
    padding: 0 20px;
  }

  /* 메인 페이지 - 크리에이터 카드 모바일 스타일 */
/*
  #creatorSection .creator-card .home-creator-card-bg {
    width: 100%;
    height: 260.78px;
    border-radius: 9.59px;
  }

  #creatorSection .creator-card .creator-image {
    width: 130.9px;
    height: 166.79px;
    left: 50%;
    transform: translateX(-50%);
  }

  #creatorSection .creator-card .creator-image img {
    width: 93.28px !important;
    height: 146.67px !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(-1) !important;
    top: 7.61px !important;
  }

  #creatorSection .creator-card .gradient-overlay {
    width: 130.9px !important;
    height: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
  }

  #creatorSection .creator-card .creator-content {
    width: 107px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24.83px;
    padding: 0;
  }

  #creatorSection .creator-card .creator-card-name {
    font-size: 15px;
    line-height: 140%;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }

  #creatorSection .instagram-btn {
    height: 20px;
    padding: 3px 8px;
    gap: 4px;
    font-size: 9px;
    line-height: 100%;
  }

  #creatorSection .instagram-icon {
    width: 12px;
    height: 12px;
  }

  /* 강사 탭 내용 모바일 스타일 */
/*
  #instructorContent .creator-card .creator-content {
    bottom: 20px;
    width: 100%;
  }

  #instructorContent .creator-card .creator-card-name {
    font-size: 18px;
    margin-bottom: 16px;
  }

  /* 통계 정보 */
/*
  #instructorContent .creator-card-stats {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 16px;
  }

  #instructorContent .creator-card-stats > div {
    width: 44.71px;
  }

  #instructorContent .creator-card-stats p:first-child {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
  }

  #instructorContent .creator-card-stats p:last-child {
    font-size: 11.92px;
    font-weight: 700;
    color: #FFF;
  }

  /* 배지 컨테이너 */
/*
  #instructorContent .badge-container {
    width: 25.8px;
    height: 25.8px;
  }

  #instructorContent .badge-container img,
  #instructorContent img[alt="빈배지"] {
    width: 25.8px !important;
    height: 25.8px !important;
  }

  #instructorContent .badge-full-container {
    gap: 7.56px;
    margin-bottom: 0;
  }

  /* 프로필 버튼 */
/*
  #instructorContent .profile-btn {
    width: 125.9px !important;
    height: 20px !important;
    padding: 3px 4px !important;
    font-size: 12px !important;
    line-height: 140% !important;
    letter-spacing: -0.03em !important;
  }
}
*/
