@charset "utf-8"

/* ═══════════ company 전용 페이지 (index·content·new·connect·search) ═══════════ */

.co-hero { padding: 2rem 0; margin-bottom: 1.5rem; border-bottom: 2px solid var(--brand); }
.co-hero h1 { margin: 0 0 .375rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -.4px; }
.co-hero p { margin: 0; color: var(--muted-foreground); font-size: var(--text-sm); }

.co-doc-head { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
  padding-bottom: .875rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--brand); }
.co-doc-head h1 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.3px; }
.co-doc-head .count { color: var(--muted-foreground); font-size: var(--text-sm); }

.co-board-list { display: grid; gap: 1.5rem; }
.co-board-block { background: var(--card); border: 1px solid var(--border); }
.co-board-head {
  display: flex; align-items: center; gap: .625rem; padding: .875rem 1.25rem;
  background: var(--muted); border-bottom: 1px solid var(--border);
}
.co-board-head h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.co-board-head .more { margin-left: auto; font-size: var(--text-sm); color: var(--muted-foreground); }
.co-latest-list { padding: .5rem 1.25rem; }
.co-latest-list li {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .6rem 0; border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}
.co-latest-list li:last-child { border-bottom: none; }
.co-latest-list .d { margin-left: auto; font-size: var(--text-xs); color: var(--muted-foreground); }

/* ═══════════ 회사소개(인사말) 영역 ═══════════ */

.co-about { padding-bottom: 1rem; }
.co-about-vline { display: block; width: 1px; height: 20px; margin: 0 auto; background: var(--border); }
.co-about-eng { display: block; margin: .625rem 0; text-align: center; font-size: 1.4rem; font-weight: 600; }
.co-about-eng em { color: var(--brand); font-style: normal; }
.co-about-stitle { margin-bottom: 1.5rem; text-align: center; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }

.co-about-greet { margin-bottom: 3rem; }
.co-about-greet::after { content: ""; display: block; clear: both; }
.co-about-greet-img {
  position: relative; width: 100%; height: 280px; margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-active) 100%);
}
.co-about-greet-badge {
  position: absolute; right: 4%; bottom: -25px; min-width: 40%; max-width: 90%;
  padding: 1.5rem; text-align: left; background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.co-about-greet-badge em { display: block; font-size: var(--text-xs); font-style: normal; letter-spacing: .2em; color: var(--brand); }
.co-about-greet-badge p { display: block; margin-top: .625rem; font-size: 1.05rem; line-height: 1.3; font-weight: 600; }

.co-about-greet-body { padding: 0 2%; }
.co-about-greet-texts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 4%; }
.co-about-greet-texts dl { width: 48%; }
.co-about-greet-texts dt { font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
.co-about-greet-texts dd p { margin-top: 1rem; font-size: var(--text-sm); line-height: 1.7; color: var(--foreground); }
.co-about-greet-sign { margin-top: 1.5rem; text-align: right; font-size: var(--text-sm); }
.co-about-greet-sign span { display: block; margin-top: .25rem; font-size: 1.2rem; font-weight: 700; letter-spacing: .15em; }

.co-about-section-title { position: relative; margin: 3rem 0 1.5rem; text-align: center; }
.co-about-section-title::before {
  content: ""; display: block; width: 40px; height: 2px; margin: 0 auto .875rem; background: var(--foreground);
}
.co-about-section-title h2 { margin: 0; font-size: 1.4rem; font-weight: 700; }
.co-about-section-title p { margin-top: .625rem; font-size: var(--text-sm); color: var(--muted-foreground); }

.co-about-overview ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5%; }
.co-about-overview li { border: 1px solid var(--border); }
.co-about-overview .box { display: flex; align-items: center; gap: .875rem; padding: 1.5rem; }
.co-about-overview .box .icon { flex: none; color: var(--brand); }
.co-about-overview .box dt { font-size: var(--text-xs); color: var(--muted-foreground); }
.co-about-overview .box dd { margin-top: .375rem; font-size: 1.05rem; font-weight: 700; }

@media (max-width: 768px) {
  .co-about-greet-img { height: auto; padding-bottom: 55%; }
  .co-about-greet-badge { position: static; margin-top: -2rem; margin-left: 4%; margin-right: 4%; }
  .co-about-greet-texts dl { width: 100%; }
  .co-about-overview ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .co-about-overview ul { grid-template-columns: 1fr; }
}

/* ═══════════ 회사소개(연혁) 영역  ═══════════ */

.co-history-list { padding-top: 2rem; }
.co-history-item { display: flex; align-items: flex-start; }
.co-history-year { flex: 0 0 20%; padding-top: .2rem; text-align: center; font-size: 1.2rem; font-weight: 600; }
.co-history-body { flex: 1; padding-left: 2rem; }
.co-history-body dl { position: relative; padding-bottom: 2rem; }
.co-history-body dl::before {
  content: ""; position: absolute; top: .6rem; left: -2rem; z-index: 0;
  width: 1px; height: 100%; background: var(--border);
}
.co-history-item:last-child .co-history-body dl { padding-bottom: 0; }
.co-history-body dt {
  position: relative; margin-top: 1rem; font-size: var(--text-base); font-weight: 600;
}
.co-history-body dt:first-child { margin-top: 0; }
.co-history-body dt::after {
  content: ""; position: absolute; top: .5rem; left: -2.25rem; z-index: 1;
  width: 8px; height: 8px; background: var(--brand); border-radius: 50%;
}
.co-history-body dd { margin-top: .5rem; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }

@media (max-width: 768px) {
  .co-history-list { padding-top: 1rem; }
  .co-history-item { display: block; }
  .co-history-year { display: inline-block; width: auto; padding: .375rem 1rem; margin-bottom: 1rem; background: var(--muted); border-radius: var(--radius-lg); text-align: left; }
  .co-history-body { padding-left: 1.25rem; }
  .co-history-body dl::before { left: -1.25rem; }
  .co-history-body dt::after { left: -1.5rem; }
}

/* ═══════════ 회사소개(조직도) ═══════════ */

.co-org { padding-top: 2.5rem; text-align: center; }

.co-org-ceo-wrap { position: relative; display: inline-block; padding-bottom: 2.5rem; }
.co-org-ceo {
  display: inline-block; padding: .875rem 2.5rem; background: var(--brand);
  color: var(--brand-foreground); font-size: 1.1rem; font-weight: 700;
}
.co-org-ceo-wrap::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 2.5rem; background: var(--border);
}

.co-org-branches { display: flex; justify-content: center; gap: 1.5rem; padding-top: 2.5rem; }
.co-org-branch { position: relative; flex: 1 1 0; max-width: 280px; }
.co-org-branch::before, .co-org-branch::after {
  content: ""; position: absolute; top: -2.5rem; width: 50%; height: 1px; background: var(--border);
}
.co-org-branch::before { left: 0; }
.co-org-branch::after  { right: 0; }
.co-org-branch:first-child::before { display: none; }
.co-org-branch:last-child::after   { display: none; }
.co-org-box { position: relative; height: 100%; border: 1px solid var(--border); background: var(--card); text-align: left; }
.co-org-box::before {
  content: ""; position: absolute; top: -2.5rem; left: 50%; width: 1px; height: 2.5rem; background: var(--border);
}
.co-org-box-head {
  padding: .875rem 1.25rem; background: var(--muted); border-bottom: 1px solid var(--border);
  font-size: var(--text-base); font-weight: 700; text-align: center;
}
.co-org-teams { padding: .75rem 1.25rem 1rem; }
.co-org-teams li {
  position: relative; padding: .45rem 0 .45rem .9rem; font-size: var(--text-sm); color: var(--muted-foreground);
  border-bottom: 1px solid var(--border-subtle);
}
.co-org-teams li:last-child { border-bottom: none; }
.co-org-teams li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 5px; height: 1px; background: var(--muted-foreground);
}

@media (max-width: 768px) {
  .co-org-branches { flex-direction: column; align-items: stretch; gap: 1.5rem; padding-top: 1.5rem; }
  .co-org-branch { max-width: none; }
  .co-org-branch::before, .co-org-branch::after { display: none; }
  .co-org-box::before { display: none; }
  .co-org-box-head::before {
    content: ""; display: block; width: 24px; height: 2px; margin: 0 auto .625rem; background: var(--brand);
  }
}

/* ═══════════ 회사소개(오시는 길) 영역 ═══════════ */

.co-contact-map {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .625rem;
  height: 380px; background: var(--muted); border: 1px solid var(--border); color: var(--muted-foreground);
  text-align: center;
}
.co-contact-map .icon { color: var(--brand); }
.co-contact-map p { margin: 0; font-size: var(--text-sm); }

.co-contact-info {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding: 1.5rem 0; margin-top: 1.5rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.co-contact-info span { font-size: var(--text-sm); }
.co-contact-info strong { margin-right: .5rem; color: var(--foreground); }

.co-contact-transit { margin-top: 2rem; }
.co-contact-transit table { width: 100%; border-collapse: collapse; }
.co-contact-transit th {
  width: 15%; padding: .875rem; background: var(--muted); border-bottom: 1px solid var(--border);
  font-weight: 600; text-align: center;
}
.co-contact-transit td { padding: .875rem 1.25rem; border-bottom: 1px solid var(--border); font-size: var(--text-sm); line-height: 1.6; }
.co-contact-transit .line {
  display: inline-block; margin-right: .5rem; padding: 0 .5rem; border-radius: var(--radius-sm);
  font-size: var(--text-xs); color: #fff;
}

@media (max-width: 768px) {
  .co-contact-info { flex-direction: column; gap: .5rem; }
  .co-contact-transit th { width: 20%; }
}
@media (max-width: 480px) {
  .co-contact-transit table, .co-contact-transit tbody, .co-contact-transit tr { display: block; width: 100%; }
  .co-contact-transit th { width: 100%; text-align: left; border-bottom: none; padding-bottom: .25rem; }
  .co-contact-transit td { width: 100%; padding-top: 0; padding-bottom: 1.25rem; }
}

/* ═══════════ 회사소개(기업이념) 영역 ═══════════ */

.co-phil-quote {
  position: relative; max-width: 640px; margin: 0 auto 3.5rem; padding: 2rem 1.5rem;
  background: var(--muted); border-radius: var(--radius-lg); text-align: center;
}
.co-phil-quote::after {
  content: ""; position: absolute; left: 50%; bottom: -2.5rem; width: 1px; height: 2.5rem; background: var(--border);
}
.co-phil-quote p { margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.co-phil-quote p span { color: var(--brand); }

.co-phil-values { position: relative; display: flex; flex-wrap: wrap; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.co-phil-values::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -2.5rem; height: 1px; background: var(--border);
}
.co-phil-value { position: relative; flex: 1 1 0; min-width: 160px; padding: 2rem 1.25rem; text-align: center; color: #fff; }
.co-phil-value::before {
  content: ""; position: absolute; left: 50%; top: -2.5rem; width: 1px; height: 2.5rem; background: var(--border);
}
.co-phil-value::after {
  content: ""; position: absolute; left: 50%; top: -2.5rem; transform: translate(-50%, -50%); width: 10px; height: 10px;
  background: var(--card); border: 2px solid var(--border); border-radius: 50%;
}
.co-phil-value.bg1 { background: var(--brand); }
.co-phil-value.bg2 { background: var(--brand-hover); }
.co-phil-value.bg3 { background: #001e5d; }
.co-phil-value.bg4 { background: #333; }
.co-phil-value .icon { color: #fff; }
.co-phil-value strong { display: block; margin: 1rem 0 .625rem; font-size: 1.1rem; }
.co-phil-value p { margin: 0; font-size: var(--text-sm); line-height: 1.6; opacity: .92; }
.co-phil-gap { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 2.5rem; font-size: 1.4rem; color: var(--muted-foreground); }

.co-phil-title { position: relative; margin: 3.5rem 0 1.5rem; text-align: center; }
.co-phil-title h2 {
  position: relative; z-index: 1; display: inline-block; margin: 0; padding: 0 .75rem;
  font-size: 1.4rem; font-weight: 700; background: var(--card);
}
.co-phil-title h2::after {
  content: ""; position: absolute; right: -6px; top: -2px; z-index: -1; width: 8px; height: 8px;
  background: var(--brand); border-radius: 50%;
}
.co-phil-title p { margin-top: .625rem; font-size: var(--text-sm); color: var(--muted-foreground); }

.co-phil-card { position: relative; max-width: 80%; margin: 1.5rem auto 0; padding: 2rem 1.5rem; background: var(--card); border: 1px solid var(--border); }
.co-phil-card::before, .co-phil-card::after { content: ""; position: absolute; width: 20px; height: 20px; }
.co-phil-card::before { left: 0; top: 0; border-left: 3px solid var(--foreground); border-top: 3px solid var(--foreground); }
.co-phil-card::after  { right: 0; bottom: 0; border-right: 3px solid var(--foreground); border-bottom: 3px solid var(--foreground); }
.co-phil-card-tit { display: inline-block; width: 22%; vertical-align: middle; text-align: center; }
.co-phil-card-tit span { font-size: 1.3rem; font-weight: 700; }
.co-phil-card-body { display: inline-block; width: 75%; vertical-align: middle; }
.co-phil-card-body dd {
  position: relative; margin-bottom: .5rem; padding-left: 1rem; font-size: var(--text-sm); line-height: 1.6; color: var(--foreground);
}
.co-phil-card-body dd::before { content: ""; position: absolute; left: 0; top: .65rem; width: 4px; height: 4px; background: var(--muted-foreground); border-radius: 50%; }
.co-phil-card-body dd:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .co-phil-quote { padding: 1.5rem 1.25rem; }
  .co-phil-quote p { font-size: 1.1rem; }
  .co-phil-values { flex-direction: column; margin-top: 1.5rem; }
  .co-phil-values::before { display: none; }
  .co-phil-value { width: 100%; margin-bottom: .75rem; padding: 1.5rem 1.25rem; }
  .co-phil-value::before, .co-phil-value::after { display: none; }
  .co-phil-gap { display: none; }

  .co-phil-card { max-width: 100%; padding: 1.5rem 1.25rem; text-align: center; }
  .co-phil-card-tit, .co-phil-card-body { display: block; width: 100%; }
  .co-phil-card-body { margin-top: 1rem; text-align: left; }
}

/* 이미지 자리를 대신하는 그라데이션 플레이스홀더 — 사업영역 페이지들에서 공통으로 쓴다 */
.co-busi-ph {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 180px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-active) 100%); color: #fff;
}

/* ═══════════ 사업영역 Type01 영역 ═══════════ */

.co-busi1 { display: flex; flex-wrap: wrap; gap: 2%; margin-top: 2.5rem; }
.co-busi1-item {
  display: flex; width: 49%; margin-bottom: 2%; background: var(--card); border: 1px solid var(--border);
  overflow: hidden;
}
.co-busi1-thumb { flex: 0 0 40%; }
.co-busi1-body { position: relative; flex: 1; padding: 2.25rem 1.25rem 1.25rem; }
.co-busi1-num {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: var(--muted); color: var(--muted-foreground); font-weight: 600; transition: .3s ease;
}
.co-busi1-item:hover .co-busi1-num { background: var(--brand); color: var(--brand-foreground); }
.co-busi1-body h4 { margin: 1rem 0; font-size: 1.3rem; font-weight: 700; }
.co-busi1-body p {
  margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 768px) {
  .co-busi1-item { width: 100%; flex-direction: row; }
}
@media (max-width: 480px) {
  .co-busi1-item { flex-direction: column; }
  .co-busi1-body { text-align: center; }
  .co-busi1-body p { -webkit-line-clamp: unset; }
}

/* ═══════════ 사업영역 Type02 영역  ═══════════ */

.co-busi2 { margin-top: 2.5rem; }
.co-busi2-item { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; margin-bottom: 3.5rem; }
.co-busi2-item:last-child { margin-bottom: 0; }
.co-busi2-item:nth-child(even) { flex-direction: row-reverse; }
.co-busi2-thumb { flex: 1 1 320px; }
.co-busi2-body { flex: 1 1 320px; }
.co-busi2-num {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  color: #fff; font-weight: 600;
}
.co-busi2-item:nth-child(1) .co-busi2-num { background: var(--brand); }
.co-busi2-item:nth-child(2) .co-busi2-num { background: var(--brand-hover); }
.co-busi2-item:nth-child(3) .co-busi2-num { background: #001364; }
.co-busi2-body h3 { margin: 1rem 0 1.25rem; font-size: 1.5rem; font-weight: 700; }
.co-busi2-item:nth-child(1) h3 span { color: var(--brand); }
.co-busi2-item:nth-child(2) h3 span { color: var(--brand-hover); }
.co-busi2-item:nth-child(3) h3 span { color: #001364; }
.co-busi2-body p { margin-top: .625rem; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }

.co-busi2-table { width: 100%; margin-top: 4rem; border-collapse: collapse; border-top: 1px solid var(--foreground); }
.co-busi2-table th, .co-busi2-table td { border-bottom: 1px solid var(--border); }
.co-busi2-table thead th { padding: .875rem; background: var(--muted); font-weight: 600; text-align: center; }
.co-busi2-table tbody th { width: 28%; padding: 1.25rem; text-align: center; font-weight: 600; }
.co-busi2-table tbody th p { margin-top: .625rem; font-size: var(--text-sm); }
.co-busi2-table tbody td { width: 72%; padding: 1rem 1.5rem; text-align: left; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }
.co-busi2-table tbody .co-busi-ph { min-height: 90px; margin: 0 auto; max-width: 140px; }

@media (max-width: 768px) {
  .co-busi2-item, .co-busi2-item:nth-child(even) { flex-direction: column; text-align: center; }
  .co-busi2-table { margin-top: 2rem; }
  .co-busi2-table tbody th { width: 35%; padding: 1rem; }
}
@media (max-width: 480px) {
  .co-busi2-table, .co-busi2-table tbody, .co-busi2-table tr { display: block; width: 100%; }
  .co-busi2-table thead { display: none; }
  .co-busi2-table tbody th, .co-busi2-table tbody td { display: block; width: 100%; }
  .co-busi2-table tbody td { padding-top: 0; }
}

/* ═══════════ 사업영역 Type03 영역  ═══════════ */

.co-busi3 { margin-top: 2.5rem; border-top: 1px solid var(--foreground); }
.co-busi3-item {
  display: flex; align-items: center; gap: 2.5rem; padding: 2.25rem 2%; border-bottom: 1px solid var(--border);
}
.co-busi3-item:nth-child(even) { background: var(--muted); }
.co-busi3-thumb { flex: 0 0 40%; }
.co-busi3-body { position: relative; flex: 1; }
.co-busi3-num { display: inline-block; padding: .25rem .5rem; font-size: var(--text-sm); border-bottom: 1px solid var(--foreground); }
.co-busi3-body h4 { margin: 1rem 0; font-size: 1.3rem; font-weight: 700; }
.co-busi3-body p { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }
.co-busi3-more {
  position: absolute; right: 0; top: 0; display: inline-block; min-width: 120px; padding: .5rem 1rem;
  text-align: center; font-size: var(--text-sm); background: var(--card); border: 1px solid var(--border);
  transition: .2s ease;
}
.co-busi3-item:hover .co-busi3-more { color: #fff; background: var(--brand); border-color: var(--brand); }

@media (max-width: 768px) {
  .co-busi3-item { flex-direction: column; text-align: center; }
  .co-busi3-thumb { flex-basis: 100%; }
  .co-busi3-more { position: static; display: block; margin-top: 1.5rem; }
}

/* ═══════════ sub_visual 영역 ═══════════ */

.co-subvisual {
  position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column;
  padding: 4.5rem 1rem; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-active) 100%);
  text-align: center;
}
.co-subvisual-text h3 {
  margin: 0; font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1.3;
  text-shadow: 0 0 4px rgba(0, 0, 0, .25);
}
.co-subvisual-text h3::after { content: ""; display: block; margin: .625rem auto 0; width: 3rem; height: 1px; background: rgba(255, 255, 255, .5); }
.co-subvisual-text p { margin: .75rem 0 0; font-size: var(--text-sm); color: rgba(255, 255, 255, .85); letter-spacing: .05em; text-transform: uppercase; }

@media (max-width: 768px) {
  .co-subvisual { padding: 3rem 1rem; }
  .co-subvisual-text h3 { font-size: 1.6rem; }
}

/* ═══════════ sub_nav 영역 ═══════════ */

.co-subnav { border-bottom: 1px solid var(--border); background: var(--card); }
.co-subnav-wrap { display: flex; align-items: stretch; width: 100%; max-width: 1246px; padding-inline: 0; }
.co-subnav-home {
  display: flex; align-items: center; justify-content: center; width: 3.5rem; flex: none;
  background: var(--brand); color: var(--brand-foreground);
}
.co-subnav-dep { position: relative; width: 200px; flex: none; border-right: 1px solid var(--border); }
.co-subnav-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%;
  height: 3.5rem; padding: 0 1.25rem; font-size: var(--text-sm); font-weight: 600; color: var(--foreground);
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.co-subnav-btn .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-subnav-btn svg { flex: none; color: var(--muted-foreground); transition: transform .2s ease; }
.co-subnav-dep.open .co-subnav-btn svg { transform: rotate(180deg); }
.co-subnav-drop {
  display: none; position: absolute; top: 100%; left: 0; min-width: 100%; z-index: 20; margin: 0; padding: 0;
  list-style: none; background: var(--card); border: 1px solid var(--border); border-top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.co-subnav-dep.open .co-subnav-drop { display: block; }
.co-subnav-drop a {
  display: block; padding: .75rem 1.25rem; font-size: var(--text-sm); color: var(--muted-foreground);
  white-space: nowrap; transition: .15s ease;
}
.co-subnav-drop a:hover, .co-subnav-drop a.on { background: var(--muted); color: var(--brand); font-weight: 600; }

/* 빵부스러기 — co-subnav 우측 끝에 붙인다. 콘텐츠·게시판 화면에 따로 있던 .breadcrumb 를
   대신하므로, 이 테마에서는 그 쪽을 숨기고 여기 하나만 보여준다 (아래 .breadcrumb 규칙 참고). */
.co-subnav-crumb {
  display: flex; align-items: center; gap: .5rem; margin-left: auto; padding-left: 1rem;
  font-size: var(--text-sm); color: var(--muted-foreground); white-space: nowrap; overflow: hidden;
}
.co-subnav-crumb a { color: var(--muted-foreground); }
.co-subnav-crumb a:hover { color: var(--brand); }
.co-subnav-crumb .cur { color: var(--foreground); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.co-subnav-crumb .sep { color: var(--border); }

/* 콘텐츠·게시판 화면 안쪽에서 그리던 기존 빵부스러기 — co-subnav 쪽으로 옮겼으니 숨긴다 */
.breadcrumb { display: none; }

@media (max-width: 768px) {
  .co-subnav-home { width: 2.75rem; }
  .co-subnav-dep { flex: 1 1 0; }
  .co-subnav-btn { width: 100%; padding: 0 .875rem; height: 3rem; justify-content: space-between; }
  .co-subnav-drop { min-width: 0; width: 100%; }
  .co-subnav-crumb { display: none; }
}

/* ═══════════ 메인 visual (Split Hero) 영역 ═══════════ */

.co-visual { position: relative; overflow: hidden; background: var(--card); width: 100%; }
.co-visual-track { position: relative; height: 680px; }
.co-visual-slide { display: none; height: 100%; }
.co-visual-slide.is-active { display: flex; }

.co-visual-left {
  width: 50%; display: flex; flex-direction: column; justify-content: center;
  padding: 0 4% 0 max(4vw, calc((100vw - var(--site-max-width)) / 2));
  background: none; position: relative; z-index: 2;
}
.co-visual-label {
  display: inline-flex; align-items: center; gap: .75rem; font-size: var(--text-xs); font-weight: 700;
  color: var(--brand); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.co-visual-label em { display: inline-block; width: 1.5rem; height: 1px; background: currentColor; opacity: .7; }
.co-visual-left h2 { margin: 0 0 1.25rem; font-size: 2.75rem; font-weight: 800; color: var(--foreground); line-height: 1.2; letter-spacing: -.02em; }
.co-visual-left p { margin: 0 0 2rem; font-size: var(--text-base); color: var(--muted-foreground); line-height: 1.7; }

.co-visual-btns { display: flex; gap: .625rem; align-items: center; }
.co-visual-btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .875rem 1.75rem; border-radius: 999px;
  font-size: var(--text-sm); font-weight: 600; transition: .25s ease; white-space: nowrap;
}
.co-visual-btn.primary { background: var(--foreground); color: var(--background); border: 1px solid var(--foreground); }
.co-visual-btn.primary:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-foreground); }
.co-visual-btn.outline { background: var(--card); color: var(--foreground); border: 1px solid var(--border); }
.co-visual-btn.outline:hover { border-color: var(--foreground); }
.co-visual-btn svg { transition: transform .25s ease; }
.co-visual-btn:hover svg { transform: translateX(4px); }

.co-visual-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.co-visual-bg-1 { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .35) 100%), url('../img/main_visual01.jpg') center / cover no-repeat; }
.co-visual-bg-2 { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .35) 100%), url('../img/main_visual02.jpg') center / cover no-repeat; }
.co-visual-bg-3 { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .35) 100%), url('../img/main_visual03.jpg') center / cover no-repeat; }
.co-visual-bg-4 { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .35) 100%), url('../img/main_visual04.jpg') center / cover no-repeat; }

.co-visual-thumbs { position: absolute; bottom: 2rem; left: 46%; z-index: 10; display: flex; gap: .5rem; }
.co-visual-thumb {
  width: 3.85rem; height: 2.6rem; padding: 0; border: 2px solid rgba(255, 255, 255, .35); border-radius: 4px;
  overflow: hidden; cursor: pointer; opacity: .5; transition: .25s ease; position: relative;
}
.co-visual-thumb:hover { opacity: .8; }
.co-visual-thumb.is-active { opacity: 1; border-color: #fff; }
.co-visual-thumb .co-visual-bg { position: absolute; inset: 0; }

.co-visual-nav {
  position: absolute; bottom: 2rem; left: max(4vw, calc((100vw - var(--site-max-width)) / 2)); z-index: 10; display: flex; gap: .5rem;
}
.co-visual-prev, .co-visual-next {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s ease;
}
.co-visual-prev:hover, .co-visual-next:hover { background: var(--brand); border-color: var(--brand); }
.co-visual-prev:hover span, .co-visual-next:hover span { color: var(--brand-foreground); }
.co-visual-prev span, .co-visual-next span { font-size: 1.1rem; font-weight: 300; color: var(--foreground); line-height: 1; }

@media (max-width: 1024px) {
  .co-visual-track { height: 460px; }
  .co-visual-slide.is-active { display: block; position: relative; }
  .co-visual-left {
    width: 100%; height: 100%; position: relative; z-index: 2; background: transparent;
    padding: 0 5% 0 max(4vw, calc((100vw - var(--site-max-width)) / 2));
  }
  .co-visual-label { color: rgba(255, 255, 255, .85); }
  .co-visual-left h2 { font-size: 1.85rem; color: #fff; }
  .co-visual-left p { font-size: var(--text-sm); color: rgba(255, 255, 255, .85); }
  .co-visual-btn.outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
  .co-visual-btn.outline:hover { border-color: #fff; }
  .co-visual-thumbs { bottom: 1.5rem; right: 1.5rem; }
  .co-visual-nav { bottom: 1.5rem; left: max(4vw, calc((100vw - var(--site-max-width)) / 2)); }
}
@media (max-width: 640px) {
  .co-visual-track { height: 420px; }
  .co-visual-left h2 { font-size: 1.5rem; }
  .co-visual-thumbs { display: none; }
}

/* ═══════════ site-footer — uidc.eworks.kr 의 footer 영역과 같은 구성 ═══════════ */

.co-footer { position: relative; background: #1c1c1c; color: #959595; }

.co-footer-top { border-bottom: 1px solid #353535; }
.co-footer-top-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; height: 55px; padding: 0;
}
.co-footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.co-footer-nav a { color: #959595; font-size: var(--text-sm); }
.co-footer-nav a:hover { color: #fff; }

.co-footer-lang { position: relative; flex: none; }
.co-footer-lang-btn {
  display: flex; align-items: center; gap: .5rem; padding: .5rem .875rem; font-size: var(--text-xs);
  color: #eee; background: rgba(255, 255, 255, .08); border: 0; cursor: pointer; font-family: inherit;
}
.co-footer-lang-btn:hover { color: #fff; }
.co-footer-lang-btn svg { transition: transform .2s ease; }
.co-footer-lang.open .co-footer-lang-btn svg { transform: rotate(180deg); }
.co-footer-lang-drop {
  display: none; position: absolute; bottom: 100%; right: 0; margin: 0 0 .5rem; padding: 0; list-style: none;
  min-width: 140px; background: #fff; border: 1px solid #c5c5c5; z-index: 10;
}
.co-footer-lang.open .co-footer-lang-drop { display: block; }
.co-footer-lang-drop a { display: block; padding: .5rem .875rem; font-size: var(--text-sm); color: #555; border-top: 1px solid #eee; }
.co-footer-lang-drop li:first-child a { border-top: 0; }
.co-footer-lang-drop a:hover, .co-footer-lang-drop a.on { color: var(--brand); background: #f7f7f7; }

.co-footer-cont { padding: 1.25rem 0; font-size: var(--text-sm); line-height: 1.9; color: #757575; }
.co-footer-cont span { position: relative; display: inline-block; padding-right: .9rem; margin-right: .6rem; }
.co-footer-cont span::after { content: ""; position: absolute; top: .2rem; right: 0; width: 1px; height: .75rem; background: #414141; }
.co-footer-cont span.last { padding-right: 0; margin-right: 0; }
.co-footer-cont span.last::after { display: none; }
.co-footer-cont a { color: #959595; }
.co-footer-cont a:hover { text-decoration: underline; }

.co-footer-copyright { padding: .75rem 0 1.5rem; text-align: center; font-size: var(--text-xs); color: #757575; }
.co-footer-stats { margin-left: .5rem; }

@media (max-width: 768px) {
  .co-footer-top-inner { flex-direction: column; align-items: center; text-align: center; }
  .co-footer-nav { justify-content: center; }
  .co-footer-cont { text-align: center; }
}
