@charset "utf-8"; 

/* 내용관리 */
#ctt {margin:0; padding:0px; }
.ctt_admin {text-align:right}
#ctt header h1,
#ctt header h2 {position:absolute; font-size:0; line-height:0; overflow:hidden}
#ctt_con {padding:0; line-height:1.6em}
#ctt_con img{max-width:100%; height:auto}
.ctt_img {text-align:center}

/* ═══════════════════════════════════════════
   DGPBA 조직도 — .dgpba-org 스코프
   (테마 CSS와 충돌 방지를 위해 전용 클래스로 격리)
═══════════════════════════════════════════ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

/* CSS 변수 (래퍼 안에서만 유효) */
.dgpba-org {
  --bd:  #1a4fa0;
  --bm:  #2e7fd4;
  --bl:  #5eb3f5;
  --bp:  #c8e4fb;
  --bg:  #e8f4fd;
  --gd:  #1a7a3e;
  --gm:  #2aab58;
  --wh:  #ffffff;
  --tx:  #0d2a5e;
  --sh:  0 4px 18px rgba(30,90,200,.15);
  --lc:  #5eb3f5;
  --lw:  2px;
  --gap: 28px;

  font-family: 'Noto Sans KR', sans-serif;
  box-sizing: border-box;
  padding: 16px 0 40px;
  color: var(--tx);
}

.dgpba-org *,
.dgpba-org *::before,
.dgpba-org *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* CHART SHELL */
.dgpba-org .chart {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* 선 기본형 */
.dgpba-org .vl {
  width: var(--lw);
  background: var(--lc);
  margin: 0 auto;
  flex-shrink: 0;
}
.dgpba-org .hl {
  height: var(--lw);
  background: var(--lc);
  flex-shrink: 0;
  align-self: center;
}

/* 원형 노드 */
.dgpba-org .circ {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bm), var(--bd));
  color: var(--wh);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 6px 20px rgba(30,80,200,.3);
  border: 3px solid rgba(255,255,255,.4);
  flex-shrink: 0;
}
.dgpba-org .circ-lg { width: 104px; height: 104px; font-size: 14px; }
.dgpba-org .circ-sm { width:  82px; height:  82px; font-size: 13px; font-weight: 800; }
.dgpba-org .circ .nm { font-size: 19px; font-weight: 900; }

/* 박스 노드 */
.dgpba-org .o-box {
  background: linear-gradient(160deg, var(--wh) 60%, var(--bg));
  border: 2px solid var(--bp);
  border-radius: 10px;
  box-shadow: var(--sh);
  overflow: hidden;
  text-align: center;
}
.dgpba-org .bt {
  background: linear-gradient(90deg, var(--bm), var(--bd));
  color: var(--wh);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}
.dgpba-org .bb {
  font-size: 12.5px;
  color: var(--tx);
  line-height: 1.75;
  padding: 8px 12px 10px;
}

/* 상단 행: 이사회 ─ 회장 ─ 대의원회 */
.dgpba-org .top-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 센터 플로우 */
.dgpba-org .cf {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dgpba-org .cf > .vl { height: var(--gap); }

.dgpba-org .vp-box { width: clamp(240px, 46%, 380px); }

/* 사무차장/총장 행 */
.dgpba-org .sec-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(280px, 76%, 560px);
}
.dgpba-org .sec-row .o-box { flex: 1; }
.dgpba-org .sec-main .bt { font-size: 15px; padding: 8px 10px; }
.dgpba-org .sec-main .bb { font-size: 14px; font-weight: 700; }

/* 위원회 팬 */
.dgpba-org .fan {
  position: relative;
  width: 100%;
  padding-top: var(--gap);
}
.dgpba-org .fan::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: var(--lw);
  background: var(--lc);
}

.dgpba-org .cgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.dgpba-org .cc {
  position: relative;
  background: linear-gradient(160deg, var(--wh) 50%, var(--bg));
  border: 2px solid var(--bp);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(30,80,200,.1);
  text-align: center;
  transition: transform .18s, box-shadow .18s;
}
.dgpba-org .cc::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--gap));
  left: 50%;
  transform: translateX(-50%);
  width: var(--lw);
  height: var(--gap);
  background: var(--lc);
}
.dgpba-org .cc:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(30,80,200,.2);
}
.dgpba-org .ct {
  background: linear-gradient(90deg, var(--bm), var(--bd));
  color: var(--wh);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 6px;
  border-radius: 8px 8px 0 0;
}
.dgpba-org .cb {
  padding: 7px 8px 10px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--tx);
}
.dgpba-org .cc-chair {
  display: inline-block;
  background: var(--bp);
  color: var(--bd);
  font-weight: 700;
  font-size: 10.5px;
  border-radius: 20px;
  padding: 1px 8px;
  margin-bottom: 4px;
}
.dgpba-org .cc-mem { color: #3a5a8a; }
.dgpba-org .branch .ct { background: linear-gradient(90deg, var(--gd), var(--gm)); }
.dgpba-org .branch .cc-chair { background: #d0f0dc; color: #1a5a30; }

/* 사이드 패널 (고문·감사) */
.dgpba-org .side {
  position: absolute;
  left: 0;
  top: 148px;
  width: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dgpba-org .side .o-box { width: 120px; }
.dgpba-org .side > .vl { height: 16px; }

/* ── 반응형 ── */
@media (max-width: 820px) {
  .dgpba-org .cgrid { grid-template-columns: repeat(3, 1fr); }
  .dgpba-org .fan::before { left: calc(100%/6); right: calc(100%/6); }
  .dgpba-org .cc:nth-child(n+4)::before { display: none; }

  .dgpba-org .side {
    position: static;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 24px;
    margin-bottom: 0;
  }
  .dgpba-org .side > .vl { display: none; }
  .dgpba-org .chart { position: static; }
}

@media (max-width: 540px) {
  .dgpba-org .cgrid { grid-template-columns: repeat(2, 1fr); }
  .dgpba-org .fan::before { left: 25%; right: 25%; }
  .dgpba-org .cc:nth-child(n+3)::before { display: none; }

  .dgpba-org .sec-row { flex-wrap: wrap; gap: 8px; }
  .dgpba-org .sec-row .hl { display: none; }
  .dgpba-org .sec-row .o-box { flex: 0 0 calc(50% - 4px); }

  .dgpba-org .top-row .circ-lg { width: 76px; height: 76px; font-size: 12px; }
  .dgpba-org .circ .nm { font-size: 15px; }
  .dgpba-org .top-row .hl { width: 24px !important; }
}

@media (max-width: 400px) {
  .dgpba-org .top-row { flex-wrap: wrap; gap: 8px; }
  .dgpba-org .top-row .hl { display: none; }
  .dgpba-org .cgrid { grid-template-columns: 1fr 1fr; }
  .dgpba-org .cc:nth-child(n+3)::before { display: none; }
}
