.sc__doctors-profile .flex-container {
  position: relative;

  display: flex;
}

.sc__doctors-profile .title-wrap {
  flex: 1;
  padding-right: 6rem;
}

.sc__doctors-profile .image-wrap {
  position: sticky;
  top: 10rem;

  width: 40.625%;
  max-width: 52rem;
  height: fit-content;
  flex-shrink: 0;
}

.sc__doctors-profile .profile-list {
  margin-top: 4rem;
}

.sc__doctors-profile .profile-item h4 {
  position: relative;

  font-size: 1.7rem;
  font-weight: 700;
  padding: 1rem 3rem;
  border: 1px solid #e1e1e1;
}

.sc__doctors-profile .profile-item h4 .dot {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translate(0, -50%);

  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  border: 0.36em solid #f7f7f7;
}

.sc__doctors-profile .profile-item h4 .dot:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 0.36em;
  height: 0.36em;
  background: var(--color-primary);
  border-radius: 50%;
}

.sc__doctors-profile .profile-item ul {
  font-size: 1.7rem;
  color: var(--color-text-secondary);
  line-height: 1.6;

  padding: 4rem 3rem;
}

.sc__doctors-career .fixed-scroll-wrap {
  display: flex;
  height: 100vh;
}

.sc__doctors-career .image-wrap {
  width: 46%;
  height: 100%;
}

.sc__doctors-career .content-wrap {
  width: 54%;
  height: 100%;
}

.sc__doctors-career .image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 6rem 2rem;

  background: url("/assets/img/pages/about/doctors_sc2_career_bg.png") no-repeat
    50% 50% / cover;
}

.sc__doctors-career .image-wrap .image-inner {
  max-width: 58rem;
}

.sc__doctors-career .image-wrap .image-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sc__doctors-career .content-inner {
  height: 100%;
}

.sc__doctors-career .content-item {
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 2.5rem 0 2.5rem 5rem;

  transition: height;
  transition-duration: 0.7s;
}

.sc__doctors-career .content-item + .content-item {
  border-top: 1px solid var(--color-primary-dark, #26597c);
}

.sc__doctors-career .content-item.singleline {
  height: calc(5rem + 4.6rem);
}

.sc__doctors-career .content-item.doubleline {
  height: calc(5rem + 9.8rem);
}

.sc__doctors-career .content-item.multiline {
  height: calc(5rem + 13.8rem);
}

.sc__doctors-career .content-item h4 {
  position: relative;

  display: flex;
  align-items: center;

  font-family: var(--font-paperlogy);
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.2;

  transition: font-size, height, margin-bottom;
  transition-duration: 0.8s;
}

.sc__doctors-career .content-item.singleline h4 {
  height: 4.6rem;
}

.sc__doctors-career .content-item.doubleline h4 {
  height: 9.8rem;
}

.sc__doctors-career .content-item.multiline h4 {
  height: 13.8rem;
}

.sc__doctors-career .content-item p {
  font-size: 1.8rem;
  color: #525252;

  padding-right: 2.5rem;

  max-height: 0;
  overflow: hidden;

  transition: max-height, margin-bottom;
  transition-duration: 0.8s;
}

.sc__doctors-career .content-item.active.singleline {
  height: calc(100% - (9.6rem * 2 + 14.8rem * 1 + 18.8rem * 1));
}

.sc__doctors-career .content-item.active.doubleline {
  height: calc(100% - (9.6rem * 3 + 14.8rem * 0 + 18.8rem * 1));
}

.sc__doctors-career .content-item.active.multiline {
  height: calc(100% - (9.6rem * 3 + 14.8rem * 1 + 18.8rem * 0));
}

.sc__doctors-career .content-item.active h4 {
  font-weight: 700;
  font-size: 2.6vw;

  margin-bottom: 4rem;
}

.sc__doctors-career .content-item.active p {
  max-height: 100%;
  /* margin-bottom: 3.5rem; */
}

.sc__doctors-career .content-item h4 button {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translate(0, -50%);

  width: 1em;
  height: 1em;

  cursor: pointer;
}

.sc__doctors-career .content-item h4 button:before,
.sc__doctors-career .content-item h4 button:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 100%;
  height: 2px;

  background: var(--color-primary-dark);
  border-radius: 2px;
}

.sc__doctors-career .content-item h4 button:after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(1);
  transition: transform 0.3s ease;
}

.sc__doctors-career .content-item.active h4 button:after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

/* 반응형 */
@media (max-width: 1200px) {
  .sc__doctors-career .content-item h4 {
    font-size: 2.6vw;
  }
}

@media (max-width: 1024px) {
  .sc__doctors-profile .profile-item h4 {
    font-size: 1.9rem;
  }

  .sc__doctors-profile .profile-item ul {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .sc__doctors-profile .flex-container {
    flex-direction: column;
    align-items: center;
  }

  .sc__doctors-profile .title-wrap {
    padding-right: 0;
  }

  .sc__doctors-profile .image-wrap {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 480px;
    margin: 4rem auto;
  }

  .sc__doctors-career .fixed-scroll-wrap {
    flex-direction: column;
    height: auto;
  }

  .sc__doctors-career .image-wrap {
    width: 100%;
    padding: 4rem 20px;
  }

  .sc__doctors-career .content-wrap {
    width: 100%;
    height: auto;
  }

  .sc__doctors-career .content-item {
    padding: 2.5rem 0 2.5rem 2.5rem;
  }

  .sc__doctors-career .content-item h4 {
    padding-right: 7rem;

    font-size: 2.6rem;
  }

  .sc__doctors-career .content-item.active h4 {
    font-size: 3rem;
  }

  .sc__doctors-career .content-item.singleline,
  .sc__doctors-career .content-item.doubleline,
  .sc__doctors-career .content-item.multiline {
    height: auto;
  }

  .sc__doctors-career .content-item.singleline h4,
  .sc__doctors-career .content-item.doubleline h4,
  .sc__doctors-career .content-item.multiline h4 {
    height: auto;
  }

  .sc__doctors-career .content-item.active.singleline,
  .sc__doctors-career .content-item.active.doubleline,
  .sc__doctors-career .content-item.active.multiline {
    height: auto;
  }
}
