.faculty-section {
  padding: 40px 0 60px;
}

.faculty-page {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px 40px;
}

.faculty-section .back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.faculty-section .back-link:hover {
  text-decoration: underline;
}

/* 상단 레이아웃: 사진 + 소개 */
.faculty-header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.faculty-photo-block {
  width: 220px;
  text-align: center;
}

.faculty-photo {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 4px; /* 사각형, 모서리 살짝만 둥글게 */
  display: block;
  margin: 0 auto 12px;
}

.faculty-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.faculty-position {
  font-size: 14px;
  color: #666;
}

.faculty-email {
  margin-top: 4px;
  font-size: 13px;
  color: #0077cc;
}

.faculty-email a {
  color: inherit;
  text-decoration: none;
}

.faculty-email a:hover {
  text-decoration: underline;
}

.faculty-intro-block {
  flex: 1;
}

.faculty-intro-text {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

.faculty-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* .faculty-links a {
  font-size: 14px;
  color: #0077cc;
  text-decoration: none;
  border: 1px solid #0077cc;
  border-radius: 4px;
  padding: 6px 10px;
}

.faculty-links a:hover {
  background-color: #0077cc;
  color: #fff;
} */

/* icon-btn은 공용 스타일 */
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #555;
  font-size: 18px;
  transition: all 0.15s ease;
}

.icon-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
  color: #000;
  transform: translateY(-1px);
}

/* 폰트 크기 보정 */
.icon-btn .ai,
.icon-btn .fa {
  line-height: 1;
  font-size: 22px;
}

.faculty-divider {
  border: none;
  border-top: 1px solid #e4e4e4;
  margin: 20px 0 25px;
}

/* 아래 섹션들 스타일 */
.faculty-section-block {
  margin-bottom: 28px;
}

.faculty-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;

  border-left: 4px solid #FFC109;
  padding-left: 10px;

}

.faculty-section-content {
  font-size: 14px;
  color: #333;
}

.list-block {
  padding-left: 18px;
}

.list-block li {
  margin-bottom: 4px;
  line-height: 1.5;
}

/* ===== Professional Experience & Advisory ===== */

.exp-list,
.adv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-item,
.adv-item {
  margin-bottom: 4px;
}

.exp-main,
.adv-main {
  font-size: 18px;
  color: #333;
}

.exp-role,
.adv-role {
  font-size: 18px;
  font-weight: 600;
}

.exp-major,
.adv-major {
  font-size: 16px;
  font-weight: 400;
}

.exp-org,
.adv-org {
  font-size: 16px;
  font-weight: 400;
}

.exp-period,
.adv-period {
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}

/* 세부 역할 (details) */
.exp-details {
  margin-top: 4px;
  margin-left: 18px;
  padding-left: 0;
  list-style: none;
}

.exp-details li {
  font-size: 13px;
  color: #444;
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.exp-detail-role {
  flex: 1;
}

.exp-detail-period {
  white-space: nowrap;
  font-size: 12px;
  color: #777;
}

/* ===== Education ===== */

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edu-item {
  margin-bottom: 4px;
}

.edu-main {
  font-size: 18px;
  color: #333;
}

.edu-degree {
  font-weight: 600;
}

.edu-school {
  font-weight: 400;
}

.edu-year {
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}

.edu-thesis {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}

.edu-thesis-label {
  font-style: italic;
  margin-right: 4px;
}

/* Honors & Awards list */
.award-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.award-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
  line-height: 1.5;
}

.award-name {
  flex: 1;
}

.award-year {
  white-space: nowrap;
  font-size: 13px;
  color: #777;
  margin-left: 12px;
}

/* Professional & Public Service list */
.public-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.public-service-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  line-height: 1.5;
}

.public-service-name {
  flex: 1;
}

.public-service-period {
  white-space: nowrap;
  font-size: 13px;
  color: #777;
  margin-left: 12px;
}

/* Academic Service Section */

.academic-service-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 10px;
}

.academic-group-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;

  /* 노란 강조 제거 */
  border-left: none !important;
  padding-left: 0 !important;

  /* 상단 여백 주기 */
  margin-top: 12px;
}

.academic-role-block {
  margin-left: 20px;
  margin-bottom: 20px;
}

.academic-role {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}

/* Inline list for comma-separated conference AC roles */
.academic-org-inline {
  font-size: 14px;
  color: #444;
  margin-left: 10px;
  line-height: 1.6;
}

/* Detailed list */
.academic-org-list {
  list-style: none;
  padding: 0;
  margin-left: 6px;
}

.academic-org-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.academic-org-name {
  flex: 1;
  font-size: 14px;
  color: #444;
}

.academic-org-period {
  white-space: nowrap;
  font-size: 13px;
  color: #777;
}

/* 반응형(태블릿 이하에서 사진 위/아래로 쌓이게) */
@media (max-width: 768px) {
  .faculty-page {
    padding: 20px;
  }

  .faculty-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .faculty-photo-block {
    width: auto;
    text-align: left;
  }

  .faculty-photo {
    margin-left: 0;
  }

  .exp-details li {
    flex-direction: column;
    align-items: flex-start;
  }

  .exp-detail-period {
    margin-left: 0;
  }

  /* Professional & Public Service 모바일 레이아웃 */
  .public-service-item {
    display: block;          /* flex 대신 block */
    margin-bottom: 14px;
  }

  .public-service-name {
    display: block;          /* 한 줄 전체 차지 */
    margin-bottom: 4px;
  }

  .public-service-period {
    display: block;          /* 아래 줄로 내려오게 */
    white-space: normal;     /* 줄바꿈 허용 */
    margin-left: 0;
    margin-top: 4px;       /* name과의 간격 → 핵심 */
    margin-bottom: 0px;    /* 아래 요소와 붙지 않도록 최소화 */
    text-align: left;        /* 오른쪽 정렬이 싫으면 왼쪽 정렬 */
  }

  .academic-org-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .academic-org-period {
    margin-left: 0;
    margin-top: 2px;
  }
}


