/* 페이지 구조는 원본 JSP utility 클래스에서 정의한다. 이 파일은 Java 호환 보정만 둔다. */
@layer legacy {
  .parity-body button{background:transparent}
  .parity-body th{background:transparent}
  .public-hero[data-menu="guide"] .hero-menu-photo{object-position:30% 50%}
  .public-hero[data-menu="courses"] .hero-menu-photo{object-position:75% 55%}
  .public-hero[data-menu="notices"] .hero-menu-photo{object-position:25% 50%}
  .public-hero[data-menu="faq"] .hero-menu-photo{object-position:15% 55%}
  .public-hero[data-menu="resources"] .hero-menu-photo{object-position:80% 50%}
  .public-hero[data-menu="gallery"] .hero-menu-photo{object-position:85% 45%}
  .public-hero[data-menu="search"] .hero-menu-photo{object-position:20% 55%}
}

/* 원본 vision.module.css 클래스만 충돌 방지 접두사로 변환. */
.vision-page {
  --vision-ink: #202938;
  --vision-muted: #566174;
  --vision-line: #e1e6ee;
  color: var(--vision-ink);
  padding: 20px 0 28px;
}

.vision-lead,
.vision-detail {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  column-gap: 48px;
}

.vision-sectionTitle {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.5;
}

.vision-statement {
  max-width: 820px;
}

.vision-statementTitle {
  max-width: 720px;
  margin: -5px 0 22px;
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
}

.vision-statementText {
  max-width: 740px;
  color: var(--vision-muted);
  font-size: 18px;
  line-height: 1.9;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.vision-valuesSection {
  margin: 48px 0 64px;
  padding: 28px 36px 36px;
  background: #f4f6fa;
}

.vision-valuesTitle {
  margin: 0 0 24px;
  color: var(--vision-muted);
  font-size: 14px;
  font-weight: 500;
}

.vision-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 24px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vision-value {
  padding-top: 18px;
  border-top: 2px solid color-mix(in srgb, var(--brand) 28%, white);
  color: var(--brand);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.vision-detail + .vision-detail {
  margin-top: 56px;
}

.vision-body {
  min-width: 0;
  max-width: 820px;
  color: var(--vision-muted);
  font-size: 16px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.vision-body > :first-child { margin-top: 0; }
.vision-body > :last-child { margin-bottom: 0; }
.vision-body img { max-width: 100%; height: auto; }
.vision-body table { display: block; max-width: 100%; overflow-x: auto; }

.vision-goals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vision-goal {
  padding-top: 20px;
  border-top: 1px solid var(--vision-line);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.vision-goal h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: -0.025em;
}

.vision-goal p {
  color: var(--vision-muted);
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line;
}

@media (max-width: 767px) {
  .vision-page { padding-top: 0; }
  .vision-lead, .vision-detail { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vision-sectionTitle { font-size: 21px; }
  .vision-statementTitle { margin-top: 0; margin-bottom: 16px; font-size: 28px; }
  .vision-statementText { font-size: 16px; }
  .vision-valuesSection { margin: 32px 0 40px; padding: 24px; }
  .vision-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .vision-value { font-size: 19px; padding-top: 12px; }
  .vision-detail + .vision-detail { margin-top: 36px; }
  .vision-goals { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* 원본 조직도 스타일. */
/* CSS만으로 그리는 조직도 트리(점선 연결). 노드 수·깊이는 데이터에 따른다 */
.org-tree ul {
  display: flex;
  justify-content: center;
  position: relative;
  padding-top: 28px;
  margin: 0;
}
.org-tree > ul {
  padding-top: 0;
}
.org-tree li {
  list-style: none;
  position: relative;
  text-align: center;
  padding: 28px 10px 0;
}
.org-tree > ul > li {
  padding-top: 0;
}
.org-tree li::before,
.org-tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 28px;
  border-top: 1px dashed #9ca3af;
}
.org-tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px dashed #9ca3af;
}
.org-tree li:only-child::before,
.org-tree li:only-child::after {
  display: none;
}
.org-tree li:only-child {
  padding-top: 0;
}
.org-tree ul ul li:only-child {
  padding-top: 0;
}
.org-tree li:first-child::before,
.org-tree li:last-child::after {
  border: 0 none;
}
.org-tree li:last-child::before {
  border-right: 1px dashed #9ca3af;
  border-radius: 0 6px 0 0;
}
.org-tree li:first-child::after {
  border-radius: 6px 0 0 0;
}
.org-tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 28px;
  border-left: 1px dashed #9ca3af;
}
.org-node {
  display: inline-block;
  min-width: 140px;
  padding: 12px 22px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.org-node.org-depth1 {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.org-node.org-leaf {
  background: #eef3fb;
  color: #1f2937;
  font-weight: 500;
}
.jsp-resizable-image{display:inline-block;position:relative;max-width:100%;vertical-align:bottom}.jsp-resizable-image img{max-width:100%;height:auto}.jsp-resizable-image.is-selected{outline:2px solid var(--brand)}.jsp-image-handle{position:absolute;right:0;bottom:0;width:14px;height:14px;border:2px solid white;background:var(--brand);cursor:nwse-resize;padding:0}.editor-fullscreen{position:fixed;inset:12px;z-index:100;background:white;overflow:auto}.editor-fullscreen .ProseMirror{min-height:70vh}.editor-notice{margin:0;padding:8px 12px;background:#fef3c7;color:#78350f;font-size:14px}
