.org-detail-wrap {
  margin-top: 40px;
  overflow-x: auto;
}

.org-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
  table-layout: fixed;
}

/* 헤더 */
.org-detail-table thead th {
  background-color: #1a3a6b;
  color: #fff;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #2e508a;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 18px;
}

/* 셀 공통 */
.org-detail-table tbody td {
  border: 1px solid #d0d8e4;
  padding: 10px 12px;
  vertical-align: middle;
}

/* 처 열 */
.org-detail-table .td-office {
  width: 52px;
  background-color: #dce8f8;
  color: #1a3a6b;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  word-break: keep-all;
}

/* 부 열 */
.org-detail-table .td-dept {
  width: 70px;
  background-color: #eaf1fb;
  color: #1a3a6b;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  word-break: keep-all;
}

/* 팀 열 */
.org-detail-table .td-team {
  width: 100px;
  background-color: #f4f7fd;
  text-align: center;
  font-weight: 500;
  color: #2e508a;
  font-size: 13px;
  word-break: keep-all;
}

/* 업무 열 - ul/li */
.org-detail-table .td-duties {
  background-color: #fff;
}

.org-detail-table .td-duties ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.org-detail-table .td-duties ul li {
  position: relative;
  padding: 3px 0 3px 14px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  border-bottom: 1px solid #eef2f8;
}

.org-detail-table .td-duties ul li:last-child {
  border-bottom: none;
}

.org-detail-table .td-duties ul li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: #2e508a;
}

/* hover */
.org-detail-table tbody tr:not(.org-spacer):hover .td-duties {
  background-color: #f5f8ff;
}

/* spacer 행 */
.org-detail-table tr.org-spacer td {
  height: 10px;
  background-color: #eaf1fb;
  border: none;
  padding: 0;
}

/* ── 부서별 주요 업무 ── */
.dept-duties {
  padding: 60px 0 80px;
  background: #f7faff;
}

.dept-duties-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.dept-duties-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.dept-duties-icon {
  width: 44px;
  height: 44px;
  background: #e6eef8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dept-duties-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a6b;
  margin: 0 0 4px;
}

.dept-duties-sub {
  font-size: 13px;
  color: #7a8caa;
  margin: 0;
}

/* ===================== 헬프데스크형 부서 안내 ===================== */
.dept-duties.helpdesk {
  padding: 60px 0 80px;
  /* background: #f3f7fd; */
  background: #fff;
}
.dept-duties.helpdesk .dept-duties-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
.hd-header {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding: 26px 32px;
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(26, 58, 107, 0.05);
}
.hd-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  color: #1a3a6b;
  letter-spacing: -0.02em;
}
.hd-sub {
  margin: 0;
  font-size: 14px;
  color: #7a8caa;
}
.hd-header-illust {
  flex: 0 0 auto;
  line-height: 0;
}

.hd-header {
  flex-direction: column;
  gap: 20px;
}
.hd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

/* 검색바 */
.hd-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f7fd;
  border: 1px solid #d0dae8;
  border-radius: 30px;
  padding: 10px 14px 10px 18px;
}
.hd-search-row input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  outline: none;
  height: 30px;
  line-height: 30px;
  border: unset !important;
}
.hd-search-row input::placeholder {
  color: #aab4c8;
}
.hd-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a3a6b;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  flex-shrink: 0;
}
.hd-search-btn:hover {
  background: #15305a;
}

/* 한 처(부서) 블록: 좌 사이드 + 우 카드 3개 */
.hd-office {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 20px;
  margin-bottom: 22px;
  --hd: #1a3a6b;
}
.hd-office:last-child {
  margin-bottom: 0;
}
.hd-office--navy {
  --hd: #1f4079;
}
.hd-office--teal {
  --hd: #168a78;
}
.hd-office--purple {
  --hd: #5b4bcf;
}

/* 좌측 컬러 사이드 */
.hd-side {
  border-radius: 16px;
  padding: 32px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--hd);
}
.hd-office--navy .hd-side {
  background: linear-gradient(160deg, #24467e, #15315c);
}
.hd-office--teal .hd-side {
  background: linear-gradient(160deg, #1ea189, #136457);
}
.hd-office--purple .hd-side {
  background: linear-gradient(160deg, #6a5ae0, #4736a6);
}

.hd-side-ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.hd-side-ico svg {
  width: 26px;
  height: 26px;
}
.hd-side-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hd-side-tel-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}
.hd-side-tel-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

/* 우측 카드 3개 */
.hd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hd-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  padding: 22px 22px 18px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.hd-card:hover {
  box-shadow: 0 8px 26px rgba(26, 58, 107, 0.1);
  transform: translateY(-2px);
}
.hd-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #eef3fb;
  font-size: 16px;
  font-weight: 700;
  color: var(--hd);
}
.hd-card-ico {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hd);
}
.hd-office--navy .hd-card-ico {
  background: #eaf1fb;
}
.hd-office--teal .hd-card-ico {
  background: #e3f5f0;
}
.hd-office--purple .hd-card-ico {
  background: #ece9fb;
}
.hd-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd-card ul li {
  position: relative;
  padding: 5px 0 5px 15px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a5568;
}
.hd-card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hd);
}

.org-map-mobile {
  display: none;
}

@media (max-width: 1599px) {
  .org-map {
    display: none;
  }
  .org-map-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    font-family: "SUIT", "Noto Sans KR", sans-serif;
  }
}

.om-lead {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.om-aux {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.om-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.om-node.lv1 {
  background: #03295e;
  color: #fff;
}
.om-node.lv2 {
  background: #1f4079;
  color: #fff;
}
.om-node.lv3 {
  background: #1c5bb2;
  color: #fff;
}
.om-node.ghost {
  background: #fff;
  color: #1c5bb2;
  border: 2px solid #1c5bb2;
  font-size: 16px;
  padding: 11px 26px;
}

.om-group {
  background: #f7faff;
  border: 1px solid #e6edf7;
  border-radius: 16px;
  padding: 20px;
}
.om-group-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
  color: #1c5bb2;
  text-align: center;
}
.om-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.om-leaf {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #d0dae8;
  font-size: 14px;
  font-weight: 600;
  color: #3a4356;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .om-node {
    padding: 12px 24px;
    font-size: 16px;
  }
  .om-node.ghost {
    font-size: 14px;
    padding: 10px 20px;
  }
  .om-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }
  .om-leaf {
    font-size: 13px;
    padding: 11px 8px;
  }
  .om-group {
    padding: 16px;
  }
}

/* 반응형 */
@media (max-width: 980px) {
  .hd-cards {
    grid-template-columns: 1fr;
  }
  .hd-office {
    grid-template-columns: 200px 1fr;
  }
}
@media (max-width: 680px) {
  .hd-office {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hd-side {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
  }
  .hd-side-ico {
    margin-bottom: 0;
    width: 2.1538rem;
    height: 2.1538rem;
  }
  .hd-side-name {
    margin-bottom: 0;
    font-size: 1rem;
  }
  .hd-side-tel-num {
    font-size: 0.9231rem;
  }
  .hd-side-tel {
    margin-left: auto;
    text-align: right;
  }
  .hd-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .hd-header-illust {
    align-self: flex-end;
  }

  .hd-side-ico svg {
    width: 1.3846rem;
    height: 1.3846rem;
  }

  .hd-search-row {
    width: 89%;
  }
}

/* Responsive */
@media (max-width: 850px) {
  .dept-card-grid {
    grid-template-columns: 1fr;
  }
}
