@charset "UTF-8";
/* CSS Document */

/* ===== Org Chart (CIBoard Page) ===== */
.orgchart {
  --line: #d7dbe3;
  --box: #ffffff;
  --text: #1f2a37;

  --inje: #2f5fb8;
  --inje-soft: #dbe8ff;

  --bukmyeon: #2f8f5b;
  --bukmyeon-soft: #dcfce7;

  --girin: #8a4bbb;
  --girin-soft: #f0ddff;

  max-width: 1380px;
  margin: 30px auto;
  padding: 0 10px;
  color: var(--text);
  font-family: "맑은 고딕", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Top box */
.org-top {
  width: min(520px, 100%);
  margin: 0 auto 26px;
  background: var(--box);
  border: 2px solid #2f5fb8;
  border-radius: 6px;
  text-align: center;
  padding: 18px 16px;
  position: relative;
}

.org-top .title {
  font-weight: 800;
  color: #2f5fb8;
  font-size: 18px;
  margin-bottom: 6px;
}

.org-top .sub {
  font-weight: 700;
  font-size: 18px;
}

.org-top:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 1px;
  height: 26px;
  background: var(--line);
  transform: translateX(-50%);
}

/* Three columns */
.org-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  padding-top: 26px;
}

.org-branches:before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line);
}

/* Campus block */
.campus {
  position: relative;
}

.campus-header {
  height: 72px;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.3px;
  position: relative;
}

.campus-header:before {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  width: 1px;
  height: 26px;
  background: var(--line);
  transform: translateX(-50%);
}

.campus--inje .campus-header {
  background: var(--inje);
}

.campus--bukmyeon .campus-header {
  background: var(--bukmyeon);
}

.campus--girin .campus-header {
  background: var(--girin);
}

/* Team row */
.campus-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.team {
  position: relative;
  padding-top: 14px;
}

.team:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 1px;
  height: 24px;
  background: var(--line);
  transform: translateX(-50%);
}

.team--empty:before {
  display: none;
}

.team-pill {
  width: 78%;
  margin: 0 auto 14px;
  padding: 10px 12px;
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
}

.campus--inje .team-pill {
  background: var(--inje-soft);
  color: #244a91;
}

.campus--bukmyeon .team-pill {
  background: var(--bukmyeon-soft);
  color: #166534;
}

.campus--girin .team-pill {
  background: var(--girin-soft);
  color: #6a2f92;
}

/* People cards */
.people {
  display: grid;
  gap: 14px;
}

.person {
  background: var(--box);
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 12px 14px;
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  text-align: center;
}

.person:before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 1px;
  height: 14px;
  background: var(--line);
  transform: translateX(-50%);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
}

.campus--inje .badge {
  background: var(--inje-soft);
  color: #244a91;
}

.campus--bukmyeon .badge {
  background: var(--bukmyeon-soft);
  color: #166534;
}

.campus--girin .badge {
  background: var(--girin-soft);
  color: #6a2f92;
}

.person .name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.person .meta {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.35;
  word-break: keep-all;
}

/* Responsive */
@media (max-width: 1200px) {
  .org-branches {
    grid-template-columns: 1fr;
  }

  .org-branches:before {
    left: 20%;
    right: 20%;
  }
}

@media (max-width: 640px) {
  .campus-body {
    grid-template-columns: 1fr;
  }

  .team-pill {
    width: 92%;
  }
}