/* ============================================================
   대한건강의료지원단 디자인 시스템  v2.0  (CI 기반)
   ============================================================ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  /* ── CI 원색 (대건단 CI 파일에서 추출) ──────────────────────
     시안 #079EBB / 라임 #ADCD36 / 그린 #8BC541 / 오렌지 #F99E1F / 차콜 #424143
     심볼의 지붕=오렌지, 좌측 인물=라임, 우측 인물=시안, 내부 인물=그린+오렌지.
     시안이 면적 기준 주조색입니다.

     대비 검증(흰 배경 기준, WCAG AA 본문 4.5:1):
       시안 3.17:1 · 라임 1.82:1 · 그린 2.07:1 · 오렌지 2.11:1  → 전부 미달
     따라서 원색은 로고·아이콘·포인트 장식에만 쓰고,
     텍스트·버튼 등 상호작용 색은 같은 색상(Hue)에서 명도만 낮춰 사용합니다. */
  --ci-cyan: #079EBB;
  --ci-lime: #ADCD36;
  --ci-green: #8BC541;
  --ci-orange: #F99E1F;
  --ci-charcoal: #424143;

  /* ── 주 색상: 딥 페트롤 ────────────────────────────────────
     CI 시안(#079EBB)의 색상값을 유지하고 명도만 낮춘 색.
     네이비 대비 채도가 있어 의료·보건 이미지에 맞고, 13.56:1 로 공공기관 수준의 신뢰감을 줍니다. */
  --navy-900: #04252C;   /* 16.08:1 */
  --navy: #06333D;       /* 13.56:1 — 헤더·푸터·다크 섹션 */
  --navy-700: #07414E;   /* 11.20:1 */
  --navy-600: #075263;   /*  8.76:1 */

  /* ── 상호작용 색: CI 시안을 5.01:1 로 조정 ── */
  --teal: #067A90;       /* 5.01:1 — 버튼·링크·활성 */
  --teal-600: #05616F;   /* 7.13:1 — 호버 */
  --teal-100: #dff2f7;
  --teal-50: #f1f8fa;

  --gold: #C9A227;
  --gold-soft: #f6efd9;
  /* Status */
  --green: #12805c;
  --green-bg: #E4F6EF;
  --amber: #b57a00;
  --amber-bg: #fdf4e3;
  --red: #c0392b;
  --red-bg: #fdecea;
  --blue: #1f5fbf;
  --blue-bg: #eaf1fd;
  /* Neutral */
  --white: #ffffff;
  --gray-50: #F4F8F9;
  --gray-100: #EDF3F5;
  --gray-200: #E1EAEC;
  --gray-300: #C9D6D9;
  --gray-400: #98A9AD;
  --gray-500: #697C83;
  --gray-600: #4A5A60;
  --gray-700: #334246;
  --ink: #14262B;
  /* System */
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --radius-xl: 30px;
  --shadow-xs: 0 1px 2px rgba(6,51,61,.05);
  --shadow-s: 0 2px 10px rgba(6,51,61,.06);
  --shadow: 0 10px 30px rgba(6,51,61,.08);
  --shadow-l: 0 24px 60px rgba(6,51,61,.14);
  --ring: 0 0 0 3px rgba(6,122,144,.28);
  --header-h: 76px;
  --container: 1240px;
  --ease: cubic-bezier(.22,.8,.28,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* ── 타이포그래피 체계 (v2.0) ────────────────────────────────
   폰트 패밀리는 유지합니다. Pretendard Variable 은 한국어 자소 조합·
   자간·힌팅이 이미 최상급이고, CI 의 한글 워드마크는 점·블록 모듈형
   드로잉 로고타입이라 웹폰트로 재현할 수 없기 때문입니다
   (요청사항: "기존 폰트가 좋으면 굳이 변경할 필요는 없다").
   대신 아래 3가지 조판 규칙만 보강해 인쇄물 같은 정돈감을 더했습니다.
     1) 제목 text-wrap: balance  — 줄바꿈 길이를 균등하게
     2) 본문 text-wrap: pretty   — 마지막 줄 고아 단어 방지
     3) line-break: strict       — 한국어 문장부호 줄바꿈 금지 규칙 */
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR', system-ui, -apple-system, 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  line-break: strict;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1,h2,h3,h4,h5 {
  margin: 0; color: var(--navy); line-height: 1.3; letter-spacing: -.02em; font-weight: 700;
  text-wrap: balance; /* 제목 줄바꿈 길이 균등화 — 인쇄물 수준의 정돈감 */
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--gray-200); margin: 32px 0; }
::selection { background: var(--teal); color: #fff; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 9999;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 900px; }

/* ------------------------------------------------ 공통 타이포/섹션 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em;
  color: var(--teal); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--teal); display: block; }
.eyebrow--light { color: #8FDCEB; }
.eyebrow--light::before { background: #8FDCEB; }

.display { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 800; letter-spacing: -.028em; }
.h3 { font-size: 1.25rem; font-weight: 700; }
.h4 { font-size: 1.0625rem; font-weight: 700; }
.lead { font-size: 1.125rem; color: var(--gray-600); line-height: 1.8; }
.muted { color: var(--gray-500); }
.small { font-size: .875rem; }
.xs { font-size: .8125rem; }
.center { text-align: center; }
.mono { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: #CBE5EC; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: #A8CBD4; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--gray-500); font-size: 1.0625rem; margin: 0; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }

/* ------------------------------------------------ 버튼 */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 700; line-height: 1; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,51,61,.18); }
.btn:active { transform: translateY(0); }
.btn i { font-size: .95em; }
.btn--teal { --btn-bg: var(--teal); --btn-bd: var(--teal); }
.btn--gold { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: #201800; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--gray-300); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: 9px 16px; font-size: .8125rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--danger { --btn-bg: var(--red); --btn-bd: var(--red); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); font-size: .9375rem; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ------------------------------------------------ 배지 / 칩 */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700;
  line-height: 1.4; background: var(--gray-100); color: var(--gray-600); white-space: nowrap;
}
.badge.ok { background: var(--green-bg); color: var(--green); }
.badge.warn { background: var(--amber-bg); color: var(--amber); }
.badge.danger { background: var(--red-bg); color: var(--red); }
.badge.info { background: var(--blue-bg); color: var(--blue); }
.badge.muted { background: var(--gray-100); color: var(--gray-500); }
.badge.teal { background: var(--teal-100); color: var(--teal-600); }
.badge.gold { background: var(--gold-soft); color: #8a6d10; }
.badge--solid { background: var(--navy); color: #fff; }
.badge--new { background: var(--teal); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px;
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: var(--gray-600); cursor: pointer;
  transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.top-strip { background: var(--navy-900); color: #9FC0C9; font-size: .78rem; }
.top-strip .container { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.top-strip .ts-left { display: flex; align-items: center; gap: 16px; }
.top-strip a:hover { color: #fff; }
.top-strip .ts-right { display: flex; align-items: center; gap: 14px; }
.top-strip .dot { width: 6px; height: 6px; border-radius: 50%; background: #43d17f; display: inline-block; }

.site-header {
  position: sticky; top: 0; z-index: 800;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .25s, background .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 26px rgba(6,51,61,.09); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy), #075263); color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(6,51,61,.22); position: relative; overflow: hidden;
}
.brand-mark::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 78% 18%, rgba(6,122,144,.85), transparent 62%); }
.brand-mark i { position: relative; z-index: 1; }

/* CI 심볼을 브랜드 마크로 사용 (배경·오버레이 없이 원색 그대로) */
.brand-mark--ci {
  background: none; box-shadow: none; border-radius: 0;
  width: 34px; height: 36px; overflow: visible;
}
.brand-mark--ci::after { display: none; }
.brand-mark--ci img { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-footer .brand-mark--ci { width: 30px; height: 32px; }
.brand-text strong { display: block; font-size: 1.0625rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.2; }
.brand-text span { display: block; font-size: .625rem; letter-spacing: .1em; color: var(--gray-400); font-weight: 600; text-transform: uppercase; }

.gnb { display: flex; align-items: center; height: 100%; margin-left: 4px; }
.gnb-item { position: relative; height: 100%; display: flex; align-items: center; }
.gnb-link {
  display: flex; align-items: center; height: 100%; padding: 0 15px;
  font-size: .95rem; font-weight: 700; color: var(--navy); position: relative; white-space: nowrap;
}
.gnb-link::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 18px; height: 2.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
  border-radius: 2px;
}
.gnb-item:hover .gnb-link::after, .gnb-item.is-open .gnb-link::after, .gnb-item.is-current .gnb-link::after { transform: scaleX(1); }
.gnb-item.is-current .gnb-link { color: var(--teal); }
.gnb-item--highlight .gnb-link { color: var(--teal-600); }

/* 메가 메뉴 */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
  min-width: 560px; max-width: 860px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 0 0 var(--radius-l) var(--radius-l);
  box-shadow: 0 30px 60px rgba(6,51,61,.16);
  padding: 26px 28px 30px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .22s var(--ease), visibility .2s;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 22px 26px;
  z-index: 900;
}
.gnb-item:hover .mega, .gnb-item.is-open .mega, .gnb-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.mega-col h4 {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400);
  margin: 0 0 10px; font-weight: 800; padding-bottom: 8px; border-bottom: 1px dashed var(--gray-200);
}
.mega-col ul li a {
  display: block; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: .9rem;
  font-weight: 600; color: var(--gray-700); transition: all .14s;
}
.mega-col ul li a:hover { background: var(--teal-50); color: var(--teal-600); transform: translateX(2px); }
.mega-col ul li a small { display: block; font-size: .74rem; font-weight: 400; color: var(--gray-400); line-height: 1.5; margin-top: 2px; }
.mega-feature {
  grid-column: 1 / -1; margin-top: 4px; padding: 16px 20px; border-radius: var(--radius);
  background: linear-gradient(100deg, var(--navy) 0%, #075263 60%, var(--teal-600) 140%);
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.mega-feature strong { font-size: .95rem; }
.mega-feature p { margin: 2px 0 0; font-size: .8rem; color: #B5D5DD; }

.util { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.util a, .util button {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 8px;
  font-size: .8125rem; font-weight: 600; color: var(--gray-600); background: none; border: 0; cursor: pointer;
}
.util a:hover, .util button:hover { background: var(--gray-100); color: var(--navy); }
.util .divider { width: 1px; height: 14px; background: var(--gray-200); margin: 0 4px; }
.util .admin-link {
  background: linear-gradient(120deg, var(--gold), #e0bf52); color: #1e1800; font-weight: 800;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(201,162,39,.35);
}
.util .admin-link:hover { background: var(--gold); color: #1e1800; transform: translateY(-1px); }
.util .eval-link { background: var(--teal-100); color: var(--teal-600); font-weight: 700; }


/* ── CI 가로 락업 (헤더·푸터) ──────────────────────────────── */
.brand-lockup { display:block; width:248px; height:auto; }
.brand--footer { display:block; }
.brand-lockup--footer { width:212px; }
@media (max-width: 1180px) { .brand-lockup { width:210px; } }
@media (max-width: 1024px) { .brand-lockup { width:186px; } .brand-lockup--footer { width:190px; } }
@media (max-width: 420px)  { .brand-lockup { width:158px; } }

/* ── 상단 스트립: 등록번호 / 관리자 골드 ──────────────────── */
.top-strip .ts-reg { color:#8FB4BE; }
.top-strip .ts-reg b { color:#E8F4F7; font-weight:700; letter-spacing:.01em; }
.top-strip .ts-form { display:inline; }
.top-strip .ts-form button {
  background:none; border:0; padding:0; cursor:pointer; color:#9FC0C9;
  font:inherit; display:inline-flex; align-items:center; gap:5px;
}
.top-strip .ts-form button:hover { color:#fff; }
.top-strip .ts-admin {
  display:inline-flex; align-items:center; gap:5px; padding:3px 11px; border-radius:999px;
  background:linear-gradient(120deg,#C9A227,#E4C85A); color:#241C00 !important; font-weight:800;
  box-shadow:0 2px 8px rgba(201,162,39,.45);
}
.top-strip .ts-admin:hover { background:linear-gradient(120deg,#DCB733,#F0D877); color:#241C00 !important; }

/* ── 헤더 유틸: 인증신청 / 인증기관현황 ───────────────────── */
.util .util-link--apply {
  background:var(--teal); color:#fff !important; font-weight:700;
  padding:8px 14px; border-radius:999px; box-shadow:0 4px 12px rgba(6,122,144,.28);
}
.util .util-link--apply:hover { background:var(--teal-600); color:#fff !important; transform:translateY(-1px); }
.util .util-link--orgs {
  background:var(--navy); color:#fff !important; font-weight:700;
  padding:8px 14px; border-radius:999px;
}
.util .util-link--orgs:hover { background:var(--navy-600); color:#fff !important; transform:translateY(-1px); }
.btn--outline { --btn-bg:transparent; --btn-fg:var(--teal); --btn-bd:var(--teal); }

.mobile-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--gray-200); background: #fff; cursor: pointer; }
.mobile-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; border-radius: 2px; transition: .2s; }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0; background: #fff; z-index: 790;
  overflow-y: auto; padding: 8px 20px 40px; transform: translateX(100%); transition: transform .28s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); display: block; }
.m-menu { border-bottom: 1px solid var(--gray-100); }
.m-menu > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 16px 4px; background: none; border: 0; font-size: 1.0625rem; font-weight: 700; color: var(--navy); cursor: pointer;
}
.m-menu > button i { transition: transform .2s; color: var(--gray-400); }
.m-menu.is-open > button i { transform: rotate(180deg); }
.m-sub { display: none; padding: 0 0 14px; }
.m-menu.is-open .m-sub { display: block; }
.m-sub a { display: block; padding: 10px 12px; font-size: .9375rem; color: var(--gray-600); border-radius: 8px; }
.m-sub a:hover { background: var(--gray-50); }
.m-sub .m-group { font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--gray-400); text-transform: uppercase; padding: 10px 12px 4px; }
.m-sub a small { display: block; font-size: .75rem; color: var(--gray-400); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero { position: relative; height: calc(100vh - var(--header-h)); min-height: 560px; max-height: 920px; overflow: hidden; background: var(--navy-900); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,37,44,.92) 0%, rgba(4,37,44,.72) 42%, rgba(4,37,44,.28) 75%, rgba(4,37,44,.42) 100%);
}
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero-content { max-width: 720px; color: #fff; padding: 40px 0 90px; }
.hero-content .eyebrow { color: #8FDCEB; }
.hero-content .eyebrow::before { background: #8FDCEB; }
.hero-content h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 800; line-height: 1.14; letter-spacing: -.035em; margin-bottom: 22px; }
.hero-content h1 em { font-style: normal; color: #8FDCEB; }
.hero-content p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: #C2DDE5; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide.is-active .hero-content > * { animation: heroIn .8s var(--ease) both; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-ui { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; }
.hero-ui .container { display: flex; align-items: center; gap: 18px; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot { width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.32); border: 0; cursor: pointer; padding: 0; transition: .3s; }
.hero-dot.is-active { background: #fff; width: 60px; }
.hero-count { color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; opacity: .85; }
.hero-ctrl { margin-left: auto; display: flex; gap: 8px; }
.hero-ctrl button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: .18s; backdrop-filter: blur(6px);
}
.hero-ctrl button:hover { background: #fff; color: var(--navy); }
.hero-scroll {
  position: absolute; bottom: 100px; right: 40px; writing-mode: vertical-rl; letter-spacing: .22em;
  font-size: .68rem; color: rgba(255,255,255,.6); text-transform: uppercase;
}
.hero-scroll::after { content: ''; display: block; width: 1px; height: 46px; background: rgba(255,255,255,.4); margin: 12px auto 0; animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   QUICK BAR
   ============================================================ */
.quickbar { position: relative; z-index: 20; margin-top: -58px; }
.quickbar-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  overflow: hidden; border: 1px solid var(--gray-100);
}
.quick-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 22px;
  border-right: 1px solid var(--gray-100); position: relative; transition: .22s var(--ease);
}
.quick-card:last-child { border-right: 0; }
.quick-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.quick-card:hover { background: var(--teal-50); }
.quick-card:hover::after { transform: scaleX(1); }
.quick-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--gray-50); color: var(--teal); font-size: 1.1rem; margin-bottom: 4px;
  transition: .22s;
}
.quick-card:hover .quick-icon { background: var(--teal); color: #fff; transform: rotate(-6deg) scale(1.04); }
.quick-card strong { font-size: .975rem; color: var(--navy); font-weight: 700; }
.quick-card span { font-size: .78rem; color: var(--gray-400); line-height: 1.5; }
.quick-card .q-arrow { position: absolute; right: 18px; top: 24px; color: var(--gray-300); font-size: .8rem; transition: .2s; }
.quick-card:hover .q-arrow { color: var(--teal); transform: translate(2px,-2px); }

/* ============================================================
   ORG GALLERY (바둑판)
   ============================================================ */
.org-toolbar { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; }
.org-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.org-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--gray-100);
  aspect-ratio: 4/3; display: block; isolation: isolate;
  box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.org-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); z-index: 2; }
.org-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.org-card:hover img { transform: scale(1.07); }
.org-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,20,25,.88) 0%, rgba(2,20,25,.42) 38%, rgba(2,20,25,0) 68%);
}
.org-card-body { position: absolute; inset: auto 0 0 0; padding: 14px 14px 13px; z-index: 2; color: #fff; }
.org-card-body strong { display: block; font-size: .9rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-card-body span { display: block; font-size: .7rem; color: #B4D3DB; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-card .org-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 8px; font-size: .625rem; font-weight: 800; letter-spacing: .03em;
  border-radius: 5px; background: rgba(255,255,255,.94); color: var(--navy);
}
.org-card .org-tag.is-hwsa { background: rgba(6,122,144,.95); color: #fff; }
.org-card .org-tag.is-ansim { background: rgba(6,51,61,.92); color: #A9E4EE; }
.org-card .org-city {
  position: absolute; top: 10px; right: 10px; z-index: 2; font-size: .625rem; font-weight: 700;
  color: #fff; background: rgba(0,0,0,.35); padding: 3px 7px; border-radius: 5px; backdrop-filter: blur(4px);
}
/* 기관 로고 — 기관 동의 + 관리자 승인이 확인된 경우에만 렌더링됩니다.
   인증 종류 배지(top:10px) 아래에 흰 칩으로 겹쳐 놓습니다. */
.org-card .org-logo {
  position: absolute; top: 38px; left: 10px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  height: 28px; max-width: 100px; padding: 3px 6px;
  background: rgba(255,255,255,.96); border-radius: 5px;
}
.org-card .org-logo img { max-height: 22px; max-width: 88px; object-fit: contain; display: block; }
/* 상세 페이지 로고 */
.org-logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; max-width: 170px; padding: 5px 10px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 8px;
}
.org-logo-chip img { max-height: 36px; max-width: 150px; object-fit: contain; display: block; }
.org-card--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.org-card--tall { grid-row: span 2; aspect-ratio: auto; }
.org-empty { padding: 44px; text-align: center; color: var(--gray-400); border: 1.5px dashed var(--gray-300); border-radius: var(--radius); }

/* ============================================================
   STATS
   ============================================================ */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { padding: 8px 26px; border-left: 1px solid rgba(255,255,255,.13); }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(2.1rem, 3.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat-num em { font-style: normal; font-size: .9rem; font-weight: 700; color: #8FDCEB; }
.stat-label { font-size: .875rem; color: #A8CBD4; margin-top: 12px; }
.stat-desc { font-size: .75rem; color: #6F9AA6; margin-top: 2px; }

/* ============================================================
   BRANCH CARDS
   ============================================================ */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.branch-card {
  position: relative; border-radius: var(--radius-l); overflow: hidden; min-height: 230px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--navy);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.branch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.branch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; z-index: -2; transition: transform .7s var(--ease), opacity .3s; }
.branch-card:hover img { transform: scale(1.06); opacity: .7; }
.branch-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4,37,44,.95) 6%, rgba(4,37,44,.62) 46%, rgba(4,37,44,.18) 100%); }
.branch-body { padding: 22px 22px 20px; width: 100%; }
.branch-body .b-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); display: grid; place-items: center; margin-bottom: 12px; color: #9FE4EE; }
.branch-body h3 { color: #fff; font-size: 1.125rem; margin-bottom: 4px; }
.branch-body p { font-size: .8125rem; color: #B8D8E0; margin: 0; }
.branch-body .b-meta { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.branch-body .b-meta span { font-size: .68rem; padding: 3px 8px; border-radius: 4px; background: rgba(255,255,255,.14); color: #D8EDF3; }

/* ============================================================
   CTA BAND / SPLIT
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(115deg, var(--navy) 0%, #07414E 52%, var(--teal-600) 130%);
  color: #fff; padding: clamp(34px, 5vw, 62px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ''; position: absolute; right: -10%; top: -40%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,224,215,.22), transparent 66%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: #B5D5DD; margin-bottom: 22px; }
.region-bars { display: grid; gap: 9px; }
.region-bar { display: grid; grid-template-columns: 66px 1fr 44px; align-items: center; gap: 10px; font-size: .8rem; color: #CBE5EC; }
.region-bar .rb-track { height: 7px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.region-bar .rb-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #8FDCEB, #2B9DB5); width: 0; transition: width 1.2s var(--ease); }
.region-bar b { text-align: right; font-weight: 700; color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .float-card {
  position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow);
}
.split-media .float-card .fc-num { font-size: 1.6rem; font-weight: 800; color: var(--teal); line-height: 1; }
.split-media .float-card .fc-txt { font-size: .8rem; color: var(--gray-500); line-height: 1.5; }
.split-media .float-card .fc-txt b { display: block; color: var(--navy); font-size: .9rem; }
.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check-list li i { color: var(--teal); margin-top: 6px; }
.check-list li b { color: var(--navy); }

/* ============================================================
   COURSE / VIDEO / NEWS
   ============================================================ */
.course-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.course-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-l); overflow: hidden;
  display: flex; flex-direction: column; transition: .28s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.course-card .cc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.course-card .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .cc-img img { transform: scale(1.05); }
.course-card .cc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.course-card h3 { font-size: 1.05rem; line-height: 1.4; }
.course-card p { font-size: .85rem; color: var(--gray-500); margin: 0; flex: 1; }
.course-card .cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: .8rem; color: var(--gray-400); }
.course-card .cc-price { font-weight: 800; color: var(--navy); font-size: .95rem; }

.video-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9/13; background: var(--navy); cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: .4s; }
.video-card:hover img { transform: scale(1.05); opacity: 1; }
.video-card::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(2,20,25,.9), transparent 55%); }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.video-play span {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy);
  display: grid; place-items: center; font-size: 1rem; padding-left: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: .22s;
}
.video-card:hover .video-play span { transform: scale(1.1); background: var(--teal); color: #fff; }
.video-info { position: absolute; inset: auto 0 0 0; padding: 14px; z-index: 2; color: #fff; }
.video-info strong { display: block; font-size: .85rem; line-height: 1.4; }
.video-info span { font-size: .68rem; color: #B5D4DC; }

.news-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.news-list { border-top: 2px solid var(--navy); }
.news-item { display: flex; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--gray-200); align-items: center; transition: .2s; }
.news-item:hover { background: var(--gray-50); }
.news-item .n-date { font-size: .78rem; color: var(--gray-400); width: 76px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.news-item .n-body { flex: 1; min-width: 0; }
.news-item .n-body strong { display: block; font-size: .95rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item .n-body span { font-size: .78rem; color: var(--gray-400); }
.gallery-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gallery-mini a { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.gallery-mini img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery-mini a:hover img { transform: scale(1.08); }

/* ============================================================
   PAGE HERO / SUB LAYOUT
   ============================================================ */
.page-hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: clamp(46px, 6vw, 78px) 0 clamp(38px, 5vw, 58px);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 88% 0%, rgba(6,122,144,.45), transparent 70%),
              radial-gradient(600px 300px at 10% 100%, rgba(27,64,121,.6), transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; }
.page-hero p { color: #B5D5DD; margin: 12px 0 0; max-width: 720px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #8FBCC9; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: .6rem; opacity: .6; }

.sub-layout { display: grid; grid-template-columns: 236px 1fr; gap: clamp(24px, 4vw, 54px); align-items: start; padding: clamp(34px, 5vw, 62px) 0 clamp(56px, 7vw, 96px); }
.sub-nav { position: sticky; top: calc(var(--header-h) + 20px); border-top: 3px solid var(--navy); }
.sub-nav .sn-title { padding: 18px 4px; border-bottom: 1px solid var(--gray-200); }
.sub-nav .sn-title strong { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.sub-nav .sn-title span { display: block; font-size: .7rem; color: var(--gray-400); letter-spacing: .1em; text-transform: uppercase; }
.sub-nav ul { padding: 8px 0; }
.sub-nav ul li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: .9rem; color: var(--gray-600); font-weight: 500; }
.sub-nav ul li a:hover { background: var(--gray-50); color: var(--navy); }
.sub-nav ul li a.is-active { background: var(--navy); color: #fff; font-weight: 700; }
.sub-nav ul li a.is-active::after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .7rem; }
.sub-nav .sn-group { font-size: .7rem; font-weight: 800; color: var(--gray-400); letter-spacing: .08em; padding: 14px 12px 4px; text-transform: uppercase; }
.sub-nav .sn-cta { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: var(--gray-50); }

.content > *:first-child { margin-top: 0; }
.content h2 { font-size: 1.45rem; margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200); }
.content h3 { font-size: 1.125rem; margin: 26px 0 10px; }
.content p { font-size: 1rem; line-height: 1.85; color: var(--gray-600); }
.content ul.dot { list-style: none; padding: 0; }
.content ul.dot li { position: relative; padding-left: 16px; margin-bottom: 8px; color: var(--gray-600); }
.content ul.dot li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.content .info-box { padding: 20px 22px; border-radius: var(--radius); background: var(--teal-50); border-left: 4px solid var(--teal); }
.content .warn-box { padding: 18px 20px; border-radius: var(--radius); background: var(--amber-bg); border-left: 4px solid var(--amber); font-size: .9rem; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-l); padding: clamp(20px, 2.4vw, 30px); }
.card--flush { padding: 0; overflow: hidden; }
.card--shadow { box-shadow: var(--shadow-s); border-color: transparent; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-item {
  position: relative; padding: 26px; border-radius: var(--radius-l); background: #fff;
  border: 1px solid var(--gray-200); overflow: hidden; transition: .28s var(--ease);
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-item.b-span2 { grid-column: span 2; }
.bento-item.b-row2 { grid-row: span 2; }
.bento-item.b-navy { background: var(--navy); color: #CBE5EC; border-color: transparent; }
.bento-item.b-navy h3 { color: #fff; }
.bento-item.b-teal { background: linear-gradient(140deg, var(--teal), #05616F); color: #E6F7FA; border-color: transparent; }
.bento-item.b-teal h3 { color: #fff; }
.bento-item .bi-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); margin-bottom: 16px; font-size: 1.05rem; }
.bento-item.b-navy .bi-icon, .bento-item.b-teal .bi-icon { background: rgba(255,255,255,.14); color: #9FE4EE; }
.bento-item h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.bento-item p { font-size: .875rem; color: var(--gray-500); margin: 0; line-height: 1.7; }
.bento-item.b-navy p, .bento-item.b-teal p { color: #B5D5DD; }
.bento-item .bi-num { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }

.icon-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--gray-200); transition: .25s var(--ease);
}
.icon-card:hover { border-color: var(--teal); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.icon-card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); flex-shrink: 0; }
.icon-card h4 { margin-bottom: 4px; }
.icon-card p { font-size: .84rem; color: var(--gray-500); margin: 0; line-height: 1.65; }

/* 스텝 / 절차 */
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 14px; text-align: center; }
.step::after {
  content: ''; position: absolute; top: 26px; left: calc(50% + 30px); width: calc(100% - 60px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step .s-circle {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--teal); color: var(--teal); font-weight: 800; font-size: 1.05rem;
  position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--teal-50);
}
.step.is-done .s-circle { background: var(--teal); color: #fff; }
.step h4 { font-size: .95rem; margin-bottom: 4px; }
.step p { font-size: .78rem; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; background: #fff; }
table.tbl th, table.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--gray-100); text-align: left; vertical-align: middle; }
table.tbl thead th { background: var(--gray-50); color: var(--navy); font-weight: 700; font-size: .82rem; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
table.tbl tbody tr:hover { background: #FAFCFD; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl .center { text-align: center; }
table.tbl td .t-title { font-weight: 600; color: var(--navy); }
table.tbl--compact th, table.tbl--compact td { padding: 9px 12px; font-size: .84rem; }

/* 게시판 */
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 0; flex-wrap: wrap; }
.board-list { border-top: 1px solid var(--gray-100); }
.board-row {
  display: grid; grid-template-columns: 72px 1fr 120px 100px 60px; gap: 12px; align-items: center;
  padding: 16px 8px; border-bottom: 1px solid var(--gray-100); transition: background .16s;
}
.board-row:hover { background: var(--gray-50); }
.board-row .b-tag { text-align: center; font-size: .72rem; font-weight: 800; color: var(--teal); }
.board-row .b-title { font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; min-width: 0; }
.board-row .b-title .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .b-title i { color: var(--gray-300); font-size: .72rem; }
.board-row .b-meta { font-size: .8rem; color: var(--gray-400); text-align: right; }
.board-row .b-date { font-size: .8rem; color: var(--gray-400); text-align: right; font-variant-numeric: tabular-nums; }
.board-row .b-hit { font-size: .8rem; color: var(--gray-400); text-align: right; font-variant-numeric: tabular-nums; }
.pin-badge { background: var(--navy); color: #fff; font-size: .65rem; font-weight: 800; padding: 3px 7px; border-radius: 4px; }
.new-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; display: inline-block; }

/* 페이지네이션 */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0 10px;
  border-radius: 9px; font-size: .875rem; font-weight: 600; color: var(--gray-600);
  border: 1px solid var(--gray-200); background: #fff;
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .is-disabled { opacity: .4; pointer-events: none; }
.pager .ellipsis { border: 0; background: none; }

/* 검색 / 필터 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 16px; background: var(--gray-50); border-radius: var(--radius); margin-bottom: 22px; }
.filter-bar .spacer { flex: 1; }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: 9px;
  font-family: inherit; font-size: .9rem; color: var(--ink); background: #fff; transition: .16s;
}
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--teal); box-shadow: var(--ring); }
.input--sm, .select--sm { padding: 8px 11px; font-size: .84rem; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236b7a90' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.search-box { position: relative; flex: 1; min-width: 180px; }
.search-box .input { padding-left: 38px; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: .85rem; }

/* 폼 */
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field > label .req { color: var(--red); margin-left: 3px; }
.field .hint { font-size: .78rem; color: var(--gray-400); margin-top: 5px; }
.field .err { font-size: .78rem; color: var(--red); margin-top: 5px; display: none; }
.field.has-error .err { display: block; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--red); }
.form-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 34px); }
.form-section-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; color: var(--navy); margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-200); }
.form-section-title .fs-no { width: 26px; height: 26px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.form-actions { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* 스텝 인디케이터(신청서) */
.stepbar { display: flex; gap: 0; margin-bottom: 30px; overflow-x: auto; padding-bottom: 4px; }
.stepbar .sb-item { flex: 1; min-width: 110px; text-align: center; position: relative; padding: 0 4px; }
.stepbar .sb-item::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--gray-200); }
.stepbar .sb-item:first-child::before { left: 50%; }
.stepbar .sb-item:last-child::before { right: 50%; }
.stepbar .sb-item.is-done::before, .stepbar .sb-item.is-active::before { background: var(--teal); }
.stepbar .sb-dot {
  width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--gray-300);
  display: grid; place-items: center; margin: 0 auto 8px; font-size: .78rem; font-weight: 800; color: var(--gray-400);
  position: relative; z-index: 1;
}
.stepbar .is-active .sb-dot { border-color: var(--teal); background: var(--teal); color: #fff; }
.stepbar .is-done .sb-dot { border-color: var(--teal); color: var(--teal); }
.stepbar .sb-label { font-size: .78rem; color: var(--gray-500); font-weight: 600; }
.stepbar .is-active .sb-label { color: var(--teal); font-weight: 800; }

/* 파일 업로드 */
.dropzone {
  border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 32px 20px; text-align: center;
  background: var(--gray-50); cursor: pointer; transition: .2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--teal); background: var(--teal-50); }
.dropzone i { font-size: 1.6rem; color: var(--teal); margin-bottom: 10px; }
.dropzone strong { display: block; font-size: .95rem; color: var(--navy); }
.dropzone span { font-size: .8rem; color: var(--gray-400); }
.file-list { display: grid; gap: 8px; margin-top: 14px; }
.file-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--gray-200);
  border-radius: 10px; background: #fff; font-size: .85rem;
}
.file-item .fi-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.file-item .fi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); font-weight: 600; }
.file-item .fi-size { color: var(--gray-400); font-size: .75rem; }
.file-item .fi-progress { height: 4px; background: var(--gray-100); border-radius: 3px; width: 80px; overflow: hidden; }
.file-item .fi-progress span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .2s; }
.file-item button { border: 0; background: none; color: var(--gray-400); cursor: pointer; padding: 4px 6px; }
.file-item button:hover { color: var(--red); }
.file-item .fi-handle { color: var(--gray-300); cursor: grab; }

/* 탭 (보기 방식) */
.view-toggle { display: inline-flex; border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.view-toggle a { padding: 8px 14px; font-size: .82rem; color: var(--gray-500); display: inline-flex; align-items: center; gap: 5px; }
.view-toggle a.is-active { background: var(--navy); color: #fff; }

/* 진위확인 결과 */
.verify-result { border-radius: var(--radius-l); padding: 30px; text-align: center; border: 2px solid var(--gray-200); }
.verify-result.is-valid { border-color: var(--green); background: var(--green-bg); }
.verify-result.is-expired { border-color: var(--amber); background: var(--amber-bg); }
.verify-result.is-notfound { border-color: var(--gray-300); background: var(--gray-50); }
.verify-result .vr-icon { font-size: 2.6rem; margin-bottom: 12px; }
.verify-result.is-valid .vr-icon { color: var(--green); }
.verify-result.is-expired .vr-icon { color: var(--amber); }
.verify-result.is-notfound .vr-icon { color: var(--gray-400); }
.verify-result h3 { font-size: 1.3rem; margin-bottom: 6px; }

/* 아코디언 */
.accordion { border-top: 1px solid var(--gray-200); }
.acc-item { border-bottom: 1px solid var(--gray-200); }
.acc-head {
  width: 100%; display: flex; gap: 14px; align-items: center; padding: 18px 6px; background: none; border: 0;
  text-align: left; cursor: pointer; font-size: .975rem; font-weight: 600; color: var(--navy); font-family: inherit;
}
.acc-head .qmark { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.acc-head .acc-icon { margin-left: auto; color: var(--gray-400); transition: transform .25s; font-size: .8rem; }
.acc-item.is-open .acc-icon { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 6px 20px 46px; font-size: .925rem; color: var(--gray-600); line-height: 1.8; }
.acc-item.is-open .acc-body { display: block; }

/* 모달 */
.modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.modal.is-open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(4,30,36,.75); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; width: min(960px, 92vw); margin: 6vh auto; background: #000; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-l);
}
.modal-panel .modal-close {
  position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: 0; cursor: pointer;
}
.modal-panel iframe, .modal-panel blockquote { width: 100%; height: min(68vh, 620px); border: 0; display: block; }

/* 마이페이지 */
.mypage-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; padding: clamp(30px,4vw,50px) 0 80px; align-items: start; }
.my-side { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--gray-200); background: #fff; }
.my-side .ms-head { background: linear-gradient(135deg, var(--navy), #075263); padding: 26px 22px; color: #fff; }
.my-side .ms-avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px; }
.my-side .ms-head strong { display: block; font-size: 1.05rem; }
.my-side .ms-head span { font-size: .78rem; color: #A8CBD4; }
.my-side nav a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: .9rem; color: var(--gray-600); border-left: 3px solid transparent; }
.my-side nav a:hover { background: var(--gray-50); }
.my-side nav a.is-active { background: var(--teal-50); color: var(--teal-600); border-left-color: var(--teal); font-weight: 700; }
.my-side nav a i { width: 18px; text-align: center; color: var(--gray-400); }
.my-side nav a.is-active i { color: var(--teal); }
.my-side .ms-group { padding: 12px 20px 6px; font-size: .7rem; font-weight: 800; letter-spacing: .07em; color: var(--gray-400); text-transform: uppercase; }

.member-card {
  position: relative; border-radius: 18px; padding: 26px; color: #fff; overflow: hidden;
  background: linear-gradient(130deg, #04252C 0%, #07414E 55%, #067A90 140%);
  aspect-ratio: 16/9; max-width: 420px; box-shadow: var(--shadow-l); display: flex; flex-direction: column;
}
.member-card::before { content: ''; position: absolute; right: -50px; top: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(127,224,215,.3), transparent 65%); }
.member-card .mc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.member-card .mc-brand { font-size: .7rem; letter-spacing: .12em; color: #9FE4EE; font-weight: 700; text-transform: uppercase; }
.member-card .mc-name { font-size: 1.35rem; font-weight: 800; margin: 0 0 2px; color: #fff; }
.member-card .mc-sub { font-size: .78rem; color: #B5D5DD; }
.member-card .mc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.member-card .mc-no { font-size: .8rem; letter-spacing: .06em; color: #D3EAF1; font-variant-numeric: tabular-nums; }
.member-card .mc-qr { width: 62px; height: 62px; background: #fff; border-radius: 8px; padding: 5px; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; }
.kpi .k-label { font-size: .8rem; color: var(--gray-500); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.kpi .k-value { font-size: 1.85rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.kpi .k-value small { font-size: .8rem; font-weight: 600; color: var(--gray-400); margin-left: 3px; }
.kpi.k-gold { border-color: var(--gold); background: linear-gradient(160deg, #fffdf5, #fdf6e3); }
.kpi.k-danger { border-color: #f2c1ba; background: #fffafa; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #04252C; color: #93BCC6; font-size: .875rem; }
.footer-top { padding: 52px 0 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { font-size: .82rem; line-height: 1.8; color: #7FA4AE; margin: 16px 0 0; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .06em; margin-bottom: 16px; font-weight: 800; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .82rem; color: #93BCC6; transition: .15s; }
.footer-col ul li a:hover { color: #fff; padding-left: 3px; }
.footer-col .f-contact li { display: flex; gap: 9px; font-size: .82rem; margin-bottom: 10px; align-items: flex-start; }
.footer-col .f-contact li i { color: var(--teal); margin-top: 4px; font-size: .78rem; }
.footer-sns { display: flex; gap: 8px; margin-top: 18px; }
.footer-sns a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #B2D2DA; font-size: .95rem; transition: .2s; }
.footer-sns a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.footer-bottom { padding: 20px 0; font-size: .75rem; color: #648A94; }

/* ── 푸터: 관련 단체 및 공공기관 로고 배너 (11차) ────────────
   메인페이지 '관련 기관' 섹션을 사이트 정보 구역으로 옮긴 자리입니다.
   2026-11 3차 — 흐르던 마퀴를 없애고 **고정 배너**로 바꿨습니다.
   · 로고가 계속 움직이면 어느 기관인지 읽기 어렵고, 저사양 기기에서는
     합성 레이어를 계속 갱신해야 해서 배터리·CPU 부담이 있었습니다.
   · 8개 기관은 한 줄에 모두 들어가므로 흐를 필요가 없습니다.
     넓은 화면에서는 가운데 정렬, 좁은 화면에서는 자동으로 2줄로 감깁니다.
   · 목록 복제(2회 렌더)를 없애 중복 링크·중복 낭독도 사라졌습니다. */
.footer-orgs {
  padding: 26px 0 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.12);
}
.footer-orgs__cap {
  margin: 0 0 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #7FA4AE;
}
.footer-orgs__cap i { font-size: .78rem; color: var(--teal); opacity: .9; }

/* 고정 배치 — 흐르지 않고 제자리에 놓입니다. */
.footer-orgs__rail {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px;
}
.footer-orgs__cell { flex: 0 0 auto; display: flex; }

.footer-orgs__item {
  flex: 0 0 auto; display: flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 9px; min-width: 0;
  border: 1px solid rgba(255,255,255,.09); border-radius: 11px;
  background: rgba(255,255,255,.045);
  color: #A9C9D2; text-decoration: none;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.footer-orgs__item:hover,
.footer-orgs__item:focus-visible {
  border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff;
  transform: translateY(-2px);
  outline: none;
}
.footer-orgs__logo {
  flex: 0 0 34px; width: 34px; height: 26px;
  display: grid; place-items: center;
  background: #fff; border-radius: 6px; overflow: hidden; padding: 2px 3px;
}
.footer-orgs__logo img { max-width: 30px; max-height: 22px; object-fit: contain; display: block; }
.footer-orgs__logo b {
  font-size: .5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  color: #04505C; text-align: center; word-break: keep-all;
}
.footer-orgs__name {
  font-size: .72rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
}

/* ── 로고 전용 모드 ──────────────────────────────────────────────
   2026-11 2차 — 기관명 텍스트를 없애고 로고만 노출합니다.
   기관명은 title(마우스 오버)과 aria-label(스크린리더)로만 남깁니다.
   로고 타일을 키우고 좌우 여백을 줄여, 같은 폭에서 로고가 더 크게 보입니다. */
.footer-orgs--logo-only .footer-orgs__item {
  padding: 7px; gap: 0;
  border-radius: 12px;
}
.footer-orgs--logo-only .footer-orgs__logo {
  flex: 0 0 auto; width: 46px; height: 34px;
  padding: 3px 4px; border-radius: 7px;
}
.footer-orgs--logo-only .footer-orgs__logo img { max-width: 40px; max-height: 28px; }
@media (max-width: 760px) {
  .footer-orgs--logo-only .footer-orgs__item { padding: 6px; }
  .footer-orgs--logo-only .footer-orgs__logo { width: 40px; height: 30px; }
  .footer-orgs--logo-only .footer-orgs__logo img { max-width: 35px; max-height: 24px; }
}
@media (max-width: 760px) {
  .footer-orgs { padding: 20px 0 18px; }
  .footer-orgs__cap { margin-bottom: 11px; font-size: .6875rem; }
  .footer-orgs__rail { gap: 8px; }
  .footer-orgs__item { padding: 6px 12px 6px 7px; gap: 7px; }
  .footer-orgs__logo { flex: 0 0 28px; width: 28px; height: 22px; }
  .footer-orgs__name { font-size: .6875rem; }
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom .fb-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom .fb-links a:hover { color: #fff; }
.footer-bottom .fb-links a.strong { color: #CBE5EC; font-weight: 700; }
.mohw-note {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(201,162,39,.12); border: 1px solid rgba(201,162,39,.3); color: #d9bf6a; font-size: .74rem; font-weight: 600;
}

/* 쿠키 배너 */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1100;
  background: rgba(4,37,44,.97); color: #CBE5EC; border-radius: var(--radius); padding: 16px 20px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: var(--shadow-l); border: 1px solid rgba(255,255,255,.1);
}
.cookie-bar p { margin: 0; font-size: .82rem; }
.cookie-bar a { color: #9FE4EE; text-decoration: underline; }
.cookie-bar .cb-actions { display: flex; gap: 8px; }
.is-hidden { display: none !important; }

/* 플로팅 */
.float-buttons { position: fixed; right: 20px; bottom: 90px; z-index: 700; display: grid; gap: 8px; }
.float-buttons a, .float-buttons button {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  font-size: .95rem; cursor: pointer; transition: .2s;
}
.float-buttons a:hover, .float-buttons button:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-slide, .hero-bg, * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* 지도 영역 */
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); background: var(--gray-100); position: relative; aspect-ratio: 16/8; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--gray-500); background: repeating-linear-gradient(45deg, #EDF3F5 0 12px, #E7EDEF 12px 24px); }

/* 타임라인 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--gray-200)); }
.tl-item { position: relative; padding: 0 0 30px 8px; }
.tl-item::before { content: ''; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.tl-year { font-size: 1.1rem; font-weight: 800; color: var(--teal); }
.tl-item h4 { margin: 4px 0; font-size: 1rem; }
.tl-item p { font-size: .875rem; color: var(--gray-500); margin: 0; }
.tl-item img { margin-top: 10px; border-radius: 10px; max-width: 320px; }

/* 조직도 */
.org-chart { display: grid; gap: 16px; justify-items: center; }
.org-node { background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 16px 26px; text-align: center; min-width: 220px; }
.org-node strong { display: block; color: var(--navy); font-size: 1rem; }
.org-node span { font-size: .8rem; color: var(--gray-500); }
.org-node.is-top { background: var(--navy); border-color: var(--navy); }
.org-node.is-top strong { color: #fff; }
.org-node.is-top span { color: #A8CBD4; }
.org-branches { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; width: 100%; }
.org-connector { width: 2px; height: 22px; background: var(--gray-300); }

/* 유틸 */
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flex-center { display: flex; align-items: center; gap: 10px; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }
.text-right { text-align: right; }
.hidden { display: none; }
.divider-line { height: 1px; background: var(--gray-200); margin: 24px 0; }

/* 반응형 */
@media (max-width: 1180px) {
  .org-grid { grid-template-columns: repeat(5, 1fr); }
  .course-grid { grid-template-columns: repeat(2,1fr); }
  .video-grid { grid-template-columns: repeat(3,1fr); }
  .bento { grid-template-columns: repeat(2,1fr); }
  .branch-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .gnb, .top-strip .ts-left { display: none; }
  .mobile-toggle { display: block; }
  .util { gap: 0; }
  .util .u-hide-sm { display: none; }
  .sub-layout, .mypage-layout { grid-template-columns: 1fr; }
  .sub-nav { position: static; }
  .sub-nav ul { display: flex; overflow-x: auto; gap: 2px; padding-bottom: 4px; }
  .sub-nav ul li a { white-space: nowrap; }
  .sub-nav .sn-group, .sub-nav .sn-cta { display: none; }
  .split, .news-layout, .cta-band { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .quickbar-grid { grid-template-columns: repeat(3,1fr); }
  .quick-card:nth-child(3) { border-right: 0; }
  .quick-card:nth-child(4), .quick-card:nth-child(5) { border-top: 1px solid var(--gray-100); }
  .quick-card:nth-child(5) { border-right: 0; }
  .stat-strip { grid-template-columns: repeat(2,1fr); gap: 24px 0; }
  .stat-item { padding: 8px 20px; }
  .stat-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .org-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-auto-flow: row; gap: 22px; }
  .step::after { display: none; }
  .step { text-align: left; display: flex; gap: 14px; align-items: flex-start; padding: 0; }
  .step .s-circle { margin: 0; flex-shrink: 0; }
  .org-branches { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .hero { min-height: 500px; height: calc(100svh - var(--header-h)); }
  .hero-scroll { display: none; }
  .quickbar { margin-top: -34px; }
  .quickbar-grid { grid-template-columns: repeat(2,1fr); border-radius: var(--radius); }
  .quick-card { padding: 18px 16px; }
  .quick-card:nth-child(even) { border-right: 0; }
  .quick-card:nth-child(n+3) { border-top: 1px solid var(--gray-100); }
  .quick-card:nth-child(3) { border-right: 1px solid var(--gray-100); }
  .org-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .org-card--wide, .org-card--tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
  .branch-grid, .course-grid, .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento-item.b-span2 { grid-column: span 1; }
  .board-row { grid-template-columns: 52px 1fr 74px; }
  .board-row .b-hit, .board-row .b-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.9rem; }
  .gallery-mini { grid-template-columns: repeat(3,1fr); }
  .hero-content { padding-bottom: 70px; }
  .hero-ui { bottom: 18px; }
  .hero-ctrl button { width: 38px; height: 38px; }
  .float-buttons { display: none; }
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
  .modal-panel { margin: 3vh auto; width: 94vw; }
}
@media (max-width: 420px) {
  .util .u-hide-xs { display: none; }
  .org-grid { gap: 7px; }
}

/* 12차 3단계 — 360px 급 기기에서 로고 + '인증신청·무료사전진단' 알약 + 햄버거가
   한 줄에 들어가지 못해 페이지가 가로로 넘치던 문제를 고칩니다.
   좁은 화면에서는 알약의 글자만 감추고 아이콘만 남겨 두 CTA 를 그대로 유지합니다.
   (글자는 DOM 에 남아 있어 보조기기·검색에는 그대로 노출됩니다) */

/* ============================================================
   v1.1 추가 컴포넌트 (인증·마이페이지·게시판·LMS·회원증)
   ============================================================ */

/* ---- 로그인/회원가입 ---- */
.auth-page { background: var(--gray-50); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); background: #fff; }
.auth-aside {
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 45%, #0A4756 100%);
  color: #CBE2E9; padding: 52px 44px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.auth-aside::after {
  content: ''; position: absolute; right: -110px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,122,144,.45), transparent 68%);
}
.auth-aside h2 { color: #fff; font-size: 1.85rem; font-weight: 800; line-height: 1.32; margin: 16px 0 14px; letter-spacing: -.03em; }
.auth-aside p { font-size: .93rem; line-height: 1.85; color: #A8CBD4; }
.auth-points { display: grid; gap: 12px; margin: 22px 0 auto; }
.auth-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #D7ECF2; }
.auth-points i { color: #5FCFE2; margin-top: 4px; }
.auth-aside-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: #9CC2CB; }
.auth-aside-foot b { color: #fff; }
.auth-card { padding: 48px 44px; }
.auth-note { margin-top: 18px; padding: 12px 14px; background: var(--gray-50); border-radius: var(--radius-s); font-size: .8rem; color: var(--gray-500); line-height: 1.7; }
.agree-box {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-s);
  padding: 14px 16px; font-size: .8rem; line-height: 1.85; color: var(--gray-600); margin: 18px 0 12px; white-space: pre-line;
}

/* ---- 마이페이지 ---- */
.mypage-layout { display: grid; grid-template-columns: 248px 1fr; gap: 32px; align-items: start; }
.my-side { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.my-side .my-head { background: linear-gradient(140deg, var(--navy), var(--navy-600)); color: #fff; padding: 22px 20px; }
.my-side .my-head .m-name { font-size: 1.02rem; font-weight: 800; }
.my-side .my-head .m-role { font-size: .76rem; color: #8FDCEB; font-weight: 700; margin-top: 3px; }
.my-side .my-head .m-no { font-size: .74rem; color: #9CC2CB; margin-top: 8px; font-family: ui-monospace, monospace; }
.my-side a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: .88rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); transition: .15s; }
.my-side a i { width: 16px; color: var(--gray-400); font-size: .85rem; }
.my-side a:hover { background: var(--gray-50); color: var(--navy); }
.my-side a.is-active { background: var(--teal-50); color: var(--teal-600); font-weight: 700; border-left: 3px solid var(--teal); }
.my-side a.is-active i { color: var(--teal); }

/* ---- 회원증 ---- */
.member-card {
  width: 100%; max-width: 400px; aspect-ratio: 1.586; border-radius: 18px; padding: 22px 24px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #06333D 0%, #07414E 55%, #067A90 100%); color: #fff;
  box-shadow: 0 18px 44px rgba(6,51,61,.3); display: flex; flex-direction: column; justify-content: space-between;
}
.member-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.18), transparent 45%),
              radial-gradient(circle at 12% 92%, rgba(95,207,226,.22), transparent 50%);
}
.member-card > * { position: relative; }
.member-card .mc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.member-card .mc-brand { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8FDCEB; font-weight: 700; }
.member-card .mc-title { font-size: 1.02rem; font-weight: 800; margin-top: 2px; }
.member-card .mc-logo { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.05rem; }
.member-card .mc-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.member-card .mc-meta { font-size: .72rem; color: #B2D6DE; letter-spacing: .04em; margin-top: 3px; }
.member-card .mc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.member-card .mc-no { font-family: ui-monospace, monospace; font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.member-card .mc-valid { font-size: .68rem; color: #9FCBD4; }
.member-card .mc-qr { background: #fff; padding: 5px; border-radius: 8px; width: 62px; height: 62px; display: grid; place-items: center; }
.member-card .mc-qr canvas, .member-card .mc-qr svg, .member-card .mc-qr img { width: 100%; height: 100%; display: block; }

/* ---- 수료증 / 인증서 인쇄 ---- */
.cert-doc {
  background: #fff; padding: 54px 48px; border: 1px solid var(--gray-200); position: relative;
  box-shadow: var(--shadow); max-width: 780px; margin: 0 auto;
}
.cert-doc::before {
  content: ''; position: absolute; inset: 12px; border: 2px solid var(--navy); border-radius: 2px; pointer-events: none; opacity: .85;
}
.cert-doc::after {
  content: ''; position: absolute; inset: 20px; border: 1px solid var(--gold); pointer-events: none; opacity: .55;
}
.cert-doc .cd-inner { position: relative; text-align: center; padding: 18px 16px; }
.cert-doc .cd-kind { font-size: .78rem; letter-spacing: .42em; color: var(--teal-600); font-weight: 700; text-transform: uppercase; }
.cert-doc h2 { font-size: 2.05rem; font-weight: 800; letter-spacing: .1em; margin: 10px 0 26px; color: var(--navy); }
.cert-doc .cd-name { font-size: 1.65rem; font-weight: 800; color: var(--navy); margin: 14px 0 6px; letter-spacing: -.01em; }
.cert-doc .cd-org { font-size: 1rem; color: var(--gray-600); }
.cert-doc .cd-body { font-size: .95rem; line-height: 2.05; color: var(--gray-600); max-width: 520px; margin: 26px auto; }
.cert-doc .cd-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 22px; max-width: 460px; margin: 26px auto 0; text-align: left; font-size: .85rem; }
.cert-doc .cd-meta dt { color: var(--gray-400); font-size: .76rem; }
.cert-doc .cd-meta dd { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.cert-doc .cd-seal { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 26px; }
.cert-doc .cd-stamp {
  width: 74px; height: 74px; border-radius: 50%; border: 2px solid #b5392c; color: #b5392c;
  display: grid; place-items: center; font-size: .62rem; font-weight: 800; text-align: center; line-height: 1.3;
  transform: rotate(-8deg); padding: 6px;
}
.cert-doc .cd-sign { font-size: .95rem; font-weight: 800; color: var(--navy); }
.cert-doc .cd-sign small { display: block; font-size: .74rem; color: var(--gray-400); font-weight: 400; margin-top: 2px; }
.cert-doc .cd-qr { position: absolute; right: 26px; bottom: 22px; text-align: center; }
.cert-doc .cd-qr .qr-box { width: 74px; height: 74px; border: 1px solid var(--gray-200); padding: 4px; border-radius: 6px; }
.cert-doc .cd-qr .qr-box img, .cert-doc .cd-qr .qr-box canvas, .cert-doc .cd-qr .qr-box svg { width: 100%; height: 100%; }
.cert-doc .cd-qr span { display: block; font-size: .58rem; color: var(--gray-400); margin-top: 3px; }

/* ---- 테이블 (사용자단) ---- */
.tbl { width: 100%; border-collapse: collapse; font-size: .89rem; }
.tbl th, .tbl td { padding: 12px 12px; border-bottom: 1px solid var(--gray-100); text-align: left; vertical-align: middle; }
.tbl thead th { background: var(--gray-50); color: var(--gray-500); font-size: .78rem; font-weight: 700; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.tbl tbody tr:hover { background: var(--teal-50); }
.tbl--compact th, .tbl--compact td { padding: 9px 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.table-wrap .tbl th:first-child, .table-wrap .tbl td:first-child { padding-left: 16px; }
.table-wrap .tbl th:last-child, .table-wrap .tbl td:last-child { padding-right: 16px; }

/* ---- 상세 페이지 ---- */
.detail-head { border-bottom: 1px solid var(--gray-200); padding-bottom: 18px; margin-bottom: 24px; }
.detail-head h2 { font-size: 1.5rem; line-height: 1.42; margin: 0 0 10px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; color: var(--gray-400); }
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.detail-body { font-size: .96rem; line-height: 1.95; color: var(--gray-700); white-space: pre-line; }
.detail-body img { border-radius: var(--radius); margin: 16px 0; }
.attach-list { margin-top: 26px; padding: 16px 18px; background: var(--gray-50); border-radius: var(--radius); }
.attach-list h4 { font-size: .84rem; color: var(--gray-500); margin-bottom: 6px; }
.detail-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--gray-200); font-size: .88rem; }

/* ---- 갤러리 ---- */
.gal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.gal-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; background: var(--gray-100); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 22px 14px 12px; font-size: .8rem; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(4,37,44,.85));
}
.gal-item .g-count {
  position: absolute; top: 10px; right: 10px; background: rgba(4,37,44,.72); color: #fff;
  font-size: .7rem; padding: 3px 9px; border-radius: 999px; font-weight: 700;
}
.photo-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.photo-strip img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-s); }

/* ---- LMS ---- */
.lms-layout { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.lesson-list { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.lesson-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--gray-100); align-items: center; font-size: .88rem; }
.lesson-item:last-child { border-bottom: 0; }
.lesson-item .li-no { width: 26px; height: 26px; border-radius: 8px; background: var(--gray-100); color: var(--gray-500); display: grid; place-items: center; font-size: .74rem; font-weight: 800; flex-shrink: 0; }
.lesson-item.is-done .li-no { background: var(--green-bg); color: var(--green); }
.lesson-item .li-title { flex: 1; color: var(--navy); font-weight: 600; }
.lesson-item .li-dur { font-size: .76rem; color: var(--gray-400); }
.progress-bar { height: 8px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.progress-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #4FC3D4); border-radius: 999px; transition: width .5s var(--ease); }
.video-frame { position: relative; padding-top: 56.25%; background: #02191E; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .vf-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #6D949C; font-size: .85rem; text-align: center; padding: 20px; }

/* ---- 타임라인(가로형) ---- */
.year-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; }
.year-tabs a { padding: 7px 16px; border-radius: 999px; background: var(--gray-100); color: var(--gray-600); font-size: .84rem; font-weight: 700; white-space: nowrap; }
.year-tabs a.is-active { background: var(--navy); color: #fff; }

/* ---- 혜택 카드 ---- */
.benefit-card { position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px 24px; transition: .25s var(--ease); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.benefit-card .bc-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 14px; }
.benefit-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.benefit-card p { font-size: .87rem; color: var(--gray-500); line-height: 1.75; margin: 0; }
.benefit-card .bc-tag { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); }

/* ---- 교육 과정 카드 ---- */
.course-card .cc-price { font-size: 1.05rem; font-weight: 800; color: var(--teal-600); }
.course-card .cc-meta { display: flex; gap: 12px; font-size: .78rem; color: var(--gray-400); margin-top: 8px; }

/* ---- 신청 상태 스텝바 ---- */
.stepbar { display: flex; gap: 0; overflow-x: auto; margin: 20px 0 26px; }
.stepbar .sb-item { flex: 1; min-width: 92px; text-align: center; position: relative; padding: 0 4px; font-size: .74rem; color: var(--gray-400); font-weight: 700; }
.stepbar .sb-item::before {
  content: ''; display: block; width: 30px; height: 30px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--gray-100); color: var(--gray-400); line-height: 30px; font-size: .76rem;
}
.stepbar .sb-item::after { content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--gray-100); z-index: -1; }
.stepbar .sb-item:last-child::after { display: none; }
.stepbar .sb-item.is-active { color: var(--navy); }
.stepbar .sb-item.is-active::before { background: var(--navy); color: #fff; }
.stepbar .sb-item.is-done { color: var(--teal-600); }
.stepbar .sb-item.is-done::before { content: '✓'; background: var(--teal); color: #fff; }
.stepbar .sb-item.is-done::after { background: var(--teal); }

/* ---- 관리자 진입 안내 ---- */
.admin-entry {
  display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, #C9A227, #a9861b);
  color: #1a1405; font-weight: 800; font-size: .74rem; padding: 5px 12px; border-radius: 999px;
}
.admin-entry:hover { filter: brightness(1.08); }

/* ---- 유틸 ---- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.text-center { text-align: center; } .w-full { width: 100%; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.divider-line { height: 1px; background: var(--gray-200); margin: 26px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 1024px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-aside { padding: 34px 28px; }
  .auth-card { padding: 34px 26px; }
  .mypage-layout { grid-template-columns: 1fr; }
  .my-side { position: static; }
  .lms-layout { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(3,1fr); }
  .cert-doc { padding: 34px 22px; }
}
@media (max-width: 760px) {
  .gal-grid { grid-template-columns: repeat(2,1fr); }
  .photo-strip { grid-template-columns: repeat(2,1fr); }
  .cert-doc h2 { font-size: 1.5rem; letter-spacing: .06em; }
  .cert-doc .cd-meta { grid-template-columns: 1fr; }
  .member-card { max-width: 100%; }
  .auth-card { padding: 26px 18px; }
  .auth-aside { display: none; }
  .auth-grid { box-shadow: var(--shadow-s); }
}
@media print {
  .site-header, .site-footer, .float-buttons, .sub-nav, .sn-cta, .cookie-bar, .no-print, .page-hero { display: none !important; }
  .cert-doc { box-shadow: none; border: 0; max-width: 100%; padding: 20px; }
  body { background: #fff; }
  main { padding: 0 !important; }
}

/* ---- 콘텐츠 블록 (서브 레이아웃 본문 래퍼) ---- */
.content-block { padding-bottom: 72px; }
.content-block > *:first-child { margin-top: 0; }
.content-block h2 { font-size: 1.5rem; margin: 34px 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
.content-block h3 { font-size: 1.12rem; margin: 26px 0 12px; }
.content-block h4 { font-size: .98rem; margin: 18px 0 10px; }
.content-block p { line-height: 1.9; }
.content-block ul.dot > li { position: relative; padding-left: 14px; font-size: .92rem; line-height: 1.85; color: var(--gray-600); }
.content-block ul.dot > li::before { content: '·'; position: absolute; left: 2px; color: var(--teal); font-weight: 800; }
.content-block .card > *:last-child { margin-bottom: 0; }

/* 카드 상단 포토 */
.card-photo { margin: -22px -22px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/9; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 2열 정보 리스트 */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.dl-grid > div { display: flex; gap: 10px; font-size: .88rem; padding: 8px 0; border-bottom: 1px dashed var(--gray-200); }
.dl-grid dt, .dl-grid .dt { color: var(--gray-400); min-width: 92px; font-size: .82rem; }
.dl-grid dd, .dl-grid .dd { margin: 0; color: var(--navy); font-weight: 600; }

/* 표 형태 비교 */
.tbl--compare th:first-child, .tbl--compare td:first-child { background: var(--gray-50); font-weight: 700; color: var(--navy); }

/* 진행 카드 */
.flow-card { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.flow-card .fc-no { width: 30px; height: 30px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.flow-card h4 { font-size: .92rem; margin: 0 0 3px; }
.flow-card p { font-size: .82rem; color: var(--gray-500); margin: 0; line-height: 1.65; }

/* 상태 안내 박스 */
.verify-result { text-align: center; padding: 34px 24px; border-radius: var(--radius-l); border: 1px solid var(--gray-200); background: #fff; }
.verify-result .vr-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 14px; }
.verify-result h3 { font-size: 1.2rem; margin-bottom: 6px; }
.verify-result.is-valid { border-color: #bfe8d8; background: linear-gradient(#fff, var(--green-bg)); }
.verify-result.is-valid .vr-icon { background: var(--green-bg); color: var(--green); }
.verify-result.is-expired { border-color: #f3dfb5; background: linear-gradient(#fff, var(--amber-bg)); }
.verify-result.is-expired .vr-icon { background: var(--amber-bg); color: var(--amber); }
.verify-result.is-notfound { border-color: var(--gray-200); background: var(--gray-50); }
.verify-result.is-notfound .vr-icon { background: var(--gray-100); color: var(--gray-400); }
.verify-result.is-revoked { border-color: #f5c9c3; background: linear-gradient(#fff, var(--red-bg)); }
.verify-result.is-revoked .vr-icon { background: var(--red-bg); color: var(--red); }

@media (max-width: 760px) {
  .dl-grid { grid-template-columns: 1fr; }
  .content-block { padding-bottom: 48px; }
}

/* ---- 과정 카드 (cc-img / cc-body 구조 지원) ---- */
.course-card .cc-img .cc-cat,
.course-card .course-photo { position: relative; }
.course-card .cc-cat, .course-cat {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(4,37,44,.82); color: #fff; font-size: .68rem; font-weight: 800;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .02em;
}
.course-card .course-photo { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.course-card .course-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-photo img { transform: scale(1.05); }
.course-card .course-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.course-card .course-body h3 { font-size: 1.05rem; line-height: 1.4; }
.course-card .course-body p { font-size: .85rem; color: var(--gray-500); margin: 0; flex: 1; }
.course-card .cc-price { color: var(--teal-600); font-weight: 800; font-size: 1rem; }
.course-card .cc-meta { display: flex; gap: 12px; font-size: .78rem; color: var(--gray-400); }

/* ============================================================
   CERT VISUAL — 인증 이미지 쇼케이스 밴드
   ============================================================ */
.cert-visual {
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(6,122,144,.10), transparent 68%),
    linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
  padding: clamp(34px, 5vw, 62px) 0 clamp(38px, 5vw, 64px);
  border-bottom: 1px solid var(--gray-200);
}
.cert-visual .container { max-width: 1180px; }
.cv-lead { max-width: 760px; margin: 0 auto clamp(20px, 3vw, 30px); text-align: center; }
.cv-lead h2 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); letter-spacing: -.03em; }
.cv-lead p { font-size: .95rem; line-height: 1.78; }

.cv-hero {
  margin: 0; border-radius: var(--radius-l); overflow: hidden;
  box-shadow: 0 24px 60px -22px rgba(4,37,44,.42), 0 4px 16px -6px rgba(4,37,44,.16);
  background: var(--navy);
}
.cv-hero img { display: block; width: 100%; height: auto; }

.cv-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(12px, 1.6vw, 20px);
}
.cv-pair figure {
  margin: 0; border-radius: var(--radius-l); overflow: hidden;
  box-shadow: 0 16px 40px -18px rgba(4,37,44,.36);
  background: var(--gray-100);
}
.cv-pair img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .7s var(--ease);
}
.cv-pair figure:hover img { transform: scale(1.03); }

@media (max-width: 860px) {
  .cv-pair { grid-template-columns: 1fr; }
  .cv-lead { text-align: left; }
  .cv-lead h2 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
}

.cert-visual--slim { padding-bottom: clamp(30px, 4vw, 46px); }
.cv-pair figcaption {
  display: block; padding: 14px 18px 16px; background: #fff;
  font-size: .85rem; color: var(--gray-500); line-height: 1.6; border-top: 1px solid var(--gray-200);
}
.cv-pair figcaption b { display: block; font-size: .95rem; color: var(--navy); font-weight: 800; margin-bottom: 3px; letter-spacing: -.01em; }

/* CTA 밴드 내 이미지 (지역별 집계 대체) */
.cta-figure { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 20px 48px -20px rgba(0,0,0,.55); position: relative; z-index: 1; }
.cta-figure img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cta-figure figcaption {
  padding: 11px 16px; background: rgba(4,37,44,.9); color: #a9d8e8;
  font-size: .78rem; font-weight: 600; letter-spacing: -.01em;
}

/* ============================================================
   상단 헤더 디자인 이식 (body.hdr-award)
   출처: 이전 사이트 3a5833d0 의 hero-award.css §4 변형 그대로
   범위: 최상단 스트립(.top-strip) ~ 헤더(.site-header) ~ GNB(.gnb)
   되돌리기: 이 블록 삭제 + <body class="hdr-award"> 제거
   ============================================================ */
body.hdr-award {
  --hw-paper: #FBFAF6;
  --hw-line: #E4DFD2;
  --hw-ink: #12262B;
  --hw-navy: #06333D;
  --hw-navy-900: #04252C;
  --hw-teal: #067A90;
  --hw-teal-d: #04505C;
  --hw-brass: #B08D2B;
  --hw-brass-l: #CBB47E;
  --hw-sans: 'Pretendard Variable', Pretendard, 'Noto Sans KR', system-ui, sans-serif;
  --hw-serif: 'Noto Serif KR', 'Nanum Myeongjo', 'Batang', serif;
  --hw-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hw-ease: cubic-bezier(.22, .61, .36, 1);
}

/* 상단 스트립 — 크기·자간만 디자인에 맞춤 */
body.hdr-award .top-strip { font-size: 12px; letter-spacing: .01em; }
body.hdr-award .top-strip .container { height: 34px; }
body.hdr-award .top-strip .ts-left { gap: 14px; }
body.hdr-award .top-strip .ts-right { gap: 16px; }
body.hdr-award .top-strip .dot { width: 6px; height: 6px; margin-right: 7px; }
body.hdr-award .top-strip a i,
body.hdr-award .top-strip .ts-form button i { font-size: 10.5px; margin-right: 5px; }
body.hdr-award .top-strip .ts-reg { color: #8FB4BE; }
body.hdr-award .top-strip .ts-reg b { color: #E8F4F7; font-weight: 700; letter-spacing: .02em; }
body.hdr-award .top-strip .ts-admin { letter-spacing: .01em; }

/* 헤더 바 — 흰 유리 → 아이보리 페이퍼 */
body.hdr-award .site-header {
  background: var(--hw-paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--hw-line);
}
body.hdr-award .site-header.is-scrolled { box-shadow: 0 6px 26px rgba(6, 51, 61, .07); }
body.hdr-award .header-inner { gap: 22px; height: 76px; }

/* 브랜드 — 락업 높이 40px 고정, 폭 자동 */
body.hdr-award .brand-lockup { width: auto; height: 40px; }
body.hdr-award .brand { gap: 0; }

/* GNB — 14px / 600 / 34px 간격, 1px 놋쇠 밑줄
   .gnb 와 .util 양쪽에 margin-left:auto 를 주면 남는 폭이 두 곳에 똑같이 나뉘어
   '브랜드 ↔ 메뉴' 와 '메뉴 ↔ 유틸' 간격이 같아집니다(좌우 밸런스).
   (예전엔 gap 19px + 한쪽 auto 라 오른쪽에만 190px 여백이 몰렸습니다) */
body.hdr-award .gnb { gap: 34px; margin-left: auto; flex-shrink: 1; min-width: 0; }
body.hdr-award .gnb-link {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #334246;
  letter-spacing: -.01em;
  transition: color .2s var(--hw-ease);
}
body.hdr-award .gnb-link::after {
  left: 0; right: 0; bottom: 18px;
  height: 1px;
  background: var(--hw-brass);
  border-radius: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--hw-ease);
}
body.hdr-award .gnb-item:hover .gnb-link,
body.hdr-award .gnb-item:focus-within .gnb-link { color: var(--hw-ink); }
body.hdr-award .gnb-item:hover .gnb-link::after,
body.hdr-award .gnb-item.is-open .gnb-link::after,
body.hdr-award .gnb-item.is-current .gnb-link::after,
body.hdr-award .gnb-item:focus-within .gnb-link::after { transform: scaleX(1); }
body.hdr-award .gnb-item.is-current .gnb-link { color: var(--hw-ink); font-weight: 700; }
body.hdr-award .gnb-item--highlight .gnb-link { color: #04505C; }

/* 헤더 유틸 버튼 — 라운드 알약 → 각진 1px 라인/잉크 버튼 */
body.hdr-award .util { gap: 8px; }
body.hdr-award .util .util-link--orgs {
  order: 1;
  height: 40px;
  padding: 0 16px;
  background: transparent !important;
  color: var(--hw-ink) !important;
  border: 1px solid #D9D4C5;
  border-radius: 1px;
  box-shadow: none !important;
  font-size: 13.5px;
  font-weight: 700;
  transform: none !important;
}
body.hdr-award .util .util-link--orgs:hover {
  background: #fff !important;
  border-color: var(--hw-ink);
  color: var(--hw-ink) !important;
}
body.hdr-award .util .util-link--apply {
  order: 2;
  height: 40px;
  padding: 0 16px;
  background: var(--hw-navy) !important;
  color: #fff !important;
  border: 1px solid var(--hw-navy);
  border-radius: 1px;
  box-shadow: none !important;
  font-size: 13.5px;
  font-weight: 700;
  transform: none !important;
}
body.hdr-award .util .util-link--apply:hover {
  background: var(--hw-teal-d) !important;
  border-color: var(--hw-teal-d);
  color: #fff !important;
}
body.hdr-award .util .mobile-toggle { order: 3; }
body.hdr-award .util .util-link--apply i,
body.hdr-award .util .util-link--orgs i { font-size: 11px; }

/* 메가 메뉴 — 흰 카드 → 페이퍼 카드 + 놋쇠 헤어라인 */
body.hdr-award .mega {
  border: 1px solid var(--hw-line);
  border-top: 0;
  border-radius: 0;
  box-shadow: 0 26px 54px rgba(6, 51, 61, .13);
  background: #fff;
}
body.hdr-award .mega-col h4 {
  font-family: var(--hw-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: #797163;
  border-bottom: 1px solid var(--hw-line);
}
body.hdr-award .mega-col ul li a { border-radius: 1px; font-size: .875rem; }
body.hdr-award .mega-col ul li a:hover {
  background: #F7F4EC;
  color: var(--hw-ink);
  transform: none;
}
body.hdr-award .mega-col ul li a small { color: #797163; }
body.hdr-award .mega-feature {
  border-radius: 0;
  background: linear-gradient(100deg, var(--hw-navy) 0%, #075263 62%, #04505C 140%);
}
body.hdr-award .mega-feature .btn { border-radius: 1px; }

/* 모바일 메뉴 패널도 같은 지면색으로 */
body.hdr-award .mobile-nav { background: var(--hw-paper); }
body.hdr-award .mobile-nav .m-menu button {
  font-family: var(--hw-sans);
  letter-spacing: -.01em;
}
body.hdr-award .mobile-toggle { border-color: #D9D4C5; background: transparent; border-radius: 1px; }

@media (max-width: 1180px) {
  body.hdr-award .gnb { gap: 14px; }
  body.hdr-award .gnb-link { font-size: 13px; }
  body.hdr-award .util .util-link--apply,
  body.hdr-award .util .util-link--orgs { padding: 0 12px; font-size: 12.5px; }
  body.hdr-award .brand-lockup { height: 36px; }
}
@media (max-width: 1024px) {
  body.hdr-award .brand-lockup { height: 33px; }
  body.hdr-award .header-inner { gap: 16px; }
}
@media (max-width: 640px) {
  body.hdr-award .top-strip .ts-right a:first-child { display: none; }
  body.hdr-award .brand-lockup { height: 30px; }
}

/* ============================================================
   2026-11 추가 — 상단 대표번호 노출 / 영상 팝업 로고헤더 / 이미지 라이트박스
   ============================================================ */

/* ── 상단 스트립 대표번호 (데스크톱·모바일 공통 상시 노출) ── */
.top-strip .ts-tel {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 13px 3px 11px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  color: #EAF6F8 !important; font-weight: 800; letter-spacing: .01em;
  transition: background .2s, border-color .2s;
}
.top-strip .ts-tel:hover { background: rgba(255,255,255,.19); border-color: rgba(255,255,255,.32); color: #fff !important; }
.top-strip .ts-tel i { font-size: 10.5px; color: #7ED0E0; }
.top-strip .ts-tel__lbl { font-size: 11px; font-weight: 600; color: #9FC0C9; letter-spacing: .02em; }
.top-strip .ts-tel b { font-size: 12.5px; font-weight: 800; letter-spacing: .025em; }

/* ── 카카오톡 채널 아이콘 (말풍선 + TALK) ─────────────────
   FontAwesome 에 카카오 브랜드 아이콘이 없어 CSS 로 말풍선을 그립니다.
   상단 스트립 · 푸터 · 플로팅 버튼 · 모바일 메뉴에서 공통 사용. */
.ka-ic {
  display: inline-grid; place-items: center;
  min-width: 17px; height: 15px; padding: 0 3px;
  border-radius: 5px 5px 5px 1.5px;
  background: #FEE500; color: #3C1E1E;
  font-style: normal; font-size: 7px; font-weight: 900;
  letter-spacing: -.02em; line-height: 1;
  font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  flex: 0 0 auto;
}

/* ── 상단 스트립 상담 창구 (카카오톡 + 전화) ───────────── */
.top-strip .ts-contact { display: inline-flex; align-items: center; gap: 7px; }
.top-strip .ts-kakao {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 13px 3px 11px; border-radius: 999px;
  background: #FEE500; border: 1px solid #FEE500;
  color: #3C1E1E !important; font-weight: 800; letter-spacing: -.01em;
  transition: background .2s, border-color .2s, transform .2s;
}
.top-strip .ts-kakao:hover {
  background: #FFEB3B; border-color: #F5DC00; color: #3C1E1E !important;
  transform: translateY(-1px);
}
.top-strip .ts-kakao__lbl { font-size: 11.5px; font-weight: 800; }

/* ── 푸터 SNS 카카오톡 ──────────────────────────────────── */
.footer-sns .ka-ic { min-width: 20px; height: 18px; font-size: 8px; }

/* ── 플로팅 버튼 카카오톡 ───────────────────────────────── */
.float-buttons .fb-kakao { background: #FEE500 !important; border-color: #F5DC00 !important; }
.float-buttons .fb-kakao:hover { background: #FFEB3B !important; }
.float-buttons .fb-kakao .ka-ic { min-width: 21px; height: 19px; font-size: 8.5px; }

/* ── 모바일 메뉴 카카오톡 버튼 ─────────────────────────── */
.btn--kakao {
  background: #FEE500; border: 1px solid #F5DC00; color: #3C1E1E;
  font-weight: 800; display: inline-flex; align-items: center; gap: 6px;
}
.btn--kakao:hover { background: #FFEB3B; color: #3C1E1E; }

/* ── 영상 팝업 — 상단 로고 헤더 ─────────────────────────── */
.modal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 52px 12px 16px; background: #FBFAF6;
  border-bottom: 1px solid #E4DFD2; min-height: 58px; flex-shrink: 0;
}
.modal-head img { width: auto; height: 32px; display: block; flex-shrink: 0; }
.modal-head span {
  font-size: .82rem; font-weight: 700; color: #4C636B; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 세로형(릴스) 패널 — PC 최적 폭 */
.modal-panel--portrait {
  width: min(420px, 94vw); background: #fff; border-radius: 16px;
  display: flex; flex-direction: column;
  /* 높이를 명시하지 않으면 내부 flex 자식이 0으로 수축해 영상이 사라집니다. */
  height: min(calc(74vh + 58px), 778px); max-height: 92vh;
}
.modal-panel--portrait iframe { background: #000; }
.modal-panel--portrait .modal-close {
  right: 11px; top: 12px; width: 34px; height: 34px;
  background: rgba(6,51,61,.07); color: #12262B;
}
.modal-panel--portrait .modal-close:hover { background: rgba(6,51,61,.15); }

/* 릴스 팝업 본문 — 남는 높이를 iframe 이 모두 차지합니다.
   ⚠ iframe 을 flex 자식으로 두면 `.modal-panel--portrait iframe { height:auto }`(모바일)와
     충돌해 인트린식 높이 150px 로 수축합니다. 절대 배치로 flex 계산에서 빼내
     부모(.rm-body) 크기를 그대로 채우게 합니다. */
.rm-body { flex: 1 1 auto; min-height: 0; position: relative; background: #000; }
.rm-body iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; display: block; background: #000;
}

/* 하단 — 인스타그램이 임베드를 막았을 때를 위한 탈출구.
   정상 재생 시에는 embed 자체가 'View more on Instagram' 을 보여주므로
   이 링크는 **보조 수단**입니다. 그래서 눈에 띄지 않게 아주 작게 둡니다. */
.rm-foot {
  flex: 0 0 auto; padding: 6px 14px; background: #FBFAF6;
  border-top: 1px solid #EFEAE0; text-align: center;
}
.rm-foot a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .6875rem; font-weight: 600; color: #8A9AA1; text-decoration: none;
}
.rm-foot a:hover { color: #0C5A69; text-decoration: underline; }

/* 모바일 — 화면 전체 사용 */
@media (max-width: 640px) {
  .modal-panel--portrait {
    width: 100%; max-width: 100vw; margin: 0;
    height: 100dvh; max-height: 100dvh;   /* max-height:92vh 가 남아 있으면 아래가 비어 보입니다 */
    border-radius: 0; display: flex; flex-direction: column;
  }
  .rm-body { flex: 1 1 auto; }
  .top-strip .ts-tel__lbl { display: none; }
  .top-strip .ts-tel { padding: 3px 10px; gap: 5px; }
  .top-strip .ts-kakao { padding: 3px 9px; }
  .top-strip .ts-kakao__lbl { display: none; }
  .top-strip .ts-contact { gap: 5px; }
}

/* ── 이미지 라이트박스 (인증패·인증서 실제 이미지 확인) ───── */
.modal-panel--lightbox {
  width: min(560px, 92vw); max-height: 90vh; margin: 5vh auto;
  background: #fff; border-radius: 18px; display: flex; flex-direction: column; overflow: hidden;
}
.modal-panel--lightbox .modal-close {
  right: 11px; top: 12px; width: 34px; height: 34px;
  background: rgba(6,51,61,.07); color: #12262B;
}
.modal-panel--lightbox .modal-close:hover { background: rgba(6,51,61,.15); }
.modal-panel--lightbox .lb-body {
  padding: 20px; display: grid; place-items: center;
  overflow: auto; background: #FBFCFB; flex: 1; min-height: 0;
}
.modal-panel--lightbox .lb-body img {
  max-width: 100%; max-height: 64vh; object-fit: contain; display: block;
  border-radius: 8px; box-shadow: 0 18px 44px -28px rgba(10,32,41,.5);
}
.modal-panel--lightbox .lb-cap {
  margin: 0; padding: 12px 20px 16px; font-size: .8rem; font-weight: 700;
  color: #4C636B; text-align: center; letter-spacing: -.01em; border-top: 1px solid #EAF1EF;
}
@media (max-width: 640px) {
  .modal-panel--lightbox { width: 94vw; margin: 4vh auto; }
  .modal-panel--lightbox .lb-body img { max-height: 58vh; }
}

/* 영상 팝업 본문 래퍼 — 세로형 패널에서 iframe 이 남는 높이를 채우도록 */
.modal-panel--portrait .modal-body { flex: 1; min-height: 0; display: flex; }
.modal-panel--portrait .modal-body iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }

@media (max-width: 380px) {
  .brand-lockup { width: 126px; }
  .util .util-link--apply, .util .util-link--orgs {
    font-size: 0; gap: 0; padding: 8px 11px;
  }
  .util .util-link--apply i, .util .util-link--orgs i { font-size: 13px; }
  .mobile-toggle { width: 38px; height: 38px; }
  /* `.util button` 규칙(inline-flex)이 이 버튼에도 걸려 3개 선이 가로로
     늘어서 '점 3개'처럼 보였습니다. 같은 특이도 이상으로 세로 배치를 강제합니다. */
  .util .mobile-toggle {
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; gap: 0; padding: 0;
  }
  .util .mobile-toggle span { width: 17px; margin: 2.5px 0; }

  /* hdr-award 헤더는 `body.hdr-award .util .util-link--*` 규칙(특이도 높음)이
     1180px 이하에서 padding·font-size 를 다시 지정하므로, 여기서도 같은
     특이도로 다시 눌러 줘야 아이콘 전용 축소가 실제로 적용됩니다. */
  body.hdr-award .util .util-link--apply,
  body.hdr-award .util .util-link--orgs {
    font-size: 0; gap: 0; padding: 8px 11px;
  }
  body.hdr-award .util .util-link--apply i,
  body.hdr-award .util .util-link--orgs i { font-size: 13px; }
  body.hdr-award .brand-lockup { height: 26px; }
  body.hdr-award .header-inner { gap: 10px; }
}
