/* =====================================================
   특전사 군인가족지원센터 — Premium White Theme
   deep evergreen · champagne gold · white
   ===================================================== */
:root {
  --ink:     #1B1F26;   /* 본문 텍스트 */
  --forest:  #246BEB;   /* 주 색 · 공공기관 표준 블루 */
  --pine:    #1D56CC;   /* 딥 블루 (호버·강조) */
  --olive:   #5C6470;   /* 보조 텍스트 (뉴트럴 그레이) */
  --moss:    #98A0AC;
  --sand:    #FFFFFF;   /* 페이지 배경 (화이트) */
  --paper:   #F4F7FB;   /* 라이트 블루그레이 서피스 */
  --line:    #E3E7EE;
  --khaki:   #C3D3F5;   /* 어두운 블루면 위 보조 텍스트 */
  --gold:    #F09A00;   /* NPS 심볼 골드오렌지 포인트 */
  --gold-2:  #FFC466;   /* 어두운 면 위 오렌지 */
  --crimson: #D6493F;   /* 경고 · 마감 */
  --radius:   15px;
  --radius-s: 8px;
  --shadow-1: 0 1px 2px rgba(16,34,70,.04), 0 10px 28px rgba(16,34,70,.06);
  --shadow-2: 0 2px 4px rgba(16,34,70,.05), 0 18px 44px rgba(16,34,70,.10);
  --font-body: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
  --font-disp: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
  --font-mono: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
}

/* 굵기 위계: 400(본문) / 500(보조 강조) / 600(라벨·버튼·소제목) / 700(주요 제목) */
b, strong, th, dt { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  font-size: 16px;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: rgba(36,107,235,.18); }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--forest); color: #fff; padding: 8px 16px; z-index: 999; border-radius: 0 0 var(--radius-s) 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

/* ---------- 시그니처: 샴페인 헤어라인 ---------- */
.stripe { height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold-2) 50%, var(--gold) 82%, transparent); }

/* ---------- 유틸리티 바 ---------- */
.util { background: #20252E; color: #97A0AD; font-size: 13px; }
.util-in { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.util-motto { letter-spacing: .05em; }
.util-nav { display: flex; gap: 18px; align-items: center; }
.util-nav a { transition: color .15s; }
.util-nav a:hover { color: #fff; }
.util-hello strong { color: #fff; }
.util-admin { color: var(--gold-2); font-weight: 600; }

/* ---------- GNB ---------- */
.gnb { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.gnb-in { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo { display: flex; align-items: center; gap: 13px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.3; }
.logo-txt em { font-style: normal; font-size: 10.5px; letter-spacing: .16em; color: var(--moss); text-transform: uppercase; }
.logo-txt strong { font-weight: 700; font-size: 21px; letter-spacing: -0.3px; color: var(--ink); }
.nav > ul { display: flex; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 0 22px; line-height: 86px; font-size: 16.5px; font-weight: 600;
  letter-spacing: -0.2px; color: var(--ink); border-bottom: 2px solid transparent; transition: color .15s;
}
.nav > ul > li:hover > a, .nav > ul > li.on > a { color: var(--pine); border-bottom-color: var(--forest); }
.sub {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(8px);
  min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 8px; opacity: 0; visibility: hidden; transition: .18s; z-index: 110;
}
.nav > ul > li:hover .sub, .nav > ul > li:focus-within .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.sub a { display: block; padding: 10px 16px; color: var(--ink); font-size: 14.5px; border-radius: var(--radius-s); transition: .12s; }
.sub a:hover { background: var(--paper); color: var(--pine); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- 페이지 헤더 밴드 ---------- */
.page-head {
  background:
    radial-gradient(700px 300px at 8% -30%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(900px 380px at 92% 0%, rgba(150,160,250,.24), transparent 62%),
    linear-gradient(150deg, #F0F1FB 0%, #E6E8F8 60%, #DCE1F7 100%);
  color: #211E5E; padding: 46px 0 42px; border-bottom: 1px solid var(--line);
}
.crumb { font-size: 13px; color: #7A80B4; margin-bottom: 10px; letter-spacing: .02em; }
.crumb span { margin: 0 9px; color: rgba(33,30,94,.25); }
.page-head h1 { font-weight: 700; font-size: 31px; letter-spacing: -0.6px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 64px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.sec-title { font-weight: 700; font-size: 26px; letter-spacing: -0.5px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.sec-title::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.sec-more { font-size: 14px; font-weight: 500; color: var(--olive); transition: color .15s; }
.sec-more:hover { color: var(--pine); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block; padding: 12px 26px; background: var(--forest); color: #fff;
  border: 1px solid var(--forest); font: inherit; font-size: 15px; font-weight: 600;
  letter-spacing: .01em; cursor: pointer; border-radius: var(--radius); transition: .16s;
}
.btn:hover { background: var(--pine); border-color: var(--pine); box-shadow: 0 6px 16px rgba(29,86,204,.28); }
.btn-gold { background: #1A4FC4; border-color: #1A4FC4; color: #fff; }
.btn-gold:hover { background: #153E9E; border-color: #153E9E; box-shadow: 0 6px 16px rgba(26,79,196,.30); }
.btn-line { background: transparent; color: var(--ink); border-color: #D5D9E0; }
.btn-line:hover { background: var(--paper); border-color: var(--ink); box-shadow: none; }
.btn-sm { padding: 7px 15px; font-size: 13px; border-radius: 10px; }
.btn-danger { background: var(--crimson); border-color: var(--crimson); }
.btn-danger:hover { background: #B03A31; border-color: #B03A31; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- 배지 ---------- */
.badge { display: inline-block; padding: 3px 11px; font-size: 12px; font-weight: 600; border-radius: 999px; line-height: 1.6; letter-spacing: .01em; }
.badge-open   { background: var(--forest); color: #fff; }
.badge-soon   { background: #EAF1FD; color: var(--pine); }
.badge-closed { background: #E9EBEF; color: #868D98; }
.badge-cat    { background: #fff; color: var(--olive); border: 1px solid var(--line); }
.badge-pin    { background: var(--crimson); color: #fff; }
.badge-wait   { background: #FDF3DF; color: #9A6B00; }
.badge-done   { background: var(--forest); color: #fff; }
.badge-reject { background: var(--crimson); color: #fff; }

/* ---------- 플래시 ---------- */
.flash { margin: 18px 0 0; padding: 14px 20px; font-weight: 600; border-radius: var(--radius); border: 1px solid; }
.flash-info { background: #EFF5FE; border-color: #CFE0F8; color: var(--pine); }
.flash-warn { background: #FBF0EF; border-color: #EFD2CF; color: var(--crimson); }

/* =====================================================
   메인
   ===================================================== */
.hero {
  position: relative; color: #211E5E; overflow: hidden;
  background:
    radial-gradient(900px 400px at 10% -25%, rgba(255,255,255,.95), transparent 60%),
    radial-gradient(1100px 520px at 90% 8%, rgba(150,160,250,.28), transparent 62%),
    linear-gradient(150deg, #F0F1FB 0%, #E6E8F8 55%, #DCE1F7 100%);
}
.hero::after {  /* 등고선 패턴 (은은하게) */
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.1'%3E%3Cellipse cx='70' cy='260' rx='120' ry='70'/%3E%3Cellipse cx='70' cy='260' rx='84' ry='47'/%3E%3Cellipse cx='70' cy='260' rx='50' ry='27'/%3E%3Cellipse cx='300' cy='60' rx='130' ry='80'/%3E%3Cellipse cx='300' cy='60' rx='92' ry='54'/%3E%3Cellipse cx='300' cy='60' rx='56' ry='31'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-in { position: relative; z-index: 1; padding: 92px 24px 100px; max-width: 1400px; margin: 0 auto; }
.hero-eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .26em; color: #7A80B4; margin-bottom: 20px; text-transform: uppercase; }
.hero h2 { font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.34; letter-spacing: -1px; }
.hero h2 em { font-style: normal; color: #2457E0; }
.hero p { margin-top: 20px; font-size: 17px; color: #4C5170; max-width: 580px; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-line { background: #fff; color: var(--pine); border-color: #C4CCEE; }
.hero .btn-line:hover { background: #F6F8FE; border-color: var(--forest); }
.hero-tel { position: absolute; right: 24px; bottom: 30px; z-index: 1; text-align: right; font-size: 13px; color: #7A80B4; }
.hero-tel strong { display: block; font-size: 22px; font-weight: 700; color: #211E5E; letter-spacing: .05em; }

/* 퀵링크 */
.quick { margin-top: -36px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); overflow: hidden; }
.quick-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  padding: 26px 8px 22px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  border-left: 1px solid var(--line); transition: .15s;
}
.quick-grid a:first-child { border-left: 0; }
.quick-grid a:hover { background: var(--paper); color: var(--pine); }
.quick-ico { width: 48px; height: 48px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; color: var(--pine); transition: .15s; }
.quick-grid a:hover .quick-ico { background: var(--forest); border-color: var(--forest); color: #fff; }
.quick-ico svg { width: 21px; height: 21px; }

/* 메인 2단: 공지 탭 + 센터 안내 */
.home-cols { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; }
.panel-body { padding: 24px; }
.tabs { display: flex; gap: 6px; padding: 14px 14px 0; border-bottom: 1px solid var(--line); }
.tabs button {
  font: inherit; font-size: 15px; font-weight: 600; padding: 9px 20px 11px; cursor: pointer;
  background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--olive); transition: .15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--pine); border-bottom-color: var(--forest); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }
.n-list li { border-bottom: 1px solid var(--paper); }
.n-list li:last-child { border-bottom: 0; }
.n-list a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; }
.n-list a:hover .n-title { color: var(--pine); }
.n-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; transition: color .12s; }
.n-date { font-size: 13px; color: var(--moss); }

/* 센터 안내 카드 — 라이트 그레이 박스 스타일 */
.info-card { background: #F4F5F8; color: var(--ink); border: 0; box-shadow: none; }
.info-card .panel-body { padding: 28px 26px; position: relative; }
.info-card .panel-body::after {
  content: ""; position: absolute; top: 24px; right: 24px; width: 46px; height: 46px;
  border-radius: 13px; background: #6D6DF2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.2a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.6 2z'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 8px 18px rgba(109,109,242,.35);
}
.info-card h3 { font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.3px; padding-right: 60px; }
.info-card dl { display: grid; grid-template-columns: 64px 1fr; row-gap: 10px; font-size: 14.5px; }
.info-card dt { color: #7A8090; font-weight: 500; }
.info-card .tel-big { font-size: 25px; letter-spacing: -0.5px; margin: 4px 0 16px; display: block; color: var(--pine); font-weight: 700; }
.info-card .btn {
  margin-top: 18px; width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-color: #fff; color: var(--ink); font-size: 14.5px; padding: 13px 18px;
  box-shadow: 0 2px 8px rgba(23,28,66,.07);
}
.info-card .btn::after { content: "→"; color: var(--pine); font-size: 16px; }
.info-card .btn:hover { background: #FAFBFF; border-color: #FAFBFF; box-shadow: 0 4px 12px rgba(23,28,66,.10); }

/* 프로그램 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card-top { height: 4px; background: var(--moss); }
.card.is-open .card-top { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.card.is-closed { opacity: .68; }
.card-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; gap: 6px; margin-bottom: 13px; }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); line-height: 1.45; margin-bottom: 8px; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { font-size: 14px; color: var(--olive); flex: 1; }
.card-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--paper); font-size: 13px; color: var(--olive); display: flex; justify-content: space-between; }
.card-foot b { color: var(--ink); }

/* 소속 부대 스트립 */
.brigades { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.brigade-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brigade-row a {
  padding: 8px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--olive); transition: .15s;
}
.brigade-row a:hover { border-color: var(--forest); color: var(--pine); box-shadow: 0 4px 12px rgba(36,107,235,.16); }

/* CTA 배너 */
.cta-band {
  background:
    radial-gradient(800px 340px at 10% -30%, rgba(255,255,255,.9), transparent 60%),
    linear-gradient(130deg, #EFF0FA, #DEE2F7); color: #211E5E;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 46px 24px; max-width: 1400px; margin: 0 auto; flex-wrap: wrap; }
.cta-in h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.4px; }
.cta-in p { color: #4C5170; margin-top: 7px; }
.cta-band .btn-gold { padding: 14px 30px; background: var(--forest); border-color: var(--forest); color: #fff; }
.cta-band .btn-gold:hover { background: var(--pine); border-color: var(--pine); box-shadow: 0 6px 16px rgba(29,86,204,.28); }

/* =====================================================
   서브 페이지 공통
   ===================================================== */
.page { padding: 48px 0 80px; }
.page-cols { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }

/* 좌측 로컬 내비 */
.lnb { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); position: sticky; top: 108px; overflow: hidden; }
.lnb h2 { background: var(--forest); color: #fff; font-weight: 700; font-size: 18px; padding: 19px 22px; letter-spacing: -0.3px; }
.lnb a { display: block; padding: 14px 22px; border-top: 1px solid var(--paper); font-weight: 500; font-size: 15px; color: var(--olive); transition: .12s; }
.lnb a.on, .lnb a:hover { color: var(--pine); background: var(--paper); box-shadow: inset 3px 0 0 var(--forest); }
.lnb a.on { font-weight: 600; }

/* 표 */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.tbl th, .tbl td { padding: 14px 15px; border-bottom: 1px solid var(--paper); font-size: 14.5px; text-align: center; }
.tbl thead th { background: var(--paper); color: var(--pine); font-weight: 600; border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: #F8FAFD; }
.tbl td.tl { text-align: left; }
.tbl a:hover { color: var(--pine); }
.tbl .muted { color: var(--moss); font-size: 13px; }

/* 페이지네이션 */
.paging { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.paging a { min-width: 38px; height: 38px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); font-size: 14px; font-weight: 500; transition: .13s; }
.paging a:hover { border-color: var(--forest); color: var(--pine); }
.paging a.on { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 600; }

/* 목록 도구 (세그먼트·검색) */
.list-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.seg { display: flex; gap: 7px; flex-wrap: wrap; }
.seg a { padding: 8px 19px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--olive); border-radius: 999px; transition: .13s; }
.seg a:hover { border-color: var(--moss); color: var(--ink); }
.seg a.on { background: var(--forest); color: #fff; border-color: var(--forest); font-weight: 600; }
.searchbar { display: flex; gap: 7px; }
.searchbar input { padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 14px; width: 210px; background: #fff; transition: border-color .13s; }
.searchbar input:focus { outline: none; border-color: var(--forest); }

/* 게시글 보기 */
.view-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; }
.view-head { padding: 26px 30px 20px; border-bottom: 1px solid var(--line); }
.view-head h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); margin: 9px 0 11px; line-height: 1.45; }
.view-meta { display: flex; gap: 16px; font-size: 13.5px; color: var(--moss); flex-wrap: wrap; }
.view-body { padding: 30px; min-height: 180px; font-size: 15.5px; }
.view-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* 폼 */
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 36px; max-width: 720px; }
.form-box.narrow { max-width: 460px; margin: 0 auto; }
.f-row { margin-bottom: 21px; }
.f-row label { display: block; font-weight: 600; font-size: 14.5px; color: #33415C; margin-bottom: 8px; }
.f-row .req { color: var(--crimson); }
.f-row input[type=text], .f-row input[type=password], .f-row input[type=email],
.f-row input[type=tel], .f-row input[type=number], .f-row input[type=date],
.f-row select, .f-row textarea {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 15px; border-radius: var(--radius); transition: border-color .13s, box-shadow .13s;
}
.f-row textarea { min-height: 160px; resize: vertical; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(36,107,235,.14); }
.f-row input[disabled] { background: var(--paper); color: var(--moss); }
.f-hint { font-size: 13px; color: var(--moss); margin-top: 6px; }
.f-check { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.f-actions { display: flex; gap: 10px; margin-top: 30px; }
.f-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* 안내 박스 */
.notice-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; font-size: 14.5px; margin-bottom: 28px; }
.notice-box strong { color: var(--pine); }

/* 프로그램 상세 */
.prog-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 32px 34px; margin-bottom: 28px; position: relative; overflow: hidden; }
.prog-head::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.prog-head h2 { font-weight: 700; font-size: 27px; letter-spacing: -0.5px; color: var(--ink); margin: 12px 0 20px; }
.prog-spec { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px 32px; }
.prog-spec div { display: flex; gap: 12px; font-size: 15px; }
.prog-spec dt { color: var(--olive); font-weight: 600; flex: none; width: 86px; white-space: nowrap; }
.prog-spec dt::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 8px 3px 0; }
.prog-quota { margin-top: 22px; }
.quota-bar { height: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.quota-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pine), var(--gold)); border-radius: 999px; }
.quota-txt { font-size: 13.5px; color: var(--olive); margin-top: 8px; }
.quota-txt b { color: var(--ink); }

/* 상담 아코디언 */
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; }
.qa-item { border-bottom: 1px solid var(--paper); }
.qa-item:last-child { border-bottom: 0; }
.qa-q { padding: 19px 24px; display: flex; gap: 14px; align-items: center; cursor: pointer; transition: background .12s; }
.qa-q:hover { background: #F8FAFD; }
.qa-q .t { flex: 1; font-weight: 600; }
.qa-a { display: none; padding: 22px 26px; background: var(--paper); border-top: 1px solid var(--line); font-size: 15px; }
.qa-item.open .qa-a { display: block; }
.qa-a .ans { margin-top: 15px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.qa-a .ans-label { font-size: 12px; letter-spacing: .16em; color: var(--gold); font-weight: 600; }

/* 소개 페이지 */
.about-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 36px 38px; margin-bottom: 28px; scroll-margin-top: 112px; }
.about-sec h2 { font-weight: 700; font-size: 22px; letter-spacing: -0.4px; color: var(--ink); margin-bottom: 20px; display: flex; align-items: center; gap: 11px; }
.about-sec h2::before { content: ""; width: 5px; height: 19px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.greeting-quote { font-weight: 600; font-size: 19px; letter-spacing: -0.3px; color: var(--pine); border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; margin-bottom: 20px; line-height: 1.75; }
.history { border-left: 2px solid var(--line); margin-left: 6px; }
.history li { position: relative; padding: 0 0 24px 28px; }
.history li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.history .yr { font-weight: 600; color: var(--gold); font-size: 15px; letter-spacing: .02em; }
.map-box { background: var(--paper); border: 1px dashed #CBD3DE; border-radius: var(--radius); padding: 44px; text-align: center; color: var(--olive); }

/* 마이페이지 */
.my-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.my-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 24px; text-align: center; }
.my-stat b { display: block; font-size: 32px; font-weight: 700; letter-spacing: -0.5px; color: var(--forest); }
.my-stat span { font-size: 13.5px; color: var(--olive); font-weight: 500; }

/* 관리자 */
.admin-nav { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.admin-nav a { padding: 9px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--olive); transition: .13s; }
.admin-nav a:hover { color: var(--ink); border-color: var(--moss); }
.admin-nav a.on { background: var(--pine); color: #fff; border-color: var(--pine); font-weight: 600; }

/* 푸터 */
.foot { background: #20252E; color: #97A0AD; margin-top: 84px; }
.foot::before { content: ""; display: block; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold-2) 50%, var(--gold) 82%, transparent); }
.foot-in { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 28px; padding: 48px 24px; font-size: 13.5px; }
.foot-brand strong { display: block; font-weight: 700; font-size: 18px; letter-spacing: -0.3px; color: #fff; }
.foot-brand em { font-style: normal; font-size: 10px; letter-spacing: .12em; color: #5E6774; text-transform: uppercase; }
.foot-info a { color: #8FB3F8; }
.foot-copy { margin-top: 10px; color: #5E6774; }
.foot-links { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.foot-links a { transition: color .13s; }
.foot-links a:hover { color: #fff; }


/* =====================================================
   회원 (로그인 · 회원가입)
   ===================================================== */
.auth-grid { display: grid; grid-template-columns: 430px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; max-width: 1060px; margin: 0 auto; }
.auth-side {
  background:
    radial-gradient(500px 260px at 8% -20%, rgba(255,255,255,.95), transparent 60%),
    radial-gradient(600px 320px at 95% 15%, rgba(150,160,250,.28), transparent 62%),
    linear-gradient(150deg, #F0F1FB 0%, #E6E8F8 55%, #DCE1F7 100%);
  padding: 46px 40px 38px; color: #211E5E; display: flex; flex-direction: column;
}
.auth-side h2 { font-size: 25px; letter-spacing: -0.5px; line-height: 1.42; margin: 20px 0 10px; }
.auth-side h2 em { font-style: normal; color: #2457E0; }
.auth-side > p { color: #4C5170; font-size: 14.5px; }
.auth-benefit { margin-top: 26px; display: flex; flex-direction: column; gap: 11px; }
.auth-benefit li { display: flex; gap: 13px; align-items: center; background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95); border-radius: 12px; padding: 12px 15px; }
.auth-benefit .bi { width: 36px; height: 36px; flex: none; border-radius: 11px; color: #fff; display: grid; place-items: center; }
.auth-benefit .bi svg { width: 18px; height: 18px; }
.auth-benefit .bi-1 { background: #6D6DF2; box-shadow: 0 6px 12px rgba(109,109,242,.30); }
.auth-benefit .bi-2 { background: #2457E0; box-shadow: 0 6px 12px rgba(36,87,224,.28); }
.auth-benefit .bi-3 { background: #F09A00; box-shadow: 0 6px 12px rgba(240,154,0,.28); }
.auth-benefit b { display: block; font-size: 14.5px; color: var(--ink); }
.auth-benefit span { color: var(--olive); font-size: 13px; }
.auth-tel { margin-top: auto; padding-top: 28px; font-size: 13px; color: #7A80B4; }
.auth-tel b { display: block; font-size: 19px; font-weight: 700; color: #211E5E; letter-spacing: .02em; margin-top: 3px; }
.auth-main { padding: 46px 50px; display: flex; flex-direction: column; justify-content: center; }
.auth-main h3 { font-size: 22px; letter-spacing: -0.4px; margin-bottom: 6px; }
.auth-main .auth-desc { font-size: 14px; color: var(--olive); margin-bottom: 26px; }
.auth-links { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 20px; font-size: 14px; color: var(--olive); }
.auth-links i { width: 1px; height: 12px; background: var(--line); }
.auth-links a { font-weight: 500; transition: color .13s; }
.auth-links a:hover { color: var(--pine); }
.auth-join { margin-top: 26px; padding: 18px 22px; background: var(--paper); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.auth-join b { font-size: 14.5px; }
.auth-join p { font-size: 13px; color: var(--olive); margin-top: 2px; }

/* 가입 단계 표시 */
.steps { display: flex; max-width: 660px; margin: 0 auto 34px; }
.steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 13.5px; color: var(--moss); position: relative; }
.steps li::before { content: ""; position: absolute; top: 18px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps .num { width: 37px; height: 37px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 14px; position: relative; z-index: 1; }
.steps li.on { color: var(--pine); font-weight: 600; }
.steps li.on .num { background: var(--forest); border-color: var(--forest); color: #fff; box-shadow: 0 6px 14px rgba(36,107,235,.30); }

/* 가입 혜택 카드 */
.join-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; margin: 0 auto 32px; }
.jb { background: #F4F5F8; border-radius: var(--radius); padding: 22px; }
.jb .bi { width: 42px; height: 42px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
.jb .bi svg { width: 20px; height: 20px; }
.jb b { display: block; margin-top: 14px; font-size: 15px; }
.jb span { display: block; margin-top: 3px; font-size: 13px; color: var(--olive); line-height: 1.6; }

/* 폼 섹션 제목 */
.fs-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--ink); margin: 32px 0 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
form .fs-title:first-child { margin-top: 0; }
.fs-title .no { width: 23px; height: 23px; border-radius: 7px; background: #EAF1FD; color: var(--pine); display: grid; place-items: center; font-size: 12px; font-weight: 600; }

/* 약관 박스 */
.terms-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 20px; max-height: 165px; overflow-y: auto; font-size: 13px; color: var(--olive); line-height: 1.75; margin-bottom: 13px; }
.terms-box h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin: 10px 0 4px; }
.terms-box h4:first-child { margin-top: 0; }


/* =====================================================
   히어로 슬라이더 (Swiper)
   ===================================================== */
.hero-slider { position: relative; }
.hero-slider .swiper-slide { height: auto; }
.hero-slider .hero { height: 100%; }
.hero-slider .swiper-pagination { bottom: 22px; }
.hero-slider .swiper-pagination-bullet { width: 9px; height: 9px; background: #B7BEE6; opacity: 1; transition: .2s; }
.hero-slider .swiper-pagination-bullet-active { width: 26px; border-radius: 6px; background: var(--forest); }
.hs-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px); color: #211E5E;
  display: grid; place-items: center; cursor: pointer; transition: .15s;
}
.hs-nav svg { width: 20px; height: 20px; }
.hs-nav:hover { background: var(--forest); border-color: var(--forest); color: #fff; box-shadow: 0 8px 18px rgba(36,107,235,.30); }
.hs-prev { left: 26px; }
.hs-next { right: 26px; }

/* 사진 + 텍스트 배너 슬라이드 */
.hero-banner .banner-in { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; padding-top: 66px; padding-bottom: 74px; }
.banner-txt h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.36; letter-spacing: -0.8px; }
.banner-txt > p { margin-top: 16px; font-size: 16.5px; color: #4C5170; max-width: 560px; }
.banner-img { position: relative; }
.banner-img img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(23,28,90,.22); border: 6px solid rgba(255,255,255,.85);
}
.banner-img::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 92px; height: 92px;
  border-radius: 24px; background: linear-gradient(140deg, #6D6DF2, #2457E0); opacity: .16; z-index: -1;
}

/* =====================================================
   포토갤러리
   ===================================================== */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .18s, box-shadow .18s; }
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.g-item > a { display: block; position: relative; overflow: hidden; }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .35s; }
.g-item:hover img { transform: scale(1.05); }
.g-zoom {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(23,28,66,.34); color: #fff; opacity: 0; transition: opacity .2s;
}
.g-zoom svg { width: 34px; height: 34px; }
.g-item:hover .g-zoom { opacity: 1; }
.g-item figcaption { padding: 16px 18px 18px; }
.g-item figcaption b { display: block; font-size: 15.5px; letter-spacing: -0.2px; }
.g-item figcaption p { font-size: 13px; color: var(--olive); margin-top: 4px; line-height: 1.6; }
.g-item figcaption time { display: block; font-size: 12.5px; color: var(--moss); margin-top: 8px; }
.g-grid-admin { grid-template-columns: repeat(4, 1fr); }

/* 메인 갤러리 스트립 */
.hg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hg-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.hg-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .35s; }
.hg-item:hover img { transform: scale(1.06); }
.hg-cap {
  position: absolute; inset: auto 0 0; padding: 34px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(15,18,40,.78));
}
.hg-cap b { display: block; font-size: 14.5px; letter-spacing: -0.2px; }
.hg-cap time { font-size: 12px; opacity: .75; }

/* 라이트박스 */
.lb-overlay {
  position: fixed; inset: 0; z-index: 500; background: rgba(12,14,28,.88);
  display: grid; place-items: center; padding: 30px; cursor: zoom-out;
}
.lb-overlay img { max-width: min(1100px, 94vw); max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-cap { margin-top: 14px; color: #fff; font-size: 15px; text-align: center; }
.lb-close {
  position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; cursor: pointer;
}
.lb-close:hover { background: rgba(255,255,255,.26); }


/* 계정 관리 카드 (마이페이지) */
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 26px; }
.acct-card .bi { width: 44px; height: 44px; border-radius: 13px; color: #fff; display: grid; place-items: center; }
.acct-card .bi svg { width: 21px; height: 21px; }
.acct-card b { display: block; margin-top: 14px; font-size: 17px; letter-spacing: -0.2px; }
.acct-card p { margin: 6px 0 16px; font-size: 14px; line-height: 1.7; }
.acct-card .muted { color: var(--moss); font-size: 13px; }

/* 비밀번호 규칙 체크리스트 */
.pw-rules { margin: 4px 0 8px; display: flex; flex-direction: column; gap: 7px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 13.5px; color: var(--olive); }
.pw-rules li { display: flex; align-items: center; gap: 9px; }
.pw-rules i { width: 17px; height: 17px; flex: none; border-radius: 50%; border: 1.5px solid #C9CEDA; position: relative; transition: .15s; }
.pw-rules li.ok { color: var(--pine); }
.pw-rules li.ok i { background: var(--forest); border-color: var(--forest); }
.pw-rules li.ok i::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4.5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg); }


/* 약관·방침 문서 */
.doc-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 44px 48px; max-width: 920px; margin: 0 auto; }
.doc-head { border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 24px; }
.doc-head h2 { font-size: 26px; letter-spacing: -0.5px; }
.doc-head p { font-size: 13.5px; color: var(--moss); margin-top: 6px; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 30px; }
.doc-toc a { font-size: 13px; font-weight: 500; color: var(--olive); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; transition: .13s; }
.doc-toc a:hover { color: var(--pine); border-color: var(--forest); }
.doc-box section { margin-bottom: 34px; scroll-margin-top: 112px; }
.doc-box section h3 { font-size: 17px; color: var(--pine); margin: 25px 0 12px; padding-left: 12px; border-left: 3px solid var(--forest); }
.doc-box section p, .doc-box section li { font-size: 14.5px; line-height: 1.85; color: #3A3F4A; }
.doc-box section > p { margin: 0 0 10px; }
.doc-box section > p:last-child { margin-bottom: 0; }
.doc-box section a { color: var(--pine); font-weight: 600; }
/* 조문 목록: 번호 고정 + 행잉 인덴트 (줄바꿈 시에도 본문 정렬 유지) */
.doc-box ol { list-style: none; padding: 0 0 0 16px; margin: 0; counter-reset: doc1; }
.doc-box ol > li { position: relative; padding-left: 28px; margin: 6px 0; counter-increment: doc1; }
.doc-box ol > li::before {
  content: counter(doc1) "."; position: absolute; left: 2px; top: 0;
  min-width: 20px; color: var(--pine); font-weight: 600; font-size: 13.5px; line-height: 1.95;
}
.doc-box ol ol { counter-reset: doc2; margin: 6px 0 2px; padding-left: 12px; }
.doc-box ol ol > li { padding-left: 26px; margin: 4px 0; counter-increment: doc2; }
.doc-box ol ol > li::before {
  content: counter(doc2, hangul) "."; left: 0; color: var(--moss); font-weight: 500;
}
@supports not (list-style-type: hangul) {
  .doc-box ol ol > li::before { content: counter(doc2, lower-alpha) ")"; }
}
.doc-contact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 10px 0 12px; }
.doc-contact p { margin: 2px 0; }
.doc-foot { border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; color: var(--olive); }
@media (max-width: 600px) { .doc-box { padding: 26px 20px; } }


/* =====================================================
   제휴업체
   ===================================================== */
/* 메인 로고 스트립 */
.hp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 22px 14px 18px; transition: transform .16s, box-shadow .16s; }
.hp-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.hp-item img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; }
.hp-item b { font-size: 15px; letter-spacing: -0.2px; }
.hp-item span { font-size: 12.5px; color: var(--gold); font-weight: 500; }

/* 목록 카드 */
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pt-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 20px 22px; transition: transform .16s, box-shadow .16s; }
.pt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pt-logo { flex: none; width: 76px; height: 76px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.pt-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.pt-body b { font-size: 16.5px; letter-spacing: -0.2px; }
.pt-benefit { font-style: normal; font-size: 13.5px; color: var(--gold); font-weight: 600; }
.pt-addr { font-size: 13px; color: var(--moss); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pt-arrow { flex: none; color: var(--moss); font-size: 18px; transition: .15s; }
.pt-card:hover .pt-arrow { color: var(--pine); transform: translateX(3px); }

/* 상세 */
.pt-view { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 36px 40px; }
.pt-view-head { display: flex; gap: 24px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.pt-logo-lg { width: 108px; height: 108px; border-radius: 18px; }
.pt-view-head h2 { font-size: 26px; letter-spacing: -0.5px; margin: 6px 0 4px; }
.pt-benefit-big { font-size: 15px; color: #7A5B12; background: #FDF3DF; border: 1px solid #F3E2BC; border-radius: 999px; padding: 7px 16px; display: inline-block; margin-top: 6px; }
.pt-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.pt-info dl div { display: flex; gap: 14px; font-size: 15px; }
.pt-info dt { flex: none; width: 74px; color: var(--olive); font-weight: 600; }
.pt-info dt::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--forest); margin: 0 8px 3px 0; }
.pt-info dd a { color: var(--pine); font-weight: 500; word-break: break-all; }
.pt-desc { margin-top: 26px; }
.pt-desc h3 { font-size: 17px; color: var(--pine); margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--forest); }
.pt-desc p { font-size: 15px; line-height: 1.85; }
.pt-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pt-photos a { display: block; border-radius: 12px; overflow: hidden; }
.pt-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .3s; }
.pt-photos a:hover img { transform: scale(1.05); }

/* =====================================================
   반응형
   ===================================================== */
@media (max-width: 960px) {
  .gnb-in { height: 68px; }
  .nav > ul > li > a { line-height: normal; }
  .logo-txt strong { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: var(--forest); transform: translateX(100%); transition: transform .22s; overflow-y: auto; z-index: 200; padding-top: 20px; }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { color: #fff; border-bottom: 1px solid var(--pine); padding: 16px 24px; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: var(--pine); border: 0; border-radius: 0; padding: 0; display: none; }
  .sub a { color: var(--khaki); border-radius: 0; padding: 12px 34px; }
  .sub a:hover { background: rgba(0,0,0,.14); color: #fff; }
  .nav > ul > li.open .sub { display: block; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid a:nth-child(4) { border-left: 0; }
  .quick-grid a { border-top: 1px solid var(--line); }
  .quick-grid a:nth-child(-n+3) { border-top: 0; }
  .home-cols { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .page-cols { grid-template-columns: 1fr; }
  .lnb { position: static; display: flex; flex-wrap: wrap; }
  .lnb h2 { width: 100%; padding: 12px 18px; font-size: 16px; }
  .lnb a { border-top: 0; flex: 1; text-align: center; white-space: nowrap; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { flex-direction: row; align-items: flex-start; }
  .auth-grid { grid-template-columns: 1fr; }
  .hero-banner .banner-in { grid-template-columns: 1fr; gap: 26px; padding-top: 54px; padding-bottom: 84px; }
  .banner-img { max-width: 560px; }
  .g-grid, .g-grid-admin { grid-template-columns: 1fr 1fr; }
  .hp-strip { grid-template-columns: 1fr 1fr; }
  .pt-grid { grid-template-columns: 1fr; }
  .pt-info dl { grid-template-columns: 1fr; }
  .pt-photos { grid-template-columns: 1fr 1fr; }
  .pt-view { padding: 26px 22px; }
  .pt-view-head { flex-direction: column; align-items: flex-start; }
  .hg-grid { grid-template-columns: 1fr 1fr; }
  .hs-nav { display: none; }
  .auth-main { padding: 34px 26px; }
  .auth-side { padding: 34px 26px; }
  .join-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .util-motto { display: none; }
  .cards { grid-template-columns: 1fr; }
  .f-grid2 { grid-template-columns: 1fr; }
  .prog-spec { grid-template-columns: 1fr; }
  .my-grid { grid-template-columns: 1fr; }
  .acct-grid { grid-template-columns: 1fr; }
  .g-grid, .g-grid-admin, .hg-grid { grid-template-columns: 1fr; }
  .form-box { padding: 26px 20px; }
  .hero-tel { display: none; }
  .tbl .hide-m { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
