/* =========================
   book intro page (mobile base)
========================= */

/* hero */
.teacher_profile_hero {
  background: var(--gradient-blue);
  padding: 32px 0 36px;
}

.teacher_profile_hero_content {
  text-align: center;
}

.teacher_profile_hero_text {
  font-size: var(--font-h3);
  font-weight: var(--font-weight-b);
  line-height: 1.5;
  color: var(--color-white);
  word-break: keep_all;
}

.teacher_profile_hero_image {
  overflow: hidden;
  border-radius: 12px;
  margin: 20px auto 0;
  max-width: 260px;
}

.teacher_profile_hero_image img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 20%;
}

.teacher_profile_hero_point_list {
  margin: 20px 30px 0;
}

.teacher_profile_hero_point_item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f6c547;
  font-size: var(--font-h5);
  font-weight: var(--font-weight-m);
  color: var(--font-black);
  opacity: 0;
  transform: translateY(20px);
  animation: teacher_point_up 0.6s ease-out forwards;
}

/* 순차 딜레이 */
.teacher_profile_hero_point_item:nth-child(1) {
  animation-delay: 0.2s;
}

.teacher_profile_hero_point_item:nth-child(2) {
  animation-delay: 0.4s;
}

.teacher_profile_hero_point_item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes teacher_point_up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.teacher_profile_hero_point_item + .teacher_profile_hero_point_item {
  margin-top: 12px;
}

.teacher_profile_intro {
  padding: 36px 0 56px;
  background: #f8f6f1;
}

.teacher_profile_intro_head {
  text-align: center;
}

.teacher_profile_intro_title {
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  line-height: 1.6;
  color: #222222;
  word-break: keep_all;
}

.teacher_profile_list {
  margin-top: 28px;
}

.teacher_profile_item + .teacher_profile_item {
  margin-top: 40px;
}


/* 상단 카피 */
.teacher_intro_head {
  padding: 36px 0 20px;
  text-align: center;
}

.teacher_intro_title {
  font-size: var(--font-h4);
  font-weight: var(--font-weight-m);
  color: var(--color-black);
  word-break: keep_all;
}


/* STEP TITLE */
.teacher_profile_head {
  margin-top: 18px;
  text-align: center;
}

.teacher_profile_head .teacher_profile_step {
  margin-bottom: 12px;
}

.teacher_profile_title {
  font-size: var(--font-h5);
  font-weight: var(--font-weight-m);
  word-break: keep_all;
}

.teacher_profile_item.step_1 .teacher_profile_title {
  color: var(--color-green);
}

.teacher_profile_item.step_2 .teacher_profile_title {
  color: var(--color-orange);
}

.teacher_profile_item.step_3 .teacher_profile_title {
  color: var(--color-blue);
}


/* step list */
.teacher_profile_list {
  margin-top: 18px;
}

.teacher_profile_item + .teacher_profile_item {
  margin-top: 50px;
}

.teacher_profile_step {
  display: flex;
  width: fit-content;
  min-width:100%;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  margin: 0 auto 18px;
  border-radius: var(--radius-round);
  color: var(--color-white);
  font-size: var(--font-h3);
  font-weight: var(--font-weight-b);
  text-align: center;
}

.teacher_profile_summary {
  margin-top: 18px;
  text-align: center;
}

.teacher_profile_summary_title {
  font-size: var(--font-h5);
  font-weight: var(--font-weight-m);
  word-break: keep_all;
}

.teacher_profile_card {
  margin: 16px 0 30px;
  padding: 10px;
  background-color: var(--color-panel);
  border-radius: var(--radius-s);
}

.teacher_profile_card_inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.teacher_profile_thumb {
  flex: 0 0 130px;
  width: 130px;
}

.teacher_profile_thumb img {
  display: block;
  width: 100%;
  border-radius: var(--radius-s);
}

.teacher_profile_info {
  flex: 1;
  min-width: 0;
}

.teacher_profile_name {
  margin-top: 6px;
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  color: var(--color-black);
}

.teacher_profile_desc {
  margin-top: 2px;
  font-size: var(--font-md);
  font-weight: var(--font-weight-r);
  color: var(--color-black3);
  line-height: 1.3;
  word-break: keep_all;
}

.teacher_profile_note {
  margin-top: 8px;
  font-size: var(--font-sm);
  font-weight: var(--font-weight-r);
  color: var(--color-black6);
  line-height: 1.3;
  word-break: keep_all;
}

.teacher_profile_group + .teacher_profile_group {
  margin-top: 16px;
}

.teacher_profile_group .info_notice__heading {
  margin-bottom: 10px;
}

.teacher_profile_group .info_notice__box {
  padding: 14px 14px 14px 16px;
}

.teacher_profile_group .info_notice__list li + li {
  margin-top: 6px;
}


/* step color */
.teacher_profile_item.step_1 .teacher_profile_step {
  background: var(--color-green);
}

.teacher_profile_item.step_1 .teacher_profile_summary_title {
  color: var(--color-green);
}

.teacher_profile_item.step_2 .teacher_profile_step {
  background: var(--color-orange);
}

.teacher_profile_item.step_2 .teacher_profile_summary_title {
  color: var(--color-orange);
}


.teacher_profile_item.step_3 .teacher_profile_step {
  background: var(--color-blue);
}

.teacher_profile_item.step_3 .teacher_profile_summary_title {
  color: var(--color-blue);
}