/* ============================================================
   KCBMA — 대한집합건물관리인협회 · Global Stylesheet v4.0
   Primary Navy: #0B2A5B · Teal: #2BA8A0 · BG: #F8FAFC
   ============================================================ */

/* ── 0. Custom Properties (컬러 토큰 정리) ──────────────── */
:root {
  --navy:        #0B2A5B;
  --navy-deep:   #061A3D;
  --navy-soft:   #102D6B;
  --blue:        #1E5AA8;
  --teal:        #2BA8A0;
  --teal-dark:   #1f8a83;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-500:    #64748B;
  --gray-700:    #334155;
  --gray-900:    #0F172A;
  /* Aliases used widely */
  --bg:          var(--gray-50);
  --bg-gray:     var(--gray-100);
  --text:        #1E293B;
  --text-mid:    #475569;
  --text-light:  var(--gray-400);
  --border:      var(--gray-200);
  --navy-dark:   var(--navy-deep);
  --navy-mid:    var(--blue);
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-full: 9999px;
  --shadow-sm:   0 1px 4px rgba(11,42,91,.08);
  --shadow:      0 4px 16px rgba(11,42,91,.12);
  --shadow-lg:   0 8px 32px rgba(11,42,91,.18);
  --trans:       .22s ease;
}

/* ── 1. Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
table { border-collapse: collapse; }

/* ── 2. Util Bar ─────────────────────────────────────── */
.util-bar {
  position: sticky;
  top: 0;
  z-index: 901;
  background: #0F1F3A;
  color: var(--gray-400);
  font-size: .78rem;
  height: 36px;
  display: flex;
  align-items: center;
}
.util-bar .inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.util-bar .util-left { display: flex; gap: 14px; align-items: center; }
.util-bar .util-right { display: flex; gap: 10px; align-items: center; }
.util-bar a { color: var(--gray-400); transition: color var(--trans); white-space: nowrap; }
.util-bar a:hover { color: #fff; }
.util-cafe {
  background: #03C75A;
  color: #fff !important;
  padding: 3px 9px;
  border-radius: 3px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.util-divider { width: 1px; height: 12px; background: rgba(255,255,255,.15); }
.util-adv-btn {
  background: var(--teal);
  color: #fff !important;
  padding: 3px 11px;
  border-radius: 3px;
  font-weight: 700;
  font-size: .76rem;
}
.util-adv-btn:hover { background: var(--teal-dark) !important; }

/* ── 3. Header / GNB ─────────────────────────────────── */
#site-header {
  position: sticky;
  top: 36px;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--trans);
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(11,42,91,.14); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 0;
}
.site-logo { flex-shrink: 0; display: flex; align-items: center; margin-right: 40px; }
.site-logo img { height: 46px; width: auto; object-fit: contain; }

/* GNB — 넓은 간격 + 티얼 hover + 슬라이드 밑줄 */
.gnb { flex: 1; display: flex; align-items: stretch; gap: 4px; }
.gnb > li { position: relative; display: flex; align-items: center; }
.gnb > li > a {
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 22px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -.005em;
  position: relative;
  transition: color 200ms ease;
}
/* 슬라이드 밑줄 ::after */
.gnb > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 2.5px;
  background: var(--teal);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.gnb > li > a:hover { color: var(--teal); }
.gnb > li > a:hover::after { transform: scaleX(1); }
.gnb > li.active > a { color: var(--teal); }
.gnb > li.active > a::after { transform: scaleX(1); }

/* Dropdown */
.gnb-dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--trans), transform var(--trans), visibility var(--trans);
  z-index: 200;
}
.gnb > li:hover .gnb-dropdown,
.gnb > li:focus-within .gnb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.gnb-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: .84rem;
  color: var(--text-mid);
  transition: background var(--trans), color var(--trans);
  white-space: nowrap;
}
.gnb-dropdown a:hover { background: var(--bg); color: var(--navy); }

/* [광고 문의] 라운드 버튼 */
.header-cta { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding-left: 32px; }
.btn-adv {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 26px;
  border-radius: var(--radius-full);
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  white-space: nowrap;
  letter-spacing: -.005em;
}
.btn-adv:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,42,91,.28);
}

/* Mobile menu btn */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }

#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(6,26,61,.97);
  overflow-y: auto;
}
#mobile-menu.open { display: block; }
.mobile-menu-inner { padding: 24px 20px 40px; max-width: 480px; margin: 0 auto; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-menu-header img { height: 40px; filter: brightness(0) invert(1); }
.mobile-close { color: #fff; font-size: 1.6rem; line-height: 1; padding: 4px 8px; }
.mobile-nav-group { margin-bottom: 4px; }
.mobile-nav-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary::after { content: '+'; font-size: 1.2rem; color: var(--teal); }
.mobile-nav-group[open] summary::after { content: '−'; }
.mobile-nav-group > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-sub { padding: 8px 0 8px 12px; }
.mobile-nav-sub a { display: block; padding: 9px 8px; color: var(--gray-400); font-size: .9rem; transition: color var(--trans); }
.mobile-nav-sub a:hover { color: var(--teal); }
.mobile-cta-area { margin-top: 28px; }
.mobile-cta-area a {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .9rem;
  background: var(--teal);
  color: #fff;
  margin-bottom: 10px;
}

/* ── 4. Section Commons ──────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 24px; height: 1px; background: var(--teal); opacity: .5; }
.section-title { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 900; color: var(--navy); margin-bottom: 10px; word-break: keep-all; }
.section-desc { font-size: .92rem; color: var(--text-mid); max-width: 540px; margin: 0 auto; word-break: keep-all; }

.content-section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.view-all-link { font-size: .84rem; font-weight: 700; color: var(--teal); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.view-all-link:hover { text-decoration: underline; }

/* ── 5. Buttons ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--trans), transform var(--trans);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--trans), transform var(--trans);
}
.btn-navy:hover { background: var(--blue); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--teal);
  font-weight: 700;
  font-size: .88rem;
  padding: 9px 18px;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  transition: background var(--trans), color var(--trans);
}
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ── 6. Hero — 단일 정적 ─────────────────────────────── */
/* 히어로 영역 제목 호버 밑줄 효과 및 링크 설정 */
    .hero-title-link {
      position: relative;
      display: inline-block;
      padding-bottom: 6px;
      text-decoration: none;
      cursor: pointer;
      color: white; /* 기본은 흰색 */
    }
    .hero-title-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background-color: #FFFFFF; 
      transition: width 0.3s ease-in-out;
    }
    .hero-title-link:hover::after {
      width: 100%;
    }
    /* 활성화된 페이지의 글자색과 밑줄 (항상 켜져 있음) */
    .hero-title-active {
      color: #4FD1C5 !important;
    }
    .hero-title-active::after {
      background-color: #4FD1C5; 
      width: 100%;
    }




/* 인라인 SVG 도시 야경 배경 */
.hero-skyline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
}

/* Hero 컨텐츠 */
.hero-static-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  color: #fff;
  width: 100%;
  text-align: center;
}
@media (max-width: 768px) {
  .hero-static-content { padding: 60px 24px; }
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(43,168,160,.5);
  color: var(--teal);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* 부카피 */
.hero-title-sub {
  font-size: clamp(.95rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 14px;
  color: rgba(255,255,255,.85);
  word-break: keep-all;
  letter-spacing: .04em;
}

/* 메인 타이틀 */
.hero-title-main {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  word-break: keep-all;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
@media (max-width: 640px) {
  .hero-title-main { font-size: clamp(2.2rem, 9vw, 2.8rem); }
}

/* 한 줄 디스크립션 */
.hero-desc {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  word-break: keep-all;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* CTA 버튼 — 트렌디 라운드형 */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 38px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .96rem;
  background: #fff;
  color: var(--navy);
  transition: transform var(--trans), box-shadow var(--trans);
  letter-spacing: -.01em;
}
.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .96rem;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.7);
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
  letter-spacing: -.01em;
}
.hero-btn-outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  transform: translateY(-3px);
}

/* ── 6-B. 4단 퀵메뉴 카드 섹션 ──────────────────────── */
.quick-cards-section {
  background: var(--gray-50);
  padding: 40px 0 56px;
}
.quick-cards-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) { .quick-cards-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quick-cards-inner { grid-template-columns: 1fr; } }

.qcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 6px 24px rgba(11,42,91,.08);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
  text-decoration: none;
  color: inherit;
}
.qcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11,42,91,.16);
}
.qcard:hover .qcard-icon svg { stroke: var(--teal); }
.qcard-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,42,91,.06);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: background var(--trans);
}
.qcard:hover .qcard-icon { background: rgba(43,168,160,.1); }
.qcard-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  word-break: keep-all;
}
.qcard-desc {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
  word-break: keep-all;
  flex: 1;
  margin-bottom: 20px;
}
.qcard-link {
  font-size: .86rem;
  font-weight: 700;
  color: var(--teal);
  transition: gap var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.qcard:hover .qcard-link { color: var(--navy); }

/* ── 7. Business Cards (3대 사업) ─────────────────────── */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .biz-grid { grid-template-columns: 1fr; } }
.biz-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}
.biz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.biz-card:nth-child(1)::before { background: var(--navy); }
.biz-card:nth-child(2)::before { background: var(--teal); }
.biz-card:nth-child(3)::before { background: var(--blue); }
.biz-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(11,42,91,.18); }
.biz-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.biz-card:nth-child(1) .biz-icon { background: rgba(11,42,91,.08); }
.biz-card:nth-child(2) .biz-icon { background: rgba(43,168,160,.1); }
.biz-card:nth-child(3) .biz-icon { background: rgba(30,90,168,.1); }
.biz-title { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.biz-desc { font-size: .88rem; color: var(--text-mid); line-height: 1.75; word-break: keep-all; flex: 1; }
.biz-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--trans);
}
.biz-link:hover { gap: 8px; }

/* ── 8. Law Cards ────────────────────────────────────── */
.law-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .law-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .law-grid { grid-template-columns: 1fr; } }
.law-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
}
.law-card:hover { }
.law-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(11,42,91,.1);
  color: var(--navy);
  margin-bottom: 10px;
}
.law-title { font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 8px; word-break: keep-all; }
.law-summary { font-size: .8rem; color: var(--text-mid); line-height: 1.6; word-break: keep-all; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.law-meta { font-size: .74rem; color: var(--text-light); }
.law-detail { font-size: .8rem; font-weight: 700; color: var(--teal); margin-top: 8px; display: inline-flex; align-items: center; gap: 3px; }

/* ── 9. Column Cards ─────────────────────────────────── */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .col-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .col-grid { grid-template-columns: 1fr; } }
.col-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.col-card:hover { }
.col-thumb {
  height: 158px;
  background: linear-gradient(135deg, #DDE3EC, #BCC8D8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--gray-400);
}
.col-body { padding: 16px; }
/* 배지 — 채도 낮춘 차분한 톤 */
.industry-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  color: #fff;
}
.badge-fire     { background: #DC2626; }
.badge-clean    { background: #059669; }
.badge-elev     { background: #D97706; }
.badge-sec      { background: var(--blue); }
.badge-water    { background: #0EA5E9; }
.badge-facility { background: var(--gray-500); }
.badge-garden   { background: #16A34A; }
.badge-waste    { background: #92400E; }
.col-title { font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 8px; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-company { font-size: .8rem; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.col-date { font-size: .74rem; color: var(--text-light); }

/* ── 10. Partner Cards ───────────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}
.partner-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(11,42,91,.18); }
.partner-logo-box {
  width: 72px; height: 72px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: .7rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.3;
}
.partner-name { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.partner-type { font-size: .76rem; color: var(--text-mid); margin-bottom: 8px; }
.partner-intro { font-size: .78rem; color: var(--text-mid); line-height: 1.5; word-break: keep-all; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-inquiry {
  display: block;
  width: 100%;
  padding: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}
.btn-inquiry:hover { background: var(--teal-dark); }

/* ── 11. Job Table (메인 미리보기) ───────────────────── */
.job-preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.job-preview table { width: 100%; font-size: .88rem; }
.job-preview thead tr { background: var(--navy); color: #fff; }
.job-preview th { padding: 11px 16px; text-align: left; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.job-preview td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
.job-preview tbody tr:last-child td { border-bottom: none; }
.job-preview tbody tr:hover { background: var(--bg); cursor: pointer; }
.job-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.jb-building { background: rgba(30,90,168,.1); color: var(--blue); }
.jb-shop { background: rgba(43,168,160,.1); color: var(--teal-dark); }
.jb-officetel { background: #EDE9FE; color: #7C3AED; }
.jb-apt { background: #FEF3C7; color: #D97706; }
.jb-etc { background: var(--bg-gray); color: var(--text-mid); }

/* ── 12. Logo Ticker ─────────────────────────────────── */
.logo-ticker-wrap { overflow: hidden; position: relative; }
.logo-ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.logo-ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  flex-shrink: 0;
  width: 160px;
  height: 72px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  background: var(--white);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-mid);
  text-align: center;
  padding: 0 10px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.ticker-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }

/* ── 13. About Mini Card ─────────────────────────────── */
.about-mini {
  background: linear-gradient(110deg, var(--navy) 0%, var(--blue) 100%);
  padding: 60px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-mini::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(43,168,160,.18);
  pointer-events: none;
}
/* 자유 신문고 배너 */
.sinmungo-banner {
  background: linear-gradient(110deg, #1e3a5f 0%, #0B2A5B 60%, #2BA8A0 100%);
  padding: 60px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sinmungo-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(43,168,160,.22);
  pointer-events: none;
}
.sinmungo-banner::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

/* ── 14. Footer ──────────────────────────────────────── */
.site-footer { background: #040f24; color: var(--gray-400); padding: 52px 0 0; }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-img { height: 44px; width: auto; object-fit: contain; }
.footer-org-name { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.85); line-height: 1.4; }
.footer-org-en { font-size: .74rem; color: rgba(255,255,255,.4); }
.footer-info { font-size: .8rem; line-height: 2.1; }
.footer-col-title { font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .82rem; color: var(--gray-500); transition: color var(--trans); }
.footer-links a:hover { color: var(--teal); }
.footer-sns { display: flex; gap: 10px; margin-top: 16px; }
.sns-icon { width: 34px; height: 34px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .85rem; color: var(--gray-400); transition: background var(--trans), color var(--trans); }
.sns-icon:hover { background: var(--teal); color: #fff; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; font-size: .76rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: var(--gray-500); transition: color var(--trans); }
.footer-bottom-links a:hover { color: var(--text-light); }

/* ── 15. Sub-page Hero ───────────────────────────────── */
.page-hero {
  background: linear-gradient(105deg, var(--navy) 0%, var(--blue) 100%);
  padding: 44px 0 40px;
  color: #fff;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.page-hero h1 { font-size: 1.7rem; font-weight: 900; margin-bottom: 8px; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--trans); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }

/* ── 16. Page Layout & Sidebar ───────────────────────── */
.page-content { max-width: 1280px; margin: 0 auto; padding: 48px 24px 80px; }
.page-layout-2col { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .page-layout-2col { grid-template-columns: 1fr; } }

.sidebar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.sidebar-title { background: var(--navy); color: #fff; font-size: .86rem; font-weight: 700; padding: 13px 18px; }
.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 11px 18px;
  font-size: .85rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans), color var(--trans);
}
.sidebar-menu a:last-child { border-bottom: none; }
.sidebar-menu a:hover { background: var(--white); color: var(--navy); }
.sidebar-menu a.active { background: var(--white); color: var(--teal); font-weight: 700; border-left: 3px solid var(--teal); }

/* ── 17. Category Filter Chips ───────────────────────── */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-mid);
  background: var(--white);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
  cursor: pointer;
}
.chip:hover, .chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ── 18. Board Table ─────────────────────────────────── */
.board-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.board-table { width: 100%; font-size: .87rem; }
.board-table thead tr { background: var(--navy); color: #fff; }
.board-table th { padding: 11px 16px; text-align: center; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.board-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.board-table tbody tr:last-child td { border-bottom: none; }
.board-table tbody tr:hover { background: var(--bg); cursor: pointer; }
.board-search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  background: var(--white);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.board-search input, .board-search select {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .86rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--trans);
}
.board-search input:focus, .board-search select:focus { border-color: var(--teal); }
.board-search input { flex: 1; min-width: 160px; }
.search-btn {
  padding: 9px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}
.search-btn:hover { background: var(--blue); }

/* ── 19. Pagination ──────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 28px; }
.pagination a, .pagination span {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  color: var(--text-mid);
  border: 1px solid var(--border);
  transition: background var(--trans), color var(--trans);
}
.pagination a:hover { background: var(--bg); color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }

/* ── 20. Forms ───────────────────────────────────────── */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
@media (max-width: 560px) { .form-card { padding: 20px; } }
.form-section-title { font-size: 1rem; font-weight: 700; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: .84rem; font-weight: 700; color: var(--text); }
.required { color: #EF4444; margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,168,160,.1); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--text-mid); cursor: pointer; padding: 14px; background: var(--bg); border-radius: var(--radius-sm); line-height: 1.6; }
.form-consent input { accent-color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.btn-submit { width: 100%; background: var(--teal); color: #fff; font-weight: 700; font-size: .96rem; padding: 14px; border-radius: var(--radius-sm); margin-top: 8px; transition: background var(--trans), transform var(--trans); }
.btn-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ── 21. Article / Content View ──────────────────────── */
.article-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-title { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 10px; word-break: keep-all; }
.article-meta { font-size: .82rem; color: var(--text-light); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.article-body { font-size: .93rem; line-height: 2.05; color: var(--text); word-break: keep-all; }
.article-body p { margin-bottom: 18px; }
.article-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.article-img-placeholder { background: linear-gradient(135deg, #DDE3EC, #BCC8D8); border-radius: var(--radius); height: 220px; display: flex; align-items: center; justify-content: center; font-size: .84rem; color: var(--gray-400); margin: 24px 0; }

/* Company card */
.company-card {
  background: linear-gradient(110deg, rgba(11,42,91,.04) 0%, rgba(43,168,160,.06) 100%);
  border: 1px solid rgba(43,168,160,.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 40px;
}
@media (max-width: 600px) { .company-card { flex-direction: column; } }
.company-logo-box {
  width: 80px; height: 80px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  color: var(--text-light);
  text-align: center;
  flex-shrink: 0;
}
.company-card-info { flex: 1; }
.company-card-name { font-size: 1.05rem; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.company-card-type { font-size: .8rem; margin-bottom: 8px; }
.company-card-intro { font-size: .87rem; color: var(--text-mid); margin-bottom: 12px; line-height: 1.6; }
.company-contact { font-size: .82rem; color: var(--text-mid); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }

/* ── 22. View Detail Layout (2col w/sidebar) ──────────── */
.view-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 48px 24px 80px; }
@media (max-width: 960px) { .view-layout { grid-template-columns: 1fr; } }
.view-sidebar-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.view-sidebar-box h4 { font-size: .86rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-partner-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-partner-item:last-child { border-bottom: none; }
.sidebar-partner-logo { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--bg-gray); border: 1px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .6rem; color: var(--text-light); }
.sidebar-partner-name { font-size: .82rem; font-weight: 600; color: var(--text); }
.sidebar-partner-type { font-size: .74rem; color: var(--text-light); }
.sidebar-rel-link { display: block; padding: 7px 0; font-size: .82rem; color: var(--text-mid); border-bottom: 1px solid var(--border); transition: color var(--trans); }
.sidebar-rel-link:last-child { border-bottom: none; }
.sidebar-rel-link:hover { color: var(--teal); }

/* Prev/Next nav */
.article-nav { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.article-nav-item { flex: 1; padding: 14px 18px; font-size: .84rem; color: var(--text-mid); transition: background var(--trans); border-right: 1px solid var(--border); }
.article-nav-item:last-child { border-right: none; }
.article-nav-item:hover { background: var(--bg); }
.article-nav-label { font-size: .72rem; color: var(--text-light); margin-bottom: 4px; }
.article-nav-title { font-weight: 600; color: var(--text); word-break: keep-all; }
.btn-list-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .84rem; font-weight: 700; color: var(--navy); padding: 10px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: background var(--trans); }
.btn-list-back:hover { background: var(--bg); }

/* ── 23. Timeline ────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.tl-year { font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.tl-text { font-size: .9rem; color: var(--text); font-weight: 600; word-break: keep-all; }
.tl-sub { font-size: .82rem; color: var(--text-mid); word-break: keep-all; }

/* ── 24. Map Placeholder ─────────────────────────────── */
.map-placeholder { background: linear-gradient(135deg, #DDE3EC, #BCC8D8); border-radius: var(--radius-lg); min-height: 280px; display: flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--gray-400); }

/* ── 25. Benefit Cards ───────────────────────────────── */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
@media (max-width: 768px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; transition: transform var(--trans), box-shadow var(--trans); }
.benefit-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(11,42,91,.18); }
.benefit-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(43,168,160,.1); color: var(--teal); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.benefit-title { font-size: .96rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.benefit-desc { font-size: .82rem; color: var(--text-mid); line-height: 1.6; word-break: keep-all; }

/* ── 26. Purpose Cards ───────────────────────────────── */
.purpose-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 960px) { .purpose-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .purpose-grid { grid-template-columns: 1fr 1fr; } }
.purpose-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: transform var(--trans), box-shadow var(--trans); }
.purpose-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(11,42,91,.18); }
.purpose-icon { font-size: 1.8rem; margin-bottom: 10px; }
.purpose-title { font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; word-break: keep-all; }
.purpose-desc { font-size: .78rem; color: var(--text-mid); line-height: 1.55; word-break: keep-all; }

/* ── 27. Utility ─────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .5s ease both; }

/* ── 28. Responsive Breakpoints ──────────────────────── */
@media (max-width: 1100px) {
  .gnb > li > a { padding: 0 16px; font-size: 1rem; }
  .gnb > li > a::after { left: 16px; right: 16px; }
}
@media (max-width: 960px) {
  .gnb { display: none; }
  .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 768px) {
  .util-bar .util-left { display: none; }
  .section { padding: 56px 0; }
  .logo-ticker-wrap { padding: 16px 0; }
}
@media (max-width: 480px) {
  .board-search { flex-direction: column; }
  .job-preview .hide-m { display: none; }
}

/* ── 29. Video cards ─────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.video-card:hover { }
.video-thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--blue)); overflow: hidden; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.22); }
.video-play-btn span { width: 46px; height: 46px; background: rgba(255,255,255,.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.video-body { padding: 14px; }
.video-cat { font-size: .7rem; font-weight: 700; color: var(--teal); margin-bottom: 5px; }
.video-title { font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.5; word-break: keep-all; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { font-size: .74rem; color: var(--text-light); }

/* Info hub cards */
.info-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .info-hub-grid { grid-template-columns: 1fr; } }
.info-hub-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 26px; transition: transform var(--trans), box-shadow var(--trans); }
.info-hub-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(11,42,91,.18); }
.info-hub-icon { width: 60px; height: 60px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px; }
.info-hub-title { font-size: 1.08rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.info-hub-desc { font-size: .86rem; color: var(--text-mid); margin-bottom: 16px; line-height: 1.6; word-break: keep-all; }
.info-hub-recent { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.info-hub-recent a { font-size: .82rem; color: var(--text-mid); display: flex; align-items: center; gap: 6px; transition: color var(--trans); }
.info-hub-recent a::before { content: '›'; color: var(--teal); font-weight: 700; }
.info-hub-recent a:hover { color: var(--navy); }
.info-hub-all { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: .84rem; font-weight: 700; color: var(--teal); }
.info-hub-all:hover { text-decoration: underline; }

/* Law list cards */
.law-list-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow var(--trans); cursor: pointer; }
.law-list-item:hover { box-shadow: var(--shadow); }
.law-list-body { flex: 1; }
.law-list-title { font-size: .94rem; font-weight: 700; color: var(--text); margin-bottom: 5px; word-break: keep-all; }
.law-list-summary { font-size: .84rem; color: var(--text-mid); line-height: 1.65; word-break: keep-all; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.law-list-meta { font-size: .76rem; color: var(--text-light); }
.law-ext-link { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--blue); margin-top: 8px; }

/* Partner list (3col for sub page) */
.partner-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .partner-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partner-list-grid { grid-template-columns: 1fr; } }
.partner-list-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: transform var(--trans), box-shadow var(--trans); }
.partner-list-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(11,42,91,.18); }
.partner-list-header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.partner-list-logo { width: 60px; height: 60px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .65rem; color: var(--text-light); text-align: center; flex-shrink: 0; }
.partner-list-name { font-size: 1rem; font-weight: 700; color: var(--navy); }
.partner-list-region { font-size: .78rem; color: var(--text-mid); }
.partner-list-intro { font-size: .84rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.partner-list-btns { display: flex; gap: 8px; }
.btn-detail { flex: 1; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .8rem; font-weight: 600; color: var(--text-mid); text-align: center; transition: background var(--trans), color var(--trans); }
.btn-detail:hover { background: var(--bg); color: var(--navy); }
.btn-consult-s { flex: 1; padding: 8px; background: var(--teal); color: #fff; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 600; text-align: center; transition: background var(--trans); }
.btn-consult-s:hover { background: var(--teal-dark); }

/* View page 2col detail */
.partner-view-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .partner-view-layout { grid-template-columns: 1fr; } }
.contact-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.contact-box h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.contact-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; font-size: .84rem; color: var(--text-mid); }
.contact-label { min-width: 52px; font-weight: 600; color: var(--text); }
.contact-box .btn-consult-full { display: block; width: 100%; margin-top: 16px; padding: 11px; background: var(--teal); color: #fff; font-weight: 700; font-size: .88rem; border-radius: var(--radius-sm); text-align: center; transition: background var(--trans); }
.contact-box .btn-consult-full:hover { background: var(--teal-dark); }
.hours-row { font-size: .8rem; color: var(--text-mid); margin-top: 4px; }

/* Columns written by partner */
.partner-col-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 768px) { .partner-col-list { grid-template-columns: 1fr; } }

/* Apply page: placement preview */
.placement-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 32px; }
.placement-box h4 { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.placement-items { display: flex; flex-direction: column; gap: 10px; }
.placement-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .84rem; }
.placement-badge { background: var(--teal); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }
.placement-desc { color: var(--text-mid); }

/* ── 30. Scroll Fade-Up Animation ───────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 31. Link Transition Smoothing ──────────────────── */
.gnb-dropdown a,
.footer-links a,
.sidebar-menu a { transition: all .2s ease; }

/* ── 32. Brand (헤더 좌측 로고+텍스트) ─────────────── */
.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-right: 40px;
}
.brand-mark {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
/* inline-block 으로 한글 자연 폭을 컨테이너로 확보 */
.brand-text {
  display: inline-block;
  line-height: 1.15;
}
/* 한글 줄 — letter-spacing 양수로 영문 줄 폭에 맞춤 */
.brand-name-ko {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0B2A5B;
  letter-spacing: 0.36em;
  margin-right: -0.36em;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .2s ease;
}
/* 영문 줄 — 사용자 지정 CSS (양단 정렬) */
.brand-name-en {
  display: block;
  width: 100%;
  font-size: 11px;
  letter-spacing: -0.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6B7280;
  line-height: 1.3;
  text-align: justify;
  text-align-last: justify;
  white-space: normal;
  word-spacing: 0;
}
.brand:hover .brand-name-ko { color: #102D6B; }
@media (max-width: 1280px) {
  .brand-name-ko { font-size: 0.95rem; }
}
@media (max-width: 960px) {
  .brand { margin-right: 0; }
  .brand-name-en { display: none; }
  .brand-name-ko { font-size: 1.1rem; }
  .brand-mark { height: 40px; }
}
@media (max-width: 480px) {
  .brand-name-ko { font-size: 1rem; }
  .brand-name-en { display: none; }
}

/* ── 33. Modal ───────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  transform: scale(.95);
  opacity: 0;
  transition: transform .25s ease-out, opacity .25s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-dialog.signup-dialog { max-width: 480px; }
.modal-backdrop.is-open .modal-dialog {
  transform: scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #94A3B8;
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: #F1F5F9; color: #334155; }
.modal-close svg { display: block; }
.modal-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.modal-brand-img {
  height: 50px; 
  width: auto; 
  margin: 0 auto 10px;
  display: block;
}
.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0B2A5B;
  margin-bottom: 4px;
  text-align: center;
}
.modal-subtitle {
  font-size: .9rem;
  color: #64748B;
  text-align: center;
  word-break: keep-all;
  line-height: 1.5;
}
.modal-form { margin-top: 22px; }
.modal-field { margin-bottom: 14px; }
.modal-label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}
.modal-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-size: .92rem;
  font-family: inherit;
  color: #1E293B;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.modal-input:focus {
  border-color: #0B2A5B;
  box-shadow: 0 0 0 3px rgba(11,42,91,.08);
}
.modal-input::placeholder { color: #CBD5E1; }
.modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #64748b;
}
.modal-remember {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.modal-remember input { accent-color: #0B2A5B; }
.modal-forgot {
  cursor: pointer;
  color: #0e2b61;
  font-weight: 600;
}
.modal-forgot:hover { color: #0B2A5B; text-decoration: underline; }
.btn-primary-full {
  width: 100%;
  padding: 14px;
  background: #0B2A5B;
  color: #fff;
  font-weight: 700;
  font-size: .96rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .15s;
  font-family: inherit;
}
.btn-primary-full:hover {
  background: #102D6B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,42,91,.28);
}
.modal-switch {
  text-align: center;
  margin-top: 18px;
  font-size: .88rem;
  color: #64748B;
}
.modal-switch a {
  color: #0B2A5B;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.modal-switch a:hover { color: #2BA8A0; }
.modal-checkbox-group { margin-bottom: 14px; }
.modal-check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .84rem;
  color: #475569;
  cursor: pointer;
  margin-bottom: 8px;
  line-height: 1.5;
}
.modal-check-label input { accent-color: #0B2A5B; margin-top: 2px; flex-shrink: 0; }
.modal-check-label a { color: #0B2A5B; text-decoration: underline; }
.modal-check-label a:hover { color: #2BA8A0; }
.modal-required-badge {
  font-size: .7rem;
  font-weight: 700;
  background: #EF4444;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.modal-optional-badge {
  font-size: .7rem;
  font-weight: 700;
  background: #94A3B8;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.modal-error {
  font-size: .8rem;
  color: #EF4444;
  margin-top: 5px;
  display: none;
}
.modal-error.show { display: block; }
.modal-success {
  text-align: center;
  padding: 20px 0;
}
.modal-success-icon { font-size: 2.8rem; margin-bottom: 12px; }
.modal-success-msg { font-size: 1rem; font-weight: 700; color: #0B2A5B; margin-bottom: 6px; }
.modal-success-sub { font-size: .88rem; color: #64748B; }
@media (max-width: 480px) {
  .modal-dialog { padding: 28px 20px 24px; }
  .modal-title { font-size: 1.2rem; }
}

/* ── 공지사항 섹션 ─────────────────────────────────── */
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--navy);
}
.notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
}
.notice-item:hover { background: #F8FAFC; }
/* 점 마커 */
.notice-item::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #CBD5E1;
}
.notice-item a.notice-title {
  flex: 1;
  font-size: .93rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.notice-item a.notice-title:hover { color: var(--teal); }
.notice-date {
  font-size: .79rem;
  color: var(--text-light);
  white-space: nowrap;
  margin-left: auto;
}
.notice-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.notice-badge-imp  { background: #FEE2E2; color: #B91C1C; }
.notice-badge-new  { background: #DCFCE7; color: #15803D; }
.notice-badge-edu  { background: #EDE9FE; color: #6D28D9; }
.notice-badge-info { background: #E0F2FE; color: #0369A1; }
@media (max-width: 540px) {
  .notice-item { flex-wrap: wrap; gap: 6px; }
  .notice-item a.notice-title { white-space: normal; flex: 1 1 calc(100% - 80px); }
  .notice-date { margin-left: 0; }
}

/* ── about/intro.html 모달 모바일 보강 ────────────── */
@media (max-width: 640px) {
  .modal-backdrop { align-items: flex-end; }
  .modal-dialog {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 90dvh;
    overflow-y: auto;
  }
  .signup-dialog {
    max-height: 92dvh;
  }
}

/* ============================================================
   COMMENT COMPONENT — 카페형 댓글 컴포넌트 (공통)
   ============================================================ */
.comment-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 8px;
}
.comment-section-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  padding: 0 6px;
}
.comment-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.comment-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:first-child { padding-top: 0; }
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--text-mid);
  font-size: .8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comment-body { flex: 1; min-width: 0; }
.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.comment-author { font-size: .82rem; font-weight: 700; color: var(--navy); }
.comment-date { font-size: .76rem; color: var(--text-light); }
.comment-text { font-size: .88rem; color: var(--text); line-height: 1.75; word-break: keep-all; }
.comment-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 8px;
}
.comment-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.comment-form-label { font-size: .84rem; font-weight: 700; color: var(--navy); }
.comment-anon-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-mid);
  cursor: pointer;
}
.comment-textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .88rem;
  color: var(--text);
  background: var(--white);
  resize: vertical;
  transition: border-color var(--trans);
  line-height: 1.7;
}
.comment-textarea:focus { outline: none; border-color: var(--teal); }
.comment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.comment-char-count { font-size: .76rem; color: var(--text-light); }
.comment-submit-btn {
  background: var(--navy);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background var(--trans);
}
.comment-submit-btn:hover { background: var(--blue); }

/* (구 scaleX 트릭 제거 — 섹션 32에서 text-align-last:justify 방식으로 대체) */

/* ── 34. 법규·영상·칼럼 섹션 hover 모션 완전 제거 (작동 중지 처리됨) ──────── 
.law-card, .law-card *,
.col-card, .col-card *,
.video-card, .video-card *,
.law-list-item, .law-list-item * {
  transition: none !important;
}
.law-card:hover, .law-card:hover *,
.col-card:hover, .col-card:hover *,
.video-card:hover, .video-card:hover *,
.law-list-item:hover, .law-list-item:hover * {
  transform: none !important;
  animation: none !important;
  box-shadow: inherit !important;
  filter: none !important;
}
*/

/* ── 35. 마우스 오버 모션 영구 락 (섹션 와일드카드) (작동 중지 처리됨) ──────── 
section[aria-labelledby="law-title"] *,
section[aria-labelledby="video-title"] *,
section[aria-labelledby="col-title"] *,
.section-alt * {
  transition: none !important;
  animation-duration: 0s !important;
}

section[aria-labelledby="law-title"] *:hover,
section[aria-labelledby="video-title"] *:hover,
section[aria-labelledby="col-title"] *:hover,
.section-alt *:hover {
  transform: none !important;
  translate: none !important;
  scale: none !important;
  rotate: none !important;
  animation: none !important;
  filter: none !important;
}
*/