:root {
  --bg: #101013;
  --surface: #1c1c21;
  --surface-2: #2a2a31;
  --text: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.64);
  --text-mute: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.08);
  --gnb-h: 48px;
  --blue: #3182f6;
  --max: 1140px;
  /* 토스뱅크와 같은 콘텐츠 최대 너비 (헤더·히어로가 함께 씁니다) */
  --container: clamp(916px, 408.013px + 35.1792vw, 1024px);
  /* 본문(히어로 글자·카드 영역) 너비. 1752px 이상과 1444~1751px에서는 헤더와 같습니다 */
  --content: var(--container);
  /* 1252~1443px에서는 왼쪽 사이드바 자리(224px)를 비우고 그 오른쪽에서 가운데 정렬합니다 */
  --offset: 0px;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Header (토스뱅크식 GNB + 메가 메뉴) ===== */
.gnb {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: rgba(16, 16, 19, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s linear;
}
.gnb.is-open {
  background: #000;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
/* 로고 · 메뉴 · 버튼이 --container 안에서 양 끝 정렬됩니다 */
.gnb__bar {
  width: var(--container); margin: 0 auto;
  height: var(--gnb-h);
  display: flex; align-items: center; justify-content: space-between;
}
.gnb__logo { width: 118px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }

.gnb__nav { display: flex; gap: 29px; list-style: none; }
.gnb__nav button {
  display: block; padding: 12px 0;
  font-size: 15px; font-weight: 500; line-height: 1.5;
  color: #d1d6db; white-space: nowrap;
}
.gnb__nav button:hover,
.gnb__nav button.is-active { color: var(--blue); }

.gnb__cta {
  padding: 4px 10px; border-radius: 40px;
  border: 1px solid #e5e8eb;
  font-size: 11px; font-weight: 600; line-height: 1.6; color: #d1d6db;
}
.gnb__burger, .gnb__back { display: none; width: 24px; height: 24px; color: #d1d6db; }
.gnb__burger .icon-close { display: none; }
.gnb__mobile { display: none; }
.hero__dots { display: none; }
body.is-locked { overflow: hidden; }

/* 펼쳐지는 패널: 왼쪽은 제목·설명, 오른쪽은 1차 메뉴 시작점에 맞춘 컬럼 */
.gnb__panels { position: relative; }
.gnb__panel {
  display: none;
  width: var(--container); margin: 0 auto;
  padding: 24px 0 56px;
  opacity: 0; transition: opacity 0.2s linear;
}
.gnb__panel.is-active { display: flex; }
.gnb.is-open .gnb__panel.is-active { opacity: 1; }
/* JS가 컨테이너 왼쪽에서 1차 메뉴까지의 거리를 --nav-offset으로 넣어 줍니다 */
.gnb__desc { width: calc(var(--nav-offset, 386px) - 40px); margin-right: 40px; flex-shrink: 0; }
.gnb__desc h4 { font-size: 24px; font-weight: 700; line-height: 1.6; color: #d1d6db; }
.gnb__desc p { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #b0b8c1; }
.gnb__cols { display: flex; gap: 80px; list-style: none; }
.gnb__col { display: flex; flex-direction: column; }
.gnb__col-title { font-size: 12px; font-weight: 500; line-height: 1.6; color: #8b95a1; margin-bottom: 8px; }
.gnb__col a { padding: 12px 0; font-size: 16px; font-weight: 700; line-height: 1.5; color: #d1d6db; white-space: nowrap; }
.gnb__col a:hover { color: #fff; }

/* 메뉴가 열리면 본문을 어둡게 흐립니다 */
.gnb-dim {
  position: fixed; inset: 0; z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0; pointer-events: none; transition: opacity 0.2s linear;
}
.gnb-dim.is-open { opacity: 1; }

/* ===== Hero (토스뱅크 배치) ===== */
/* flow-root: 안쪽 글 영역의 위 여백(200px)이 바깥으로 새어 배경까지 밀리지 않게 합니다 */
.hero { position: relative; display: flow-root; padding-left: var(--offset); }

/* 화면 전체를 덮는 배경 이미지 + 아래로 갈수록 배경색이 되는 그라데이션 */
.hero__bg {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: 100%; height: 800px; overflow: hidden;
}
/* 이 높이와 .hero__content 여백을 바꾸면 tools/make_thumbs.py의 HERO_ICON_CY · HERO_ICON도 다시 맞춰야 합니다
   (배너 배경 속 아이콘이 문구 옆에 오도록 그 값으로 위치를 정했습니다) */
.hero__bg-item {
  position: absolute; inset: 0 0 auto 0; height: 1000px;
  opacity: 0; transition: opacity 0.6s ease;
}
.hero__bg-item.is-active { opacity: 1; }
.hero__bg-item img,
.hero__bg-placeholder {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero__bg-placeholder { background: var(--ph); }
/* hero.bg 없이 썸네일을 배경으로 쓸 때만, 썸네일 글자가 배너 문구와 겹치지 않게 화면에서 흐리고 어둡게 합니다.
   hero.bg(tools/make_thumbs.py가 미리 만든 배경, .is-prepared)는 필터를 쓰지 않아 슬라이드 전환이 가볍습니다 */
.hero__bg-item:not(.is-prepared) img { filter: blur(8px) brightness(0.6); transform: scale(1.05); }
.hero[hidden] { display: none; }
.hero__bg-dim {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.1) 0%, var(--bg) 100%);
}

/* 글 · 버튼: --content 너비, 위 200px · 아래 180px 여백 */
.hero__content {
  position: relative; z-index: 1;
  width: var(--content); margin: 200px auto 180px;
}
.hero__texts {
  position: relative;
  max-width: 560px; height: 204px; margin-bottom: 60px;
}
.hero__text {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease; pointer-events: none;
}
.hero__text.is-active { opacity: 1; pointer-events: auto; }
.hero__title {
  margin-bottom: 20px;
  font-size: 48px; font-weight: 700; line-height: 1.3; color: #fff;
}
.hero__desc {
  font-size: 20px; font-weight: 500; line-height: 1.6; color: #e5e8eb;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__controls { display: flex; gap: 10px; align-items: center; }
.btn-pill {
  display: inline-flex; align-items: center;
  padding: 18px 32px; border-radius: 100px;
  background: rgba(253, 253, 254, 0.89);
}
.btn-pill span { font-size: 17px; font-weight: 700; line-height: 1.6; color: #191f28; }
.btn-round {
  width: 64px; height: 64px; padding: 10px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(222, 222, 255, 0.19);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: #d1d6db;
}
.btn-round:hover { background: rgba(222, 222, 255, 0.28); }

/* ===== Sidebar + feed (토스뱅크 배치) ===== */
.layout { position: relative; z-index: 1; padding: 0 0 0 var(--offset); }

/* 사이드바: 화면 왼쪽 끝(24px)에 붙고, 스크롤하면 헤더 아래에 멈춥니다 */
.side { position: absolute; top: 0; bottom: 0; left: 24px; width: 200px; }
.side__inner {
  position: sticky; top: calc(var(--gnb-h) + 24px);
  display: flex; flex-direction: column; gap: 20px;
  font-size: 11px; line-height: 1.6; color: #6b7684;
}
.side__group { display: flex; flex-direction: column; gap: 2px; }
.side__title { font-weight: 700; color: #8b95a1; margin-bottom: 3px; }
.side__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.side__links strong { color: #8b95a1; }
.side a:hover { color: #b0b8c1; }
.side__sns { display: flex; gap: 12px; }
.side__sns a { width: 20px; height: 20px; border-radius: 50%; background: #333d4b; }

/* 카드 영역: --content 너비로 가운데 정렬 */
.feed { width: var(--content); margin: 0 auto 96px; }
.feed__title { font-size: 20px; font-weight: 700; line-height: 1.6; margin-bottom: 20px; }
.feed__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
/* 카드: 토스뱅크와 같은 그라데이션 배경 · 16:9 썸네일 · 글 좌우 16px */
.card {
  position: relative; display: block; overflow: hidden;
  padding-bottom: 32px; border-radius: 20px;
  background: linear-gradient(rgba(1, 8, 29, 0.4) 50%, rgba(209, 209, 253, 0.05) 100%);
  transition: transform 0.15s ease-in, background 0.3s ease-out;
}
.card:hover {
  transform: translateY(-8px);
  background: linear-gradient(rgba(1, 8, 29, 0.3) 50%, rgba(217, 217, 255, 0.11) 100%);
}
.card > :not(.card__thumb) { margin-left: 16px; margin-right: 16px; }
.card__thumb {
  width: 100%; aspect-ratio: 320 / 180; object-fit: cover;
  background: rgba(209, 209, 253, 0.05);
  display: grid; place-items: center; color: var(--text-mute); font-size: 13px;
}
.card__meta {
  display: flex; align-items: center; gap: 8px;
  padding: 20px 0 8px;
  font-size: 12px; font-weight: 500; line-height: 1.6; color: #b0b8c1;
}
.card__meta i { width: 1px; height: 10px; border-radius: 1px; background: #b0b8c1; }
.card__title {
  margin-bottom: 16px;
  font-size: 17px; font-weight: 700; line-height: 1.6; color: #e5e8eb;
  transition: color 0.15s ease-in;
}
.card:hover .card__title { color: var(--blue); }
.card__date { font-size: 12px; font-weight: 500; line-height: 1.6; color: #8b95a1; }
.card[hidden] { display: none; }

/* 경로 배지 (PDF · GitHub · 웹): 썸네일 왼쪽 위에 겹쳐 붙입니다 */
.card > .card__badges { position: absolute; top: 12px; left: 12px; margin: 0; display: flex; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: 8px;
  font-size: 12px; font-weight: 600; line-height: 1.2;
  background: rgba(16, 16, 19, 0.82); color: #e5e8eb;
  backdrop-filter: blur(4px);
}
.badge--live { color: #64a8ff; }
.badge--github { color: #e5e8eb; }
.badge--pdf { color: #ff8a8a; }
.badge em { display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-weight: 500; color: #8b95a1; }
.badge em svg { width: 11px; height: 11px; }

/* 경로 필터 칩: 제목 아래, 고른 칩은 흰 바탕 */
.feed__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 24px; }
.feed__filters[hidden] { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 100px;
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: #b0b8c1; background: rgba(217, 217, 255, 0.11);
  transition: background 0.15s, color 0.15s;
}
.chip span { color: #6b7684; font-weight: 500; }
.chip:hover { background: rgba(217, 217, 255, 0.18); color: #e5e8eb; }
.chip.is-active { background: rgba(253, 253, 254, 0.89); color: #191f28; }
.chip.is-active span { color: #4e5968; }

/* ===== Responsive (토스뱅크와 같은 구간) ===== */
@media (min-width: 1752px) {
  :root { --container: clamp(1232px, 919.762px + 17.8218vw, 1376px); }
  .gnb__cols { gap: 64px; }
  .feed__grid { grid-template-columns: repeat(4, 1fr); }
  .hero__bg { height: 900px; }
  .hero__bg-item { height: 1400px; }
  .hero__texts { max-width: 680px; height: 237px; }
  .hero__title { font-size: 56px; line-height: 1.25; }
}
@media (max-width: 1443px) {
  :root {
    --container: calc(100vw - 48px);
    --content: clamp(916px, 208.063px + 56.5445vw, 1024px);
    --offset: 224px;
  }
  .hero__bg-item { height: max(80vw, 800px); }
}
/* 1251px 이하: 사이드바 자리를 없애고, 사이드바 내용은 화면 너비 전체의 푸터로 내립니다 */
@media (max-width: 1251px) {
  :root {
    --content: clamp(916px, 251.954px + 61.7143vw, 1024px);
    --offset: 0px;
  }
  .layout { display: flex; flex-direction: column; }
  .side {
    order: 2; position: static; width: 100%;
    padding: 50px 40px; background: #0b0b0d; border-top: 1px solid #191f28;
  }
  .side__inner { position: static; }
}

/* 1075px 이하: 토스뱅크처럼 로고 + ☰ 헤더, ☰를 누르면 전체 화면 메뉴 */
@media (max-width: 1075px) {
  :root { --content: clamp(608px, 447.896px + 20.8469vw, 672px); }
  .gnb__nav, .gnb__cta, .gnb__panels, .gnb-dim { display: none; }
  .gnb__burger { display: block; }
  .feed__grid { grid-template-columns: repeat(2, 1fr); }

  .gnb { height: var(--gnb-h); overflow: hidden; transition: background-color 0.4s, height 0.5s; }
  .gnb.is-mobile-open { height: 100vh; height: 100dvh; background: #000; }
  .gnb.is-mobile-open .icon-open { display: none; }
  .gnb.is-mobile-open .icon-close { display: block; }
  .gnb.is-mobile-open.is-sub .gnb__logo { display: none; }
  .gnb.is-mobile-open.is-sub .gnb__back { display: block; }

  .gnb__mobile {
    display: block; height: calc(100% - var(--gnb-h));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .gnb:not(.is-mobile-open) .gnb__mobile { visibility: hidden; }
  .mnav__list { list-style: none; }
  .mnav__item {
    display: block; width: 100%; padding: 8px 32px; text-align: left;
    font-size: 20px; font-weight: 700; line-height: 1.6; color: #f9fafb;
  }
  .mnav__info { margin: 0 32px; padding: 40px 0 18px; }
  .mnav__info .side__title { font-size: 12px; }

  .mnav__head { padding: 24px 32px 40px; }
  .mnav__head h5 { font-size: 24px; font-weight: 700; line-height: 1.6; color: #f9fafb; }
  .mnav__head p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: #b0b8c1; }
  .mnav__groups { padding: 0 32px 8px; }
  .mnav__group { padding-bottom: 32px; }
  .mnav__group-title { padding-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 1.6; color: #8b95a1; }
  .mnav__group ul { list-style: none; margin-bottom: 16px; }
  .mnav__group a { display: block; padding: 8px 0; font-size: 20px; font-weight: 700; line-height: 1.6; color: #d1d6db; }
}

/* 767px 이하: 배너는 500px 높이에 글을 가운데 정렬, 화살표 대신 점, 카드는 1줄 */
@media (max-width: 767px) {
  :root { --content: calc(100% - 40px); }
  .hero { height: 500px; margin-bottom: 36px; overflow: hidden; }
  .hero__bg { height: 100%; }
  .hero__bg-item { height: 100%; }
  .hero__bg-dim { bottom: auto; height: 845px; }
  .hero__content {
    position: absolute; left: 0; right: 0; bottom: 72px;
    width: auto; margin: 0; padding: 0 20px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .hero__texts { display: grid; max-width: none; height: auto; margin-bottom: 0; }
  .hero__text { position: relative; inset: auto; grid-area: 1 / 1; }
  .hero__title { margin-bottom: 8px; font-size: 24px; line-height: 1.25; }
  .hero__desc { margin-bottom: 16px; font-size: 14px; font-weight: 400; }
  .btn-pill { padding: 14px 24px; }
  .btn-pill span { font-size: 12px; }
  .btn-round { display: none; }
  .hero__dots {
    position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1;
    display: flex; justify-content: center; gap: 6px;
  }
  .hero__dots button { width: 8px; height: 8px; border-radius: 24px; background: rgba(224, 224, 255, 0.27); }
  .hero__dots button.is-active { background: #fff; }

  .feed { width: 100%; padding: 0 20px; margin-bottom: 96px; }
  .feed__title { font-size: 17px; }
  .feed__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== PDF 뷰어 (pdf-viewer.js: 페이지 위에 겹쳐 뜨는 창) ===== */
.pvo {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  opacity: 0; transition: opacity 0.2s linear;
}
.pvo.is-open { opacity: 1; }
.pvo[hidden] { display: none; }

/* 상단 바: 홈페이지 GNB와 같은 48px · 반투명 블러 배경 */
.pvo-bar {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  background: rgba(16, 16, 19, 0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pvo-bar__inner {
  width: var(--container); margin: 0 auto; height: var(--gnb-h);
  display: grid; grid-template-columns: 1fr auto auto 24px; align-items: center; gap: 16px;
}
.pvo-bar__title {
  font-size: 15px; font-weight: 600; color: #d1d6db;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pvo-bar__page { font-size: 13px; font-weight: 500; color: #8b95a1; font-variant-numeric: tabular-nums; }
.pvo-bar__download {
  padding: 4px 10px; border-radius: 40px; border: 1px solid #e5e8eb;
  font-size: 11px; font-weight: 600; line-height: 1.6; color: #d1d6db; white-space: nowrap;
}
.pvo-bar__close { display: grid; place-items: center; color: #d1d6db; }

/* 불러오는 동안 상단 바 아래에 진행 막대 */
.pvo-progress { height: 2px; }
.pvo-progress span { display: block; height: 100%; width: 0; background: var(--blue); transition: width 0.2s, opacity 0.4s; }
.pvo-progress.is-done span { opacity: 0; }

/* 페이지: 홈페이지 콘텐츠 너비 안에서 세로로 이어집니다 */
.pvo-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.pvo-pages {
  width: min(var(--content), 100% - 48px); margin: 0 auto;
  padding: calc(var(--gnb-h) + 32px) 0 96px;
  display: flex; flex-direction: column; gap: 24px;
}
.pvo-page {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 12px; background: rgba(209, 209, 253, 0.05);
}
.pvo-page canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pvo-page .textLayer { z-index: 1; }
.pvo-link { position: absolute; z-index: 2; border-radius: 4px; }
.pvo-link:hover { background: rgba(49, 130, 246, 0.15); }
.pvo-message { padding: 160px 24px; text-align: center; font-size: 15px; color: #8b95a1; }

@media (max-width: 767px) {
  .pvo-pages { width: calc(100% - 24px); padding-top: calc(var(--gnb-h) + 16px); gap: 12px; }
  .pvo-page { border-radius: 8px; }
  .pvo-bar__inner { gap: 12px; }
}

/* ===== 프로젝트 상세 (project.html · 토스뱅크 글 페이지 값) ===== */
.article {
  width: 700px; max-width: 100%; padding: 0 20px;
  margin: calc(var(--gnb-h) + 60px) auto 160px;
  color: #f2f4f6;
}
.article__head { padding-bottom: 24px; }
.article__thumb {
  position: relative; width: 100%; max-height: 380px;
  border-radius: 16px; overflow: hidden; margin-bottom: 32px;
}
/* 상세 썸네일 위의 경로 배지: 홈 카드와 같은 자리, 썸네일이 큰 만큼 조금 크게 */
.article__badges { position: absolute; top: 20px; left: 20px; display: flex; gap: 8px; }
.article__badges .badge { gap: 5px; padding: 6px 11px; border-radius: 10px; font-size: 15px; }
.article__badges .badge svg { width: 17px; height: 17px; }
.article__badges .badge em svg { width: 14px; height: 14px; }
@media (max-width: 767px) {
  .article__badges { top: 12px; left: 12px; gap: 6px; }
  .article__badges .badge { gap: 4px; padding: 4px 8px; border-radius: 8px; font-size: 12px; }
  .article__badges .badge svg { width: 14px; height: 14px; }
  .article__badges .badge em svg { width: 11px; height: 11px; }
}
.article__thumb img,
.article__thumb-placeholder { display: block; width: 100%; aspect-ratio: 700 / 380; object-fit: cover; }
.article__thumb-placeholder,
.article-img-placeholder {
  display: grid; place-items: center;
  background: rgba(209, 209, 253, 0.05); color: var(--text-mute); font-size: 13px;
}
.article__meta {
  display: flex; align-items: center; gap: 8px;
  padding: 24px 0 8px;
  font-size: 17px; font-weight: 500; line-height: 1.6;
}
.article__meta i { width: 1px; height: 12px; border-radius: 1px; background: #b0b8c1; }
.article__title { font-size: 36px; font-weight: 700; line-height: 1.3; }

/* 본문: 17px · 줄 높이 1.6, 소제목 30px / 24px */
.article__body { display: flex; flex-direction: column; font-size: 17px; line-height: 1.6; }
.article__body p { margin: 24px 0 8px; }
.article__body h2 { margin: 40px 0 4px; font-size: 30px; font-weight: 700; line-height: 1.55; }
.article__body h3 { margin: 24px 0 4px; font-size: 24px; font-weight: 700; line-height: 1.6; }
.article__body strong { font-weight: 700; }
.article__body ul,
.article__body ol { margin: 24px 0 8px; list-style: none; counter-reset: num; }
.article__body li { position: relative; padding-left: 24px; margin-bottom: 16px; }
.article__body li:last-child { margin-bottom: 0; }
.article__body ul > li::before { content: "•"; position: absolute; left: 0; font-weight: 500; }
.article__body ol > li { counter-increment: num; }
.article__body ol > li::before { content: counter(num) "."; position: absolute; left: 0; font-weight: 500; }
.article__body figure { margin: 24px 0 8px; }
.article__body img,
.article-img-placeholder { display: block; width: 100%; border-radius: 16px; }
.article-img-placeholder { aspect-ratio: 16 / 9; }
.article__body figcaption { margin-top: 6px; font-size: 13px; line-height: 1.7; color: #6b7684; }
.article__body .note { font-size: 13px; line-height: 1.7; color: #6b7684; }
.article__body a { color: var(--blue); }

/* 맨 위 요약 상자 */
.article__summary {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 16px 0; padding: 16px 24px; border-radius: 12px;
  background: rgba(217, 217, 255, 0.11);
}
.article__summary-icon { width: 18px; height: 24px; flex-shrink: 0; display: grid; place-items: center; font-size: 20px; line-height: 1; margin-top: 2px; }
.article__summary ol { margin: 24px 0 8px; }
.article__pub { font-size: 13px; line-height: 1.7; color: #6b7684; }
.article__pub strong { font-weight: 700; }

.article__empty { padding: 120px 0; display: flex; flex-direction: column; align-items: center; gap: 24px; color: #8b95a1; }

/* 상세 페이지 아래 푸터: 홈의 1251px 이하 푸터와 같은 모양 */
.site-footer { padding: 50px 40px; background: #0b0b0d; border-top: 1px solid #191f28; }

@media (max-width: 767px) {
  .article { margin-bottom: 92px; }
  .article__title { font-size: 24px; }
}

/* 상세 페이지 아래 링크 버튼 (사이트 보기, GitHub 등) */
.article__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 8px; }
.article__body .article__links a { color: inherit; }
.article__links .btn-pill span { display: inline-flex; align-items: center; gap: 6px; }
/* 첫 버튼 외에는 어두운 버튼으로 둬서 주 행동이 하나만 눈에 띄게 합니다 */
.article__links .btn-pill + .btn-pill { background: rgba(217, 217, 255, 0.11); }
.article__links .btn-pill + .btn-pill span { color: #e5e8eb; }
/* 비공개 저장소 표시: 누를 수 없는 어두운 알약 */
.article__links .btn-pill.is-static, .article__links .btn-pill + .btn-pill.is-static { background: transparent; box-shadow: inset 0 0 0 1px #333d4b; cursor: default; }
.article__links .btn-pill.is-static span { color: #8b95a1; }
