@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css");

:root {
  --primary: #3182f6;
  --primary-dark: #1b64da;
  --navy: #0d2a4a;
  --text: #222;
  --text-sub: #666;
  --line: #e5e8eb;
  --bg-soft: #f5f7fa;
  --header-h: 90px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Pretendard, -apple-system, "Malgun Gothic", sans-serif;
  color: var(--text); background: #fff; line-height: 1.7; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
i { font-style: normal; color: #bbb; margin: 0 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 30px; font-weight: 600; font-size: 15px;
  transition: .25s; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1px solid #ccc; color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { border: 1px solid rgba(255,255,255,.8); color: #fff; }
.btn-white:hover { background: #fff; color: var(--navy); }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: #fff; border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s;
}
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: rgba(255,255,255,.2); }
.site-header.is-overlay.is-scrolled { background: #fff; border-color: var(--line); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header-inner {
  max-width: 1400px; height: 100%; margin: 0 auto; padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo img { height: 46px; width: auto; }
.logo .logo-white { display: none; }
.is-overlay:not(.is-scrolled) .logo .logo-white { display: block; }
.is-overlay:not(.is-scrolled) .logo .logo-color { display: none; }

.gnb > ul { display: flex; height: var(--header-h); }
.gnb-item { position: relative; display: flex; align-items: center; }
.gnb-item > a { padding: 0 20px; font-size: 17px; font-weight: 600; line-height: var(--header-h); transition: color .2s; }
.is-overlay:not(.is-scrolled) .gnb-item > a { color: #fff; }
.gnb-item:hover > a, .gnb-item.is-active > a { color: var(--primary) !important; }
.gnb-sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 180px;
  background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 10px 0;
  opacity: 0; visibility: hidden; transition: .2s;
}
.gnb-item:hover .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 9px 22px; font-size: 15px; color: #444; white-space: nowrap; text-align: center; }
.gnb-sub a:hover { color: var(--primary); background: var(--bg-soft); }

.menu-toggle { display: none; background: none; border: 0; width: 32px; height: 24px; position: relative; cursor: pointer; }
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 2px; }
.menu-toggle span:nth-child(1) { top: 0; } .menu-toggle span:nth-child(2) { top: 11px; } .menu-toggle span:nth-child(3) { bottom: 0; }
.is-overlay:not(.is-scrolled) .menu-toggle span { background: #fff; }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); z-index: 200; background: #fff;
  transform: translateX(100%); transition: transform .3s; overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,.15);
}
.menu-open .mobile-nav { transform: none; }
.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav-head img { height: 34px; width: auto; }
.mobile-close { background: none; border: 0; font-size: 32px; line-height: 1; cursor: pointer; color: #555; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav > ul > li > a { display: block; padding: 15px 22px; font-weight: 700; font-size: 16px; }
.mobile-nav li ul { padding: 0 22px 12px; }
.mobile-nav li ul a { display: block; padding: 6px 12px; font-size: 15px; color: var(--text-sub); }

/* ---------- 메인: 히어로 ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; text-align: center;
  background: url(../img/hero-wave.jpg) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,40,.45), rgba(0,20,40,.35) 60%, rgba(0,20,40,.6)); }
.hero .container { position: relative; }
.hero-eyebrow { font-size: 22px; font-weight: 500; letter-spacing: .02em; opacity: .95; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 6px 0 28px; letter-spacing: -.02em; }
.hero p.hero-desc { font-size: 18px; line-height: 1.9; opacity: .92; }
.scroll-down {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px;
}
.scroll-down::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scroll 1.6s infinite;
}
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 섹션 공통 ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { color: var(--primary); font-weight: 700; font-size: 15px; letter-spacing: .1em; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 8px 0 14px; letter-spacing: -.02em; }
.section-head .keywords { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.section-head .keywords span + span::before { content: "·"; margin: 0 10px; color: var(--primary); }
.section-head p { color: var(--text-sub); font-size: 17px; }

/* 활동영역 카드 */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.activity-card {
  background: #fff; border-radius: 18px; padding: 40px 32px 36px; box-shadow: 0 8px 30px rgba(15,40,80,.07);
  transition: transform .3s, box-shadow .3s; border-top: 4px solid var(--primary);
}
.activity-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,40,80,.12); }
.activity-num { font-size: 14px; font-weight: 800; color: var(--primary); letter-spacing: .1em; }
.activity-card .sub { color: var(--text-sub); font-size: 15px; margin-top: 14px; }
.activity-card h3 { font-size: 23px; font-weight: 800; margin: 2px 0 16px; line-height: 1.4; }
.activity-card p { color: #555; font-size: 16px; }

/* 미션 배너 */
.mission {
  position: relative; padding: 140px 0; color: #fff; text-align: center;
  background: url(../img/hero-wave.jpg) center / cover;
}
.mission::before { content: ""; position: absolute; inset: 0; background: rgba(8, 30, 60, .68); }
.mission .container { position: relative; }
.mission .quote { font-size: 20px; opacity: .9; }
.mission h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 10px 0 18px; }
.mission h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; color: #9cc6ff; }
.mission p { font-size: 17px; opacity: .88; line-height: 1.9; }

/* 최신글 */
.latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.latest-box-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.latest-box-head h3 { font-size: 26px; font-weight: 800; }
.latest-box-head a { font-size: 14px; color: var(--text-sub); }
.latest-box-head a:hover { color: var(--primary); }
.latest-list li { border-bottom: 1px solid var(--line); }
.latest-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 20px 4px; }
.latest-list a:hover .latest-title { color: var(--primary); }
.latest-title { font-weight: 600; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.latest-summary { grid-column: 1; color: var(--text-sub); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.latest-date { grid-column: 2; grid-row: 1; color: #999; font-size: 14px; }

/* ---------- 서브페이지 ---------- */
.sub-banner {
  position: relative; padding: 110px 0 90px; color: #fff; text-align: center;
  background: url(../img/hero-wave.jpg) center 40% / cover;
}
.sub-banner::before { content: ""; position: absolute; inset: 0; background: rgba(8, 30, 60, .6); }
.sub-banner .container { position: relative; }
.sub-banner-cat { font-size: 15px; letter-spacing: .12em; opacity: .85; }
.sub-banner h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 4px 0 10px; }
.breadcrumb { font-size: 14px; opacity: .75; }
.sub-tabs { border-bottom: 1px solid var(--line); background: #fff; }
.sub-tabs ul { display: flex; justify-content: center; flex-wrap: wrap; }
.sub-tabs a { display: block; padding: 20px 28px; font-size: 16px; font-weight: 600; color: var(--text-sub); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sub-tabs a:hover { color: var(--primary); }
.sub-tabs .is-active a { color: var(--primary); border-color: var(--primary); }

.page { padding: 90px 0 120px; }
.page-title { text-align: center; font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 20px; }
.page-lead { text-align: center; font-size: 18px; color: #444; line-height: 1.9; max-width: 820px; margin: 0 auto 60px; }
.page-img { margin: 0 auto; }
.page-img.narrow { max-width: 900px; }

.about-intro { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center; max-width: 1000px; margin: 0 auto 100px; }
.about-intro h2 { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 18px; }
.about-intro p { font-size: 17px; color: #444; line-height: 1.9; }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 50px 0 60px; }
.vision-item { background: var(--bg-soft); border-radius: 16px; padding: 34px 32px; border-left: 4px solid var(--primary); }
.vision-item h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.vision-item li { color: #555; padding-left: 14px; position: relative; }
.vision-item li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

.feature-list { display: grid; gap: 24px; max-width: 1000px; margin: 0 auto 70px; }
.feature-list article { padding: 32px 36px; border: 1px solid var(--line); border-radius: 16px; }
.feature-list h3 { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.feature-list p { color: #555; }
.more-text { max-width: 1000px; margin: -30px auto 70px; color: #555; font-size: 16px; display: grid; gap: 14px; }
.more-toggle { display: block; margin: -40px auto 60px; background: none; border: 0; font: inherit; color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: underline; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid figure { border-radius: 16px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.07); background: #fff; }
.card-grid img { width: 100%; aspect-ratio: 373 / 250; object-fit: cover; }
.card-grid figcaption { padding: 20px; text-align: center; font-weight: 700; font-size: 17px; }

.certify { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; max-width: 1050px; margin: 0 auto; }
.certify img { border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.certify p { font-size: 17px; color: #444; line-height: 1.95; margin-bottom: 20px; }
.certify strong { color: var(--primary); }

.map-links { display: flex; justify-content: center; gap: 50px; margin-top: 40px; }
.map-links a { text-align: center; font-weight: 600; }
.map-links img { width: 140px; border-radius: 28px; margin: 0 auto 12px; box-shadow: 0 6px 20px rgba(0,0,0,.1); transition: transform .2s; }
.map-links a:hover img { transform: translateY(-4px); }
.location-box { max-width: 800px; margin: 0 auto; background: var(--bg-soft); border-radius: 18px; padding: 50px 30px; text-align: center; }
.location-box .addr { font-size: 20px; font-weight: 700; }
.location-box .contact { color: var(--text-sub); margin-top: 8px; }

.partner-grid { display: grid; gap: 30px; max-width: 1000px; margin: 0 auto; }
.partner-grid .row { display: grid; grid-template-columns: 3fr 1fr; gap: 30px; align-items: center; }
.partner-grid img { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }

/* ---------- 게시판 ---------- */
.board-count { font-size: 15px; color: var(--text-sub); margin-bottom: 12px; }
.board-count b { color: var(--primary); }
.board-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--text); font-size: 16px; }
.board-table th { padding: 16px 10px; background: var(--bg-soft); font-weight: 600; border-bottom: 1px solid var(--line); }
.board-table td { padding: 18px 10px; border-bottom: 1px solid var(--line); text-align: center; color: var(--text-sub); }
.board-table td.col-title { text-align: left; color: var(--text); }
.board-table td.col-title a:hover { color: var(--primary); text-decoration: underline; }
.col-no { width: 80px; } .col-author { width: 120px; } .col-date { width: 140px; }
.board-empty { text-align: center; padding: 80px 0; color: #999; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); }
.latest-list .board-empty { border: 0; padding: 50px 0; }

.post-view { border-top: 2px solid var(--text); }
.post-head { padding: 30px 10px; border-bottom: 1px solid var(--line); }
.post-head h2 { font-size: 24px; font-weight: 800; }
.post-meta { color: #999; font-size: 14px; margin-top: 6px; }
.post-body { padding: 50px 10px 70px; font-size: 17px; line-height: 1.9; border-bottom: 1px solid var(--line); }
.post-nav { margin-bottom: 50px; }
.post-nav li { display: flex; gap: 30px; padding: 16px 10px; border-bottom: 1px solid var(--line); }
.post-nav span { color: #999; width: 60px; flex: none; }
.post-nav a:hover { color: var(--primary); }

/* ---------- 헤더 로그인·장바구니 ---------- */
.util { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #666; margin-left: 10px; }
.util a:hover { color: var(--primary); }
.util [hidden], .mobile-util [hidden] { display: none; }
.is-overlay:not(.is-scrolled) .util { color: rgba(255,255,255,.85); }
.util-cart b {
  display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: #fff;
  font-size: 11px; line-height: 18px; text-align: center; margin-left: 2px;
}
.mobile-util { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mobile-util a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 14px; }

/* ---------- 폼 ---------- */
.form-card { max-width: 440px; margin: 0 auto; display: grid; gap: 16px; }
.form-card.wide { max-width: 820px; }
.form-card h2 { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 6px; }
.form-card label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form-card label small { font-weight: 400; color: #999; }
.form-card input:not([type=checkbox]), .form-card select, .form-card textarea,
.admin-app-foot input, .admin-app-foot select, .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d5d9de; border-radius: 10px;
  font: inherit; font-weight: 400; background: #fff; color: var(--text);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus, .comment-form textarea:focus {
  outline: 2px solid var(--primary); outline-offset: -1px; border-color: transparent;
}
.form-card input:disabled { background: var(--bg-soft); color: #888; }
.form-card textarea { resize: vertical; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-help { font-size: 14px; color: var(--text-sub); }
.form-links { text-align: center; font-size: 14px; color: var(--text-sub); }
.form-links a { color: var(--primary); font-weight: 600; }
.agree { background: var(--bg-soft); border-radius: 10px; padding: 16px; font-size: 14px; color: #555; display: grid; gap: 10px; }
.divider { display: flex; align-items: center; gap: 12px; color: #999; font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.uid { font-size: 12px; color: #999; text-align: center; word-break: break-all; }
code { font-family: Consolas, monospace; background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 12px; }

button.btn { font-family: inherit; border: 0; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
button.btn-outline { border: 1px solid #ccc; background: #fff; }
.btn-google { background: #fff; border: 1px solid #d5d9de !important; color: var(--text); display: flex; justify-content: center; align-items: center; gap: 8px; }
.btn-google:hover { background: var(--bg-soft); }
.g-icon { font-weight: 800; color: #4285f4; }
.btn-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.board-actions { text-align: right; margin-top: 20px; }
.link-btn { background: none; border: 0; font: inherit; color: var(--text-sub); cursor: pointer; text-decoration: underline; padding: 0; }
.link-btn:hover { color: var(--primary); }
.nowrap { white-space: nowrap; }

.notice-box { max-width: 640px; margin: 0 auto 24px; padding: 40px 30px; text-align: center; background: var(--bg-soft); border-radius: 16px; line-height: 1.9; }
.notice-box.left { text-align: left; max-width: none; padding: 28px 30px; }
.notice-box h3 { font-size: 18px; margin-bottom: 8px; }
.notice-box p + p { margin-top: 10px; }
.notice-box small { color: var(--text-sub); }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 300; max-width: calc(100% - 32px);
  background: rgba(20,24,30,.92); color: #fff; padding: 13px 24px; border-radius: 30px; font-size: 15px;
  opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 댓글 ---------- */
.comments { padding: 36px 0 10px; border-bottom: 1px solid var(--line); }
.comments h3 { font-size: 18px; margin-bottom: 14px; }
.comments h3 b { color: var(--primary); }
.comment-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.comment-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.comment-meta span { color: #999; }
.comment-meta .link-btn { margin-left: auto; font-size: 13px; }
.comment-list p { margin-top: 6px; }
.comment-form { display: flex; gap: 10px; margin: 16px 0 26px; }
.comment-form textarea { min-height: 70px; resize: vertical; }
.comment-form .btn { flex: none; }
.comment-login { padding: 20px; margin: 16px 0 26px; background: var(--bg-soft); border-radius: 10px; text-align: center; color: var(--text-sub); }
.comment-login a { color: var(--primary); font-weight: 700; }

/* ---------- 교육·자격 신청, 장바구니 ---------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.program-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.program-card h3 { font-size: 20px; font-weight: 800; line-height: 1.4; }
.program-card dl { display: grid; grid-template-columns: 80px 1fr; gap: 4px 10px; font-size: 15px; }
.program-card dt { color: #999; }
.program-card .fee { font-weight: 700; color: var(--primary); }
.program-card .desc { font-size: 15px; color: #555; flex: 1; }
.program-card .btn { margin-top: auto; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--primary); background: #eaf2fe; padding: 3px 10px; border-radius: 12px; }
.cart-total { text-align: right; font-size: 18px; margin: 20px 0 50px; }
.cart-total b { color: var(--primary); font-size: 24px; margin-left: 8px; }

/* ---------- 마이페이지·신청 내역 ---------- */
.mypage-grid { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: start; }
.mypage-grid .form-card { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.my-apps h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.app-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; }
.app-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.app-card header small { color: #999; }
.app-card ul li { display: flex; gap: 8px; padding: 4px 0; font-size: 15px; }
.app-card ul li span { margin-left: auto; white-space: nowrap; }
.app-card ul li small { color: #999; }
.app-card footer { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.admin-memo, .memo { margin-top: 10px; font-size: 14px; background: var(--bg-soft); padding: 10px 12px; border-radius: 8px; }
.applicant { font-size: 15px; margin-bottom: 8px; }
.applicant a { color: var(--primary); }
.status { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.status-접수완료 { background: #fff4e0; color: #b86e00; }
.status-승인 { background: #e5f6ec; color: #1a7f43; }
.status-반려 { background: #fdeaea; color: #c62828; }
.status-취소 { background: #eef0f2; color: #777; }

/* ---------- 관리자 ---------- */
.admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.admin-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 20px; font: inherit; font-weight: 600; color: var(--text-sub); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.admin-tabs button.is-active { color: var(--primary); border-color: var(--primary); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chip.is-active { background: var(--text); color: #fff; border-color: var(--text); }
.admin-app-foot select { width: auto; padding: 7px 10px; }
.admin-app-foot input { flex: 1; min-width: 200px; padding: 7px 12px; }
#tab .board-table + .form-card { margin-top: 50px; }

/* ---------- 신청서 구분·탈퇴 ---------- */
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.choice legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.choice input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-sub { font-size: 16px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }
.guardian { display: grid; gap: 16px; }
.guardian[hidden] { display: none; }
.guardian-line { color: var(--primary); font-size: 14px; }
.btn-danger { background: #c62828; color: #fff; }
.btn-danger:hover { background: #a61f1f; }
.withdraw { border: 1px solid #f1c6c6; background: #fdf5f5; border-radius: 12px; padding: 18px; display: grid; gap: 12px; font-size: 14px; }
.withdraw h3 { font-size: 16px; color: #c62828; }
.withdraw ul { list-style: disc; padding-left: 18px; color: #555; display: grid; gap: 4px; }
.withdraw a { color: var(--primary); }

/* ---------- 개인정보처리방침 ---------- */
.policy { max-width: 860px; margin: 0 auto; font-size: 16px; color: #333; }
.policy-lead { font-size: 17px; line-height: 1.9; }
.policy-date { margin: 14px 0 30px; color: var(--text-sub); font-size: 15px; }
.policy-toc { background: var(--bg-soft); border-radius: 14px; padding: 24px 28px; margin-bottom: 50px; }
.policy-toc ol { list-style: decimal; padding-left: 22px; columns: 2; column-gap: 40px; font-size: 15px; }
.policy-toc li { break-inside: avoid; padding: 2px 0; }
.policy-toc a:hover { color: var(--primary); }
.policy h2 { font-size: 20px; font-weight: 800; margin: 50px 0 14px; padding-top: 10px; scroll-margin-top: calc(var(--header-h) + 16px); color: var(--navy); }
.policy p + p, .policy p + ol, .policy ol + p, .policy p + ul, .policy .table-wrap + p { margin-top: 12px; }
.policy ol, .policy ul { padding-left: 22px; display: grid; gap: 8px; }
.policy article ol, .policy > ol { list-style: decimal; }
.policy > ul { list-style: disc; }
.policy a { color: var(--primary); }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--text); }
.policy-table th, .policy-table td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.policy-table th { background: var(--bg-soft); font-weight: 600; white-space: nowrap; }
.policy-table td[rowspan] { border-left: 1px solid var(--line); }
.footer-links { margin-bottom: 6px; }
.footer-links a { color: #fff; }

/* ---------- 멤버십 ---------- */
:root { --tier-assoc: #6b7c90; --tier-general: #2b86c5; --tier-full: #1f3f8f; }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; }
.tier-card { --c: var(--tier-assoc); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: 12px; padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.tier-card.general { --c: var(--tier-general); }
.tier-card.full { --c: var(--tier-full); }
.tier-tag { font-size: 13px; font-weight: 700; color: var(--c); }
.tier-card h3 { font-size: 22px; font-weight: 800; }
.tier-fee { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tier-fee small { font-size: 14px; font-weight: 500; color: var(--text-sub); }
.tier-card ul { list-style: disc; padding-left: 18px; font-size: 15px; display: grid; gap: 2px; }
.tier-card p { font-size: 15px; color: #555; }
.tier-card a { color: var(--primary); }
.tier-note { font-size: 13px !important; color: var(--c) !important; font-weight: 600; }
.cta-status { margin-bottom: 12px; color: var(--text-sub); }
.section-gap { margin-top: 70px; }
.howto { list-style: none; counter-reset: h; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.howto li { counter-increment: h; background: var(--bg-soft); border-radius: 12px; padding: 20px; display: grid; gap: 4px; }
.howto li::before { content: counter(h); width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-bottom: 6px; }
.howto b { font-size: 16px; }
.howto span { font-size: 14px; color: var(--text-sub); }
.rule-list { list-style: disc; padding-left: 20px; display: grid; gap: 6px; color: #444; font-size: 15px; }
.rule-list a { color: var(--primary); }
.table-scroll { overflow-x: auto; }
.benefit-table { min-width: 640px; }
.benefit-table th[scope=row] { text-align: left; white-space: nowrap; background: none; font-weight: 600; }
.benefit-table td { text-align: left; color: var(--text); font-size: 15px; }
.benefit-table .is-mine { background: #eaf2fe; }
.muted { color: #aaa; }

.my-col { display: grid; gap: 40px; align-content: start; }
.ms-card { --c: var(--tier-general); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 14px; padding: 22px 24px; display: grid; gap: 10px; margin-bottom: 14px; }
.ms-card.tier-full { --c: var(--tier-full); }
.ms-card.empty { --c: var(--line); }
.ms-card header { display: flex; align-items: center; gap: 10px; }
.ms-tier { font-size: 20px; font-weight: 800; color: var(--c); }
.ms-info { display: grid; grid-template-columns: 70px 1fr; gap: 2px 10px; font-size: 15px; }
.ms-info dt { color: #999; }
.ms-info dd { font-variant-numeric: tabular-nums; }
.ms-remain { font-size: 14px; color: var(--text-sub); }
.ms-benefits { margin-bottom: 14px; }
.ms-benefits summary { cursor: pointer; color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.btn-row.left { justify-content: flex-start; }
.mstatus { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.mstatus-active, .mstatus-ok { background: #e5f6ec; color: #1a7f43; }
.mstatus-grace, .mstatus-wait { background: #fff4e0; color: #b86e00; }
.mstatus-expired, .mstatus-off, .mstatus-none { background: #eef0f2; color: #777; }
.mstatus-suspended, .mstatus-no { background: #fdeaea; color: #c62828; }
.pay-line { font-size: 15px; }
.pay-total { font-size: 18px; text-align: right; }
.pay-total b { color: var(--primary); font-size: 22px; margin-left: 6px; }
.cart-sub { text-align: right; font-size: 14px; color: var(--text-sub); margin: 20px 0 -12px; }
.cart-total + .cart-sub { margin: -40px 0 50px; }
.cart-sub a { color: var(--primary); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sub-chips { margin-bottom: 24px; }
.list-title { font-size: 17px; margin: 26px 0 10px; }
.mini-input { width: 130px; padding: 6px 10px; border: 1px solid #d5d9de; border-radius: 8px; font: inherit; font-size: 14px; margin-right: 6px; }

/* 회원증 */
.member-card { --c: var(--tier-general); max-width: 440px; aspect-ratio: 1.586; margin: 0 auto 30px; border-radius: 18px; padding: 26px 28px; color: #fff;
  background: linear-gradient(135deg, var(--c), #0d2a4a); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 16px 40px rgba(13,42,74,.25);
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.member-card.tier-full { --c: var(--tier-full); }
.mc-head { display: flex; justify-content: space-between; align-items: center; }
.mc-head img { height: 30px; width: auto; }
.mc-tier { font-weight: 800; font-size: 15px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; padding: 2px 12px; }
.mc-label { font-size: 11px; letter-spacing: .2em; opacity: .7; margin-top: auto; }
.mc-name { font-size: 24px; font-weight: 800; }
.member-card dl { display: grid; grid-template-columns: 64px 1fr; gap: 0 10px; font-size: 13px; }
.member-card dt { opacity: .7; }
.member-card dd { font-variant-numeric: tabular-nums; }
.mc-warn { font-size: 13px; font-weight: 700; color: #ffd27a; }
.mc-foot { font-size: 11px; opacity: .6; }

@media print {
  .site-header, .site-footer, .sub-banner, .sub-tabs, .mobile-nav, .toast, .no-print { display: none !important; }
  .page { padding: 0 !important; }
  body { background: #fff; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: #1b1f24; color: #a4abb3; padding: 60px 0 50px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #333a42; }
.footer-logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-sitemap { display: flex; gap: 44px; }
.footer-sitemap .fs-title { display: block; color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.footer-sitemap ul li { margin-bottom: 4px; }
.footer-sitemap a:hover { color: #fff; }
.footer-info { padding-top: 30px; line-height: 2; }
.footer-info i { color: #555; }
.footer-info a:hover { color: #fff; }
.copyright { margin-top: 10px; color: #6c747d; }

/* ---------- 반응형 ---------- */
@media (max-width: 1320px) {
  .header-inner { padding: 0 20px; }
  .gnb-item > a { padding: 0 13px; font-size: 16px; }
  .util { gap: 10px; }
}
@media (max-width: 1100px) {
  .gnb, .util { display: none; }
  .menu-toggle { display: block; }
  .footer-top { flex-direction: column; }
  .footer-sitemap { flex-wrap: wrap; gap: 24px 36px; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .header-inner { padding: 0 16px; }
  .logo img { height: 36px; }
  .section { padding: 80px 0; }
  .activity-grid, .card-grid, .latest-grid, .vision-grid { grid-template-columns: 1fr; }
  .about-intro, .certify { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .about-intro img, .certify img { margin: 0 auto; max-width: 260px; }
  .partner-grid .row { grid-template-columns: 1fr; }
  .form-row, .mypage-grid { grid-template-columns: 1fr; }
  .policy-toc ol { columns: 1; }
  .tier-grid, .howto { grid-template-columns: 1fr; }
  .member-card { padding: 20px; }
  .comment-form { flex-direction: column; }
  .cart-table th:nth-child(1), .cart-table td:nth-child(1) { display: none; }
  .mission { background-attachment: scroll; padding: 100px 0; }
  .hero-eyebrow { font-size: 17px; }
  .hero p.hero-desc, .mission p { font-size: 15px; }
  .hero p.hero-desc br, .mission p br, .page-lead br { display: none; }
  .sub-tabs ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 0; }
  .sub-tabs a { padding: 16px 18px; font-size: 15px; white-space: nowrap; }
  .page { padding: 60px 0 90px; }
  .col-no, .col-author { display: none; }
  .col-date { width: 100px; font-size: 14px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .map-links { gap: 24px; }
  .map-links img { width: 110px; }
  .footer-sitemap { display: none; }
}
