* {
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  margin: 16px auto;
  padding: 0 16px;
  max-width: 1080px;
  background: #ffffff;
  color: #1e293b;
  line-height: 1.6;
}
a {
  color: #004b9c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover {
  color: #e0ad12;
  text-decoration: underline;
}

/* 메인 섹션 배지 */
.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #334155;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  margin: 24px 0 14px 0;
  cursor: default;
  user-select: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
/*
.section-badge:hover {
  color: #ffffff;
  background-color: #334155;
  border-color: #334155;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(51, 65, 85, 0.15);
}
*/

/* 서브 섹션 배지 */
.sub-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin: 14px 0 8px 0;
}
.small-margin {
  margin-top: 0px;
  margin-bottom: 5px;
}

/* 3열 균등 고정 그리드 레이아웃 */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 860px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
}

/* 멤버 카드 */
.member-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  min-height: 110px;
}
/*
.member-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
*/
.member-img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  background-color: #f8fafc;
  flex-shrink: 0;
}
.member-info {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #475569;
  align-self: flex-start;
  margin-top: 2px;
}
.member-email {
  display: block;
  width: fit-content;
  margin-top: 1px;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: #64748b;
  text-decoration: none;
}

.member-email:hover {
  color: #004b9c;
  text-decoration: underline;
}

/* 이름 및 이메일 아이콘 */
.member-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.member-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  padding: 2px;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.link:hover {
  color: #004b9c;
  transform: scale(1.15);
  text-decoration: none;
}
.link-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.member-meta {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 4px;
}

/* 키워드 태그 */
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 4px;
}
.keyword-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: #0369a1;
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Alumni 리스트 스타일 */
.alumni-list {
  list-style-type: none;
  padding-left: 0;
  margin: 6px 0 18px 0;
}
.alumni-list li {
  position: relative;
  padding: 0 0 0 16px;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}
.alumni-list li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: #94a3b8;
  font-weight: bold;
}
.sub-note {
  font-size: 12px;
  font-weight: normal;
  color: #94a3b8;
  margin-left: 6px;
}
