/* =====================================================
   폰트 — Paperlogy (전체)
===================================================== */
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-1Thin.ttf') format('truetype');
  font-weight: 100; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-2ExtraLight.ttf') format('truetype');
  font-weight: 200; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-3Light.ttf') format('truetype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-4Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-5Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-6SemiBold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-7Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-8ExtraBold.ttf') format('truetype');
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('/fonts/Paperlogy/Paperlogy-9Black.ttf') format('truetype');
  font-weight: 900; font-display: swap;
}


/* =====================================================
   CSS 변수 — 검은색 계열 팔레트
===================================================== */
:root {
  --bg-0:   #060606;
  --bg-1:   #0f0f0f;
  --bg-2:   #161616;
  --bg-3:   #202020;
  --bd-0:   #1c1c1c;
  --bd-1:   #282828;
  --bd-2:   #404040;
  --tx-0:   #f0f0f0;
  --tx-1:   #b0b0b0;
  --tx-2:   #707070;
  --white:  #ffffff;
  --font-h: 'Paperozi', sans-serif;
  --font-b: 'Paperozi', sans-serif;
  --r:      6px;
  --max:    1080px;
}

/* =====================================================
   리셋 & 베이스
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-0);
  color: var(--tx-0);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-b); cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  color: var(--tx-0);
  font-weight: 700;
  line-height: 1.15;
}

/* =====================================================
   레이아웃
===================================================== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.page-body { padding: 52px 0 96px; }

/* =====================================================
   네비게이션
===================================================== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6,6,6,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bd-0);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-brand {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
}

.nav-menu { display: flex; list-style: none; }
.nav-menu a {
  display: block;
  padding: 0 14px;
  height: 58px;
  line-height: 58px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--tx-1);
  letter-spacing: .5px;
  transition: color .2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--white); border-bottom-color: var(--white); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--tx-0);
  font-size: 1.3rem;
  padding: 4px;
}

/* =====================================================
   히어로
===================================================== */
.hero {
  padding: 88px 0 68px;
  border-bottom: 1px solid var(--bd-0);
}

.hero-eyebrow {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tx-2);
  margin-bottom: 20px;
  font-family: var(--font-h);
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -3px;
  line-height: .95;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: .93rem;
  color: var(--tx-1);
  max-width: 400px;
  margin-bottom: 40px;
  line-height: 1.9;
  font-weight: 300;
}

/* 검색바 (form 기반) */
.search-wrap {
  display: flex;
  max-width: 420px;
  background: var(--bg-1);
  border: 1px solid var(--bd-0);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}
.search-wrap:focus-within { border-color: var(--bd-2); }

.search-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 12px 16px;
  color: var(--tx-0);
  font-family: var(--font-b);
  font-size: .875rem;
}
.search-wrap input::placeholder { color: var(--tx-2); }

.search-wrap button {
  background: var(--white);
  color: #000;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity .2s;
}
.search-wrap button:hover { opacity: .82; }

/* =====================================================
   섹션 헤더
===================================================== */
.sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bd-0);
  margin-bottom: 28px;
}

.sec-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tx-2);
  font-family: var(--font-h);
}

.sec-count { font-size: .72rem; color: var(--tx-2); }

/* =====================================================
   버튼
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--r);
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.btn-w { background: var(--white); color: #000; }
.btn-w:hover { opacity: .82; color: #000; }
.btn-o {
  background: transparent;
  color: var(--tx-1);
  border: 1px solid var(--bd-1);
}
.btn-o:hover { border-color: var(--bd-2); color: var(--white); }

/* =====================================================
   태그
===================================================== */
.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--bd-0);
  border-radius: 2px;
  font-size: .63rem;
  font-weight: 600;
  color: var(--tx-2);
  letter-spacing: .5px;
  transition: all .18s;
  font-family: var(--font-h);
  text-transform: uppercase;
  cursor: pointer;
}
.tag:hover { border-color: var(--white); color: var(--white); }

/* =====================================================
   피처드 포스트 — <a> 블록 링크
===================================================== */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--bd-0);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 48px;
  transition: border-color .25s;
  background: var(--bg-1);
  color: inherit;
}
.featured:hover { border-color: var(--bd-2); color: inherit; }

.feat-thumb {
  background: var(--bg-2);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.feat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  transition: opacity .4s;
}
.featured:hover .feat-thumb img { opacity: .72; }

.feat-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--white);
  color: #000;
  font-family: var(--font-h);
  font-size: .58rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.feat-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  font-size: .7rem;
  color: var(--tx-2);
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-h);
}
.post-meta .dot { color: var(--bd-1); }

.feat-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.feat-excerpt {
  font-size: .875rem;
  color: var(--tx-1);
  margin-bottom: 28px;
  line-height: 1.8;
  font-weight: 300;
  flex: 1;
}

/* =====================================================
   포스트 카드 그리드 — <a> 블록 링크
===================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bd-0);
  border: 1px solid var(--bd-0);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 36px;
}

.pcard {
  background: var(--bg-0);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: background .18s;
  color: inherit;
}
.pcard:hover { background: var(--bg-1); color: inherit; }

.pcard-thumb {
  width: 100%; height: 140px;
  background: var(--bg-2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.pcard-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .4;
  transition: opacity .3s;
}
.pcard:hover .pcard-thumb img { opacity: .62; }

.pcard-cat {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tx-2);
  margin-bottom: 8px;
  font-family: var(--font-h);
}

.pcard-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--tx-0);
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color .2s;
  flex: 1;
}
.pcard:hover .pcard-title { color: var(--white); }

.pcard-excerpt {
  font-size: .78rem;
  color: var(--tx-2);
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--bd-0);
  padding-top: 14px;
  margin-top: auto;
}

.pcard-date { font-size: .68rem; color: var(--tx-2); font-family: var(--font-h); }
.pcard-arr  { font-size: .75rem; color: var(--tx-2); transition: color .2s, transform .2s; }
.pcard:hover .pcard-arr { color: var(--white); transform: translateX(3px); }

/* =====================================================
   사이드바
===================================================== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: start;
}

.widget {
  border: 1px solid var(--bd-0);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 16px;
}

.widget-hd {
  padding: 11px 16px;
  border-bottom: 1px solid var(--bd-0);
  font-family: var(--font-h);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tx-2);
}

.widget-bd { padding: 12px 16px; }

.w-list { list-style: none; }
.w-list li { border-bottom: 1px solid var(--bd-0); }
.w-list li:last-child { border-bottom: none; }

.w-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: .82rem;
  color: var(--tx-1);
  transition: color .2s;
  line-height: 1.4;
}
.w-list a:hover { color: var(--white); }

.w-count { font-size: .68rem; color: var(--tx-2); flex-shrink: 0; margin-left: 8px; }

.tag-wrap { display: flex; flex-wrap: wrap; gap: 6px; }

/* =====================================================
   페이지네이션
===================================================== */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 36px; }
.pg-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--bd-0);
  border-radius: 4px;
  font-size: .78rem; font-family: var(--font-h); font-weight: 600;
  color: var(--tx-1);
  cursor: pointer; transition: all .18s;
  text-decoration: none;
}
.pg-btn:hover { border-color: var(--bd-2); color: var(--white); }
.pg-btn.on { background: var(--white); border-color: var(--white); color: #000; }

/* =====================================================
   상태 박스
===================================================== */
.state-box {
  text-align: center;
  padding: 72px 20px;
  color: var(--tx-2);
}
.state-icon { font-size: 1.6rem; margin-bottom: 16px; opacity: .5; }
.state-box h3 { font-size: 1rem; color: var(--tx-1); margin-bottom: 8px; font-weight: 600; }
.state-box p  { font-size: .85rem; line-height: 1.8; }

/* =====================================================
   포스트 상세 — 헤더
===================================================== */
.post-hero { padding: 56px 0 0; }

.post-cover {
  width: 100%; max-height: 400px;
  object-fit: cover; border-radius: var(--r);
  opacity: .6; margin-bottom: 44px;
}

.post-hd-meta {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  font-size: .7rem; color: var(--tx-2);
  margin-bottom: 18px;
  font-family: var(--font-h); letter-spacing: .3px;
}

.back-link { color: var(--tx-2); transition: color .2s; }
.back-link:hover { color: var(--white); }

.post-hd-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -1.5px; margin-bottom: 22px; line-height: 1.05;
}

.post-hd-lead {
  font-size: 1.05rem; color: var(--tx-1); line-height: 1.85;
  border-left: 2px solid var(--bd-2);
  padding-left: 20px;
  font-weight: 300; max-width: 640px; margin-bottom: 32px;
}

.post-hd-divider { border: none; border-top: 1px solid var(--bd-0); }

/* =====================================================
   포스트 본문 레이아웃
===================================================== */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 64px;
  align-items: start;
  padding: 48px 0 96px;
}

.post-layout.no-toc { grid-template-columns: 1fr; max-width: 720px; }

/* =====================================================
   목차
===================================================== */
.toc {
  position: sticky;
  top: 80px;
  border: 1px solid var(--bd-0);
  border-radius: var(--r);
  overflow: hidden;
}

.toc-hd {
  padding: 10px 14px;
  border-bottom: 1px solid var(--bd-0);
  font-family: var(--font-h);
  font-size: .58rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--tx-2);
}

.toc-list { list-style: none; padding: 8px 0; }
.toc-list li a {
  display: block;
  padding: 5px 14px;
  font-size: .76rem;
  color: var(--tx-2);
  transition: color .2s; line-height: 1.4;
}
.toc-list li a:hover { color: var(--white); }
.toc-list li.toc-h2 a { padding-left: 14px; }
.toc-list li.toc-h3 a { padding-left: 22px; font-size: .7rem; }
.toc-list li.toc-h4 a { padding-left: 30px; font-size: .68rem; }
.toc-list li.active a { color: var(--white); }

/* =====================================================
   포스트 본문
===================================================== */
.post-body { min-width: 0; }

.post-body p {
  color: var(--tx-1); margin-bottom: 1.4em;
  font-size: 1rem; line-height: 1.9; font-weight: 300;
}

.post-body h2 {
  font-size: 1.75rem; font-weight: 800; color: var(--white);
  margin: 3em 0 .8em; letter-spacing: -.5px;
  padding-bottom: .5em; border-bottom: 1px solid var(--bd-0);
}
.post-body h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  margin: 2.4em 0 .7em; letter-spacing: -.3px;
}
.post-body h4 {
  font-size: 1.05rem; font-weight: 700; color: var(--tx-0);
  margin: 2em 0 .6em;
}

.post-body ul, .post-body ol {
  padding-left: 22px; margin-bottom: 1.5em; color: var(--tx-1);
}
.post-body li { margin-bottom: .5em; line-height: 1.85; font-weight: 300; }

.post-body code {
  font-size: .84em;
  background: var(--bg-2); border: 1px solid var(--bd-1);
  padding: 2px 7px; border-radius: 3px; color: var(--tx-0);
  font-family: 'Fira Code', 'Courier New', monospace;
}

.post-body pre {
  background: var(--bg-1); border: 1px solid var(--bd-0);
  border-radius: var(--r); padding: 22px 24px;
  overflow-x: auto; margin-bottom: 1.8em;
}
.post-body pre code {
  background: none; border: none; padding: 0;
  font-size: .875rem; line-height: 1.7;
}

.post-body blockquote {
  border-left: 2px solid var(--bd-2);
  padding: 14px 20px; margin: 0 0 1.5em;
  color: var(--tx-1); font-style: italic;
  background: var(--bg-1);
  border-radius: 0 var(--r) var(--r) 0;
}

.post-body hr { border: none; border-top: 1px solid var(--bd-0); margin: 2.4em 0; }

.post-body figure { margin: 1.8em 0; }
.post-body img { border-radius: var(--r); opacity: .82; width: 100%; }
.post-body figcaption { font-size: .78rem; color: var(--tx-2); margin-top: 8px; text-align: center; }

.post-body .callout {
  background: var(--bg-2); border: 1px solid var(--bd-1);
  border-radius: var(--r); padding: 16px 20px;
  margin-bottom: 1.5em; font-size: .92rem; color: var(--tx-1);
}

.post-body details {
  border: 1px solid var(--bd-0); border-radius: var(--r);
  padding: 12px 16px; margin-bottom: 1.2em;
}
.post-body details summary {
  cursor: pointer; font-weight: 600; color: var(--tx-0);
  list-style: none; font-size: .95rem;
}

.post-body a {
  color: var(--tx-0);
  border-bottom: 1px solid var(--bd-2);
  transition: border-color .2s, color .2s;
}
.post-body a:hover { color: var(--white); border-bottom-color: var(--white); }
.post-body strong { color: var(--tx-0); font-weight: 600; }
.post-body em { font-style: italic; }
.post-body del { text-decoration: line-through; color: var(--tx-2); }
.post-body .empty { color: var(--tx-2); font-style: italic; }

/* 유튜브 임베드 */
.yt-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  margin: 1.8em 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--bd-0);
}
.yt-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 1;
}

/* 이전/다음 포스트 네비 */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 48px; margin-top: 48px;
  border-top: 1px solid var(--bd-0);
}

.post-nav-item {
  border: 1px solid var(--bd-0); border-radius: var(--r);
  padding: 18px 20px;
  transition: border-color .2s, background .2s; color: inherit;
}
.post-nav-item:hover { border-color: var(--bd-2); background: var(--bg-1); color: inherit; }
.post-nav-item.next { text-align: right; }

.post-nav-dir { font-size: .62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--tx-2); margin-bottom: 6px; font-family: var(--font-h); }
.post-nav-title { font-size: .88rem; font-weight: 600; color: var(--tx-0); line-height: 1.35; }

/* =====================================================
   About 페이지
===================================================== */
.about-hero {
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--bd-0);
}

.about-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bd-0);
  margin-bottom: 0;
}

.about-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--bd-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem; flex-shrink: 0;
}

.about-name { font-size: 1.9rem; font-weight: 800; color: var(--white); letter-spacing: -1px; margin-bottom: 6px; }
.about-role { font-size: .78rem; color: var(--tx-2); font-family: var(--font-h); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.about-bio  { font-size: .93rem; color: var(--tx-1); line-height: 1.9; font-weight: 300; max-width: 540px; margin-bottom: 22px; }

.about-links { display: flex; gap: 8px; flex-wrap: wrap; }
.about-link {
  padding: 7px 15px; border: 1px solid var(--bd-1);
  border-radius: var(--r); font-size: .72rem; font-weight: 600;
  color: var(--tx-1); font-family: var(--font-h); letter-spacing: .5px;
  transition: all .2s;
}
.about-link:hover { border-color: var(--white); color: var(--white); }

.about-section { padding: 44px 0; border-bottom: 1px solid var(--bd-0); }

.about-section-title {
  font-size: .63rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--tx-2);
  margin-bottom: 24px; font-family: var(--font-h);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px; background: var(--bd-0);
  border: 1px solid var(--bd-0); border-radius: var(--r); overflow: hidden;
}

.skill-item { background: var(--bg-0); padding: 18px 20px; }
.skill-name { font-size: .88rem; font-weight: 600; color: var(--tx-0); margin-bottom: 4px; }
.skill-desc { font-size: .75rem; color: var(--tx-2); line-height: 1.5; }

.timeline { list-style: none; }
.timeline li {
  display: grid; grid-template-columns: 84px 1fr; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--bd-0);
}
.timeline li:last-child { border-bottom: none; }
.tl-date  { font-size: .7rem; color: var(--tx-2); font-family: var(--font-h); padding-top: 2px; }
.tl-title { font-size: .88rem; font-weight: 600; color: var(--tx-0); margin-bottom: 4px; }
.tl-desc  { font-size: .78rem; color: var(--tx-2); line-height: 1.6; font-weight: 300; }

/* =====================================================
   푸터
===================================================== */
footer { border-top: 1px solid var(--bd-0); padding: 50px 0 26px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}

.footer-brand { font-family: var(--font-h); font-size: .95rem; font-weight: 800; letter-spacing: 2px; color: var(--white); text-transform: uppercase; margin-bottom: 12px; }
.footer-desc  { font-size: .8rem; color: var(--tx-2); line-height: 1.8; font-weight: 300; }

footer h4 {
  font-family: var(--font-h); font-size: .6rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--tx-2); margin-bottom: 14px;
}

.flinks { list-style: none; }
.flinks li { margin-bottom: 10px; }
.flinks a { font-size: .8rem; color: var(--tx-2); transition: color .2s; }
.flinks a:hover { color: var(--white); }

.footer-bot {
  border-top: 1px solid var(--bd-0); padding-top: 18px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bot p { font-size: .72rem; color: var(--tx-2); }

/* =====================================================
   반응형
===================================================== */
@media (max-width: 860px) {
  .blog-layout     { grid-template-columns: 1fr; }
  .sidebar         { display: none; }
  .post-layout     { grid-template-columns: 1fr; }
  .toc             { display: none; }
}

@media (max-width: 720px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 58px; left: 0; right: 0;
    background: var(--bg-0);
    border-bottom: 1px solid var(--bd-0);
    flex-direction: column;
    padding: 6px 0; z-index: 300;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { height: auto; line-height: 1; padding: 13px 24px; border-bottom: none; margin: 0; }
  .hamburger { display: block; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .about-profile { grid-template-columns: 1fr; }
  .post-nav      { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .featured    { grid-template-columns: 1fr; }
  .cards-grid  { grid-template-columns: 1fr; }
  .hero-title  { letter-spacing: -2px; }
}
