/* PET CAREER — 로고 색 기반 스타일 */
:root {
  --navy: #083F72;
  --navy-dark: #052C52;
  --teal: #02A6A8;          /* 로고·아이콘·큰 요소 전용 (흰 배경 글자로는 명암 부족) */
  --teal-text: #007A7C;     /* 링크·작은 글자용 청록 (명암비 5.15:1) */
  --teal-tint: #E6F6F6;
  --paper: #F5F8FA;
  --white: #FFFFFF;
  --ink: #15222E;
  --ink-2: #4A5A69;
  --ink-3: #6B7A88;
  --line: #D9E2E9;
  --line-2: #E9EEF2;
  --warn-bg: #FFF4DB;
  --warn-ink: #8A4B00;
  --ok-bg: #E3F4EA;
  --ok-ink: #1B6B3A;
  --bad-bg: #FDECEC;
  --bad-ink: #9B1C1C;
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;
  --wrap: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  word-break: keep-all; overflow-wrap: anywhere;
  padding-bottom: 72px; /* 모바일 하단 메뉴 */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 800; }
h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- 헤더 ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; display: block; }
.gnb { display: none; gap: 0; flex: 1; min-width: 0; }
.gnb a { color: var(--navy); text-decoration: none; font-weight: 650; font-size: 15px; padding: 8px 10px; border-radius: var(--radius-s); white-space: nowrap; flex-shrink: 0; }
.header-actions .btn { white-space: nowrap; }
@media (max-width: 1180px) { .gnb a { font-size: 14px; padding: 8px 7px; } .site-header .wrap { gap: 12px; } }
.gnb a:hover, .gnb a[aria-current="page"] { background: var(--teal-tint); color: var(--navy-dark); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions form { margin: 0; }
@media (min-width: 900px) { .gnb { display: flex; } .brand img { height: 40px; } }

/* 모바일 하단 메뉴 */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: 12px; color: var(--ink-2); text-decoration: none; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--navy); font-weight: 700; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- 버튼·폼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 16px;
  border-radius: var(--radius-s); border: 1px solid var(--navy); background: var(--navy); color: #fff; font: inherit; font-weight: 650; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--navy-dark); color: #fff; }
.btn-line { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-line:hover { background: var(--teal-tint); color: var(--navy); border-color: var(--teal); }
.btn-teal { background: var(--teal-text); border-color: var(--teal-text); }
.btn-teal:hover { background: #00676A; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--teal-tint); color: var(--navy); }
.btn-s { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[aria-pressed="true"] { background: var(--teal-tint); color: var(--teal-text); border-color: var(--teal); }

label { display: block; font-weight: 650; font-size: 14px; margin: 0 0 6px; color: var(--ink); }
.field { margin-bottom: 16px; }
.field .hint { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=url], input[type=tel], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #C3CFD9; border-radius: var(--radius-s); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 2px solid var(--teal-tint); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.check input { margin-top: 5px; accent-color: var(--navy); }
.grid-2 { display: grid; gap: 0 16px; } .grid-3 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 4px; margin: 0 0 20px; background: var(--white); }
legend { font-weight: 750; color: var(--navy); padding: 0 6px; }
.req { color: var(--bad-ink); }

/* ---------- 상태 표시 (정보 출처) ---------- */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; vertical-align: middle; }
.badge-ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge-info { background: var(--teal-tint); color: #0B5557; }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); }
.badge-bad { background: var(--bad-bg); color: var(--bad-ink); }
.badge-navy { background: var(--navy); color: #fff; }
.badge-ad { background: #EEF0F3; color: #4A5A69; border: 1px solid #D5DBE1; }

/* ---------- 알림 ---------- */
.flash { padding: 12px 14px; border-radius: var(--radius-s); margin: 16px 0 0; font-size: 15px; }
.flash-success { background: var(--ok-bg); color: var(--ok-ink); }
.flash-error { background: var(--bad-bg); color: var(--bad-ink); }
.flash-info { background: var(--teal-tint); color: #0B4F51; }

/* ---------- 공통 구획 ---------- */
main { min-height: 60vh; }
.page-head { padding: 32px 0 8px; }
.page-head p { color: var(--ink-2); max-width: 60ch; }
.section { padding: 28px 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.crumbs { font-size: 14px; color: var(--ink-3); padding-top: 20px; }
.crumbs a { color: var(--ink-3); }
.layout-side { display: grid; gap: 24px; }
@media (min-width: 900px) { .layout-side { grid-template-columns: 260px 1fr; align-items: start; } .layout-main-aside { grid-template-columns: 1fr 320px; } }
.stack > * + * { margin-top: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.between { justify-content: space-between; }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-2); background: var(--white); border: 1px dashed #C3CFD9; border-radius: var(--radius); }
.empty p { margin-bottom: 12px; }

/* ---------- 홈: 질문 타일 ---------- */

/* ---------- 직무 카드 ---------- */
.job-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .job-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .job-grid { grid-template-columns: repeat(3, 1fr); } }
.job-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--ink); text-decoration: none; }
.job-card:hover { border-color: var(--teal); color: var(--ink); }
.job-card h3 { margin-bottom: 6px; }
.job-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.fact { font-size: 12.5px; padding: 3px 8px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink-2); }

/* 직무 상세 */
.job-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 24px 0 28px; }
.job-hero .summary { font-size: 18px; color: var(--ink-2); max-width: 50ch; }
.toc { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; position: sticky; top: 64px; background: var(--paper); z-index: 5; scrollbar-width: none; }
.toc a { flex-shrink: 0; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); text-decoration: none; }
.job-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; scroll-margin-top: 120px; }
.job-section h2 { font-size: 20px; }
.job-section ul { margin: 0; padding-left: 20px; } .job-section li { margin-bottom: 6px; }
ol.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
ol.flow li { counter-increment: flow; position: relative; padding: 0 0 14px 40px; }
ol.flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-tint); color: var(--navy); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
ol.flow li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }

/* ---------- 목록 필터 ---------- */
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters h3 { font-size: 15px; margin: 16px 0 8px; } .filters h3:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid #C3CFD9; background: var(--white); font-size: 14px; cursor: pointer; font-weight: 500; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.result-head .count { font-weight: 700; color: var(--navy); }

/* ---------- 채용 카드 (조건표 형식) ---------- */

 

.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin: 14px 0 10px; font-size: 14px; }
@media (min-width: 720px) { .terms { grid-template-columns: repeat(4, 1fr); } }
.terms dt { color: var(--ink-3); font-size: 12.5px; }
.terms dd { margin: 0; font-weight: 600; color: var(--ink); }

.dday { font-weight: 800; color: var(--navy); font-size: 14px; }

/* 조건표 (상세) */
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
table.spec th { text-align: left; width: 32%; padding: 11px 12px; color: var(--ink-2); font-weight: 600; background: var(--paper); border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }

/* 충족 체크 */

/* ---------- 교육 비교 ---------- */
.course { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.course + .course { margin-top: 10px; }
.course h3 { font-size: 17px; margin: 0 0 2px; } .course h3 a { color: var(--navy); text-decoration: none; }
.cost-line { font-weight: 700; color: var(--navy); }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 55; background: var(--navy); color: #fff; padding: 10px 0; display: none; }
.compare-bar.on { display: block; }
.compare-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@media (min-width: 900px) { .compare-bar { bottom: 0; } }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.compare-table thead th { background: var(--navy); color: #fff; font-size: 15px; }
.compare-table thead th a { color: #fff; }
.compare-table tbody th { width: 150px; background: var(--paper); color: var(--ink-2); font-weight: 600; }
.compare-scroll { overflow-x: auto; }
.compare-scroll table { min-width: 640px; }

/* ---------- 기관 ---------- */
.inst-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 24px 0; }
.inst-type { font-size: 14px; color: var(--teal-text); font-weight: 700; }
.inst-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); text-decoration: none; }
.inst-card:hover { border-color: var(--teal); color: var(--ink); }
.inst-card + .inst-card { margin-top: 8px; }
.inst-card strong { color: var(--navy); }
#map { width: 100%; height: 360px; border-radius: var(--radius); border: 1px solid var(--line); background: #E9EEF2; }

/* ---------- 자격 ---------- */
.relation { display: grid; gap: 10px; }
@media (min-width: 760px) { .relation { grid-template-columns: repeat(5, 1fr); } }
.relation div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px; font-size: 13.5px; color: var(--ink-2); }
.relation b { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 2px; }

/* ---------- 캘린더 ---------- */
.event { display: grid; grid-template-columns: 64px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.event + .event { margin-top: 8px; }
.event .date { text-align: center; border-right: 1px solid var(--line); padding-right: 12px; }
.event .date b { display: block; font-size: 24px; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.event .date span { font-size: 12px; color: var(--ink-3); }

/* ---------- 내 준비 ---------- */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 10px 14px; font-weight: 650; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; flex-shrink: 0; }
.tabs a[aria-current="page"] { color: var(--navy); border-color: var(--teal); }

/* ---------- 관리자·표 ---------- */
table.list { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
table.list th, table.list td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.list th { background: var(--paper); color: var(--ink-2); font-weight: 650; white-space: nowrap; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.admin-nav a { padding: 7px 12px; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.admin-nav a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.stat-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat b { display: block; font-size: 26px; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--ink-2); }
pre.raw { background: #0F2133; color: #D7E6F3; padding: 14px; border-radius: var(--radius-s); overflow: auto; font-size: 12.5px; max-height: 420px; }

/* ---------- 푸터 ---------- */
.site-footer { margin-top: 48px; background: var(--white); border-top: 1px solid var(--line); padding: 28px 0; font-size: 13.5px; color: var(--ink-2); }
.site-footer img { height: 30px; width: auto; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0; }
.site-footer nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-footer address { font-style: normal; line-height: 1.8; }

.pager { display: flex; justify-content: center; gap: 4px; margin: 24px 0; }
.pager a { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 8px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--navy); }
.pager a.current { background: var(--navy); color: #fff; border-color: var(--navy); }

.notice { background: var(--white); border-left: 4px solid var(--teal); padding: 12px 14px; border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink-2); font-size: 14.5px; }
details.report { margin-top: 16px; font-size: 14px; }
details.report summary { cursor: pointer; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .tabbar, .site-footer, .compare-bar { display: none; } body { background: #fff; } }

/* 모바일에서 필터 접기 */
.filter-box > summary { list-style: none; margin-bottom: 10px; }
.filter-box > summary::-webkit-details-marker { display: none; }
@media (min-width: 900px) { .filter-box > summary { display: none; } }

/* 격자 안 패널은 위 여백 없이 정렬 */
.grid-2 > .panel + .panel, .grid-3 > .panel + .panel { margin-top: 0; }

/* =========================================================
   2026 리뉴얼 — 포털형 홈·타일 카드 (잡플래닛형 레이아웃 참고)
   ========================================================= */
:root { --shadow-1: 0 1px 2px rgba(8,63,114,.06), 0 1px 1px rgba(8,63,114,.04); --shadow-2: 0 10px 28px rgba(8,63,114,.10), 0 2px 6px rgba(8,63,114,.06); --radius-xl: 18px; }
body { background: var(--white); }

/* 헤더 검색 */
.head-search { display: none; position: relative; width: 220px; flex-shrink: 1; min-width: 140px; }
.head-search input { height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 38px 0 16px; font-size: 14px; }
.head-search button { position: absolute; right: 6px; top: 5px; width: 28px; height: 28px; border: 0; background: none; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; }
.head-search svg, .hero-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (min-width: 1400px) { .head-search { display: block; } }

/* 히어로 */
.hero { background: linear-gradient(180deg, #EAF7F6 0%, #F7FBFB 62%, var(--white) 100%); padding-block: 56px 40px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 26px; text-wrap: balance; }
.hero-search { position: relative; display: flex; align-items: center; width: 100%; max-width: 680px; height: 60px; border-radius: 999px; background: var(--white);
  border: 2px solid transparent; background-image: linear-gradient(var(--white), var(--white)), linear-gradient(90deg, var(--teal), var(--navy)); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: var(--shadow-2); }
.hero-scope { width: auto !important; border: 0 !important; background: transparent !important; font-weight: 700; color: var(--navy) !important; padding: 0 8px 0 22px !important; height: 100%; outline: none !important; }
.hero-search input { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: none !important; background: transparent !important; font-size: 16px; padding: 0 12px !important; border-left: 1px solid var(--line) !important; border-radius: 0 !important; }
.hero-search button { flex-shrink: 0; width: 48px; height: 48px; margin-right: 5px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero-search button:hover { background: var(--navy-dark); }
.hero-popular { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; align-items: center; }
.hero-popular a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hero-popular a:hover { color: var(--teal-text); }

/* 섹션 */
.band { padding-block: 40px; }
.band-tint { background: var(--paper); }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: clamp(20px, 2.4vw, 24px); }

.more { color: var(--ink-3); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }
.more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; }
.more:hover { color: var(--navy); }

/* 타일 카드 */
.tile-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 18px 20px; box-shadow: var(--shadow-1); transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.tile:hover { border-color: #C7D6E1; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.tile-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.logo-mark { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #EEF3F8; color: var(--navy); font-weight: 800; font-size: 14px; border: 1px solid var(--line-2); }
.logo-mark-edu { background: var(--teal-tint); color: #0B5557; }
.tile-company { font-size: 14px; color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.tile-title { margin: 12px 0 6px; font-size: 16.5px; line-height: 1.45; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.tile-title a { color: var(--ink); text-decoration: none; }
.tile-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile-title a:hover { color: var(--navy); }
.tile-meta { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0 4px; }
.tile-meta .urgent { color: #D9480F; font-weight: 700; }
.tile-meta .dot { color: #B9C4CE; }
.tile-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.score { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.score-full { background: var(--ok-bg); color: var(--ok-ink); }
.score-mid { background: var(--warn-bg); color: var(--warn-ink); }

/* 캐러셀 */

 

/* 키워드 탭 */

.panel-more { text-align: right; margin: 12px 0 0; font-size: 14px; }

/* 테마 카드 */

/* 현장 이야기 */

.event-row { display: grid; gap: 10px; }
@media (min-width: 960px) { .event-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .event-row .event + .event { margin-top: 0; } }

/* 기존 카드도 같은 결로 */
.course, .panel, .job-card, .inst-card, .event, .filters, .spec-wrap, .job-section { border-radius: 14px; }
.course, .job-card, .inst-card { box-shadow: var(--shadow-1); transition: box-shadow .18s, border-color .18s; }
.course:hover, .job-card:hover, .inst-card:hover { box-shadow: var(--shadow-2); }
main > .wrap > .page-head, .page-head { padding-top: 36px; }
.site-header { box-shadow: 0 1px 0 var(--line); border-bottom: 0; }

/* ===== 공통 보강 ===== */
.h3 { font-size: 17px; }
.req { color: #C4302B; margin-left: 2px; }
.field-err { color: var(--bad-ink); font-size: 13px; font-weight: 600; margin: 8px 0 0; }
[aria-invalid="true"] { border-color: #C4302B !important; }
dl.kv { display: grid; grid-template-columns: 84px 1fr; gap: 6px 12px; margin: 0 0 14px; font-size: 15px; }
dl.kv dt { color: var(--ink-3); } dl.kv dd { margin: 0; min-width: 0; }
.quote { background: var(--paper); border-radius: var(--radius); padding: 14px 16px; }
.quote p:last-child { margin: 0; }
.reply-log { border-top: 1px solid var(--line-2); padding: 10px 0; }
tr.is-new td { background: #FFFBF0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== 광고·제휴 문의 (설문지형 카드) ===== */
.gform-bg { background: linear-gradient(180deg, #E8F3F7 0, var(--paper) 320px); padding: 28px 0 56px; }
.gform { max-width: 720px; display: grid; gap: 12px; }
.gform form { display: grid; gap: 12px; }
.gcard { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin: 0; min-width: 0; }
.gcard.is-err { border-color: #E3A3A0; box-shadow: inset 4px 0 0 #C4302B; }
fieldset.gcard { padding-top: 22px; }
.gcard-head { border-top: 8px solid var(--navy); }
.gcard-head h1 { font-size: clamp(22px, 3.4vw, 28px); margin: 14px 0 10px; }
.gcard-head p { color: var(--ink-2); }
.gform-facts { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.gform-facts b { color: var(--navy); margin-right: 4px; }
.gq { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.ghint { font-size: 13px; color: var(--ink-3); margin: -2px 0 10px; }
.gcard input:not([type=radio]):not([type=checkbox]):not([type=file]), .gcard textarea { border-width: 0 0 1px; border-radius: 0; padding-left: 0; padding-right: 0; background: transparent; }
.gcard input:not([type=radio]):not([type=checkbox]):not([type=file]):focus, .gcard textarea:focus { border-bottom: 2px solid var(--navy); outline: none; }
.gcard textarea { border: 1px solid var(--line) !important; border-radius: 8px !important; padding: 10px 12px !important; }
.gtypes { display: grid; gap: 8px; }
@media (min-width: 640px) { .gtypes { grid-template-columns: 1fr 1fr; } }
.gtype { position: relative; display: block; margin: 0; cursor: pointer; }
.gtype input { position: absolute; top: 16px; left: 14px; accent-color: var(--navy); width: 18px; height: 18px; }
.gtype span { display: block; padding: 12px 14px 12px 42px; border: 1px solid var(--line); border-radius: 10px; height: 100%; transition: border-color .15s, background .15s; }
.gtype b { display: block; font-size: 15px; color: var(--ink); }
.gtype small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }
.gtype:hover span { border-color: #9DB4C7; }
.gtype input:checked + span { border-color: var(--navy); background: #F0F5FA; box-shadow: 0 0 0 1px var(--navy); }
.gfile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; font-weight: 500; }
.gfile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gfile-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-weight: 650; cursor: pointer; background: var(--white); }
.gfile-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.gfile:hover .gfile-btn { background: var(--teal-tint); border-color: var(--teal); }
.gfile input:focus-visible + .gfile-btn { outline: 3px solid var(--teal); outline-offset: 2px; }
.gfile-name { font-size: 14px; color: var(--ink-2); min-width: 0; }
dl.consent { display: grid; grid-template-columns: 80px 1fr; gap: 8px 12px; margin: 0 0 12px; padding: 14px 16px; background: var(--paper); border-radius: 10px; font-size: 14px; }
dl.consent dt { color: var(--ink-3); font-weight: 600; } dl.consent dd { margin: 0; }
.gactions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gactions .btn-teal { min-width: 140px; }
.gform-foot { margin: 0; }
.done-card { text-align: center; }
.done-card dl.consent { text-align: left; max-width: 380px; margin: 16px auto; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); display: grid; place-items: center; margin: 4px auto 0; }
.done-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--ok-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ===== 헤더: 알림 종·사용자 메뉴 ===== */
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }

/* 모바일: 주 메뉴를 헤더 아래 가로 스크롤 줄로 */
@media (max-width: 899px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 0; }
  .site-header .gnb { display: flex; order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 0; padding: 0 10px; }
  .site-header .gnb::-webkit-scrollbar { display: none; }
  .site-header .gnb a { font-size: 15px; padding: 10px 8px 12px; border-radius: 0; border-bottom: 2px solid transparent; }
  .site-header .gnb a[aria-current="page"] { border-color: var(--teal); }
}

/* 알림함 */
.narrow { max-width: 760px; }

.nav-n { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #E5484D; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 800; margin-left: 2px; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 16px; }
.todo { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.todo b { font-size: 22px; color: var(--ink-3); }
.todo.has { border-color: #F2C27B; background: #FFFAF0; color: var(--ink); }
.todo.has b { color: #C2410C; }

/* ===== 공통 소품 ===== */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--teal-text); margin: 0 0 8px; }
.lead { font-size: clamp(15px, 2vw, 17px); color: var(--ink-2); max-width: 46ch; }

:root { --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 80px 15px no-repeat; }

.simple-list { list-style: none; padding: 0; margin: 0; }
.simple-list li { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.prose h2 { margin-top: 1.4em; } .prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: 6px; }
.inst-hits { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.inst-hits a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.inst-hits a:hover { border-color: var(--teal); }
.inst-hits b { display: block; } .inst-hits small { color: var(--ink-3); font-size: 13px; }

/* ===== 현장 리뷰 ===== */

 

 

  

.inst-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 0 12px; }

 

fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
fieldset.field legend { font-weight: 650; font-size: 14px; margin-bottom: 8px; padding: 0; }

/* 급여 */

 

/* ===== 멤버십 ===== */

 

  

 

   

 
 

  

/* ===== 커뮤니티 ===== */
 

.hero-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
 

 

 

/* ===== 로그인·회원가입 ===== */
.auth-bg { min-height: calc(100vh - 64px); background: #F6F7F9; display: flex; justify-content: center; align-items: flex-start; padding: 48px 16px 64px; }
.auth-card { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--line-2); border-radius: 20px; padding: 36px 32px 28px; box-shadow: 0 10px 40px rgba(8, 63, 114, .06); }

@media (max-width: 480px) { .auth-card { padding: 28px 20px; border-radius: 16px; } .auth-bg { padding-top: 20px; } }
.auth-logo { display: flex; justify-content: center; } .auth-logo img { height: 44px; width: auto; }
.auth-sub { text-align: center; font-weight: 700; color: var(--navy); margin: 10px 0 4px; }
.auth-privacy { text-align: center; font-size: 13px; color: var(--ink-3); margin: 6px 0 22px; }

 

.auth-form { display: grid; gap: 10px; }
.auth-form > input, .auth-form .pw-wrap input { height: 52px; border-radius: 10px; font-size: 16px; }
.auth-form .field { margin-bottom: 6px; }
.auth-form .label { display: block; font-weight: 650; font-size: 14px; }
.auth-submit { height: 52px; font-size: 16px; border-radius: 10px; margin-top: 4px; }

.auth-foot { text-align: center; margin: 22px 0 0; font-size: 15px; color: var(--ink-2); }
.auth-foot a { font-weight: 700; color: var(--teal-text); }
.auth-foot.small { margin-top: 8px; font-size: 14px; } .auth-foot.small a { font-weight: 600; color: var(--ink-2); }
.pw-wrap { position: relative; } .pw-wrap input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; }
.pw-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ===== 이벤트 ===== */

 

 
 

 

 
 
 

.saved-n { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--teal-text); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 800; }
.inst-actions { margin-top: 10px; }

/* ===== 홈 (교육·진로 정보) ===== */
.hero-home { padding-block: 64px 48px; }
.hero-home .eyebrow { text-align: center; }
.hero-home .hero-title { line-height: 1.25; margin-bottom: 14px; }
.hero-lead { text-align: center; margin: 0 auto 26px; }
.menu-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; gap: 4px 14px; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.menu-card:hover { border-color: var(--teal); box-shadow: 0 10px 24px rgba(8, 63, 114, .08); transform: translateY(-2px); color: var(--ink); }
.menu-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-tint); display: grid; place-items: center; }
.menu-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-txt { display: grid; gap: 2px; min-width: 0; }
.menu-txt b { font-size: 17px; }
.menu-txt span { font-size: 14px; color: var(--ink-2); }
.menu-n { grid-column: 2; font-size: 13px; font-weight: 700; color: var(--teal-text); }
.sido-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sido-chips a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.sido-chips a span { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.sido-chips a:hover { border-color: var(--teal); }
.home-two { display: grid; gap: 28px; }
@media (min-width: 960px) { .home-two { grid-template-columns: 1fr 1fr; } }
.cert-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cert-mini a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cert-mini a .badge { grid-row: span 2; }
.cert-mini a:hover { border-color: var(--teal); }
.band-trust { background: linear-gradient(135deg, #083F72, #0A6E8C); color: #fff; }
.band-trust h2 { color: #fff; }
.trust { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust li { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; gap: 4px; }
.trust b { font-size: 16px; } .trust span { font-size: 14.5px; opacity: .9; }
.band-trust .btn-teal { background: #fff; color: var(--navy); border-color: #fff; }
.band-trust .btn-teal:hover { background: var(--teal-tint); color: var(--navy); }

/* ===== 수강생 모집·입시·트렌드 ===== */
.rec-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.rec-filter select { width: auto; min-width: 140px; }
.rec-list { display: grid; gap: 8px; }
.rec-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.rec-row:hover { border-color: var(--teal); color: var(--ink); }
.rec-d { display: grid; place-items: center; text-align: center; padding: 8px 4px; border-radius: 10px; background: var(--teal-tint); color: var(--teal-text); line-height: 1.2; }
.rec-d b { font-size: 17px; } .rec-d small { font-size: 11px; }
.rec-main { display: grid; gap: 2px; min-width: 0; }
.rec-main b { font-size: 16px; }
.rec-cost .missing { color: var(--warn-ink); }
.rec-go { font-size: 24px; color: var(--ink-3); }
.event.is-open { border-color: #9AD9BC; background: #F4FCF8; }
.event-title { display: block; color: var(--navy); margin-top: 4px; }
.side-link { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.side-link:last-child { border-bottom: 0; }
.side-link:hover b { color: var(--teal-text); }
.trend-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.trend-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.trend-card:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.trend-cat { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-text); }
.trend-cert .trend-cat { background: #E7F1FF; color: #1D5DB8; }
.trend-admission .trend-cat { background: #FFF1DE; color: #8A4B00; }
.trend-industry .trend-cat { background: #EEF0FF; color: #3E47A8; }
.trend-card b { font-size: 17px; line-height: 1.45; text-wrap: balance; }
.trend-sum { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.trend-date { margin-top: auto; font-size: 12.5px; color: var(--ink-3); }
.article { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 40px); margin-top: 24px; }
.article h1 { color: var(--ink); font-size: clamp(24px, 3.6vw, 32px); text-wrap: balance; }
.article-sum { font-size: 17px; color: var(--ink-2); }
.article-body { font-size: 16.5px; line-height: 1.85; max-width: 68ch; }
.article-body h2 { font-size: 20px; color: var(--navy); margin: 1.6em 0 .5em; }
.article-body ul { padding-left: 1.2em; } .article-body li { margin-bottom: 4px; }
.article-src { margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--paper); }
.article-src ul { padding-left: 1.2em; margin: 0 0 10px; font-size: 14.5px; }
@media (max-width: 560px) { .rec-row { grid-template-columns: 64px 1fr; } .rec-go { display: none; } }
.warn-text { color: var(--warn-ink); font-weight: 700; }
@media (max-width: 1100px) { .head-req { display: none; } }
.event-list .event + .event { margin-top: 8px; }
.prose h2 { font-size: 19px; margin: 1.6em 0 .5em; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: 6px; }
.prose table { font-size: 14px; }
.saved-n[hidden] { display: none; }

/* ===== 고민(페인포인트)·시작점 ===== */
.persona { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.persona span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.persona a { padding: 8px 16px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.persona a:hover { background: var(--teal-text); color: #fff; }
.band-pain { background: var(--white); }
.pain-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pain { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: #FBF7F1; border: 1px solid #EFE3D2; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.pain:hover { transform: translateY(-2px); border-color: #D9B98C; color: var(--ink); }
.pain-q { font-size: 17px; font-weight: 800; line-height: 1.45; text-wrap: balance; }
.pain-n { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 12px; vertical-align: 2px; }
.pain-a { font-size: 14.5px; color: var(--ink-2); }
.pain-cta { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--teal-text); }
.start-hero { padding-block: 40px 32px; background: linear-gradient(160deg, #EAF6FB 0, #F6FBF8 100%); }
.start-adult { background: linear-gradient(160deg, #FFF6EA 0, #F7FBF8 100%); }
.start-jobseeker { background: linear-gradient(160deg, #EEF0FF 0, #F6FAFD 100%); }
.start-hero h1 { color: var(--ink); font-size: clamp(26px, 4.4vw, 38px); text-wrap: balance; max-width: 22em; }
.start-switch { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.start-switch a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 700; }
.start-switch a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (min-width: 900px) { .pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .start-hero ~ .wrap .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
