/* 전역 폰트 설정 */
body,
* {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
}

/* 공통 */
.student-new .master-section-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
}

.student-new .master-section-description {
  position: relative;
  color: #999999;
  font-size: 14px;
  line-height: 150%;
  margin-bottom: 32px;
}

.student-new .master-section-description .slider-dots-top {
  bottom: 0px;
  position: absolute;
  right: 0px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 10;
}

/* 히어로 색션 */
.master-main-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1920px;
  width: 100%;
  height: 456px;
  min-height: 440px;
  background: url('/html/_module/master/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  overflow: hidden;
}

.master-main-section .master-main-content {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.master-main-content .text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 12px;
}

.master-main-content .sub-title {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 140%;
  color: #802fff;
  margin: 0;
}

.master-main-content .title {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 140%;
  color: #ffffff;
  margin: 0;
}

/* 마스터 과정 슬라이드 색션 */
.master-slide-section {
  width: 100%;
  padding: 504px 0 119px 0;
  background: #000;
}

/* 드래그 스크롤 컨테이너 스타일 */
.master-course-scroll-container {
  cursor: grab;
  -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

.master-course-scroll-container:active {
  cursor: grabbing;
}

/* 카드 상단 이미지 영역 */
.card-top-section {
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.master-slide-section .master-slide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
  position: relative;
}

/* 전문 강사진 색션 */
.master-instructor-carousel-container {
  width: 100%;
  padding: 0 0 119px 0;
  background: #000;
  overflow: visible; /* 좌우 회색 박스가 보이도록 */
}

.instructor-carousel-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

.instructor-carousel-content .center-card-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.instructor-carousel-content .center-card-container .instructor-center-card {
  position: absolute;
  width: 638.03px;
  height: 517.25px;
  left: calc(50% - 638.03px / 2 + 0.06px);
  top: 0;
  z-index: 1;
  transition: all 0.5s ease;
}

.instructor-carousel-content
  .center-card-container
  #instructorCard0
  .instructor-center-card-background,
.instructor-carousel-content
  .center-card-container
  #instructorCard2
  .instructor-center-card-background,
.instructor-carousel-content
  .center-card-container
  #instructorCard0
  .instructor-center-card-gradient-overlay,
.instructor-carousel-content
  .center-card-container
  #instructorCard2
  .instructor-center-card-gradient-overlay,
.instructor-carousel-content
  .center-card-container
  #instructorCard0
  .instructor-center-card-bottom-rectangle,
.instructor-carousel-content
  .center-card-container
  #instructorCard2
  .instructor-center-card-bottom-rectangle {
  background: none;
}

#instructorCard0 .instructor-center-card-gradient-overlay,
#instructorCard2 .instructor-center-card-gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(128, 47, 255, 0) 0%,
    #000000 100%
  ) !important;
}

.instructor-center-card-background {
  position: absolute;
  width: 638px;
  height: 450px;
  left: 0px;
  top: 67.25px;
  background: #802fff;
  border-radius: 20px;
}

.instructor-center-card-image-container {
  position: absolute;
  width: 637.94px;
  height: 375.67px;
  left: 0px;
  top: 0px;
}

.instructor-center-card-gradient-overlay {
  position: absolute;
  width: 637.94px;
  height: 139.5px;
  left: 0px;
  top: 219.5px;
  background: linear-gradient(180deg, rgba(128, 47, 255, 0) 0%, #802fff 100%);
}

.instructor-center-card-bottom-rectangle {
  position: absolute;
  width: 637.94px;
  height: 60px;
  left: 0px;
  top: 356px;
  background: #802fff;
}

.instructor-carousel-container .carousel-nav-arrows {
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.instructor-carousel-container .carousel-nav-arrows:last-child {
  position: absolute;
  left: initial;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

/* 진행과정 탭 */

.master-process-section {
  width: 100%;
  padding: 0 0 119px 0;
  background: #000;
}
/* 마스터과정 진행과정 스타일 */

.student-new .tab-content {
  display: block !important;
}

.student-new .process-flow-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
}

.student-new .process-flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.student-new .process-flow-item .image-wrap {
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-flow-item .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.student-new .process-flow-item .description-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-flow-item .description-wrap .process-count {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
  background: #802fff;
  border-radius: 4px;
  width: 24px;
  height: 24px;
}

.process-flow-item .description-wrap .process-title {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 0px;
}

/* 마스터 클래스 수료 혜택 */
.master-benefits-section {
  width: 100%;
  padding: 0 0 119px 0;
  background: #000;
}

.master-benefits-section .benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.master-benefits-section .benefits-grid .benefit-item {
  border-radius: 20px;
  height: 404px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  transform: translateY(0);
  background: #121212;
}

.master-benefits-section .benefits-grid .benefit-item .benefit-item-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.master-benefits-section .benefits-grid .benefit-item:hover {
  background: #191919;
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(128, 47, 255, 0.2);
}

.master-benefits-section .benefits-grid .benefit-item h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.master-benefits-section .benefits-grid .benefit-item p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 160%;
}

/* 문의하기 색션 */

.master-contact-section {
  max-width: 1180px;
  width: 100%;
  height: 291px;
  margin: 0 auto 119px;
  position: relative;
}

.master-contact-section .master-contact-content {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url(/html/_module/master/masterclass-contact.png);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
}

.master-contact-section
  .master-contact-content
  .master-contact-content-container {
  position: absolute;
  width: 416.24px;
  height: 202px;
  left: 56px;
  top: 44.5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 24px;
}

.master-contact-section
  .master-contact-content
  .master-contact-content-container
  .text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 16px;
  width: 416.24px;
  height: 138px;
}
.master-contact-content-container .text-content p:first-child {
  width: 416.24px;
  height: 20px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #802fff;
  margin: 0;
}
.master-contact-content-container .text-content p:last-child {
  width: 416.24px;
  height: 20px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #999999;
  margin: 0;
}
.master-contact-content-container .text-content h3 {
  width: 416.24px;
  height: 78px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
}

.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(1) {
  width: 247px;
  left: 0px;
}

.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(3) {
  width: 247px;
  left: initial;
  right: 0px;
  z-index: 2;
}

.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(1)
  .instructor-center-card-background,
.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(3)
  .instructor-center-card-background,
.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(1)
  .instructor-center-card-gradient-overlay,
.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(3)
  .instructor-center-card-gradient-overlay,
.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(1)
  .instructor-center-card-image-container,
.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(3)
  .instructor-center-card-image-container,
.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(1)
  .instructor-center-card-bottom-rectangle,
.student-new
  .master-instructor-carousel-container
  .center-card-container
  .instructor-center-card:nth-child(3)
  .instructor-center-card-bottom-rectangle {
  width: 100%;
}

@media (max-width: 1140px) {
  .instructor-carousel-content .center-card-container .instructor-center-card,
  .instructor-center-card-background,
  .instructor-center-card-image-container,
  .instructor-center-card-gradient-overlay,
  .instructor-center-card-bottom-rectangle {
    width: 600px;
  }

  .instructor-carousel-content .center-card-container .instructor-center-card {
    left: calc(50% - 600px / 2 + 0.06px);
  }
}

@media (max-width: 1100px) {
  .instructor-carousel-content .center-card-container .instructor-center-card,
  .instructor-center-card-background,
  .instructor-center-card-image-container,
  .instructor-center-card-gradient-overlay,
  .instructor-center-card-bottom-rectangle {
    width: 400px;
  }

  .instructor-carousel-content .center-card-container .instructor-center-card {
    left: calc(50% - 400px / 2 + 0.06px);
  }
}

@media (max-width: 900px) {
  .instructor-carousel-content .center-card-container .instructor-center-card,
  .instructor-center-card-background,
  .instructor-center-card-image-container,
  .instructor-center-card-gradient-overlay,
  .instructor-center-card-bottom-rectangle {
    width: 350px;
  }

  .instructor-carousel-content .center-card-container .instructor-center-card {
    left: calc(50% - 350px / 2 + 0.06px);
  }
}

@media (max-width: 850px) {
  .instructor-carousel-content .center-card-container .instructor-center-card,
  .instructor-center-card-background,
  .instructor-center-card-image-container,
  .instructor-center-card-gradient-overlay,
  .instructor-center-card-bottom-rectangle {
    width: 280px;
  }

  .instructor-carousel-content .center-card-container .instructor-center-card {
    left: calc(50% - 280px / 2 + 0.06px);
  }
}

@media (max-width: 768px) {
  /* 공통 */
  .student-new .master-section-title {
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 0px;
  }

  .student-new .master-section-description {
    font-size: 13px;
    line-height: 140%;
  }

  .student-new .inner > section {
    padding-top: 40px;
    padding-bottom: 0px;
  }

  .student-new .inner > section.master-slide-section {
    padding-top: 200px;
  }

  .student-new .inner > section.master-process-section {
    padding-top: 0px;
  }

  .student-new
    .master-instructor-carousel-container
    .center-card-container
    .instructor-center-card:nth-child(1),
  .student-new
    .master-instructor-carousel-container
    .center-card-container
    .instructor-center-card:nth-child(3) {
    display: none;
  }

  /* 히어로 색션 */
  .master-main-section {
    height: 190px;
    min-height: 190px;
  }

  .master-main-content .text-content {
    bottom: 80px;
    left: 10%;
  }

  .master-main-content .sub-title {
    font-size: 14px !important;
  }

  .master-main-content .title {
    font-size: 20px;
  }

  /* 마스터 과정 슬라이드 색션 */
  .master-slide-section {
    padding: 240px 0 60px 0;
  }

  .master-slide-section .master-slide-container {
    margin-top: 24px;
  }

  /* 전문 강사진 색션 */
  .student-new .inner > section.master-instructor-carousel-container {
    padding-top: 0px;
    padding-bottom: 520px;
  }

  .instructor-center-card-background {
    width: 100%;
    height: 370px;
    aspect-ratio: 1 / 1;
    height: 400px;
  }

  .instructor-center-card-image-container {
    width: 100%;
  }

  .instructor-center-card-gradient-overlay,
  .instructor-center-card-bottom-rectangle {
    width: 100%;
  }

  /* 모바일에서 좌우 회색 박스 숨기기 */
  .instructor-side-box {
    display: none !important;
  }

  .instructor-carousel-container .carousel-nav-arrows {
    display: none !important; /* 모바일에서 화살표 숨기기 */
  }

  .instructor-carousel-container .carousel-nav-arrows > img {
    width: 24px !important;
    height: 24px !important;
  }

  .instructor-carousel-container .carousel-nav-arrows {
    left: -20px;
  }

  .instructor-carousel-container .carousel-nav-arrows:last-child {
    right: -40px;
  }

  /* 진행과정 탭 */

  .master-process-section {
    padding-bottom: 40px !important;
  }

  .student-new .tab-content {
    display: block !important;
  }

  .student-new .process-flow-container {
    grid-template-columns: repeat(1, 1fr);

    width: 100%;
    height: 100%;

    gap: 30px;

    min-height: max-content;
    overflow: hidden;
  }

  .student-new .process-flow-item {
    gap: 16px;
  }

  .student-new .process-flow-item .image-wrap {
    width: 80px;
    height: 80px;
  }

  .student-new .process-flow-item .description-wrap {
    gap: 12px;
  }

  .student-new .process-flow-item .description-wrap .process-count {
    font-size: 16px;
    width: 20px;
    height: 20px;
  }

  /* 마스터 클래스 수료 혜택 */

  .master-benefits-section .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    margin-bottom: 40px;
  }

  .master-benefits-section .benefits-grid .benefit-item {
    padding: 24px 16px;
    height: 265px;
  }

  .master-benefits-section .benefits-grid .benefit-item .benefit-item-icon {
    width: 86px;
    height: 86px;
    margin-bottom: 10px;
  }
  .master-benefits-section .benefits-grid .benefit-item .benefit-item-icon img {
    width: 86px !important;
    height: 82px !important;
  }

  .master-benefits-section .benefits-grid .benefit-item .benefit-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .master-benefits-section .benefits-grid .benefit-item h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .master-benefits-section .benefits-grid .benefit-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 160%;
  }

  .master-benefits-section .benefits-grid .benefit-item h3,
  .master-benefits-section .benefits-grid .benefit-item p {
    word-break: break-word;
  }

  /* 슬라이드 설명 */
  .student-new .master-section-description {
    margin-bottom: 24px;
  }

  .master-process-section .master-section-description {
    margin-bottom: 32px;
  }

  /*  슬라이드 도트 */
  .student-new .master-section-description .slider-dots-top {
    display: none;
  }

  /* 문의하기 색션 */
  .master-contact-section .master-contact-content {
    position: relative;
    width: 100%;
    height: 100%;

    background-image: url(/html/_module/master/banner_m.png);
  }

  .master-contact-section {
    width: calc(100% - 40px);
    padding-top: 0px !important;
    height: 500px;
    min-height: 500px;
  }

  .master-contact-section
    .master-contact-content
    .master-contact-content-container {
    left: 20px;
  }

  .master-contact-content-container .text-content div:first-child {
    height: 80px !important;
  }

  .master-contact-content-container .text-content h3 {
    font-size: 18px;
    height: 50px;
  }

  .master-benefits-section .benefits-grid .benefit-item h3 {
    font-size: 16px;
  }
}

.master-course-content {
  padding: 20px 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

/* 가격 토글 영역 */
.price-toggle-area {
  transition: opacity 0.2s ease;
}

.price-toggle-area:hover {
  opacity: 0.8;
}

/* 드롭다운 애니메이션 */
.price-dropdown {
  animation: slideDown 0.2s ease-out;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  font-style: normal;
  letter-spacing: -0.03em;
}

.price-dropdown span {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  line-height: 140%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.master-course-installment {
  color: #999999;
  font-size: 13px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.03em;
}

.master-course-price {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.03em;
  text-align: right;
}

.instructor-center-card-name-and-follower-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 8px;
  position: absolute;
  width: 270px;
  height: 72px;
  left: calc(50% - 270px / 2);
  top: 351px;
}

.instructor-center-card-name-and-follower-info h3 {
  width: 270px;
  height: 39px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 140%;
  text-align: center;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
}

.instructor-center-card-name-and-follower-info p {
  width: 270px;
  height: 25px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  text-align: center;
  letter-spacing: -0.03em;
  color: #ffffff;
  opacity: 0.4;
  margin: 0;
}

.instructor-center-card-social-media-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 16px;
  position: absolute;
  height: 20px;
  left: 50%;
  top: 438px;
  transform: translateX(-50%);
}

.instructor-center-card-social-media-icons-text {
  width: 48px;
  height: 20px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #ffffff;
}

/* 인스타그램 버튼 컨테이너 */
.instructor-center-card .instagram-btn-container {
  position: absolute;
  width: 270px;
  left: calc(50% - 270px / 2);
  bottom: 51px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.follower-count {
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #ffffff;
  opacity: 0.4;
}

/* 인스타그램 버튼 스타일 */
.instagram-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 400px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.instagram-btn:hover {
  opacity: 0.8;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.instagram-btn span {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #ffffff;
  flex: none;
  order: 1;
  flex-grow: 0;
}

@media (min-width: 769px) {
  .master-slide-section {
    padding-top: 518px;
    padding-bottom: 0px;
    margin-bottom: 80px !important;
  }

  .student-new .inner > section.master-main-section {
    background-position-y: 16px;
    margin-bottom: 64px !important;
  }

  .master-instructor-carousel-container {
    padding-bottom: 0px;
    margin-bottom: 105px !important;
  }

  .master-main-content .text-content {
    padding-left: 84px;
    margin-bottom: -34px;
  }

  .master-main-content .title,
  .master-main-content .sub-title,
  .class-filter-tab {
    letter-spacing: 0px;
  }

  .student-new .master-section-title {
    letter-spacing: -1px;
  }

  .student-new .master-process-section .tab-content {
    padding: 40px 90px;
  }

  .student-new .process-flow-container {
    row-gap: 75px;
  }

  .master-process-section {
    padding-bottom: 70px;
  }

  .master-benefits-section .benefits-grid .benefit-item .benefit-item-icon,
  .master-benefits-section
    .benefits-grid
    .benefit-item
    .benefit-item-icon
    > img {
    width: 163px !important;
    height: 158px !important;
  }
  .master-benefits-section .benefits-grid .benefit-item .benefit-item-icon {
    margin-top: 40px;
  }

  .master-benefits-section {
    padding-bottom: 56px;
  }
}

@media (max-width: 768px) {
  .student-new .inner > section.master-main-section {
    background-position-x: -280px;
    background-position-y: 0px;
    background-size: cover;
  }
  .master-main-section .master-main-content {
    padding: 0px 28px;
  }
  .student-new .inner > section.master-slide-section {
    padding-top: 190px;
  }
  .student-new .master-section-title {
    margin-bottom: 8px;
  }

  .master-course-card {
    width: 204px !important;
    height: auto !important;
  }

  .master-course-card .image-container {
    height: 298px !important;
  }
  .master-course-card .image-container {
    object-fit: contain !important;
  }

  .master-course-content {
    padding: 10px 0px;
  }

  .master-course-content h3 {
    font-size: 14px !important;
  }

  .master-course-installment {
    font-size: 13px;
  }

  .master-course-price {
    font-size: 16px;
  }

  .student-new .inner > section.master-slide-section {
    margin-bottom: 6px;
  }

  /* 모바일에서 드롭다운 위치 조정 */
  .price-dropdown {
    min-width: 180px !important;
    font-size: 12px;
  }

  .instructor-center-card-background {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: 286px;
    top: 26.25px;
  }

  .instructor-center-card-bottom-rectangle {
    top: 255px;
  }

  .instructor-center-card-gradient-overlay {
    top: 170px;
  }

  .instructor-center-card .instructor-center-card-image-container img {
    position: absolute;
    width: auto;
    height: 266px !important;
    left: 50%;
    transform: translateX(-50%);
    top: -23.45px !important;
    max-width: 100%;
    object-fit: contain;
  }

  .instructor-center-card-name-and-follower-info {
    top: 208px;
  }

  .instructor-center-card-name-and-follower-info h3 {
    font-size: 18px;
    height: 25px;

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

  .instructor-center-card-name-and-follower-info p {
    font-size: 13px;
    height: 18px;
    color: rgba(255, 255, 255, 0.4);
  }

  .instructor-center-card-social-media-icons {
    top: 270px;
  }

  .instructor-center-card-social-media-icons-text {
    font-size: 13px;
  }

  .process-flow-item .description-wrap .process-title {
    font-size: 16px;
  }

  .student-new .inner > section.master-process-section {
    padding-bottom: 0px !important;
  }

  .master-benefits-section {
    padding-top: 18px !important;
  }

  /* 모바일 강사 캐러셀 */
  .student-new .inner > section.master-instructor-carousel-container {
    padding-bottom: 60px;
  }

  /* 컨테이너 높이 설정 */
  .instructor-carousel-container {
    height: 335px !important;
    margin-top: 24px !important;
  }

  .center-card-container {
    position: relative !important;
    height: 335px !important;
  }

  /* 좌우 카드 숨기기 */
  .instructor-center-card:nth-child(1),
  .instructor-center-card:nth-child(3) {
    display: none !important;
  }

  /* 중앙 카드만 표시 - 모바일 크기로 조정 */
  .instructor-center-card {
    width: 276px !important;
    height: 335px !important;
    left: calc(50% - 138px) !important;
  }

  .instructor-center-card-background {
    width: 276px !important;
    height: 291px !important;
    top: 43.5px !important;
    border-radius: 12px !important;
  }

  .instructor-center-card-image-container {
    width: 276px !important;
    height: 243px !important;
  }

  .instructor-center-card .instructor-center-card-image-container img {
    width: auto !important;
    height: 267px !important;
    top: -15px !important;
  }

  .instructor-center-card-gradient-overlay {
    width: 276px !important;
    height: 90px !important;
    top: 142px !important;
  }

  .instructor-center-card-bottom-rectangle {
    width: 276px !important;
    height: 14px !important;
    top: 232px !important;
  }

  .instructor-center-card-name-and-follower-info {
    width: 117px !important;
    height: 47px !important;
    left: calc(50% - 58.5px) !important;
    top: 226px !important;
    gap: 4px !important;
  }

  .instructor-center-card-name-and-follower-info h3 {
    font-size: 18px !important;
    height: 25px !important;
  }

  .instructor-center-card-name-and-follower-info p {
    font-size: 13px !important;
    height: 18px !important;
  }

  .instructor-center-card .instagram-btn-container {
    width: 69px !important;
    height: 20px !important;
    left: calc(50% - 34.5px) !important;
    top: 245px !important;
  }

  .instagram-btn {
    gap: 4px !important;
    padding: 0 !important;
  }

  .instagram-btn span {
    font-size: 13px !important;
  }

  /* 화살표 모바일에서 표시 */
  .instructor-carousel-container .carousel-nav-arrows {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
  }

  .instructor-carousel-container .carousel-nav-arrows:last-child {
    left: initial !important;
    right: 5px !important;
  }

  .instructor-carousel-container .carousel-nav-arrows img {
    width: 24px !important;
    height: 24px !important;
  }

  /* 모바일 전문강사진 스타일 수정 */
  .follower-count {
    font-size: 13px;
  }

  .instructor-center-card .instagram-btn-container {
    gap: 4px;
  }

  .left-gradient-overlay {
    display: none !important;
  }

  .instructor-carousel-content .center-card-container .instructor-center-card {
    min-height: 335px !important;
  }

  .instructor-center-card .instagram-btn-container {
    width: auto !important;
    height: auto !important;
    bottom: 25px !important;
    top: initial !important;

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 이미지에만 fadeIn 애니메이션 적용 */
.master-instructor-carousel-container
  .instructor-center-card-image-container
  > img.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}
