/* ============================================================
   파란인사이트 — 기본 스타일

   파란미디어랩(paranmedialab.com)의 디자인 언어를 그대로 가져옵니다.
     · 네이비 헤더·히어로·푸터 + 흰 카드 본문
     · 카드 상단 파랑→빨강 바
     · 굵은 제목(800~850)과 좁은 자간
     · 크게 둥근 모서리(20~24px), 넓게 퍼지는 그림자
   본문만 40~60대 가독성에 맞춰 18px / 행간 1.8 로 유지합니다.
   ============================================================ */

:root {
  /* 브랜드 — paranmedialab.com 에서 추출한 값 */
  --navy: #0a2036;
  --navy-deep: #071d30;
  --navy-mid: #0d3a5b;
  --blue: #285fd1;
  --blue-dark: #1e4ba8;
  --blue-light: #78a7ff;
  --red: #d9363e;
  --cream: #f6f1e8;

  /* 지면 */
  --page: #e7edf4;
  --card: #ffffff;
  --line: #c8dbea;
  --line-soft: #e4edf5;
  --tint: #eef4fb;

  /* 글자 */
  --ink: #16283a;
  --ink-soft: #4d5f73;
  --ink-faint: #7b8b9d;

  --shadow-card: 0 1px 2px rgba(16, 40, 64, 0.05), 0 14px 34px rgba(16, 40, 64, 0.07);
  --shadow-deep: 0 2px 4px rgba(7, 29, 48, 0.12), 0 24px 60px rgba(7, 29, 48, 0.22);
  --radius: 20px;
  --radius-lg: 24px;
  --wrap: 800px;
  --wrap-wide: 1120px;
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR",
    sans-serif;
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap-wide { max-width: var(--wrap-wide); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 0; }

/* ============================================================
   헤더 — 네이비 바
   ============================================================ */

.site-header {
  background: var(--navy);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.28;
}
.brand-name {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #fff;
}
/* 파란미디어랩의 "PARAN." 로고와 같은 두 톤 + 마침표 처리 */
.brand-name em { font-style: normal; color: var(--blue-light); }
.brand-name i { font-style: normal; color: var(--red); }
.brand-tag {
  font-size: 0.79rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: -0.01em;
}

.nav-toggle { position: absolute; left: -9999px; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  user-select: none;
}
.nav-toggle-label:hover { background: rgba(255, 255, 255, 0.1); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 9px 15px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--blue);
}

@media (max-width: 940px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle-label { display: block; }
  .site-nav {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 620px; }
  .site-nav ul { flex-direction: column; padding: 6px 0 10px; gap: 0; }
  .site-nav a { padding: 13px 14px; border-radius: 10px; }
}

/* ============================================================
   히어로 — 네이비 그라데이션
   ============================================================ */

.hero {
  background: linear-gradient(130deg, var(--navy-deep), var(--navy-mid));
  padding: 60px 0 64px;
  color: #fff;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: 2.7rem;
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.06em;
  color: var(--cream);
}
.hero h1::before { display: none; }
.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 46em;
}

/* 섹션 라벨 — 빨간 점 + 파란 대문자 (파란미디어랩 eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tint);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 6px 15px 6px 13px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.hero .eyebrow {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

/* ============================================================
   본문 공통
   ============================================================ */

main { display: block; padding-bottom: 72px; }

h1 {
  font-size: 2.1rem;
  line-height: 1.28;
  font-weight: 850;
  letter-spacing: -0.05em;
  margin: 0 0 16px;
  color: var(--navy);
}
h2 {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 48px 0 16px;
  color: var(--navy);
}
/* 제목 위 짧은 파란 바 */
h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  margin-bottom: 14px;
}
h3 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 32px 0 10px;
  color: var(--navy);
}
p { margin: 0 0 18px; }
ul, ol { margin: 0 0 20px; padding-left: 22px; }
li { margin-bottom: 9px; }
strong { font-weight: 700; color: var(--navy); }

blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--blue);
  background: var(--tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
}
blockquote p:last-child { margin-bottom: 0; }

/* ---------- 표 ---------- */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 0.96rem;
  background: var(--card);
}
th, td {
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
th {
  background: var(--tint);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ============================================================
   흰 카드 지면 (게시글 · 카테고리 · 고정 페이지)
   ============================================================ */

.sheet {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px 44px 48px;
  margin-top: 22px;
}
.sheet > h2:first-child,
.sheet > .article-head + h2 { margin-top: 8px; }

@media (max-width: 720px) {
  .sheet {
    padding: 28px 20px 34px;
    border-radius: 16px;
    margin-top: 14px;
  }
}

/* ---------- 빵부스러기 ---------- */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-faint);
  padding-top: 22px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--line);
}
.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }

/* ============================================================
   카드 목록 — 상단 파랑→빨강 바
   ============================================================ */

.section-block { margin-top: 56px; }
.section-block:first-of-type { margin-top: 44px; }

.section-title {
  font-size: 1.62rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  color: var(--navy);
  margin: 0 0 8px;
}
.section-title::before { display: none; }
.section-desc {
  color: var(--ink-soft);
  font-size: 0.99rem;
  margin: 0 0 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
/* 파란미디어랩 카드의 시그니처: 상단 파랑 바 + 오른쪽 끝 빨강 */
/* 카드 상단에는 장식을 두지 않는다. 색은 제목 옆 규칙선이 담당한다. */
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(16, 40, 64, 0.06), 0 20px 44px rgba(16, 40, 64, 0.11);
  border-color: var(--line);
}
.card h3 {
  margin: 6px 0 10px;
  font-size: 1.16rem;
  line-height: 1.45;
}
.card h3 a { text-decoration: none; color: var(--navy); }
.card h3 a:hover { color: var(--blue); }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.card-count {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 600;
}

/* ---------- 글 목록 ---------- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list > li {
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0;
  margin: 0;
}
.post-list > li:first-child { padding-top: 4px; }
.post-list > li:last-child { border-bottom: 0; padding-bottom: 4px; }
.post-list h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.48;
}
.post-list h3 a { text-decoration: none; color: var(--navy); }
.post-list h3 a:hover { color: var(--blue); text-decoration: underline; }
.post-list p { margin: 0 0 10px; color: var(--ink-soft); font-size: 0.97rem; }

.post-meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.tag {
  display: inline-block;
  background: var(--tint);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.81rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.tag:hover { background: #dfeafa; color: var(--blue-dark); }

/* ---------- 게시글 ---------- */
.article-head {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line-soft);
  margin-bottom: 30px;
}
.article-head h1 { margin-bottom: 14px; }
.article-lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 16px; }

.notice {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 34px 0 0;
}
.notice strong { color: var(--navy); }
.notice p:last-child { margin-bottom: 0; }
.notice ul { margin-bottom: 14px; }

.sources { font-size: 0.92rem; }
.sources li { margin-bottom: 6px; }

.related { margin-top: 44px; }
.related h2 { margin-top: 0; font-size: 1.34rem; }

/* ============================================================
   푸터 — 네이비
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 46px 0 50px;
  font-size: 0.93rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
  margin-bottom: 32px;
}
.footer-cols h2 {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  padding: 0;
  color: var(--blue-light);
  font-weight: 800;
}
.footer-cols h2::before { display: none; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 9px; line-height: 1.5; }
.footer-cols a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.87rem;
  line-height: 1.7;
}
.footer-bottom p { margin: 0 0 8px; }
.footer-bottom p:last-child { margin-bottom: 0; }

/* ============================================================
   404 · 버튼 · 문의
   ============================================================ */

.center-block { text-align: center; padding: 66px 0 20px; }
.center-block h1 { font-size: 2.3rem; }
.center-block p { color: var(--ink-soft); }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 14px;
  box-shadow: 0 1px 2px rgba(7, 29, 48, 0.16);
}
.btn:hover { background: var(--blue-dark); color: #fff; }

.contact-note {
  background: linear-gradient(130deg, var(--navy-deep), var(--navy-mid));
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 26px 0;
  box-shadow: var(--shadow-deep);
}
.contact-note strong { color: #fff; }
.contact-note a { color: var(--blue-light); }
.contact-note a:hover { color: #fff; }
.contact-note p:last-child { margin-bottom: 0; }
.mail-link { font-size: 1.14rem; font-weight: 700; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: 44px 0 46px; }
  .hero h1 { font-size: 1.92rem; letter-spacing: -0.05em; }
  .hero p { font-size: 1.01rem; }
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.28rem; margin-top: 40px; }
  h3 { font-size: 1.1rem; }
  .section-title { font-size: 1.36rem; }
  .center-block h1 { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .site-nav { transition: none; }
  .card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .breadcrumb, .related { display: none; }
  body { background: #fff; }
  .sheet { box-shadow: none; border: 0; padding: 0; }
}

/* ============================================================
   추가 구성요소
   ============================================================ */

/* 스크롤해도 메뉴가 따라오도록 — 긴 글에서 이동이 편합니다 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 제목 끝 빨간 마침표 — 파란미디어랩 로고의 마침표와 같은 리듬 */
h1 i,
.hero h1 i {
  font-style: normal;
  color: var(--red);
}

/* ---------- 히어로 질감 ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
/* 옅은 격자 + 오른쪽 위 빛 번짐. 글자 가독성은 건드리지 않는 수준으로만. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 167, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 167, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(160deg, #000 15%, transparent 72%);
  -webkit-mask-image: linear-gradient(160deg, #000 15%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 213, 255, 0.16), transparent 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .btn { margin-top: 0; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- 페이지 머리말 ---------- */
.page-head { padding: 34px 0 4px; }
.page-head h1 { margin-bottom: 12px; }
.page-head .article-lead { margin-bottom: 14px; max-width: 44em; }
.page-head .post-meta { margin-top: 6px; }

/* ---------- 흰 카드 변형 ---------- */
.sheet-tight { padding: 14px 34px; }
@media (max-width: 720px) {
  .sheet-tight { padding: 8px 20px; }
}

/* ---------- 목차 ---------- */
.toc {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px 20px;
  margin: 0 0 40px;
}
.toc-title {
  margin: 0 0 12px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  margin-bottom: 7px;
  padding-left: 30px;
  position: relative;
  font-size: 0.96rem;
  line-height: 1.6;
}
.toc li:last-child { margin-bottom: 0; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: 0;
}
.toc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.toc a:hover {
  color: var(--blue-dark);
  border-bottom-color: var(--blue-light);
}

/* ---------- 카드 번호 ---------- */
.card-num {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue-light);
}

/* ---------- 더 보기 링크 ---------- */
.more-link { margin: 22px 0 0; text-align: right; }
.more-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.more-link a:hover { text-decoration: underline; }
.more-link span { transition: transform 0.16s ease; }
.more-link a:hover span { transform: translateX(3px); }

/* 본문 첫 h2 위쪽 여백 정리 */
.sheet > .toc + h2,
.sheet > h2:first-child { margin-top: 4px; }

/* 게시글 본문의 첫 문단을 조금 크게 — 도입부 리듬 */
.sheet > .toc + p,
.sheet > p:first-of-type {
  font-size: 1.06rem;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .page-head { padding: 24px 0 2px; }
  .toc { padding: 18px 20px 16px; margin-bottom: 30px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 12px 24px; font-size: 0.97rem; }
  html { scroll-padding-top: 84px; }
}

/* ============================================================
   청 · 백 · 적 삼색 구성 요소
   ============================================================ */

/* 사이트 전체를 관통하는 브랜드 띠. 헤더 아래와 푸터 위에 놓습니다. */
.tricolor {
  height: 3px;
  background: linear-gradient(
    to right,
    var(--blue) 0%,
    var(--blue) 56%,
    #ffffff 56%,
    #ffffff 72%,
    var(--red) 72%,
    var(--red) 100%
  );
}

/* 게시글 제목 아래 구분선도 같은 삼색으로 */
.article-head,
.page-head--rule {
  border-bottom: 0;
  position: relative;
  padding-bottom: 22px;
}
.article-head::after,
.page-head--rule::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 128px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--navy) 0%,
    var(--navy) 84%,
    var(--red) 84%,
    var(--red) 100%
  );
}

/* h2 위 짧은 바도 삼색으로 */
h2::before {
  width: 30px;
  height: 3px;
  margin-bottom: 16px;
  background: linear-gradient(
    to right,
    var(--navy) 0%,
    var(--navy) 72%,
    var(--red) 72%,
    var(--red) 100%
  );
}
.sheet h2::before { border: 0; }

/* ---------- 카테고리 카드 ----------
   아이콘 대신 큰 숫자와 타이포로만 위계를 만듭니다. */
.card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
}
.card-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--cat, var(--blue));
  opacity: 0.09;
  pointer-events: none;
}
.card h3 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 15px;
  font-size: 1.24rem;
  line-height: 1.4;
}
/* 제목 왼쪽 얇은 세로 규칙 — 카테고리 색 */
.card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 3px;
  border-radius: 999px;
  background: var(--cat, var(--blue));
}
.card h3 a { text-decoration: none; color: var(--navy); }
.card h3 a:hover { color: var(--cat, var(--blue)); }
.card p {
  flex: 1 1 auto;
  margin: 0;
  padding-left: 15px;
  color: var(--ink-soft);
  font-size: 0.945rem;
  line-height: 1.72;
}
.card-recent {
  flex: none !important;
  margin-top: 18px !important;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem !important;
  color: var(--ink-faint) !important;
  line-height: 1.6 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-recent span {
  color: var(--cat, var(--blue));
  font-weight: 700;
  margin-right: 7px;
}
.card-count {
  margin-top: 14px;
  padding-left: 15px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: -0.01em;
}

/* ---------- 히어로 균형 잡기 ---------- */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}
.hero h1 { font-size: 2.55rem; }
.hero-facts {
  display: grid;
  gap: 12px;
}
.hero-fact {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.hero-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--fx, var(--blue-light));
}
.hero-fact dt {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 4px;
  font-weight: 600;
}
.hero-fact dd {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero-fact dd small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 2rem; }
}

/* ---------- 목록 페이지 머리말에 삼색 룰 ---------- */
.page-head { padding-bottom: 6px; }

/* ---------- 푸터 상단 삼색 ---------- */
.site-footer { border-top: 0; }

/* ============================================================
   마감 손질
   청(네이비) = 구조 / 백(흰 지면) = 내용 / 적 = 구두점
   ============================================================ */

/* ---------- 히어로: 상자 세 개 → 하나의 패널에 헤어라인 구분 ---------- */
.hero-facts {
  display: block;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  padding: 6px 26px;
  backdrop-filter: blur(2px);
}
.hero-fact {
  background: none;
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  overflow: visible;
}
.hero-fact:first-child { border-top: 0; }
.hero-fact::before {
  top: 26px;
  bottom: auto;
  left: -26px;
  width: 3px;
  height: 20px;
  border-radius: 0 999px 999px 0;
}
.hero-fact dt {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.hero-fact dd {
  font-size: 1.34rem;
  letter-spacing: -0.04em;
}
.hero-fact dd small {
  color: rgba(255, 255, 255, 0.42);
  margin-top: 5px;
}

/* 히어로 격자·광원을 더 낮춘다 */
.hero::before {
  background-size: 68px 68px;
  opacity: 0.62;
}
.hero::after { opacity: 0.7; }

/* ---------- 섹션 라벨: 알약 → 대문자 + 적색 점 ---------- */
.eyebrow {
  background: none;
  padding: 0;
  color: var(--navy);
  font-size: 0.755rem;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.eyebrow::before { width: 5px; height: 5px; }
.hero .eyebrow { background: none; color: rgba(255, 255, 255, 0.72); }

/* ---------- 흰 지면의 경계를 또렷하게 ---------- */
.sheet,
.card {
  border-color: #dbe4ee;
}

/* ---------- 카드 여백과 위계 ---------- */
.card { padding: 32px 28px 28px; }
.card-num {
  top: 22px;
  right: 26px;
  font-size: 2.6rem;
  opacity: 0.1;
}
.card h3 { font-size: 1.2rem; letter-spacing: -0.035em; }
.card h3::before { width: 2px; }

/* ---------- 섹션 리듬 ---------- */
.section-block { margin-top: 72px; }
.section-block:first-of-type { margin-top: 56px; }
.section-title { font-size: 1.5rem; letter-spacing: -0.04em; }
.section-desc { margin-bottom: 28px; }
main { padding-bottom: 88px; }

/* ---------- 표: 선을 얇게 ---------- */
.table-scroll { border-color: #dbe4ee; }
th { background: #f2f6fa; }
th, td { border-color: #e8eef5; }

/* ---------- 목차: 톤 낮추기 ---------- */
.toc {
  background: #f6f9fc;
  border-color: #e2eaf3;
}
.toc-title { color: var(--navy); letter-spacing: 0.14em; }
.toc li::before { color: var(--ink-faint); }

/* ---------- 헤더: 하단 광택 제거 ---------- */
.site-header { box-shadow: none; }

/* ---------- 인용문 ---------- */
blockquote {
  background: #f6f9fc;
  border-left-color: var(--navy);
}

@media (max-width: 900px) {
  .hero-facts { padding: 4px 22px; }
  .hero-fact::before { left: -22px; }
}

/* ============================================================
   홈 구성
   방문자는 주제가 아니라 "내 처지"로 들어온다.
   그래서 상황별 진입구 → 대표 글 → 주제 순으로 놓는다.
   ============================================================ */

/* ---------- 상황별 진입구 ---------- */
.situations {
  background: var(--card);
  border-bottom: 1px solid #dbe4ee;
}
.situations-title {
  margin: 0;
  padding: 26px 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.situations ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
}
.situations li { margin: 0; }
.situations a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 22px 20px 0;
  margin-right: 22px;
  border-top: 2px solid transparent;
  text-decoration: none;
  height: 100%;
}
.situations li + li a {
  border-left: 1px solid var(--line-soft);
  padding-left: 22px;
}
.situations a:hover { border-top-color: var(--red); }
.sit-q {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.032em;
  line-height: 1.45;
}
.sit-a {
  font-size: 0.87rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.sit-arrow {
  color: var(--blue);
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.15s ease;
}
.situations a:hover .sit-q { color: var(--blue); }
.situations a:hover .sit-arrow { transform: translateX(3px); }

@media (max-width: 720px) {
  .situations ul { grid-template-columns: 1fr; }
  .situations a {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 0;
    margin-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .situations li + li a { border-left: 0; padding-left: 0; }
  .situations li:last-child a { border-bottom: 0; }
  .sit-a { flex: none; text-align: right; font-size: 0.82rem; }
}

/* ---------- 섹션 머리 (제목 + 오른쪽 더보기) ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head .eyebrow { margin-bottom: 10px; }
.section-head .section-title { margin: 0; }
.section-more {
  flex: none;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  padding-bottom: 4px;
}
.section-more:hover { color: var(--blue); }

/* ---------- 대표 글 + 압축 목록 ---------- */
.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 20px;
  align-items: start;
}

.feature {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 34px 34px 30px;
  color: #fff;
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.feature::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 213, 255, 0.14), transparent 68%);
  pointer-events: none;
}
.feature-cat {
  display: inline-block;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  margin-bottom: 14px;
  position: relative;
}
.feature-title {
  margin: 0 0 14px;
  font-size: 1.72rem;
  line-height: 1.32;
  font-weight: 850;
  letter-spacing: -0.045em;
  color: var(--cream);
  position: relative;
}
.feature-title::before { display: none; }
.feature-desc {
  margin: 0 0 22px;
  font-size: 0.99rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.76);
  position: relative;
}
.feature-more {
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  position: relative;
}
.feature:hover .feature-title { color: #fff; }

/* 압축 목록 */
.mini-list {
  list-style: none;
  margin: 0;
  padding: 4px 26px;
  background: var(--card);
  border: 1px solid #dbe4ee;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.mini-list > li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin: 0;
  padding: 17px 0;
  border-top: 1px solid var(--line-soft);
}
.mini-list > li:first-child { border-top: 0; }
.mini-num {
  flex: none;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  width: 20px;
}
.mini-body { min-width: 0; }
.mini-list h3 {
  margin: 0 0 7px;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.032em;
}
.mini-list h3 a { text-decoration: none; color: var(--navy); }
.mini-list h3 a:hover { color: var(--blue); text-decoration: underline; }
.mini-list .post-meta { font-size: 0.81rem; gap: 9px; }
.mini-list .tag { font-size: 0.76rem; padding: 2px 10px; }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px 26px; }
  .feature-title { font-size: 1.42rem; }
  .mini-list { padding: 4px 20px; }
}

/* 히어로가 아래 흰 띠와 맞닿으므로 하단 여백을 줄인다 */
.hero { padding-bottom: 56px; }

/* 대표 글과 목록의 윗선을 맞춘다 */
.mosaic > .feature { margin: 0; }
.mosaic .section-block { margin-top: 0; }

/* 상황별 진입구 글자 키우기 — 40~60대 기준 */
.sit-q { font-size: 1.06rem; }
.sit-a { font-size: 0.9rem; }
.situations-title { padding-top: 30px; font-size: 0.8rem; }

/* ---------- 푸터 사업자 정보 ----------
   가운데 정렬하면 왼쪽 정렬인 나머지 푸터와 따로 놀아 붕 뜬다.
   같은 왼쪽 기준선에 놓고, 항목 사이만 가운뎃점으로 끊는다. */
.footer-biz {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 14px 0 6px !important;
  font-size: 0.83rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.44);
  letter-spacing: -0.01em;
}
.footer-biz span + span::before {
  content: "·";
  color: rgba(255, 255, 255, 0.22);
  margin-right: 8px;
}
.footer-biz a {
  color: rgba(255, 255, 255, 0.56);
  text-decoration: none;
}
.footer-biz a:hover { color: #fff; text-decoration: underline; }

.footer-copy {
  margin: 0 !important;
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0;
}

@media (max-width: 560px) {
  .footer-biz { gap: 0; flex-direction: column; }
  .footer-biz span + span::before { content: none; }
}

/* ============================================================
   핵심 수치 배지
   사진이 없는 정보 사이트에서 눈을 붙잡는 역할을 한다.
   장식이 아니라 클릭 전에 정보를 주는 요소다.
   ============================================================ */

/* ---------- 압축 목록의 수치 ---------- */
.mini-fig {
  flex: none;
  width: 96px;
  padding-right: 16px;
  border-right: 1px solid var(--line-soft);
  margin-right: 2px;
  text-align: right;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mini-fig b {
  display: block;
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.25;
  color: var(--cat, var(--navy));
  font-variant-numeric: tabular-nums;
}
.mini-fig em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--ink-faint);
  margin-top: 3px;
  letter-spacing: -0.02em;
}
.mini-list > li { align-items: stretch; gap: 14px; }

/* ---------- 대표 글의 수치 ---------- */
.feature-fig {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  margin: 0 0 18px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 12px 12px 0;
}
.feature-fig b {
  font-size: 1.9rem;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.feature-fig em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.feature-cat { display: block; }

/* ---------- 일반 목록(카테고리·전체) 의 수치 ---------- */
.post-list > li { position: relative; padding-left: 128px; }
.row-fig {
  position: absolute;
  left: 0;
  top: 24px;
  width: 110px;
  padding-right: 18px;
  border-right: 1px solid var(--line-soft);
  text-align: right;
}
.row-fig b {
  display: block;
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: var(--cat, var(--navy));
  font-variant-numeric: tabular-nums;
}
.row-fig em {
  display: block;
  font-style: normal;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--ink-faint);
  margin-top: 4px;
}
.post-list > li:first-child { padding-top: 8px; }
.post-list > li:first-child .row-fig { top: 8px; }

/* ---------- 게시글 상단의 수치 ---------- */
.post-fig {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--cat, var(--blue));
  border-radius: 0 14px 14px 0;
}
.post-fig b {
  font-size: 1.62rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: var(--cat, var(--navy));
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.post-fig em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .mini-fig { width: 78px; padding-right: 12px; }
  .mini-fig b { font-size: 0.96rem; }
  .mini-fig em { font-size: 0.68rem; }

  .post-list > li { padding-left: 0; }
  .row-fig {
    position: static;
    width: auto;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 12px;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .row-fig b { display: inline; font-size: 1.1rem; }
  .row-fig em { display: inline; margin-top: 0; }

  .post-fig { flex-direction: column; gap: 4px; }
  .post-fig b { font-size: 1.42rem; }
}

/* ============================================================
   카테고리 카드 안의 최근 글
   ============================================================ */
.card-posts {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0 15px;
  border-top: 1px solid var(--line-soft);
  flex: none;
}
.card-posts li {
  margin: 0 0 9px;
  padding-left: 13px;
  position: relative;
  font-size: 0.885rem;
  line-height: 1.55;
}
.card-posts li:last-child { margin-bottom: 0; }
.card-posts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cat, var(--blue));
  opacity: 0.5;
}
.card-posts a {
  color: var(--ink-soft);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-posts a:hover { color: var(--cat, var(--blue)); text-decoration: underline; }

.card-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  text-decoration: none;
  color: var(--cat, var(--blue)) !important;
}
.card-count:hover { text-decoration: underline; }

/* ============================================================
   '어떻게 쓰나' 신뢰 밴드 — 페이지를 네이비로 닫는다
   ============================================================ */
.trust {
  background: linear-gradient(130deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
  padding: 66px 0 62px;
  margin-top: 76px;
  position: relative;
  overflow: hidden;
}
.trust::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 213, 255, 0.13), transparent 68%);
  pointer-events: none;
}
.trust .wrap { position: relative; z-index: 1; }
.trust .eyebrow { background: rgba(255, 255, 255, 0.12); color: #fff; }

.trust-title {
  margin: 0 0 10px;
  font-size: 1.86rem;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.3;
  color: var(--cream);
}
.trust-title::before { display: none; }
.trust-title i { font-style: normal; color: var(--red); }
.trust-lead {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
}
.trust-grid > div {
  padding: 4px 28px 4px 0;
  margin-right: 28px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  padding-left: 22px;
}
.trust-grid > div:first-child { border-left-color: var(--red); }
.trust-grid b {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 10px;
}
.trust-grid span {
  display: block;
  font-size: 0.925rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.66);
}

.trust-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
}
.trust-foot b { color: #fff; font-weight: 800; }
.trust-foot .btn { margin-top: 0; flex: none; }

/* 신뢰 밴드가 푸터와 맞닿으므로 본문 하단 여백을 없앤다 */
main:has(.trust) { padding-bottom: 0; }

@media (max-width: 760px) {
  .trust { padding: 46px 0 44px; margin-top: 56px; }
  .trust-title { font-size: 1.5rem; }
  .trust-lead { margin-bottom: 30px; }
  .trust-grid > div {
    margin-right: 0;
    padding: 0 0 0 18px;
    margin-bottom: 26px;
  }
  .trust-grid > div:last-child { margin-bottom: 0; }
  .trust-foot { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   선언 — 이 사이트가 왜 있는지
   목록 앞에 주장을 세운다. 사례 셋 → 결론 한 줄.
   ============================================================ */

.manifesto {
  padding: 76px 0 8px;
}
.manifesto .eyebrow { margin-bottom: 30px; }

.manifesto-list {
  list-style: none;
  margin: 0 0 42px;
  padding: 0;
  max-width: 40em;
}
.manifesto-list li {
  position: relative;
  margin: 0 0 20px;
  padding-left: 30px;
  font-size: 1.14rem;
  line-height: 1.72;
  color: var(--ink-soft);
  letter-spacing: -0.025em;
}
.manifesto-list li:last-child { margin-bottom: 0; }
/* 사례마다 붉은 눈금 — 브랜드 구두점 */
.manifesto-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 2px;
  background: var(--red);
}
.manifesto-list b { color: var(--navy); font-weight: 800; }

.manifesto-punch {
  margin: 0 0 22px;
  font-size: 2.32rem;
  font-weight: 850;
  line-height: 1.32;
  letter-spacing: -0.055em;
  color: var(--navy);
}
.manifesto-punch em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
/* 결론 문장에만 밑줄 강조 */
.manifesto-punch em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 12px;
  background: var(--tint);
  z-index: -1;
  border-radius: 2px;
}
.manifesto-punch i { font-style: normal; color: var(--red); }

.manifesto-note {
  margin: 0;
  max-width: 38em;
  font-size: 1.01rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* 선언 다음에 오는 상황별 진입구와 간격 정리 */
.manifesto + .situations { margin-top: 66px; }

@media (max-width: 720px) {
  .manifesto { padding: 50px 0 4px; }
  .manifesto .eyebrow { margin-bottom: 22px; }
  .manifesto-list { margin-bottom: 32px; }
  .manifesto-list li {
    font-size: 1.03rem;
    padding-left: 24px;
    margin-bottom: 16px;
  }
  .manifesto-list li::before { width: 11px; }
  .manifesto-punch { font-size: 1.68rem; }
  .manifesto-punch em::after { height: 9px; }
  .manifesto-note { font-size: 0.97rem; }
  .manifesto + .situations { margin-top: 46px; }
}

/* ============================================================
   시각 강화 — 40~60대 기준
   장식을 더하지 않고, 대비와 크기를 올린다.
   ============================================================ */

/* ---------- 히어로: 제목을 키우고 수치 패널을 또렷하게 ---------- */
@media (min-width: 901px) {
  .hero { padding: 72px 0 68px; }
  .hero h1 { font-size: 3.05rem; }
  .hero p { font-size: 1.13rem; }
}
.hero-facts {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.hero-fact dd { font-size: 1.5rem; }
.hero-fact dt { font-size: 0.84rem; color: rgba(255, 255, 255, 0.66); }
.hero-fact::before { width: 4px; height: 24px; }

/* ---------- 상황별 진입구: 글자 줄 → 누를 수 있는 카드 ---------- */
.situations { padding-bottom: 30px; }
.situations ul { gap: 14px; }
.situations a {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 14px;
  padding: 20px 20px 18px;
  margin-right: 0;
  gap: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.situations li + li a { border-left: 1px solid var(--line); padding-left: 20px; }
.situations a:hover {
  border-top-color: var(--red);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.sit-q { font-size: 1.1rem; font-weight: 800; }
.sit-a {
  font-size: 0.9rem;
  color: var(--blue-dark);
  font-weight: 600;
  margin-top: auto;
  padding-top: 6px;
}
.sit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tint);
  font-size: 0.78rem;
  margin-left: 7px;
  vertical-align: -3px;
}
.situations a:hover .sit-arrow { background: var(--blue); color: #fff; transform: none; }
.situations-title { color: var(--navy); font-size: 0.84rem; }

@media (max-width: 720px) {
  .situations a {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .situations li + li a { border-left: 1px solid var(--line); padding-left: 18px; }
  .sit-a { text-align: left; font-size: 0.9rem; }
}

/* ---------- 카테고리 카드: 상단에 카테고리 색 밴드 ---------- */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--cat, var(--blue));
}
.card { padding-top: 34px; border-color: var(--line); }
.card-num {
  font-size: 3.1rem;
  opacity: 0.14;
  top: 20px;
}
.card h3 { font-size: 1.28rem; }
.card h3::before { width: 3px; }

/* ---------- 최신 글 영역을 흰 밴드로 분리 ---------- */
.latest-band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4px 0 62px;
  margin-top: 66px;
}
.latest-band .section-block:first-of-type { margin-top: 52px; }

/* ---------- 목록 항목을 더 또렷하게 ---------- */
.mini-list > li { padding: 20px 0; }
.mini-list h3 { font-size: 1.08rem; }
.mini-fig b { font-size: 1.15rem; }
.post-list h3 { font-size: 1.26rem; }
.row-fig b { font-size: 1.26rem; }

/* ---------- 본문 링크가 링크로 보이게 ---------- */
.sheet p > a,
.sheet li > a,
.manifesto-note a {
  text-decoration: underline;
  text-decoration-color: var(--blue-light);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  font-weight: 600;
}
.sheet p > a:hover,
.sheet li > a:hover { text-decoration-color: var(--blue); }

/* ---------- 섹션 제목 키우기 ---------- */
@media (min-width: 901px) {
  .section-title { font-size: 1.72rem; }
  .manifesto-punch { font-size: 2.5rem; }
}
.eyebrow { font-size: 0.8rem; letter-spacing: 0.12em; }

/* ============================================================
   첫 화면에서 "여기 글이 있다"를 알린다
   ============================================================ */

/* 히어로를 줄여 콘텐츠를 위로 끌어올린다 */
@media (min-width: 901px) {
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 2.85rem; }
}
.hero { padding: 44px 0 42px; }

/* 히어로 안의 '27편 · 전체 보기' */
.hero-count {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hero-count:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.4);
  border-left-color: var(--red);
}
.hero-count b {
  font-size: 1.42rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--cream);
}
.hero-count span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero-count i { font-style: normal; color: var(--blue-light); margin-left: 4px; }

/* 상황별 진입구를 히어로에 바짝 붙인다 */
.situations { padding-bottom: 34px; }
.situations-title { padding-top: 26px; }

/* 선언이 아래로 내려갔으므로 위 간격을 준다 */
.manifesto { padding: 72px 0 4px; margin-top: 0; }
.manifesto + .trust { margin-top: 62px; }

@media (max-width: 720px) {
  .hero-count { margin-top: 20px; padding: 11px 16px; }
  .hero-count b { font-size: 1.2rem; }
  .hero-count span { font-size: 0.86rem; }
  .manifesto { padding-top: 50px; }
}

/* ============================================================
   썸네일 카드 그리드
   사진 대신 그 글의 핵심 숫자를 담은 이미지를 쓴다.
   장식이 아니라 클릭 전에 정보를 준다.
   ============================================================ */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.tile-grid > li { margin: 0; }

.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: var(--cat, var(--blue));
  box-shadow: 0 2px 4px rgba(16, 40, 64, 0.06), 0 22px 46px rgba(16, 40, 64, 0.13);
}
.tile-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--tint);
}
.tile-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.tile-cat {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cat, var(--blue));
  margin-bottom: 8px;
}
.tile h3 {
  margin: 0 0 12px;
  font-size: 1.06rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.032em;
  color: var(--navy);
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile:hover h3 { color: var(--blue); }
.tile time {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ---------- 대표 글: 이미지를 크게 얹는다 ---------- */
.feature {
  display: block;
  padding: 0;
  overflow: hidden;
}
.feature-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  position: relative;
}
.feature > :not(.feature-img) { position: relative; margin-left: 34px; margin-right: 34px; }
.feature-cat { margin-top: 26px; }
.feature-more { display: inline-block; margin-bottom: 30px; }
.feature::after { display: none; }
.feature-fig { display: none; }

@media (max-width: 720px) {
  .tile-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature > :not(.feature-img) { margin-left: 22px; margin-right: 22px; }
  .feature-cat { margin-top: 20px; }
  .feature-title { font-size: 1.34rem; }
}

/* ============================================================
   편집 인덱스 — 상자를 걷고 활자 크기로 위계를 만든다
   ============================================================ */

/* ---------- 대표 글: 전면 편집 블록 ---------- */
.lead {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 8px 0 44px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.lead-fig {
  padding-top: 6px;
  border-left: 3px solid var(--cat, var(--navy));
  padding-left: 20px;
}
.lead-fig b {
  display: block;
  font-size: 2.5rem;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.05;
  color: var(--cat, var(--navy));
  font-variant-numeric: tabular-nums;
}
.lead-fig em {
  display: block;
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-faint);
  margin-top: 10px;
}
.lead-cat {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cat, var(--blue));
  text-decoration: none;
  margin-bottom: 12px;
}
.lead-cat:hover { text-decoration: underline; }
.lead-title {
  margin: 0 0 16px;
  font-size: 2.1rem;
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: -0.05em;
}
.lead-title::before { display: none; }
.lead-title a { color: var(--navy); text-decoration: none; }
.lead-title a:hover { color: var(--blue); }
.lead-desc {
  margin: 0 0 20px;
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 40em;
}
.lead-more {
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  color: var(--navy);
}
.lead-more:hover { color: var(--blue); }

/* ---------- 목록: 헤어라인으로 나뉜 인덱스 행 ---------- */
.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.index-list > li { margin: 0; }
.idx {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: background 0.14s ease;
}
.idx:hover { background: rgba(40, 95, 209, 0.035); }
.idx-cat {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--cat, var(--blue));
  padding-left: 20px;
  border-left: 3px solid var(--cat, var(--blue));
}
.idx-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.idx-title::before { display: none; }
.idx:hover .idx-title { color: var(--blue); }
.idx-fig { text-align: right; white-space: nowrap; }
.idx-fig b {
  display: block;
  font-size: 1.24rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--cat, var(--navy));
  font-variant-numeric: tabular-nums;
}
.idx-fig em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 3px;
}

@media (max-width: 860px) {
  .lead { grid-template-columns: 1fr; gap: 22px; padding-bottom: 32px; }
  .lead-fig { display: flex; align-items: baseline; gap: 12px; padding-top: 0; }
  .lead-fig b { font-size: 1.8rem; }
  .lead-fig em { margin-top: 0; }
  .lead-title { font-size: 1.5rem; }

  .idx {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  .idx-cat { padding-left: 12px; font-size: 0.8rem; }
  .idx-title { font-size: 1.12rem; }
  .idx-fig { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .idx-fig b { display: inline; font-size: 1.02rem; }
  .idx-fig em { display: inline; margin-top: 0; }
}

/* ============================================================
   가이드(시리즈) — 흩어진 글을 읽는 순서로 묶는다
   ============================================================ */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.guide { margin: 0; }
.guide > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--cat, var(--navy));
  border-radius: 4px 4px 16px 16px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.guide > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(16, 40, 64, 0.06), 0 22px 46px rgba(16, 40, 64, 0.13);
}
.guide-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cat, var(--navy));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.guide h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.35;
  color: var(--navy);
}
.guide h3::before { display: none; }
.guide > a:hover h3 { color: var(--cat, var(--blue)); }
.guide p {
  margin: 0 0 18px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.guide-peek {
  list-style: none;
  margin: 0 0 18px;
  padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  flex: 1 1 auto;
}
.guide-peek li {
  display: flex;
  gap: 10px;
  margin: 0 0 9px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.guide-peek li:last-child { margin-bottom: 0; }
.guide-peek b {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--cat, var(--blue));
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.guide-more {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cat, var(--blue));
  letter-spacing: -0.02em;
}

/* ---------- 시리즈 페이지 ---------- */
.series-intro {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--ink-soft);
  padding-bottom: 26px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--line-soft);
}
.episodes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ep;
}
.episodes > li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.episodes > li:last-child { border-bottom: 0; }
.ep-no {
  font-size: 1.42rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--cat, var(--blue));
  opacity: 0.42;
  line-height: 1.4;
}
.ep-cat {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cat, var(--blue));
  margin-bottom: 6px;
}
.episodes h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.48;
  letter-spacing: -0.035em;
}
.episodes h3::before { display: none; }
.episodes h3 a { color: var(--navy); text-decoration: none; }
.episodes h3 a:hover { color: var(--blue); text-decoration: underline; }
.ep-note {
  margin: 0 0 10px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-soft);
}
.ep-fig {
  display: inline-block;
  font-size: 0.83rem;
  color: var(--ink-faint);
  padding: 3px 12px;
  background: var(--tint);
  border-radius: 999px;
}
.ep-fig b { color: var(--cat, var(--navy)); font-weight: 800; }
.series-foot {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 2px solid var(--line-soft);
  font-size: 0.94rem;
  color: var(--ink-faint);
}

@media (max-width: 640px) {
  .episodes > li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .ep-no { font-size: 1.16rem; }
  .episodes h3 { font-size: 1.08rem; }
}

/* ============================================================
   정리 — 카드 문법을 하나로 통일한다
   한 페이지에 카드 규칙이 여럿이면 조잡해 보인다.
   테두리·모서리·상단선·그림자를 한 벌로 맞춘다.
   ============================================================ */

.card,
.guide > a {
  border: 1px solid var(--line);
  border-top: 4px solid var(--cat, var(--navy));
  border-radius: 3px 3px 14px 14px;
  box-shadow: 0 1px 2px rgba(16, 40, 64, 0.04), 0 10px 26px rgba(16, 40, 64, 0.06);
  padding: 26px 24px 22px;
}
.card::before { display: none; }          /* 상단선은 border-top 하나로 */
.card:hover,
.guide > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(16, 40, 64, 0.05), 0 18px 40px rgba(16, 40, 64, 0.11);
  border-color: var(--line);
  border-top-color: var(--cat, var(--navy));
}

/* 카테고리 카드: 워터마크 숫자를 줄이고 제목을 살린다 */
.card-num { font-size: 2.3rem; opacity: 0.09; top: 18px; right: 22px; }
.card h3 { font-size: 1.22rem; margin-top: 2px; }
.card h3::before { display: none; }        /* 세로선 제거 — 상단선과 중복 */
.card h3 a, .card p, .card-posts, .card-count { padding-left: 0; }
.card-posts { padding-left: 0; }

/* 가이드 카드: 같은 규칙 + 회차 배지만 다르게 */
.guide-badge {
  background: transparent;
  color: var(--cat, var(--navy));
  border: 1px solid currentColor;
  padding: 3px 11px;
  margin-bottom: 12px;
}
.guide h3 { font-size: 1.22rem; font-weight: 800; }
.guide-peek b { background: transparent; border: 1px solid var(--line); }

/* ---------- 섹션 리듬: 라벨이 줄었으니 간격을 넓힌다 ---------- */
.section-block { margin-top: 88px; }
.section-block:first-of-type { margin-top: 60px; }
.section-desc { margin-bottom: 30px; }

/* 히어로 다음이 바로 가이드가 되므로 여백을 준다 */
.hero + .wrap-wide .section-block:first-of-type { margin-top: 66px; }

/* 신뢰 밴드가 두 줄 제목을 받으므로 조정 */
.trust-title { font-size: 2.05rem; line-height: 1.34; }
@media (max-width: 760px) {
  .trust-title { font-size: 1.52rem; }
  .section-block { margin-top: 60px; }
}

/* ============================================================
   장식 걷어내기 — 토스뱅크에서 뽑은 수치 기준
   카드에 테두리·상단선·그림자를 겹치지 않는다.
   면(배경색)과 여백만으로 구분한다.
   ============================================================ */

/* ---------- 카드: 5겹 장식 → 면 하나 ---------- */
.card,
.guide > a {
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  background: var(--card);
  padding: 30px 28px 28px;
  transition: background 0.16s ease, transform 0.16s ease;
}
.card:hover,
.guide > a:hover {
  transform: none;
  box-shadow: none;
  background: #f4f8fc;
}
.card::before, .guide > a::before { display: none; }

/* 제목을 얇게 — 굵기로 소리치지 않는다 */
.card h3,
.guide h3 {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.5;
  margin: 0 0 10px;
}

/* 카테고리 표시는 작은 색 점 하나로 */
.card-num { display: none; }
.card h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--blue));
  margin: 0 9px 0 0;
  vertical-align: 0.12em;
}
.card p { font-size: 0.93rem; line-height: 1.72; }
.card-posts { border-top: 1px solid var(--line-soft); }
.card-count { font-weight: 600; }

/* 가이드 배지도 담백하게 */
.guide-badge {
  border: 0;
  background: var(--tint);
  color: var(--cat, var(--navy));
  font-size: 0.74rem;
  padding: 4px 11px;
}
.guide-peek { border-top: 1px solid var(--line-soft); }
.guide-peek b { border: 0; background: var(--tint); }

/* 지면과 카드가 구분되도록 지면을 한 톤 더 내린다 */
:root { --page: #e3eaf2; }
.latest-band { border-top: 0; border-bottom: 0; }

/* ---------- 헤드라인을 토스 수준으로 ---------- */
@media (min-width: 901px) {
  .hero h1 { font-size: 3.5rem; line-height: 1.22; }
  .hero p { font-size: 1.15rem; }
  .section-title { font-size: 1.9rem; }
  .trust-title { font-size: 2.3rem; }
}

/* ---------- 히어로 수치 패널도 면으로만 ---------- */
.hero-facts { border: 0; background: rgba(255, 255, 255, 0.08); border-radius: 20px; }
.hero-count { border: 0; border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; }

/* ---------- 인덱스 목록: 선을 얇게 ---------- */
.idx { border-bottom: 1px solid rgba(22, 40, 58, 0.08); }
.idx-cat { border-left-width: 2px; }
.lead { border-bottom: 1px solid rgba(22, 40, 58, 0.12); }
.lead-fig { border-left-width: 2px; }

@media (max-width: 900px) {
  .hero h1 { font-size: 2.05rem; }
  .card, .guide > a { padding: 24px 22px 22px; border-radius: 16px; }
}

/* ============================================================
   UX 점검 반영 — 58세 노안 사용자 기준
   측정 결과 접근성 미달 항목을 고친다. 취향이 아니라 기준 문제.
   ============================================================ */

/* ---------- 1) 표 · 목차 글자를 본문 수준으로 ----------
   숫자 표가 이 사이트의 핵심인데 15.4px 이었다. */
table { font-size: 1.02rem; }
th, td { padding: 14px 15px; line-height: 1.7; }
.toc li { font-size: 1.02rem; }

/* ---------- 2) 메타 대비를 WCAG AA(4.5) 이상으로 ----------
   날짜·읽는시간이 3.49 로 미달이었다. */
:root { --ink-faint: #5f6d7e; }
.post-meta,
.post-meta time,
.tile time,
.idx-fig em,
.mini-fig em,
.row-fig em,
.card-count,
.breadcrumb { color: #5f6d7e; }
.post-meta { font-size: 0.92rem; }

/* ---------- 3) 탭 영역 최소 44px ----------
   손가락으로 누르는 링크는 세로 44px 이상이어야 한다. */
.toc a {
  display: block;
  padding: 11px 0;
  min-height: 44px;
  box-sizing: border-box;
}
.toc li { padding-left: 32px; margin-bottom: 0; }
.toc li::before { top: 13px; }

.footer-cols a {
  display: inline-block;
  padding: 11px 0;
  min-height: 44px;
  box-sizing: border-box;
}
.footer-cols li { margin-bottom: 0; }

.tag {
  padding: 9px 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* ---------- 4) 모바일 제목을 키운다 ---------- */
@media (max-width: 900px) {
  h1 { font-size: 1.92rem; line-height: 1.32; }
  .page-head h1 { font-size: 1.86rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.16rem; }
  .article-lead { font-size: 1.06rem; }
}

/* ---------- 5) 본문 문단 간격을 넓혀 읽는 부담을 줄인다 ---------- */
.sheet p { margin-bottom: 22px; }
.sheet li { margin-bottom: 11px; line-height: 1.78; }
.sheet h2 { margin-top: 52px; }

/* ---------- 6) 강조 문구가 눈에 띄게 ---------- */
.sheet strong { font-weight: 800; }

/* ============================================================
   글 페이지 — 처음 온 사람이 읽기 쉽게
   ① 카테고리 색 헤더로 정체를 즉시 알린다
   ② 읽기 진행 바로 남은 분량을 보여준다
   ③ 다 읽고 나면 다음 화로 이어준다
   ============================================================ */

/* ---------- ① 카테고리 색 헤더 ---------- */
.post-hero {
  background: linear-gradient(135deg, var(--cat, var(--navy-deep)), color-mix(in srgb, var(--cat, var(--navy)) 55%, #06111d));
  color: #fff;
  padding: 46px 0 44px;
  position: relative;
  overflow: hidden;
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .post-hero { background: linear-gradient(135deg, var(--cat, var(--navy-deep)), var(--navy-deep)); }
}
.post-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 68%);
  pointer-events: none;
}
.post-hero .wrap { position: relative; z-index: 1; }

.post-hero-cat {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 18px;
}
.post-hero-cat:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

.post-hero h1 {
  margin: 0 0 14px;
  font-size: 2.15rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.045em;
  color: #fff;
}
.post-hero h1::before { display: none; }
.post-hero-lead {
  margin: 0 0 18px;
  font-size: 1.06rem;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42em;
}
.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
}
.post-hero-fig {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #fff;
  border-radius: 0 14px 14px 0;
}
.post-hero-fig b {
  font-size: 1.72rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  color: #fff;
  white-space: nowrap;
}
.post-hero-fig em {
  font-style: normal;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
}

/* 헤더가 생겼으니 본문 카드는 살짝 겹쳐 올린다 */
.post-hero + article .sheet { margin-top: -26px; position: relative; z-index: 2; }
.post-hero + article .breadcrumb { display: none; }

/* ---------- ② 읽기 진행 바 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.08s linear;
}

/* ---------- ③ 가이드 이어보기 ---------- */
.sernav {
  margin-top: 44px;
  background: var(--card);
  border-radius: 20px;
  padding: 28px 30px 24px;
}
.sernav-head { padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.sernav-label {
  margin: 0 0 6px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--cat, var(--blue));
}
.sernav-name {
  font-size: 1.24rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-decoration: none;
}
.sernav-name:hover { color: var(--cat, var(--blue)); }
.sernav-steps {
  display: flex;
  gap: 7px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.sernav-steps li {
  margin: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sernav-steps li.on { background: var(--cat, var(--blue)); color: #fff; }

.sernav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 20px;
}
.sernav-links a {
  display: block;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--tint);
  min-height: 44px;
}
.sernav-links a:hover { background: #dfeafa; }
.sernav-links span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cat, var(--blue));
  margin-bottom: 4px;
}
.sernav-links b {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.sernav-next { text-align: right; }
.sernav-empty {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.sernav-links > .sernav-empty:last-child { justify-content: flex-end; }

@media (max-width: 720px) {
  .post-hero { padding: 32px 0 34px; }
  .post-hero h1 { font-size: 1.66rem; }
  .post-hero-lead { font-size: 1rem; }
  .post-hero-fig { margin-top: 20px; padding: 13px 16px; }
  .post-hero-fig b { font-size: 1.36rem; }
  .sernav { padding: 22px 20px 20px; }
  .sernav-links { grid-template-columns: 1fr; gap: 12px; }
  .sernav-next { text-align: left; }
}

/* ============================================================
   퇴직금 계산기 — 글 안에서 직접 계산해보게 한다
   ============================================================ */

.calc-severance {
  margin: 36px 0;
  padding: 28px 26px 24px;
  background: var(--tint);
  border-radius: 18px;
  border-left: 4px solid var(--blue);
}
.calc-title {
  margin: 0 0 6px;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.calc-help {
  margin: 0 0 20px !important;
  font-size: 0.9rem !important;
  color: var(--ink-soft);
  line-height: 1.65;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.calc-grid label { display: flex; flex-direction: column; margin: 0; }
.calc-grid span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.calc-grid input {
  font: inherit;
  font-size: 1.02rem;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
}
.calc-grid input:focus {
  outline: 3px solid rgba(40, 95, 209, 0.28);
  outline-offset: 1px;
  border-color: var(--blue);
}
.calc-grid small {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.5;
}
.calc-actions { display: flex; align-items: flex-end; }
.calc-actions button {
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 12px 20px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
}
.calc-actions button:hover { background: #eef4fb; color: var(--navy); }

.calc-out {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.calc-out dl { margin: 0 0 16px; }
.calc-out dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.calc-out dt { color: var(--ink-soft); margin: 0; }
.calc-out dd { margin: 0; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

.calc-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 !important;
  padding: 18px 20px;
  background: var(--navy);
  border-radius: 12px;
}
.calc-result span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.calc-result b {
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.calc-note {
  margin: 18px 0 0 !important;
  font-size: 0.86rem !important;
  line-height: 1.7;
  color: var(--ink-faint);
}

@media (max-width: 640px) {
  .calc-severance { padding: 22px 18px 20px; margin: 28px 0; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { flex-direction: column; gap: 4px; align-items: flex-start; }
  .calc-result b { font-size: 1.4rem; }
}
