@charset "utf-8";
/* ══════════════════════════════════════════════════════════
   59차 — 정적 블로그 글 공용 스타일
   ──────────────────────────────────────────────────────────
   🔴 왜 정적 페이지를 만드나:
      기존 blog-post.html 은 글 본문을 JavaScript(fetch +
      innerHTML)로 그렸습니다. 네이버 크롤러(Yeti)는 JS 실행이
      매우 제한적이라 글이 네이버 검색에 색인되지 않았습니다.
      한국 검색 유입의 대부분이 네이버이므로, 글마다 HTML 을
      미리 만들어 두어야 검색으로 들어옵니다.

   이 파일은 그 정적 글들이 공유하는 스타일입니다.
   색은 사이트 공통 팔레트(크림 + 와인 + 골드)를 그대로 씁니다.
   ══════════════════════════════════════════════════════════ */

:root{
  --ink:#fdfaf3;
  --ink-2:#f8f1e4;
  --ink-3:#f2e8d7;
  --wine:#6b1a1f;
  --wine-2:#8a2429;
  --wine-3:#ac3134;
  --gold:#c9a227;
  --gold-2:#8a6a12;
  --gold-3:#f7ecc8;
  --text:#2b1d19;
  --muted:rgba(43,29,25,.70);
  --muted-2:rgba(43,29,25,.48);
  --line:rgba(107,26,31,.14);
}

*{margin:0;padding:0;box-sizing:border-box}

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

body{
  font-family:'Noto Sans KR',-apple-system,BlinkMacSystemFont,'Malgun Gothic',sans-serif;
  background:var(--ink);
  color:var(--text);
  line-height:1.75;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--wine-2);text-decoration:none}
a:hover{text-decoration:underline}

/* ── 헤더 ── */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(253,250,243,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:14px 0;
  max-width:1120px;margin:0 auto;width:calc(100% - 40px);
}
.logo{
  display:inline-flex;align-items:center;gap:10px;
  color:var(--wine);font-weight:700;font-size:1.05rem;
  white-space:nowrap;text-decoration:none;
}
.logo:hover{text-decoration:none}
.logo-mark{
  width:32px;height:32px;flex:0 0 32px;
  display:grid;place-items:center;border-radius:9px;
  background:linear-gradient(140deg,var(--wine),var(--wine-3));
  color:var(--gold-3);font-size:.95rem;
}
.logo em{font-style:normal;color:var(--gold-2)}
.header-nav{display:flex;gap:4px;flex-wrap:wrap}
.header-nav a{
  padding:8px 12px;border-radius:999px;
  font-size:.85rem;color:var(--muted);text-decoration:none;
}
.header-nav a:hover{background:var(--ink-2);color:var(--wine);text-decoration:none}

/* ── 본문 폭 ── */
.wrap{max-width:800px;margin:0 auto;width:calc(100% - 40px)}

/* ── 브레드크럼 ── */
.crumbs{
  padding:18px 0 0;
  font-size:.82rem;color:var(--muted-2);
}
.crumbs a{color:var(--muted-2)}
.crumbs span{margin:0 6px;opacity:.6}

/* ── 글 머리 ── */
.article-head{padding:22px 0 26px;border-bottom:1px solid var(--line)}
.cat-badge{
  display:inline-block;
  background:var(--gold-3);color:var(--gold-2);
  border:1px solid rgba(201,162,39,.35);
  padding:.28rem .8rem;border-radius:999px;
  font-size:.76rem;font-weight:700;
}
.article-head h1{
  font-family:'Noto Serif KR',serif;
  font-size:2rem;line-height:1.4;font-weight:800;
  color:var(--wine);margin:14px 0 12px;
  letter-spacing:-.01em;
}
.article-meta{
  display:flex;flex-wrap:wrap;gap:14px;
  font-size:.84rem;color:var(--muted-2);
}
.article-meta b{font-weight:500}

/* ── 본문 타이포 ── */
.article-body{padding:30px 0 10px}
.article-body h2{
  font-family:'Noto Serif KR',serif;
  font-size:1.4rem;font-weight:700;color:var(--wine);
  margin:2.2rem 0 .9rem;padding-bottom:.5rem;
  border-bottom:2px solid var(--gold-3);
  line-height:1.45;
}
.article-body h2:first-child{margin-top:0}
.article-body h3{
  font-size:1.08rem;font-weight:700;color:var(--wine-2);
  margin:1.6rem 0 .6rem;line-height:1.5;
}
.article-body p{margin:0 0 1.05rem;color:var(--text)}
.article-body strong{color:var(--wine-2);font-weight:700}
.article-body em{font-style:normal;background:linear-gradient(transparent 62%,rgba(201,162,39,.32) 62%)}
.article-body ul,.article-body ol{margin:0 0 1.1rem;padding-left:1.35rem}
.article-body li{margin-bottom:.45rem}
.article-body br{line-height:1.75}

/* 59차 — 옛 글 3편(궁합·작명·2026 띠별운세)을 정적 페이지로 옮기면서
   추가했습니다. 세 글 모두 <blockquote> 로 조언 문장을 감싸고 있는데,
   이 스타일이 없으면 브라우저 기본값(왼쪽 40px 들여쓰기)만 적용되어
   다른 본문과 구분되지 않습니다. */
.article-body blockquote{
  margin:1.3rem 0;
  padding:.9rem 1.1rem;
  background:var(--ink-2);
  border-left:3px solid var(--gold);
  border-radius:0 10px 10px 0;
  color:var(--muted);
  font-style:normal;
}
.article-body blockquote p:last-child{margin-bottom:0}

.article-body table{
  width:100%;border-collapse:collapse;
  margin:1.1rem 0 1.4rem;font-size:.9rem;
  display:block;overflow-x:auto;
}
.article-body th,.article-body td{
  border:1px solid var(--line);
  padding:.6rem .7rem;text-align:left;
  vertical-align:top;
}
.article-body th{background:var(--ink-2);color:var(--wine);font-weight:700;white-space:nowrap}

/* ── 태그 ── */
.article-tags{
  display:flex;flex-wrap:wrap;gap:.5rem;
  margin:2rem 0 0;padding-top:1.4rem;
  border-top:1px solid var(--line);
}
.tag{
  background:var(--ink-2);color:var(--muted);
  padding:.32rem .75rem;border-radius:12px;
  font-size:.79rem;
}

/* ── 다음 행동 유도 ── */
.cta-box{
  margin:2.2rem 0 0;padding:1.7rem 1.5rem;
  background:linear-gradient(135deg,var(--wine),var(--wine-3));
  border-radius:16px;color:#fff;text-align:center;
}
.cta-box h3{
  font-family:'Noto Serif KR',serif;
  font-size:1.14rem;margin-bottom:.5rem;color:#fff;
}
.cta-box p{font-size:.9rem;opacity:.9;margin-bottom:1.1rem}
.cta-box .btns{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap}
.cta-box a{
  display:inline-block;padding:.66rem 1.3rem;
  background:var(--gold-3);color:var(--wine);
  border-radius:999px;font-weight:700;font-size:.9rem;
  text-decoration:none;
}
.cta-box a:hover{background:#fff;text-decoration:none}
.cta-box a.ghost{
  background:transparent;color:var(--gold-3);
  border:1px solid rgba(247,236,200,.5);
}
.cta-box a.ghost:hover{background:rgba(255,255,255,.1);color:#fff}

/* ── 관련 글 ── */
.related{margin:2.4rem 0 0;padding-top:1.5rem;border-top:1px solid var(--line)}
.related h2{
  font-family:'Noto Serif KR',serif;
  font-size:1.06rem;color:var(--wine);margin-bottom:.9rem;
  border:none;padding:0;
}
.related ul{list-style:none;padding:0}
.related li{
  padding:.7rem 0;border-bottom:1px dashed var(--line);
  font-size:.93rem;
}
.related li:last-child{border-bottom:none}
.related li a{color:var(--text);font-weight:500}
.related li a:hover{color:var(--wine-2)}

/* ── 푸터 ── */
.site-footer{
  margin-top:3rem;
  background:var(--ink-2);
  border-top:1px solid var(--line);
  padding:1.8rem 0 2.2rem;
}
.site-footer p{
  font-size:.78rem;color:var(--muted-2);
  line-height:1.9;text-align:center;margin:0;
}
.site-footer a{color:var(--muted-2);text-decoration:underline}

/* ── 반응형 ── */
@media (max-width:880px){
  .header-nav{display:none}
  .article-head h1{font-size:1.6rem}
  .article-body h2{font-size:1.22rem}
  .article-body{font-size:.97rem}
}
@media (max-width:480px){
  .wrap{width:calc(100% - 32px)}
  .article-head h1{font-size:1.42rem}
  .cta-box{padding:1.4rem 1.1rem}
}
