/* ==========================================================================
   입시코리아 디자인 시스템 v2 (공통 서비스 템플릿 + ipsikorea 오버레이)
   단일 CSS · 모바일 퍼스트 · 시스템 폰트(웹폰트 없음) · 외부 요청 0
   아이콘은 인라인 SVG 스프라이트(#i-*) 사용, 이모지 금지.
   ========================================================================== */

/* ---------- 1. 디자인 토큰 ---------- */
:root {
  /* 기본 중립 */
  --bg-page: #FAFAF9;
  --bg-card: #FFFFFF;
  --bg-sub:  #F3F2EF;      /* 표 헤더·푸터 등 살짝 진한 면 */
  --border:  #E7E5E0;
  --text-1:  #1A1A18;
  --text-2:  #5F5E5A;
  --text-3:  #888780;

  --radius-card: 12px;
  --radius-chip: 9px;
  --radius-pill: 999px;

  /* 브랜드 3색 (ipsikorea) */
  --c1: #185FA5; --c1-bg: #E6F1FB; --c1-deep: #0C447C;  /* 학교 기본정보 */
  --c2: #1D9E75; --c2-bg: #E1F5EE; --c2-deep: #0F6E56;  /* 급식·학사일정 */
  --c3: #7F77DD; --c3-bg: #EEEDFE; --c3-deep: #3C3489;  /* 입시 캘린더 */
  --c1-soft: color-mix(in srgb, var(--c1) 9%, var(--bg-card));
  --c2-soft: color-mix(in srgb, var(--c2) 9%, var(--bg-card));

  /* 상태색 */
  --warn-bg:   #FAEEDA; --warn-text:   #854F0B;
  --ok-bg:     #E1F5EE; --ok-text:     #0F6E56;
  --danger-bg: #FCEBEB; --danger-text: #A32D2D;

  /* 타이포 — 시스템 폰트 스택(LCP 예산: 웹폰트 금지) */
  --font-sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Pretendard Variable", Pretendard, "Malgun Gothic", "맑은 고딕",
    "Segoe UI", Roboto, "Noto Sans KR", sans-serif;

  --maxw: 1080px;
  --tap: 44px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 24, .05);
  --shadow-card: 0 1px 2px rgba(26, 26, 24, .04), 0 6px 18px rgba(26, 26, 24, .04);

  /* 하위호환 별칭(구 변수명 → 신 토큰). 기존 규칙·인라인 스타일 보호용. */
  --c-primary: var(--c1);
  --c-primary-hover: var(--c1-deep);
  --c-primary-soft: var(--c1-bg);
  --c-accent: var(--c2);
  --c-bg: var(--bg-page);
  --c-surface: var(--bg-card);
  --c-text: var(--text-1);
  --c-muted: var(--text-2);
  --c-border: var(--border);
  --c-danger: var(--danger-text);
  --c-ok: var(--ok-text);
  --radius: var(--radius-card);
  --radius-sm: var(--radius-chip);
  --shadow: var(--shadow-card);
}

/* ---------- 2. 리셋/베이스 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-1);
  background: var(--bg-page);
  word-break: keep-all;      /* 한국어 줄바꿈 */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--c1-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.32; margin: 0 0 .5em; font-weight: 500; }
h1 { font-size: 1.375rem; letter-spacing: -.01em; }   /* 22px */
h2 { font-size: 1.125rem; }                            /* 18px */
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }
strong, b { font-weight: 500; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

.answer-card {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--c1) 24%, var(--border));
  border-left: 4px solid var(--c1);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--c1-soft), var(--bg-card) 72%);
  box-shadow: var(--shadow-sm);
}
.answer-card--academy {
  border-color: color-mix(in srgb, var(--c3) 24%, var(--border));
  border-left-color: var(--c3);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c3) 9%, var(--bg-card)), var(--bg-card) 72%);
}
.answer-card__label { margin: 0 0 6px; color: var(--c1-deep); font-size: 13px; font-weight: 700; }
.answer-card__lead { margin: 0; font-size: 16px; line-height: 1.75; }
.answer-card__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.answer-card__facts div { padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.82); }
.answer-card__facts dt { color: var(--text-2); font-size: 13px; }
.answer-card__facts dd { margin: 2px 0 0; font-weight: 700; }
.source-note a { text-decoration: underline; text-underline-offset: 2px; }

.trust-grid { display: grid; gap: 12px; }
.trust-card { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px; color: var(--text-1); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.trust-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c1) 34%, var(--border)); box-shadow: var(--shadow-card); text-decoration: none; }
.trust-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; color: var(--c1-deep); background: var(--c1-soft); border-radius: 10px; }
.trust-card__icon .icon { width: 23px; height: 23px; }
.trust-card strong, .trust-card small { display: block; }
.trust-card small { margin-top: 2px; color: var(--text-2); font-size: 13px; }

.reveal-ready { transform: translateY(2px); transition: transform 180ms ease, box-shadow 180ms ease; }
.reveal-ready.is-in { transform: translateY(0); }

.breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); padding-inline: 4px; }
.mfoot__more, .mfoot__disc, .acafee__legend { font-size: 13px !important; }
.badge { font-size: 13px; }

@media (min-width: 720px) {
  .answer-card { padding: 22px 24px; }
  .answer-card__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready, .reveal-ready.is-in, .trust-card { transform: none; transition: none; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c1); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius-chip) 0;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

/* ---------- 3. 인라인 SVG 아이콘 ---------- */
.icon {
  width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -.16em;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; flex: none;
}

/* ---------- 4. 헤더 ----------
   개편 v3에서 파일 하단 'v3' 레이어가 헤더/브랜드/내비를 전부 대체한다.
   구 규칙(.site-nav.is-open, .brand-mark, .nav-badge 등)은 마크업이 사라져 제거했다. */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap);
  background: none; border: 0; cursor: pointer; color: var(--text-1);
}
.nav-toggle svg { width: 26px; height: 26px; }
.site-nav { display: none; }

/* ---------- 5. 히어로 + 검색 도구 ---------- */
.hero {
  background: linear-gradient(180deg, var(--c1-bg) 0%, var(--bg-page) 100%);
  padding: 34px 0 30px;
}
.hero .container { text-align: center; }
.home .hero .container { text-align: left; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--c1-deep); font-size: .8rem; font-weight: 500;
  padding: 5px 13px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.hero-badge .icon { width: 15px; height: 15px; color: var(--c1); }
.hero h1 { font-size: 1.55rem; margin-bottom: .35em; color: var(--text-1); }
.hero .hero-sub { color: var(--text-2); margin: 0 auto 22px; max-width: 40em; }

.home .search-card { max-width: none; }
.search-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 18px;
  text-align: left;
  max-width: 760px; margin: 0 auto;
}
.search-card h2 {
  font-size: .92rem; font-weight: 500; color: var(--text-2);
  margin-bottom: 12px; display: flex; align-items: center; gap: 7px;
}
.search-card h2 .icon { width: 17px; height: 17px; color: var(--c1); }
.search-form { display: grid; gap: 12px; }

.field label {
  display: block; font-size: .8rem; font-weight: 500;
  color: var(--text-2); margin-bottom: 5px;
}
.field select {
  width: 100%; min-height: var(--tap);
  font-size: 1rem; font-family: inherit; color: var(--text-1);
  padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-chip);
  background: var(--bg-card);
}
.field select:focus { outline: 2px solid var(--c1); outline-offset: 1px; border-color: var(--c1); }
.field select:disabled { background: var(--bg-sub); color: var(--text-3); cursor: not-allowed; }
.field .field-hint { font-size: .78rem; color: var(--text-3); margin: 5px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: var(--tap); padding: 0 22px;
  font-size: 1rem; font-weight: 500; font-family: inherit;
  border-radius: var(--radius-chip); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .12s, border-color .12s;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--c1); color: #fff; }
.btn-primary:hover { background: var(--c1-deep); }
.btn-primary:disabled { background: #A9B6C4; cursor: not-allowed; }
.btn-outline { background: var(--bg-card); border-color: var(--border); color: var(--text-1); }
.btn-outline:hover { border-color: var(--c1); color: var(--c1-deep); }

@media (min-width: 720px) {
  .hero { padding: 46px 0 38px; }
  .hero h1 { font-size: 2rem; }
  .search-form { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
  .search-form .btn { min-width: 116px; }
}

/* ---------- 6. 섹션 ---------- */
.section { padding: 34px 0; }
.section-head { margin-bottom: 18px; }
.section-head h2 { margin-bottom: .2em; }
.section-head p { color: var(--text-2); margin: 0; font-size: .9rem; }

.grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 7. 기능 카드 (상단 3px 색 라인 + 아이콘칩) ---------- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--acc, var(--border));
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 18px;
}
.card h3 { margin-bottom: .3em; font-weight: 500; }
.card p { color: var(--text-2); font-size: .86rem; line-height: 1.6; margin: 0; }
.card-icon {
  width: 42px; height: 42px; margin-bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--acc-bg, var(--bg-sub)); color: var(--acc-deep, var(--text-2));
}
.card-icon .icon { width: 23px; height: 23px; }
.card--c1 { --acc: var(--c1); --acc-bg: var(--c1-bg); --acc-deep: var(--c1-deep); }
.card--c2 { --acc: var(--c2); --acc-bg: var(--c2-bg); --acc-deep: var(--c2-deep); }
.card--c3 { --acc: var(--c3); --acc-bg: var(--c3-bg); --acc-deep: var(--c3-deep); }

/* ---------- 8. 칩 그리드 (지역 선택 등) ---------- */
.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
@media (min-width: 600px) { .region-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .region-grid { grid-template-columns: repeat(6, 1fr); } }
.region-item {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--tap);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-chip);
  font-weight: 500; font-size: .92rem; color: var(--text-1);
  text-align: center; transition: background .12s, border-color .12s;
}
a.region-item:hover {
  background: var(--c1-bg); border-color: var(--c1); color: var(--c1-deep);
  text-decoration: none;
}
.region-item.is-pending { color: var(--text-3); background: var(--bg-sub); }
.region-item .badge { margin-left: 2px; }

/* ---------- 9. 배지(알약형) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; font-weight: 500; line-height: 1.5;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--bg-sub); color: var(--text-2);
}
.badge-primary, .badge--c1 { background: var(--c1-bg); color: var(--c1-deep); }
.badge--c2 { background: var(--c2-bg); color: var(--c2-deep); }
.badge--c3 { background: var(--c3-bg); color: var(--c3-deep); }
.badge--warn   { background: var(--warn-bg);   color: var(--warn-text); }
.badge--ok     { background: var(--ok-bg);     color: var(--ok-text); }
.badge--danger { background: var(--danger-bg); color: var(--danger-text); }
.badge--line { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-2); }

.badge-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }

/* ---------- 10. D-day 스트립 ---------- */
.dday-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  background: var(--c3-bg); border: 1px solid transparent;
  border-radius: var(--radius-card); padding: 14px 18px; font-size: .93rem;
  color: var(--c3-deep);
}
.dday-strip a { color: var(--c3-deep); font-weight: 500; }
.dday-strip .dday-num { font-weight: 500; font-size: 1.15rem; color: var(--c3-deep); }

/* ---------- 11. 표 ---------- */
.info-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.info-table table { font-size: .93rem; }
.info-table th, .info-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 30%; background: var(--bg-sub); color: var(--text-2); font-weight: 500; white-space: nowrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-card); }
.data-table { width: 100%; font-size: .9rem; background: var(--bg-card); }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table thead th { background: var(--bg-sub); color: var(--text-2); font-weight: 500; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 12. 알림/안내 ---------- */
.notice {
  background: var(--bg-sub); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 15px 17px;
  color: var(--text-2); font-size: .9rem;
}
.notice strong { color: var(--text-1); }

/* ---------- 13. 데이터 패널(학교 상세: 급식·학사일정·지역) ---------- */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--acc, var(--border));
  border-radius: var(--radius-card);
  overflow: hidden; margin-bottom: 16px;
}
.panel--c1 { --acc: var(--c1); --acc-bg: var(--c1-bg); --acc-deep: var(--c1-deep); }
.panel--c2 { --acc: var(--c2); --acc-bg: var(--c2-bg); --acc-deep: var(--c2-deep); }
.panel--c3 { --acc: var(--c3); --acc-bg: var(--c3-bg); --acc-deep: var(--c3-deep); }
.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.panel-head h2 { margin: 0; font-size: 1.05rem; font-weight: 500; }
.panel-head .chip {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--acc-bg, var(--bg-sub)); color: var(--acc-deep, var(--text-2));
}
.panel-head .chip .icon { width: 18px; height: 18px; }
.panel-body { padding: 16px; }
/* 패널 내부 표·안내는 겹테두리 제거(패널이 테두리 담당) */
.panel-body > .table-wrap, .panel-body > .info-table { border: 0; border-radius: 0; }
.panel-body > .table-wrap { overflow-x: auto; }
.panel-body > .notice { border: 0; padding: 4px 2px; background: none; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-body .field-hint { color: var(--text-3); font-size: .8rem; margin-top: 10px; }

/* ---------- 14. 본문(매거진/가이드) ---------- */
.article-header { margin: 28px 0 22px; }
.article-header .article-meta { color: var(--text-3); font-size: .85rem; }
.article-body { font-size: 1rem; line-height: 1.8; color: var(--text-1); }
.article-body > h2 { margin-top: 1.9em; padding-bottom: .3em; border-bottom: 1px solid var(--border); }
.article-body > h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 1.35em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .35em; }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 1.2em 0; padding: 12px 18px;
  border-left: 3px solid var(--c1); background: var(--c1-bg);
  border-radius: 0 var(--radius-chip) var(--radius-chip) 0; color: var(--text-1);
}
.article-body .table-wrap { margin: 0 0 1.2em; }
.article-body img { border-radius: var(--radius-chip); }

/* ---------- 15. 글 목록(카드형) ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.post-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 16px 18px;
  transition: border-color .12s;
}
.post-card:hover { border-color: #D8D5CE; }
.post-card h2, .post-card h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: .25em; }
.post-card a { color: var(--text-1); }
.post-card a:hover { color: var(--c1-deep); text-decoration: none; }
.post-card .post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--text-3); font-size: .82rem; margin: 0;
}
.post-card .post-excerpt {
  color: var(--text-2); font-size: .9rem; margin: .5em 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 글 카드 대표이미지 */
.post-card__thumb { display: block; overflow: hidden; background: var(--bg-sub); line-height: 0; }
.post-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card--has-thumb { padding: 0; overflow: hidden; }
.post-card--has-thumb .post-card__thumb { aspect-ratio: 16 / 9; }
.post-card--has-thumb .post-card__body { padding: 16px 18px; }
@media (min-width: 720px) {
  .post-card--has-thumb { display: grid; grid-template-columns: 220px 1fr; align-items: stretch; }
  .post-card--has-thumb .post-card__thumb { aspect-ratio: auto; height: 100%; min-height: 138px; }
}

/* 단일글 상단 대표이미지 */
.article-featured {
  max-width: 600px; margin: 4px auto 22px; border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden; background: var(--bg-sub); line-height: 0;
  aspect-ratio: 16 / 9;
}
.article-featured img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 16. 페이지네이션/브레드크럼 ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--tap); min-height: var(--tap);
  border: 1px solid var(--border); border-radius: var(--radius-chip);
  background: var(--bg-card); color: var(--text-1); padding: 0 10px;
}
.pagination .page-numbers:hover { border-color: var(--c1); color: var(--c1-deep); text-decoration: none; }
.pagination .page-numbers.current { background: var(--c1); color: #fff; border-color: var(--c1); }

.breadcrumb { font-size: .84rem; color: var(--text-3); margin: 16px 0; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--c1-deep); }
.breadcrumb .sep { margin: 0 6px; color: var(--text-3); }

/* ---------- 17. 콘텐츠 공통 레이아웃 ---------- */
.page-main { padding-bottom: 44px; }
.page-title-area { padding: 26px 0 6px; }
.page-title-area .page-sub { color: var(--text-2); margin: 0; font-size: .92rem; }

/* ---------- 18. 푸터 ---------- */
.site-footer {
  background: var(--bg-sub); color: var(--text-2);
  border-top: 1px solid var(--border);
  padding: 30px 0 38px; margin-top: 48px; font-size: .86rem;
}
.site-footer a { color: var(--text-1); }
.site-footer a:hover { color: var(--c1-deep); }
.footer-nav ul {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 20px;
}
.footer-nav a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 500; }
.footer-source { border-top: 1px solid var(--border); padding-top: 16px; color: var(--text-3); }
.footer-source p { margin: 0 0 6px; }

/* ---------- 19. 404 ---------- */
.error-404 { text-align: center; padding: 60px 0; }
.error-404 .error-code { font-size: 3rem; font-weight: 500; color: var(--c1); margin: 0; letter-spacing: .02em; }
.error-404 .btn { margin-top: 12px; }

/* ===== READABILITY LAYER v1 ===== */
/* 본문 컨테이너: .article-body / accent: 기존 --c1 (A-0 토큰 매핑 규칙) */
.article-body{
  max-width:720px;margin-left:auto;margin-right:auto;
  font-size:17px;line-height:1.8;
  word-break:keep-all;overflow-wrap:break-word;
}
.article-body p{margin:0 0 1.5em}
.article-body h2{
  font-size:1.45em;font-weight:800;line-height:1.4;
  margin:2.4em 0 .9em;padding-bottom:.45em;
  border-bottom:2px solid var(--c1);
}
.article-body h3{
  font-size:1.15em;font-weight:700;margin:1.8em 0 .7em;
  padding-left:.6em;border-left:4px solid var(--c1);
}
.article-body a{color:var(--c1);text-decoration:underline;text-underline-offset:3px}
.article-body ul,.article-body ol{padding-left:1.4em;margin:0 0 1.5em}
.article-body li{margin:.45em 0}
.article-body li::marker{color:var(--c1)}
.article-body blockquote{
  margin:1.5em 0;padding:1em 1.2em;border-left:4px solid var(--c1);
  background:#f7f7f9;border-radius:0 10px 10px 0;
}

/* 형광펜 하이라이트 */
.article-body mark{background:#fff3d9;padding:2px 6px;border-radius:5px}
.article-body mark.hl-blue{background:#e5f0ff}
.article-body mark.hl-green{background:#e1f5e6}

/* 표 */
.article-body .table-wrap{overflow-x:auto;margin:1.5em 0;-webkit-overflow-scrolling:touch}
.article-body table{width:100%;border-collapse:collapse;font-size:.94em;line-height:1.6}
.article-body th{background:#f5f5f7;font-weight:700;text-align:left}
.article-body th,.article-body td{padding:10px 12px;border:1px solid #e5e5ea}
.article-body tr:nth-child(even) td{background:#fafafa}

/* 이미지·캡션 */
.article-body figure{margin:1.8em 0}
.article-body figure img,.article-body img{max-width:100%;height:auto;border-radius:12px}
.article-body figcaption{margin-top:.6em;font-size:.85em;color:#6e6e73;text-align:center}

/* FAQ(details/summary)가 본문에 있는 경우 */
.article-body details{border:1px solid #e5e5ea;border-radius:10px;padding:.9em 1.1em;margin:.6em 0}
.article-body details summary{font-weight:700;cursor:pointer;list-style:none}
.article-body details summary::before{content:"Q. ";color:var(--c1)}
.article-body details[open]{background:#fafafa}

/* 목차 */
.rl-toc{border:1px solid #e5e5ea;border-radius:12px;background:#fafafa;padding:1em 1.2em;margin:0 0 2em;font-size:.93em}
.rl-toc-title{font-weight:800;margin-bottom:.5em}
.rl-toc ol{margin:0;padding-left:1.3em}
.rl-toc li{margin:.3em 0}
.rl-toc a{text-decoration:none;color:inherit}
.rl-toc a:hover{color:var(--c1);text-decoration:underline}

/* 읽기 진행바 */
.rl-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--c1);z-index:9999}

/* 관련글 카드 */
.rl-related{max-width:720px;margin:3em auto 0;padding-top:1.6em;border-top:1px solid var(--border)}
.rl-related-title{font-size:1.15rem;font-weight:800;margin:0 0 .9em}
.rl-related-grid{list-style:none;margin:0;padding:0;display:grid;gap:12px}
@media (min-width:600px){.rl-related-grid{grid-template-columns:repeat(3,1fr)}}
.rl-related-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden}
.rl-related-card a{display:block;color:var(--text-1);text-decoration:none}
.rl-related-card img{width:100%;height:120px;object-fit:cover;display:block}
.rl-related-card .rl-related-name{display:block;padding:10px 12px;font-size:.92rem;line-height:1.45;font-weight:500}
.rl-related-card a:hover .rl-related-name{color:var(--c1-deep)}

/* ==========================================================================
   개편 v3 — 유틸리티 바 / 메가 헤더 / 홈 13블록 / 메가 푸터 / 모바일 하단 바
   토큰 규칙(DESIGN.md §1-5): 기존 변수명(--c1/--c2/--c3, --bg-*, --text-*)을
   유지하고 역할만 매핑한다. 신규 하드코딩 hex는 강조색 1개뿐이고
   나머지 파생색은 전부 color-mix()로 유도한다(B-1: hex 2개 상한).
   본문 가독성 레이어(.article-body / .rl-*)의 스코프는 침범하지 않는다(§1-A B).
   ========================================================================== */

:root {
  /* 강조색 — 주색(--c1 #185FA5)의 보색 축에서 하나만 새로 정의 */
  --accent: #C2571A;
  --accent-bg: color-mix(in srgb, var(--accent) 12%, #fff);

  /* 면 교대(A-7 섹션 배경 교대) — 기존 중립 토큰에서 유도 */
  --surface:   var(--bg-card);
  --surface-2: color-mix(in srgb, var(--c1) 4%, var(--bg-page));

  /* 주색 파생 */
  --c1-dark:  color-mix(in srgb, var(--c1) 78%, #000);
  --c1-line:  color-mix(in srgb, var(--c1) 22%, var(--border));
  --c1-soft:  color-mix(in srgb, var(--c1) 7%, #fff);

  /* 고정 높이 — CLS 0을 위해 예약한다 */
  --util-h: 34px;
  --hdr-h:  62px;
  --mbar-h: 56px;
}

/* ---------- 유틸리티 바 (A-2) ---------- */
.util-bar {
  background: var(--c1-dark);
  color: color-mix(in srgb, #fff 82%, var(--c1));
  font-size: .76rem;
  min-height: var(--util-h);
  display: flex; align-items: center;
}
.util-bar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: var(--util-h);
}
.util-bar__src { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.util-bar__tool { color: #fff; font-weight: 500; white-space: nowrap; }
.util-bar__tool:hover { text-decoration: underline; }
@media (max-width: 560px) { .util-bar__tool { display: none; } }

/* ---------- 헤더 / 브랜드 ---------- */
.site-header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: var(--hdr-h);
}
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; }
.brand-symbol { width: 30px; height: 30px; flex: none; color: var(--c1); border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-word { font-size: 1.08rem; font-weight: 700; color: var(--text-1); letter-spacing: -.01em; }
.brand-tag { font-size: .68rem; color: var(--text-3); font-weight: 500; }

/* ---------- 메가 드롭다운 (A-3) — 외부 JS 0건, CSS만 ---------- */
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item > a { white-space: nowrap; }

.nav-panel {
  /* 모바일에서는 데스크톱 패널을 아예 렌더하지 않는다(모바일은 .m-nav 아코디언) */
  display: none;
}

.mega__n {
  font-size: .72rem; font-weight: 600; color: var(--c1);
  background: var(--c1-bg); border-radius: var(--radius-pill);
  padding: 1px 7px; margin-left: 5px;
}
.mega__head { display: flex; align-items: center; font-weight: 700; font-size: .86rem; color: var(--text-1); margin-bottom: 6px; }
.mega__head:hover { color: var(--c1-deep); }
.mega__pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 3px 5px; }
.mega__pills a { font-size: .78rem; color: var(--text-2); padding: 2px 6px; border-radius: var(--radius-chip); }
.mega__pills a:hover { background: var(--c1-bg); color: var(--c1-deep); text-decoration: none; }
.mega__list { list-style: none; margin: 0 0 10px; padding: 0; columns: 2; column-gap: 22px; }
.mega__list a { display: block; font-size: .84rem; color: var(--text-1); padding: 5px 0; break-inside: avoid; }
.mega__list a:hover { color: var(--c1-deep); }
.mega__all { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--c1); margin-top: 4px; }

/* ---------- 모바일 내비 (details 아코디언 — JS 없이 동작) ---------- */
.m-nav-toggle { display: none; }
.m-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card); max-height: 74vh; overflow-y: auto;
  padding: 6px 0 10px;
}
.m-nav-toggle:checked ~ .m-nav { display: block; }
.m-acc > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--tap); padding: 0 18px;
  font-weight: 600; color: var(--text-1);
}
.m-acc > summary::-webkit-details-marker { display: none; }
.m-acc > summary::after { content: "＋"; color: var(--text-3); font-weight: 400; }
.m-acc[open] > summary::after { content: "－"; }
.m-acc__body { padding: 2px 18px 10px; display: flex; flex-direction: column; }
.m-acc__row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; font-size: .9rem; color: var(--text-2);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.m-nav__link { display: flex; align-items: center; min-height: var(--tap); padding: 0 18px; font-weight: 600; color: var(--text-1); }

/* ---------- 인기 키워드 스트립 (모바일) ---------- */
.kw-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.kw-strip__in {
  display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.kw-strip__in::-webkit-scrollbar { display: none; }
.kw-strip .pill { white-space: nowrap; flex: none; }

/* ---------- 공통 pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .82rem; color: var(--text-1);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 6px 13px;
}
.pill:hover { border-color: var(--c1); color: var(--c1-deep); text-decoration: none; }
.pill--accent { background: var(--c1-bg); border-color: var(--c1-line); color: var(--c1-deep); font-weight: 600; }
.pill-row { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------- 섹션 리듬 (A-7) ---------- */
.section { padding: 40px 0; background: var(--surface); }
.section--alt { background: var(--surface-2); }
/* 배너·D-day 같은 얇은 띠. 연달아 놓여도 사이가 벌어지지 않게 위쪽 여백만 갖는다.
   (히어로 하단 패딩 + flush 패딩이 겹쳐 80px 공백이 생겼던 것을 잡는다)
   아래 데스크톱 미디어쿼리의 .section{padding:52px 0}이 나중에 와서 이기므로
   같은 순서 문제를 피하려고 !important 대신 미디어쿼리 안에서 한 번 더 지정한다. */
.section--flush { padding: 0; background: transparent; }
.section--flush + .section--flush { margin-top: 10px; }
.hero + .section--flush { margin-top: 14px; }
.section--flush + .section:not(.section--flush) { margin-top: 22px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: color-mix(in srgb, var(--c1) 60%, var(--text-3));
  margin: 0 0 6px; text-transform: uppercase;
}
.section-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 6px; color: var(--text-1); }
.section-sub { color: var(--text-2); margin: 0 0 18px; font-size: .92rem; }
.more-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--c1); }

/* ---------- ① 히어로 ---------- */
.home .hero { padding: 28px 0 24px; }
.hero__in { display: grid; gap: 20px; text-align: left; }
.hero__copy { min-width: 0; }
.home .hero h1 { font-size: 1.75rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.btn-ghost { background: var(--bg-card); border-color: var(--border); color: var(--text-1); }
.btn-ghost:hover { border-color: var(--c1); color: var(--c1-deep); }
/* 히어로 아트는 모바일에서도 보인다 — LCP 대상이라 자리를 예약해 두는 편이 낫다.
   (아래 .art 가 display:block 을 주므로 여기서 none 을 걸지 않는다) */
.hero__art { border-radius: 16px; }

/* ---------- ② 배너 ---------- */
.banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--c1-soft); border: 1px solid var(--c1-line);
  border-radius: var(--radius-card); padding: 12px 16px; color: var(--text-1);
}
.banner:hover { text-decoration: none; border-color: var(--c1); }
/* 좌측 아트 — 배너 높이에 맞춰 고정 폭. 높이는 .art 의 aspect-ratio 가 잡는다 */
.banner__art { flex: none; width: 132px; border-radius: var(--radius-chip); }
.banner__body { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.banner__badge { font-size: .7rem; font-weight: 700; color: #fff; background: var(--c1); border-radius: var(--radius-pill); padding: 3px 9px; flex: none; }
.banner__text { min-width: 0; font-size: .9rem; font-weight: 500; }
.banner__go { color: var(--c1); font-weight: 600; font-size: .85rem; white-space: nowrap; }

/* ---------- 섹션 헤딩 + 아트 (⑤ 지역 그리드) ---------- */
.sec-head { display: grid; gap: 14px; margin-bottom: 18px; }
.sec-head__copy { min-width: 0; }
.sec-head__copy .section-sub { margin-bottom: 0; }
/* 섹션 헤딩 아트는 데스크톱 전용 — 모바일에서는 세로 길이만 잡아먹는다.
   아래 .art 규칙이 display:block 을 주므로 !important 로 의도를 고정한다. */
.sec-head__art { display: none !important; }

/* ---------- ③ 숫자 스트립 ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 16px 14px; text-align: center;
}
.stat__n { display: block; font-size: 1.7rem; font-weight: 800; color: var(--c1); line-height: 1.1; letter-spacing: -.02em; }
.stat__l { display: block; font-size: .8rem; color: var(--text-2); margin-top: 4px; }
.stats__note { font-size: .78rem; color: var(--text-3); margin: 10px 0 0; }

/* ---------- ⑤ 지역 그리드 ---------- */
.reg-grid { display: grid; gap: 12px; }
.reg {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 14px 15px;
}
.reg__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.reg__name { font-size: 1.02rem; font-weight: 700; color: var(--text-1); }
.reg__meta { font-size: .76rem; color: var(--text-3); }
.reg__head:hover .reg__name { color: var(--c1-deep); }
.reg__pills { list-style: none; margin: 0 0 9px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.reg__pills a {
  display: inline-block; font-size: .78rem; color: var(--text-2);
  background: var(--bg-sub); border-radius: var(--radius-pill); padding: 4px 10px;
}
.reg__pills a:hover { background: var(--c1-bg); color: var(--c1-deep); text-decoration: none; }
.reg__all { font-size: .8rem; font-weight: 600; color: var(--c1); }

/* ---------- 이미지 슬롯 공통 (A-8) ----------
   .art 가 aspect-ratio 로 높이를 미리 잡으므로 이미지가 늦게 와도 레이아웃이 밀리지 않는다(CLS 0).
   이미지 미도착 구간에는 폴백 SVG가 같은 상자를 채운다. */
.art {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--c1-bg);
  border-radius: var(--radius-chip);
}
.art > img, .art > .art__svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- ⑥ 카테고리 카드 ---------- */
.cat-grid { display: grid; gap: 12px; }
.cat {
  background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--c1);
  border-radius: var(--radius-card); padding: 16px;
}
.cat--c2 { border-top-color: var(--c2); }
.cat--c3 { border-top-color: var(--c3); }
/* 구 40px 아이콘 슬롯을 16:10 이미지 영역으로 승격했다(사용자 지시). */
.cat__art { margin-bottom: 12px; }
.cat--c2 .cat__art { background: var(--c2-bg); }
.cat--c3 .cat__art { background: var(--c3-bg); }
.cat__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 3px; }
.cat__title a { color: var(--text-1); }
.cat__title a:hover { color: var(--c1-deep); }
.cat__n { font-size: .8rem; font-weight: 600; color: var(--c1); margin: 0 0 7px; }
.cat__desc { font-size: .86rem; color: var(--text-2); margin: 0 0 10px; }
.cat__pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.cat__pills a { font-size: .76rem; color: var(--text-2); background: var(--bg-sub); border-radius: var(--radius-pill); padding: 3px 9px; }
.cat__pills a:hover { background: var(--c1-bg); color: var(--c1-deep); text-decoration: none; }

/* ---------- ⑦ STEP ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 16px; position: relative;
}
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c1); color: #fff; font-size: .8rem; font-weight: 700;
}
.step__ic { display: inline-flex; margin-left: 8px; color: var(--c1); vertical-align: middle; }
.step__ic .icon { width: 20px; height: 20px; }
.step h3 { font-size: .98rem; font-weight: 700; margin: 10px 0 3px; }
.step p { font-size: .85rem; color: var(--text-2); margin: 0; }

/* ---------- ⑧ 공식 정보 ---------- */
.off-grid { display: grid; gap: 10px; }
.off {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 14px 16px; color: var(--text-1);
}
.off:hover { border-color: var(--c1); text-decoration: none; }
.off h3 { font-size: .95rem; font-weight: 700; margin: 0 0 4px; color: var(--c1-deep); }
.off p { font-size: .83rem; color: var(--text-2); margin: 0; }

/* ---------- ⑨ WHY ----------
   항목 4개가 병렬 주장이라 섹션 아트 1장이 아니라 카드마다 1장을 붙인다. */
.why-grid { display: grid; gap: 10px; }
.why {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column;
}
.why__art { border-radius: 0; }
.why__body { padding: 13px 16px 15px; }
.why h3 { font-size: .95rem; font-weight: 700; margin: 0 0 4px; }
.why p { font-size: .85rem; color: var(--text-2); margin: 0; }

/* ---------- ⑩⑪ 카드 그리드 ---------- */
.card-grid { display: grid; gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column;
}
.card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--bg-sub); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; }
.card__badge {
  align-self: flex-start; font-size: .68rem; font-weight: 700;
  color: var(--accent); background: var(--accent-bg);
  border-radius: var(--radius-pill); padding: 2px 9px;
}
.card__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; margin: 0; }
.card__title a { color: var(--text-1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--c1-deep); }
.card__excerpt { font-size: .84rem; color: var(--text-2); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: .76rem; color: var(--text-3); margin: 2px 0 0; }
.card--plain .card__title { font-size: .98rem; }

/* ---------- ⑬ FAQ (아코디언 — CSS only) ---------- */
.faq { display: grid; gap: 8px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.faq__item > summary {
  list-style: none; cursor: pointer;
  padding: 14px 16px; font-weight: 600; font-size: .94rem; color: var(--text-1);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: "＋"; color: var(--c1); font-weight: 400; flex: none; }
.faq__item[open] > summary::after { content: "－"; }
.faq__a { padding: 0 16px 14px; }
.faq__a p { font-size: .88rem; color: var(--text-2); margin: 0; line-height: 1.7; }
.faq__a a { color: var(--c1); font-weight: 500; }

/* ---------- 메가 푸터 (A-5) ---------- */
.site-footer { margin-top: 0; }
.mfoot { background: var(--c1-dark); color: color-mix(in srgb, #fff 78%, var(--c1)); }
.mfoot__grid { display: grid; gap: 22px; padding: 30px 16px 24px; }
.mfoot__brand { color: #fff; }
.mfoot__brand .brand-word { color: #fff; font-size: 1rem; }
.mfoot__brand .brand-symbol { color: color-mix(in srgb, #fff 26%, var(--c1)); }
.mfoot__desc { font-size: .84rem; margin: 10px 0 8px; line-height: 1.65; }
.mfoot__src { font-size: .76rem; color: color-mix(in srgb, #fff 62%, var(--c1)); margin: 0 0 4px; }
.mfoot__h { font-size: .8rem; font-weight: 700; color: #fff; margin: 0 0 9px; letter-spacing: .01em; }
.mfoot__links { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.mfoot__links a, .mfoot__stat { font-size: .82rem; color: color-mix(in srgb, #fff 80%, var(--c1)); }
.mfoot__links a:hover { color: #fff; }
.mfoot__reg { margin-bottom: 10px; }
.mfoot__reghead { font-size: .82rem; font-weight: 700; color: #fff; }
.mfoot__pills { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.mfoot__pills a { font-size: .76rem; color: color-mix(in srgb, #fff 70%, var(--c1)); }
.mfoot__pills a:hover { color: #fff; }
.mfoot__more { font-size: .8rem; font-weight: 600; color: #fff; }
.mfoot .mega__n { background: color-mix(in srgb, #fff 16%, transparent); color: #fff; }
.mfoot__bar { border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); }
.mfoot__barin { padding: 14px 16px; display: grid; gap: 5px; }
.mfoot__barin p { margin: 0; font-size: .76rem; }
.mfoot__disc { color: color-mix(in srgb, #fff 60%, var(--c1)); }

/* ---------- 모바일 하단 고정 바 (A-6) ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px; padding: 6px 12px;
  background: var(--surface); border-top: 1px solid var(--border);
  min-height: var(--mbar-h);
}
.mbar__btn {
  /* 5개(2026-09-05 학원비 추가)가 375px 에 들어가도록 아이콘 위·라벨 아래 세로 배치. 라벨 13px 하한 유지 */
  flex: 1 1 0; min-width: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 44px; padding: 3px 2px; border-radius: var(--radius-chip);
  font-size: 13px; line-height: 1.15; font-weight: 600; white-space: nowrap;
  background: var(--bg-sub); color: var(--text-1);
}
.mbar__btn:hover { text-decoration: none; }
.mbar__btn--primary { background: var(--c1); color: #fff; }
.mbar__btn .icon { width: 18px; height: 18px; }
/* 하단 바에 본문이 가리지 않도록 패딩 예약 — CLS 0 */
body { padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px)); }

/* ==========================================================================
   데스크톱 (900px+)
   ========================================================================== */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mbar { display: none; }
  .kw-strip { display: none; }
  .m-nav, .nav-toggle { display: none !important; }

  /* 메뉴 폭 예약 — 라벨 이모지 폴백 글리프 폭이 늦게 확정되며 폭이 변해
     NAV 가 시프트 소스로 잡혔다(1280px 실측 1/10회 0.00643).
     안정 상태 501.89px 기준 하한 + 우측 기준선 고정.
     ※ 900px 미만은 .site-nav{display:none} 이라 이 블록 밖은 영향 없다. */
  /* 메뉴 폭 예약 — 항목 6개 실측 합계 583px(학원 메뉴 추가분 반영).
     예약값이 실제보다 작으면 폰트 확정 시점에 NAV 가 밀린다(CLS). */
  .site-nav { display: block; position: static; border: 0; box-shadow: none; background: none;
    min-width: 583px; }
  .nav-list { display: flex; gap: 2px; min-width: 583px; justify-content: flex-end; }
  /* 라벨 아이콘 폭 예약 — 구 이모지 실측 자연폭 18.38px 자리를 그대로 승계한다.
     PHASE-HOME §2-4 에서 이모지를 인라인 SVG 로 바꿨으므로 height 도 함께 고정한다.
     height 를 비워 두면 SVG 고유 크기가 늦게 확정되며 NAV 가 밀린다
     (실측: 1280px 에서 LI.nav-item 시프트 CLS 0.00157). */
  .nav-item > a .nav-ic { width: 18.38px; height: 18.38px; flex: none; text-align: center;
    margin-right: 4.13px; font-style: normal; line-height: 1; }
  /* .nav-item 에는 position 을 주지 않는다 — 패널이 헤더(.site-header__in)를 기준으로
     오른쪽 정렬돼야 화면 밖으로 나가지 않는다. */
  .nav-item > a {
    display: flex; align-items: center; min-height: 40px;
    padding: 0 12px; border-radius: var(--radius-chip);
    font-weight: 600; font-size: .92rem; color: var(--text-1);
  }
  .nav-item > a:hover { background: var(--c1-bg); color: var(--c1-deep); text-decoration: none; }

  /* 메가 패널 — hover/focus-within 으로만 연다(JS 0건).
     패널은 넓어서 좌측 기준으로 열면 화면 오른쪽을 넘어간다(실측 scrollWidth 1629 > 1265).
     헤더를 기준(position:relative)으로 삼고 오른쪽에 붙여 가로 스크롤을 0으로 만든다. */
  .site-header__in { position: relative; }
  .nav-panel {
    display: block;
    position: absolute; top: calc(100% + 6px); right: 0; left: auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-card); box-shadow: var(--shadow-card);
    padding: 16px; z-index: 70;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s;
  }
  .nav-item:hover > .nav-panel,
  .nav-item:focus-within > .nav-panel { opacity: 1; visibility: visible; transform: none; }

  /* 패널 폭은 컨테이너(--maxw)를 넘지 않는다 */
  .mega--region { width: min(100%, 940px); }
  .mega--level  { width: min(100%, 640px); }
  .mega--guide, .mega--mag { width: min(100%, 460px); }
  .mega--aca { width: min(100%, 240px); }

  .mega__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 18px; }
  .mega__grid--wide { grid-template-columns: repeat(3, 1fr); }
  .mega__col { min-width: 0; }

  /* 히어로 2단 */
  .hero__in { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 30px; }
  .hero__art { display: block; }
  .home .hero h1 { font-size: 2.25rem; }
  .section-title { font-size: 1.6rem; }
  .section { padding: 52px 0; }
  /* flush 띠는 데스크톱에서도 패딩을 갖지 않는다(위 규칙보다 뒤에 와야 이긴다) */
  .section--flush { padding: 0; }

  .stats { grid-template-columns: repeat(4, 1fr); }
  .reg-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }

  /* 섹션 헤딩 옆 아트 — 데스크톱에서만 보인다(모바일은 세로 길이 낭비) */
  .sec-head { grid-template-columns: 1fr 300px; align-items: center; gap: 30px; }
  .sec-head__art { display: block !important; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .off-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }

  .mfoot__grid { grid-template-columns: 1.4fr 1.5fr 1fr 1.2fr 1.1fr 1fr; gap: 26px; padding: 38px 16px 28px; }
  .mfoot__barin { grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .reg-grid, .cat-grid, .card-grid, .off-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mfoot__grid { grid-template-columns: repeat(2, 1fr); }
}

/* 본문 표 가로 넘침 방지 —
   가독성 레이어의 표 래핑 JS는 body.single 에서만 돌기 때문에 page(가이드 허브)의 표는
   래핑되지 않아 375px에서 가로 스크롤이 생겼다(실측 scrollWidth 386 > 375).
   JS 스코프를 건드리지 않고 CSS로만 막는다 — .article-body 내부 표에만 적용. */
.article-body table { display: block; width: 100%; overflow-x: auto; }
/* .table-wrap 으로 감싼 표(JS가 처리한 단일글)는 래퍼가 스크롤을 담당한다 */
.article-body .table-wrap > table { display: table; overflow-x: visible; }

/* 접근성: 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .nav-panel { transition: none; }
}

/* ==========================================================================
   PHASE-HOME §2-1 학교명 검색 / §2-2 최근 본 학교 급식
   토큰만 사용(하드코딩 hex 0). 드롭다운은 absolute — 아래 콘텐츠를 밀지 않는다.
   ========================================================================== */

/* ---------- 학교명 검색 ---------- */
.ssrch { position: relative; max-width: 560px; margin: 0 auto; text-align: left; }
.ssrch__field {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-pill); padding: 0 14px;
  min-height: 52px; box-shadow: var(--shadow-sm);
}
.ssrch__field:focus-within { border-color: var(--c1); box-shadow: 0 0 0 3px var(--c1-bg); }
.ssrch__ic { width: 20px; height: 20px; color: var(--text-3); flex: none; }
.ssrch__input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1rem; color: var(--text-1); padding: 12px 0;
  -webkit-appearance: none; appearance: none;
}
.ssrch__input::-webkit-search-cancel-button { display: none; }
.ssrch__clear {
  flex: none; border: 0; background: transparent; cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--text-3);
  width: 32px; height: 32px; border-radius: 50%;
}
.ssrch__clear:hover { background: var(--bg-sub); color: var(--text-1); }

/* 결과 드롭다운 — absolute 라 레이아웃을 밀지 않는다(CLS 0) */
.ssrch__list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px; list-style: none;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  max-height: 380px; overflow-y: auto;
}
.ssrch__list li { margin: 0; }
.ssrch__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-chip);
  text-decoration: none; color: var(--text-1); min-height: var(--tap);
}
.ssrch__list a:hover, .ssrch__list li.is-active a { background: var(--c1-bg); }
.ssrch__name { font-weight: 600; }
.ssrch__meta { display: flex; align-items: center; gap: 8px; flex: none; }
.ssrch__lv {
  font-size: .72rem; padding: 2px 7px; border-radius: var(--radius-pill);
  background: var(--c1-bg); color: var(--c1-deep); white-space: nowrap;
}
.ssrch__region { font-size: .82rem; color: var(--text-2); white-space: nowrap; }
.ssrch__hint { min-height: 1.2em; margin: 8px 2px 0; font-size: .85rem; color: var(--text-2); }

.ssrch--compact .ssrch__field { min-height: 42px; }
.ssrch--compact .ssrch__input { font-size: .92rem; padding: 8px 0; }

/* ---------- 최근 본 학교의 오늘 급식 ---------- */
/* 급식 블록 자리 예약(§2-2 캐시 정합 / §5 G-E).
   서버는 빈 골격만 내고 값은 클라이언트가 채운다. 자리를 미리 잡아두지 않으면
   카드가 채워지는 순간 아래 콘텐츠가 통째로 밀린다(실측: 1280px CLS 0.152).

   식단 길이는 학교·날짜마다 다르다(실측 카드 높이 190~593px) — 높이를 "예약"만
   해서는 맞출 수 없다. 그래서 카드 본문에 고정 높이 + 내부 스크롤을 준다.
   식단이 길든 짧든 블록 총 높이가 같으므로 채움 전후 시프트가 0이 된다.
   내용을 자르지 않는다 — 넘치는 부분은 카드 안에서 스크롤해 전부 읽을 수 있다. */
.rmeal__card { height: 372px; }
.rmeal__body { overflow-y: auto; }
/* 급식 카드 높이 고정 + 응답 대기 중 자리 예약(§2-2 / §5 G-E).
   식단 길이는 학교·날짜마다 다르므로(실측 카드 190~593px) 카드 높이를 고정하고
   넘치는 식단은 카드 안에서 스크롤한다 — 내용을 자르지는 않는다.
   .is-loading 은 응답이 오기 전 카드 자리를 미리 잡는다(높이 = 카드 높이 + 머리말·고지). */
.rmeal__card { height: 372px; }
.rmeal__body { overflow-y: auto; }
/* 자리 예약은 카드가 들어갈 그리드에 직접 준다.
   래퍼(.rmeal)에만 min-height 를 주면 그리드가 0 → 카드높이로 늘어날 때
   그 아래 고지 문구(.rmeal__disc)가 밀려 시프트가 남는다(실측 0.043).
   그리드 자체에 카드 높이를 예약하면 채워져도 총 높이가 변하지 않는다.
   유도 문구(.rmeal-empty)도 같은 높이를 가져 서버 초기 상태 → JS 상태 전환이 무시프트다. */
/* 자리 예약(min-height)을 크게 잡지 않는다.
   유도 문구와 급식 카드가 같은 상자(.rmeal__slot) 안의 내용으로 교체되므로
   요소가 사라지며 생기는 시프트가 없다. 대신 상자에 최소 높이만 줘서
   응답 대기 중 잠깐 찌그러지는 것을 막는다. */
.rmeal__slot { min-height: 92px; }
@media (min-width: 720px) {
  .rmeal__card { height: 340px; }
  .rmeal__slot { min-height: 92px; }
}

.rmeal__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.rmeal__date { margin: 0; font-size: .88rem; color: var(--text-2); }
.rmeal__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .rmeal__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

.rmeal__card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
  /* 높이는 위 블록에서 고정한다(값이 늦게 도착해도 상자 크기가 변하지 않게) */
  display: flex; flex-direction: column;
}
.rmeal__cardhead {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--c2-bg); border-bottom: 1px solid var(--border);
}
.rmeal__school { font-weight: 700; color: var(--c2-deep); text-decoration: none; flex: 1 1 auto; }
.rmeal__school:hover { text-decoration: underline; }
.rmeal__lv {
  font-size: .72rem; padding: 2px 7px; border-radius: var(--radius-pill);
  background: var(--bg-card); color: var(--text-2); flex: none;
}
.rmeal__x {
  flex: none; border: 0; background: transparent; cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 1.2rem; line-height: 1; color: var(--text-2);
}
.rmeal__x:hover { background: var(--bg-card); color: var(--text-1); }
.rmeal__body { padding: 12px 14px; flex: 1 1 auto; }
.rmeal__meal + .rmeal__meal { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.rmeal__type {
  display: inline-block; font-size: .74rem; font-weight: 700;
  color: var(--c2-deep); margin-bottom: 4px;
}
.rmeal__dish { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--text-1); }
.rmeal__cal { margin: 6px 0 0; font-size: .78rem; color: var(--text-3); }
.rmeal__none { margin: 0; font-weight: 600; color: var(--text-2); }
.rmeal__none-sub { display: block; margin-top: 6px; font-weight: 400; font-size: .84rem; color: var(--text-3); }
.rmeal__disc { margin-top: 12px; }
/* 최초 방문 유도 문구 — 한 줄짜리 안내 카드. 급식 카드 자리를 통째로 비워두면
   빈 화면으로 보이므로(실측 스크린샷), 카드 형태로 자리를 채운다. */
/* [hidden] 가 display:flex 에 지므로 명시적으로 되돌린다 —
   이게 없으면 급식 카드가 채워진 뒤에도 유도 문구가 함께 보인다(실측 스크린샷). */
.rmeal-empty[hidden], .rmeal[hidden] { display: none; }
.rmeal-empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--c2-bg); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 22px 20px; text-align: center;
}
.rmeal-empty__lead {
  margin: 0; max-width: 640px; color: var(--c2-deep);
  font-size: .95rem; line-height: 1.7;
}
.rmeal-empty__ic { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; }

/* 히어로 축약형(PHASE-HOME §2) — 이미지 제거, 검색창 중심. 아래 급식 블록이 첫 화면에 걸리게 한다. */
.hero--slim { padding: 30px 0 26px; }
.hero--slim .hero__in { display: block; }
.hero--slim .hero__copy { max-width: 720px; margin: 0 auto; text-align: center; }
.hero--slim h1 { font-size: 1.5rem; margin-bottom: .3em; }
.hero--slim .hero-sub { margin-bottom: 18px; color: var(--text-2); }
@media (min-width: 720px) { .hero--slim h1 { font-size: 1.9rem; } }

/* 히어로 아트(2026-08-13) — 검색창 아래, 폭 제한.
   hero--slim 의 목적은 "아래 급식 블록을 첫 화면에 걸리게" 하는 것이므로
   이미지가 세로를 많이 먹으면 안 된다. 375px 상한이면 16:10 에서 높이 234px 다.
   .hero__in 이 display:block 이라 좌우 2단 규칙(.hero__art{display:block})은 여기 영향 없다.
   aspect-ratio 는 공통 .art 규칙이 잡으므로 로드 전에 이미 높이가 확정된다(CLS 0). */
.hero--slim .hero__art { width: 100%; max-width: 375px; margin: 18px auto 0; }

/* 섹션 도입부 배너 아트(2026-08-13) — 지역 섹션.
   .sec-head__art 는 데스크톱 전용 슬롯이라 쓰지 않는다. 이건 두 폭 모두에서 보인다. */
.sec-banner { width: 100%; max-width: 686px; margin: 0 0 18px; }

/* 가이드 카드 아트(2026-08-13) — 그림이 있는 카드에만 열린다.
   card--plain 은 본래 이미지가 없는 카드라 상단 여백을 직접 준다. */
.card--plain .card__art { margin-bottom: 12px; }

/* 시도 카드 — 시군구 나열 없이 이름 + 학교 수만(§3 축약) */
.sido-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.sido {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  min-height: var(--tap); padding: 12px 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-chip); text-decoration: none; color: var(--text-1);
}
.sido:hover { border-color: var(--c1); background: var(--c1-bg); }
.sido__name { font-weight: 600; }
.sido__n { font-size: .8rem; color: var(--text-2); white-space: nowrap; }

/* 유틸리티 바 안의 검색창(§2-1) — 바 높이 안에 들어가는 축소형.
   기본 .ssrch__field 는 52px이라 유틸바(약 34px)를 넘쳐 위로 삐져나온다(실측 스크린샷). */
.util-bar__in { align-items: center; }
.util-bar__in .ssrch { margin: 0; max-width: 260px; width: 100%; flex: none; }
.util-bar__in .ssrch__field {
  min-height: 30px; padding: 0 10px; border-width: 1px;
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28);
}
.util-bar__in .ssrch__input { font-size: .8rem; padding: 5px 0; color: #fff; }
.util-bar__in .ssrch__input::placeholder { color: rgba(255,255,255,.72); }
.util-bar__in .ssrch__ic { width: 15px; height: 15px; color: rgba(255,255,255,.8); }
.util-bar__in .ssrch__clear { color: rgba(255,255,255,.8); width: 22px; height: 22px; font-size: 1.1rem; }
.util-bar__in .ssrch__hint { display: none; }
/* 드롭다운은 어두운 바 위에 뜨므로 본문 색으로 되돌린다 */
.util-bar__in .ssrch__list { color: var(--text-1); }
@media (max-width: 719px) { .util-bar__in .ssrch { display: none; } } /* 모바일은 하단바 검색 버튼이 담당 */

/* 고지 문구 자리 유지 — 내용만 안 보이게 한다(높이는 그대로라 시프트가 없다) */
.rmeal__disc.is-blank { visibility: hidden; }

/* 스크린리더 전용 텍스트 — 이 테마에 정의가 없어 라벨이 화면에 그대로 보였다(실측).
   WP 표준 유틸리티 클래스라 코어/플러그인 마크업에도 함께 적용된다. */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: static !important; width: auto; height: auto;
  margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal;
}

/* 검색 결과 종류 배지 — 학교/학원이 한 목록에 섞이므로 반드시 구분한다(§8) */
.ssrch__kind {
  display: inline-block; margin-right: 7px; padding: 1px 6px;
  border-radius: var(--radius-pill); font-size: .68rem; font-weight: 700;
  background: var(--c1-bg); color: var(--c1-deep); vertical-align: 1px;
}
.ssrch__kind--aca { background: var(--c3-bg); color: var(--c3-deep); }
/* 학원 목록 리드 문단 */
.lead { font-size: 1rem; line-height: 1.75; color: var(--text-1); margin: 0 0 18px; }

/* 학원 목록 표 — 열 폭을 고정한다.
   auto 레이아웃은 300행을 다 읽어야 폭이 정해져 렌더 도중 열이 흔들린다
   (실측 1280px CLS 0.041, 시프트 소스 TR). table-layout:fixed 면 첫 행에서 확정된다. */
.aca-table { table-layout: fixed; width: 100%; }
.aca-table th:nth-child(1), .aca-table td:nth-child(1) { width: 26%; }
.aca-table th:nth-child(2), .aca-table td:nth-child(2) { width: 20%; }
.aca-table th:nth-child(3), .aca-table td:nth-child(3) { width: 9%; }
.aca-table th:nth-child(4), .aca-table td:nth-child(4) { width: 33%; }
.aca-table th:nth-child(5), .aca-table td:nth-child(5) { width: 12%; }
.aca-table td { word-break: break-word; vertical-align: top; }
@media (max-width: 719px) { .aca-table { min-width: 640px; } }

/* ==========================================================================
   라운드 2026-09-05 — DESIGN-ID.md ③④: 최소 글자 13px, 필 터치 44px, 메타 명암비
   ========================================================================== */
.sido__n, .mega__n, .card__badge, .eyebrow, .mfoot__h, .cat__n, .mfoot__src, .util-bar__src, .util-bar, .brand-tag,
.field-hint, .panel-body .field-hint, .breadcrumb, .mega__pills a, .mega__all, .banner__badge, .stat__l, .stats__note,
.reg__meta, .reg__all, .cat__pills a, .mega__label, time { font-size: 13px; }
.pill, a.pill { min-height: var(--tap); }
.article-header .article-meta, .reg__meta, .stats__note, .field-hint { color: var(--text-2); }

/* ---------- 우리 동네 학원비 (TASK-academy §4-1, 2026-09-05) ----------
   서버 렌더 폼. 높이는 첫 페인트에 확정되고 JS 는 옵션만 좁힌다(CLS 0). 라벨·칩 13px 이상. */
.acafee__card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 18px;
}
.acafee .section-title { font-size: 1.15rem; margin-bottom: 4px; }
.acafee .section-sub { margin-bottom: 14px; }
.acafee__form { display: grid; gap: 12px; }
.acafee__legend { display: block; font-size: .8rem; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.acafee__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.acafee__chip { position: relative; }
.acafee__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.acafee__chip label {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: .86rem; color: var(--text-1); background: var(--surface); cursor: pointer;
}
.acafee__chip input:checked + label { background: var(--c3-bg); border-color: var(--c3); color: var(--c3-deep); font-weight: 600; }
.acafee__chip input:focus-visible + label { outline: 2px solid var(--c1); outline-offset: 1px; }
@media (min-width: 720px) {
  .acafee__form { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .acafee__chipsrow { grid-column: 1 / -1; }
  .acafee__form .btn { min-width: 140px; }
}
/* 개별 학원 수강료 표(hagwon.php) */
.fee-table td:last-child { white-space: nowrap; }
/* 배지 13px 하한(DESIGN-ID ③) — 학원 상단 배지 4개가 11.52px 로 잡혔다(2026-09-05 실측) */
.badge-row .badge { font-size: 13px; }

/* 2026-09-09 design round: interactive touch targets */
.kw-strip { overflow: hidden; } .brand-lockup, .nav-item > a { min-width: 44px; min-height: 44px; } .rl-toc a, .footer-nav a, .article-meta a { display: inline-flex; align-items: center; min-height: 44px; }
html, body { max-width: 100%; overflow-x: clip; }

/* 2026-09-13 renewal gate: helper text 13px and compact navigation targets 44px. */
.field label, .hero-badge, .card__meta, .mfoot__links a, .mfoot__stat,
.mfoot__reghead, .mfoot__pills a, .mfoot__barin p, .badge { font-size: 13px !important; }
.mfoot__links a, .mfoot__pills a, .mfoot__more {
  display: inline-flex; align-items: center; min-height: var(--tap);
}
