@charset "utf-8";

/* 의료진 소개 */
#doctor-impact-section {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.doctor_profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.doctor_who {
  position: relative;
  padding-bottom: 40px;
  font-size: 25px;
  font-weight: 800;
  color: #131e5a;
  text-align: center;
  letter-spacing: -1px;
}

.doctor_who::after {
  content: '';
  display: block;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 3px;
  background-color: #131e5a;
}

.doctor_img {
  overflow: hidden;
}

.doctor_img:nth-child(2)>img {
  transition: all 300ms linear;
}

.doctor_img:nth-child(2)>img:hover {
  transform: scale(1.2);
}

.impact_grid_layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 60px;
}

.impact_card_item {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8faff;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.impact_card_item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.1);
}

.impact_value {
  font-size: 48px;
  font-weight: 800;
  color: #131e5a;
}

.academic_summary_box {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 50px 0;
}

.summary_text {
  padding-bottom: 40px;
}

.btn_link_more {
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #ced5ff;
  color: #000;
  transition: all 350ms linear;
}

.btn_link_more:hover {
  background-color: #131e5a;
  color: #fff;
}

/* 모달 및 약력 */
.doctor_modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.doctor_modal_content {
  position: relative;
  width: 95%;
  max-width: 800px;
  max-height: 90vh;
  background: #fff;
  border-radius: 15px;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal_close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  line-height: 1;
  transition: 0.3s;
}

.modal_close:hover {
  transform: rotate(90deg);
  color: #e74c3c;
}

.modal_bio_wrap {
  text-align: center;
}

.modal_bio_img {
  max-width: 90%;
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
}

.modal_bio_img img {
  width: 100%;
  display: block;
}

.bio_details {
  text-align: left;
  border-top: 2px solid #2c3e50;
  padding-top: 30px;
  letter-spacing: -1px;
}

.bio_details h5 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.bio_header {
  padding: 20px 0;
}

.bio_header h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 2;
}

.bio_list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.bio_list li {
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
  line-height: 1.6;
}

.bio_list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  #doctor-impact-section {
    padding: 0;
  }

  .impact_grid_layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 40px;
  }

  .impact_card_item {
    padding: 30px 15px;
  }

  .impact_card_item:hover {
    transform: translateY(0);
    box-shadow: none;
  }

  .impact_value {
    font-size: 40px;
  }

  .academic_summary_box {
    padding-top: 40px;
  }

  .summary_text {
    font-size: 16px;
    line-height: 1.6;
  }

  .btn_link_more {
    background-color: #131e5a;
    color: #fff;
  }
}

@media screen and (max-width: 768px) {
  .doctor_who {
    padding-bottom: 20px;
    font-size: 20px;
  }

  .doctor_profile {
    padding-bottom: 20px;
  }

  .impact_grid_layout {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 30px;
  }

  .impact_card_item {
    padding: 25px 20px;
    border-radius: 10px;
  }

  .impact_value {
    font-size: 36px;
  }

  .impact_label {
    font-size: 14px;
  }

  .impact_desc {
    font-size: 14px;
    word-break: keep_all;
  }

  .academic_summary_box {
    padding-top: 30px;
  }

  .summary_title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .summary_text {
    font-size: 14px;
    text-align: center;
  }

  .btn_link_more {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin-top: 20px;
  }

  .doctor_modal_content {
    padding: 30px 20px;
  }

  .bio_header {
    font-size: 14px;
  }
}