/* ==========================================================================
   GeoMoment Blog Styles v2 — TOC + Author + Callouts + Cards
   ========================================================================== */

.blog-main {
  padding: var(--sp-6) 0 0;
  background: #ffffff;
}
/* .blog-index and .blog-post supply their own bottom padding */

.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--sp-4); }

/* ==========================================================================
   Blog Index
   ========================================================================== */

.blog-index { padding: var(--sp-7) 0 var(--sp-9); }
.blog-index-header { text-align: center; max-width: 760px; margin: 0 auto var(--sp-8); }
.blog-index-title {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: var(--sp-3) 0 var(--sp-3);
  line-height: 1.25;
}
.blog-index-sub { color: var(--ink-500); font-size: 17px; line-height: 1.7; }

/* ===== Category tabs (auto-activated when ≥ 2 posts/categories) ===== */
.blog-index-tabs {
  display: flex;
  gap: var(--sp-2);
  margin: 0 auto var(--sp-6);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--ink-100);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.blog-index-tabs a {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--ink-50);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.blog-index-tabs a:hover { color: var(--indigo); background: var(--indigo-50); }
.blog-index-tabs a.is-active { background: var(--indigo); color: white; }

/* ===== Hub sections ===== */
.blog-section { margin: 0 0 var(--sp-9); }
.blog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 var(--sp-5);
}
.blog-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.01em;
}
.blog-section-more {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 600;
}
.blog-section-more:hover { color: var(--indigo); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-5);
}

/* ===== Featured card (large hero card, full row) ===== */
.blog-card--featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(17,18,22,0.10);
  border: 1px solid var(--ink-100);
}
.blog-card--featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(77,87,245, 0.16);
  border-color: rgba(77,87,245, 0.3);
}
.blog-card--featured > a { display: contents; }
.blog-card--featured .blog-card-thumb {
  aspect-ratio: auto;
  min-height: 340px;
  height: 100%;
}
.blog-card--featured .blog-card-body {
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card--featured .blog-card-title {
  font-size: 28px;
  line-height: 1.3;
  margin: var(--sp-3) 0 var(--sp-4);
}
.blog-card--featured .blog-card-desc {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
@media (max-width: 768px) {
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card-thumb { min-height: 200px; aspect-ratio: 16/9; }
  .blog-card--featured .blog-card-body { padding: var(--sp-5); }
  .blog-card--featured .blog-card-title { font-size: 22px; }
  .blog-card--featured .blog-card-desc { font-size: 14.5px; }
}

/* ===== Author footer at bottom of hub ===== */
.blog-index-footer {
  margin-top: var(--sp-7);
  padding: var(--sp-7) var(--sp-6);
  background: linear-gradient(135deg, #f7f6f3 0%, #ebedff 100%);
  border-radius: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.blog-index-footer-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-index-footer-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-900);
}
.blog-index-footer-name span {
  font-weight: 500;
  color: var(--ink-500);
  font-size: 14px;
}
.blog-index-footer-bio {
  margin: 0 0 var(--sp-3);
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.65;
}
.blog-index-footer-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo);
}
.blog-index-footer-cta:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .blog-index-footer { grid-template-columns: 1fr; text-align: center; padding: var(--sp-5); }
  .blog-index-footer-avatar { width: 72px; height: 72px; margin: 0 auto; }
}

.blog-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(77,87,245, 0.1);
  border-color: rgba(77,87,245, 0.3);
}
.blog-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* 카드 썸네일 (자동 그라데이션 placeholder) */
.blog-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #4d57f5 0%, #7052f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10) 0%, transparent 50%);
}
.blog-card-thumb-label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  background: rgba(0,0,0,0.18);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.blog-card-thumb-mono {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 80px;
  font-weight: 800;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Image-backed card thumb (overrides gradient placeholder) */
.blog-card-thumb--image { background: var(--ink-50); overflow: hidden; }
.blog-card-thumb--image::before { display: none; }
.blog-card-thumb--image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-thumb--image img { transform: scale(1.03); }

.blog-card-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--indigo);
  background: rgba(77,87,245, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
  align-self: flex-start;
}
.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.4;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-desc {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-400);
  margin-top: auto;
}
.blog-card-avatar {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
}
.blog-card-author { color: var(--ink-700); font-weight: 600; }
.blog-card-dot { opacity: 0.5; }

.blog-empty {
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
  color: var(--ink-400);
  font-size: 16px;
}

/* ==========================================================================
   Reading Progress Bar (top fixed)
   ========================================================================== */

/* ==========================================================================
   Reading Progress Widget — 카드형 도넛 + 맨 위로
   ========================================================================== */

.reading-widget {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.reading-widget.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* 도넛 SVG */
.reading-widget-donut {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.reading-widget-track {
  fill: none;
  stroke: rgba(15, 23, 42, 0.10);
  stroke-width: 4;
}
.reading-widget-arc {
  fill: none;
  stroke: url(#readingGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 94.25;        /* 2 * PI * 15 */
  stroke-dashoffset: 94.25;        /* 시작 시 0% */
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.15s linear;
}

/* 퍼센트 텍스트 */
.reading-widget-pct {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: -0.01em;
  min-width: 32px;
  text-align: center;
}

/* 맨 위로 버튼 */
.reading-widget-top {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4d57f5 0%, #7052f3 100%);
  color: white;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 10px rgba(77,87,245, 0.3);
}
.reading-widget-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(77,87,245, 0.4);
}
.reading-widget-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .reading-widget { bottom: 16px; padding: 6px 6px 6px 12px; gap: 8px; }
  .reading-widget-donut { width: 22px; height: 22px; }
  .reading-widget-pct { font-size: 12px; min-width: 28px; }
  .reading-widget-top { width: 26px; height: 26px; font-size: 13px; }
}

/* ==========================================================================
   Post Summary — 마케터를 위한 핵심 요약 (글 본문 시작 직전)
   ========================================================================== */

.post-summary {
  background: #111216;
  border-left: 4px solid #76AAFD;
  border-radius: 18px;
  padding: var(--sp-5) var(--sp-5);
  margin-bottom: var(--sp-6);
  color: #d5d7dc;
}
.post-summary-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.post-summary-icon { font-size: 18px; line-height: 1; }
.post-summary-label {
  font-size: 14px;
  font-weight: 700;
  color: #76AAFD;
  letter-spacing: 0.01em;
}
.post-summary-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: #d5d7dc;
}
.post-summary-body p { margin: 0 0 8px; }
.post-summary-body p:last-child { margin-bottom: 0; }
.post-summary-body strong { color: white; font-weight: 700; }
.post-summary-body sup {
  font-size: 11px;
  color: #94A3B8;
}

/* ==========================================================================
   Blog Post — Hero
   ========================================================================== */

.blog-post { padding-bottom: var(--sp-9); }

.post-hero {
  background: transparent;
  padding: var(--sp-5) 0 var(--sp-6);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--ink-100);
}
.post-grid--hero { align-items: start; }
.post-sidebar--hero { display: block; }
@media (max-width: 1024px) {
  .post-sidebar--hero { display: none; }
}
.post-cat {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--indigo);
  background: rgba(77,87,245, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: var(--sp-4);
}
.post-title {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-4);
}
.post-lede {
  font-size: 19px;
  color: var(--ink-600);
  line-height: 1.65;
  margin: 0 0 var(--sp-5);
}

/* Author·날짜·읽기시간 row */
.post-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 14px;
  color: var(--ink-500);
  flex-wrap: wrap;
}
.post-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-meta-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}
.post-meta-author > span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.post-meta-author strong { color: var(--ink-900); font-weight: 700; font-size: 15px; font-style: normal; }
.post-meta-author em { color: var(--ink-400); font-size: 12px; font-style: normal; }
.post-meta-divider {
  width: 1px; height: 24px; background: var(--ink-100);
}
.post-meta-date { color: var(--ink-500); }
.post-meta-read {
  background: var(--ink-50);
  color: var(--ink-700);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* ==========================================================================
   Post Grid — Body + Sticky TOC
   ========================================================================== */

.post-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
  display: grid;
  grid-template-columns: minmax(0, 760px) 240px;
  gap: 60px;
  align-items: stretch;  /* let .post-sidebar fill the row so sticky child can scroll inside */
}

.post-main { min-width: 0; }

.post-sidebar {
  position: relative;
  align-self: stretch;     /* sidebar must fill the grid row so sticky has scroll room */
}
.post-toc {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  padding: var(--sp-5) 0 0 var(--sp-4);
  border-left: 1px solid var(--ink-100);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.post-toc-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.post-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.post-toc-list .toc-item {
  margin-bottom: 8px;
  line-height: 1.5;
}
.post-toc-list .toc-h3 {
  padding-left: 14px;
  font-size: 13px;
}
.post-toc-list .toc-h4 {
  padding-left: 28px;
  font-size: 12px;
  color: var(--ink-400);
}
.post-toc-list .toc-h4 a { font-size: 12px; }
.post-toc-list a {
  color: var(--ink-500);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -14px;
  transition: color 0.15s, border-color 0.15s;
}
.post-toc-list a:hover { color: var(--indigo); }
.post-toc-list a.is-active {
  color: var(--indigo);
  border-left-color: var(--indigo);
  font-weight: 600;
}

/* ==========================================================================
   Post Body — Typography
   ========================================================================== */

.post-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-800);
}
.post-body > * + * { margin-top: var(--sp-4); }
.post-body h2 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
  scroll-margin-top: 100px;
}
.post-body h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink-900);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
  scroll-margin-top: 100px;
}
.post-body p { margin-bottom: var(--sp-4); }
.post-body ul, .post-body ol { padding-left: var(--sp-5); margin: var(--sp-3) 0; }
.post-body li { margin-bottom: 10px; line-height: 1.75; }
.post-body strong { font-weight: 700; color: var(--ink-900); }
.post-body a { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--violet); }
.post-body code {
  font-family: ui-monospace, 'Consolas', monospace;
  background: var(--ink-50);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--ink-900);
}
.post-body pre {
  background: #111216;
  color: #d5d7dc;
  padding: var(--sp-4);
  border-radius: 12px;
  overflow-x: auto;
  margin: var(--sp-4) 0;
  font-size: 14px;
  line-height: 1.6;
}
.post-body pre code { background: transparent; color: inherit; padding: 0; }
.post-body blockquote {
  border-left: 4px solid var(--indigo);
  padding: var(--sp-3) var(--sp-4);
  margin: var(--sp-4) 0;
  background: rgba(77,87,245, 0.04);
  border-radius: 0 8px 8px 0;
  color: var(--ink-700);
  font-style: italic;
  font-size: 17px;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: var(--sp-4) 0;
  display: block;
}
.post-body figure {
  margin: var(--sp-6) 0;
}
.post-body figure img { margin: 0; }
.post-body figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-400);
  margin-top: 10px;
}

/* YouTube / video embed — responsive 16:9 */
.post-body .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: var(--sp-5) 0;
  background: var(--ink-50);
  box-shadow: var(--shadow-md);
}
.post-body .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 표 */
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-4) 0;
  font-size: 15px;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  overflow: hidden;
}
.post-body th, .post-body td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-100);
}
.post-body th {
  background: var(--ink-50);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 14px;
  letter-spacing: -0.01em;
}
.post-body tr:last-child td { border-bottom: none; }
.post-body tr:hover td { background: rgba(77,87,245, 0.02); }
.post-body hr { border: none; border-top: 1px solid var(--ink-100); margin: var(--sp-6) 0; }

/* ==========================================================================
   Callout boxes (Note · Tip · Warn · Quote)
   ========================================================================== */

.post-body .callout {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-radius: 12px;
  border-left: 4px solid;
  background: #FFFFFF;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(17,18,22,0.04);
}
.post-body .callout > * + * { margin-top: 8px; }
.post-body .callout-title {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.post-body .callout-body p:last-child { margin-bottom: 0; }
.post-body .callout--note {
  border-left-color: var(--indigo);
  background: rgba(77,87,245, 0.05);
}
.post-body .callout--note .callout-title { color: var(--indigo); }
.post-body .callout--tip {
  border-left-color: #10B981;
  background: rgba(16, 185, 129, 0.06);
}
.post-body .callout--tip .callout-title { color: #059669; }
.post-body .callout--warn {
  border-left-color: #F59E0B;
  background: rgba(245, 158, 11, 0.06);
}
.post-body .callout--warn .callout-title { color: #B45309; }
/* Inside a callout, the inner blockquote should not add a second
   vertical bar/background on top of the callout's own one. */
.post-body .callout blockquote {
  border-left: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
}

.post-body .callout--quote {
  border-left-color: var(--violet);
  background: rgba(112,82,243, 0.05);
  font-style: italic;
}
.post-body .callout--quote .callout-title { color: var(--violet); }

/* ==========================================================================
   Post Footer — Share, Author bio, CTA
   ========================================================================== */

/* Hero thumbnail banner above the body */
.post-hero-image {
  margin: 0 0 var(--sp-6);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(17,18,22,0.10);
}
.post-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sidebar share (inside .post-toc) */
.post-toc-share {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--ink-100);
}
.post-toc-share .post-share-btn {
  width: 100%;
  justify-content: center;
}

.post-share-btn {
  background: white;
  border: 1px solid var(--ink-200);
  color: var(--ink-700);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.post-share-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(77,87,245, 0.04);
}

.post-author-box {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--ink-50);
  border-radius: 16px;
  align-items: flex-start;
}
.post-author-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
}
.post-author-info { flex: 1; }
.post-author-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.post-author-name span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-400);
  margin-left: 6px;
}
.post-author-bio {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.65;
  margin: 0;
}

.post-cta-card {
  background: var(--ink-50);
  border: none;
  border-radius: 22px;
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
  margin-top: var(--sp-6);
}
.post-cta-card h3 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-3);
  line-height: 1.4;
}
.post-cta-card p {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

/* === Related posts === */
.post-related { margin: var(--sp-7) 0 var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--ink-100); }
.post-related-title { font-size: 18px; font-weight: 700; color: var(--ink-900); margin: 0 0 var(--sp-4); }
.post-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4); }
.post-related-card { display: flex; flex-direction: column; gap: 6px; padding: var(--sp-4); background: var(--ink-50); border-radius: 12px; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.post-related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17,18,22,0.08); text-decoration: none; }
.post-related-cat { font: 600 10px ui-monospace, 'Consolas', monospace; letter-spacing: 0.5px; color: var(--indigo); text-transform: uppercase; }
.post-related-name { font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.4; }
.post-related-desc { font-size: 12.5px; color: var(--ink-500); line-height: 1.5; flex: 1; }
.post-related-date { font-size: 11px; color: var(--ink-400); font-family: ui-monospace, 'Consolas', monospace; }

.post-related-empty { padding: var(--sp-5); background: var(--ink-50); border-radius: 12px; border-left: 3px solid var(--violet); }
.post-related-empty p { margin: 0 0 var(--sp-3); font-size: 14px; color: var(--ink-700); }
.post-related-empty ul { margin: 0 0 var(--sp-3); padding-left: 20px; }
.post-related-empty li { font-size: 13.5px; color: var(--ink-700); padding: 4px 0; line-height: 1.55; }
.post-related-cta { display: inline-block; margin-top: var(--sp-2); font-size: 13px; font-weight: 600; color: var(--indigo); text-decoration: none; }
.post-related-cta:hover { text-decoration: underline; }

.post-nav { text-align: center; padding-top: var(--sp-5); }
.post-back {
  color: var(--ink-500);
  text-decoration: none;
  font-size: 14px;
}
.post-back:hover { color: var(--indigo); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 0;
  }
  .post-sidebar { display: none; }
}

@media (max-width: 768px) {
  .post-hero { padding: var(--sp-6) 0 var(--sp-5); margin-bottom: var(--sp-5); }
  .blog-index-title { font-size: 32px; }
  .post-title { font-size: 28px; }
  .post-lede { font-size: 16px; }
  .post-body { font-size: 16px; }
  .post-body h2 { font-size: 22px; }
  .post-body h3 { font-size: 18px; }
  .post-meta { gap: var(--sp-2); font-size: 13px; }
  .post-meta-divider { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-cta-card { padding: var(--sp-5); }
  .post-cta-card h3 { font-size: 18px; }
  .post-author-box { flex-direction: column; gap: var(--sp-3); }
  .post-author-avatar { width: 56px; height: 56px; }
}
