/* 뿌리노트(nurturedroots.net) — "비취빛 창가 관찰대"
   비취색 바탕 위 흰 관찰 면, 짙은 회보라 포인트, 짙은 녹색은 번호·완료 표시에만.
   모바일(360px) 먼저 쓰고 min-width 로 넓힌다: 560 · 768 · 880 · 1100.
   토큰은 base.html :root. 이 파일은 var(--*) 만 참조한다. 설명은 DESIGN.md */

/* ── 0. 기본 ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0; min-width: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7; font-weight: 400;
  /* 한국어는 어절 단위로 줄바꿈, 한 줄보다 긴 토큰(주소 등)만 넘칠 때 끊는다. anywhere 는 쓰지 않는다 */
  word-break: keep-all; overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-heading); color: var(--text); font-weight: 600; line-height: 1.38; margin: 0;
  word-break: keep-all; overflow-wrap: break-word; text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.num, time.num { font-family: var(--font-number); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; }

.skiplink {
  position: absolute; left: 8px; top: -80px; z-index: 200; padding: 12px 16px; border-radius: var(--radius);
  background: var(--primary); color: #fff; font-weight: 500;
}
.skiplink:focus { top: 8px; color: #fff; }

/* 칩 (태그·카테고리 링크) — 터치 44px */
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--primary); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* 목록 카드의 조건 라벨 (링크 아님) */
.conds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cond {
  display: inline-block; padding: 1px 8px; border-radius: 4px; white-space: nowrap;
  background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 500; line-height: 1.6;
}
.cond--plain { background: var(--surface-soft); color: var(--text-dim); }

/* ── 1. 헤더 — 고정하지 않는 기본 헤더 ─────────────────── */
.nr-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.nr-head__in {
  max-width: var(--container); margin: 0 auto; padding: 6px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-right: auto;
  color: var(--primary); text-decoration: none;
}
.wordmark__mark { flex: none; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); }
.wordmark__mark rect { fill: var(--bg); }
.wordmark__name { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.wordmark:hover { color: var(--primary); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--primary); font: 500 15px/1 var(--font-body); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.nr-nav { flex: 1 0 100%; }
.nr-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; padding: 2px 0 6px; }
.nr-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nr-nav a:hover { color: var(--primary); text-decoration: underline; }
.nr-nav a[aria-current="page"] { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
/* JS 가 있으면 모바일에서 접는다 — 펼치면 한 줄에 하나, 48px */
.js-nav .nr-nav { display: none; }
.js-nav .nr-nav.is-open { display: block; }
.js-nav .nr-nav.is-open ul { flex-direction: column; gap: 0; padding: 4px 0 8px; border-top: 1px solid var(--line); }
.js-nav .nr-nav.is-open a { display: flex; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); }

/* ── 2. 공통 틀 ─────────────────────────────────────── */
.nr-main { display: block; padding-bottom: 32px; }
.band {
  max-width: var(--container); margin: 12px var(--gutter) 0; padding: 22px 16px 24px;
  background: var(--surface); border-radius: var(--radius);
}
.band--flat { background: transparent; padding: 18px 0 6px; }
.band__head { margin-bottom: 14px; }
.band__title { font-size: 21px; color: var(--text); }
.band__title--sm { font-size: 17px; margin-bottom: 10px; }
.band__note { margin-top: 4px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.band__more { margin-top: 14px; }
.band__more a, .pair__more a {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 15px;
}
.band__more a::after, .pair__more a::after { content: "→"; margin-left: 6px; }
.empty-note { color: var(--text-dim); }
.empty-note p + p, .empty-note p + .chip-row { margin-top: 10px; }

/* 브레드크럼 — 각 링크 44px */
.trail ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--text-dim); }
.trail li { display: inline-flex; align-items: center; min-width: 0; }
.trail li + li::before { content: "›"; flex: none; display: inline-block; width: 1.2em; text-align: center; color: var(--border); }
.trail a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 6px; color: var(--text-dim); }
.trail li:first-child a { justify-content: flex-start; gap: 4px; padding-left: 0; }
.trail__home { flex: none; }
/* 모바일: 현재 글 제목은 바로 아래 h1 과 같으므로 브레드크럼에서 뺀다 (구조화 데이터는 서버가 3단으로 낸다) */
.trail li:last-child:not(:first-child):has(> [aria-current="page"]) { display: none; }
.trail [aria-current="page"] {
  display: inline-block; max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle;
}

/* ── 3. 홈 ─────────────────────────────────────────── */
.intro__in { max-width: var(--container); margin: 0 auto; padding: 28px var(--gutter) 20px; }
.intro__kicker { font-size: 14px; font-weight: 500; color: var(--accent); }
.intro__title { margin-top: 8px; font-size: 28px; line-height: 1.32; letter-spacing: -.01em; }
.intro__lede { margin-top: 12px; font-size: 17px; line-height: 1.75; max-width: 38em; }
.intro__by { margin-top: 14px; font-size: 15px; color: var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.intro__by a { display: inline-block; padding: 10px 0; line-height: 24px; color: var(--primary); font-weight: 500; }
.intro__by a::after { content: " →"; }
.intro__by span { color: var(--text-dim); }

/* 오늘 보이는 상태 */
.sym-grid { list-style: none; display: grid; gap: 10px; }
.sym-grid > li { display: flex; }
.sym-grid .sym { flex: 1 1 auto; }
.sym {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: start;
  min-height: 44px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text); text-decoration: none;
}
.sym:hover { border-color: var(--primary); color: var(--text); background: var(--primary-soft); }
.sym__no {
  grid-row: 1 / span 3; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff;
  font-family: var(--font-number); font-weight: 500; font-size: 15px; white-space: nowrap;
}
.sym__label { font-size: 17px; font-weight: 600; line-height: 1.45; }
.sym__hint { font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.sym__go { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--primary); }
.sym__go::after { content: " →"; }
.sym__go .num { font-size: 15px; }

/* 같은 식물, 다른 자리 — 관찰 자료(280px) + 해설 */
.pair { display: grid; gap: 16px; }
.pair__fact { padding: 16px; border-radius: var(--radius); background: var(--primary-soft); }
.pair__k { font-size: 13px; font-weight: 500; color: var(--text-dim); }
.pair__plant { margin-top: 2px; font-size: 24px; font-weight: 600; color: var(--primary); line-height: 1.3; }
.pair__n { margin: 2px 0 12px; font-size: 15px; color: var(--text); }
.pair__n .num { font-size: 17px; color: var(--accent); }
.pair__conds { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.pair__conds .chip { background: var(--surface); border-color: transparent; }
.pair__list { list-style: none; counter-reset: pair; }
.pair__row { padding: 14px 0; border-top: 1px solid var(--line); }
.pair__row:first-child { border-top: 0; padding-top: 0; }
.pair__cond { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pair__title { font-size: 18px; line-height: 1.45; }
.pair__title a, .path__title a, .leaf__title a, .mini a { color: var(--text); text-decoration: none; }
.pair__title a:hover, .path__title a:hover, .leaf__title a:hover, .mini a:hover { color: var(--primary); text-decoration: underline; }
.pair__sum { margin-top: 6px; color: var(--text-dim); font-size: 15px; line-height: 1.65; }

/* 순서대로 읽는 글 (빛·물·흙 기초, 카테고리 처음 읽을 글) */
.path { list-style: none; display: grid; gap: 0; }
.path__step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.path__step:first-child { border-top: 0; padding-top: 2px; }
.path__no {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--font-number); font-weight: 500; font-size: 15px; white-space: nowrap;
}
.path__title { font-size: 18px; line-height: 1.45; }
.path__sum { margin-top: 4px; color: var(--text-dim); font-size: 15px; line-height: 1.65; }

/* 글 목록 — 제목 → 조건 → 요약 → 카테고리·날짜. 사진은 있을 때만 오른쪽 */
.leaf-list { list-style: none; }
.leaf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.leaf:first-child { border-top: 0; padding-top: 0; }
.leaf--pic { grid-template-columns: minmax(0, 1fr) 88px; }
.leaf__title { font-size: 18px; line-height: 1.45; }
.leaf__sum {
  margin-top: 8px; color: var(--text-dim); font-size: 15px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.leaf__meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 13px; color: var(--text-dim); }
.leaf__meta time { font-family: var(--font-number); font-weight: 500; }
.leaf__pic { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); background: var(--bg); }
.leaf-list--flat .leaf:first-child { padding-top: 0; }

/* 먹는 식물 — 두 묶음 */
.duo { display: grid; gap: 18px; }
.duo__h { font-size: 16px; color: var(--accent); margin-bottom: 4px; }
.duo__h a { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; }
.mini-list { list-style: none; }
.mini a { display: block; padding: 12px 0; border-top: 1px solid var(--line); min-height: 44px; }
.mini:first-child a { border-top: 0; padding-top: 4px; }
.mini__t { display: block; font-size: 17px; font-weight: 500; line-height: 1.5; }
.mini .conds { margin-top: 6px; }

/* ── 4. 카테고리·태그 머리 ─────────────────────────────── */
.list-head { max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter) 10px; }
.list-head__k { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.list-head__title { margin-top: 2px; font-size: 28px; line-height: 1.3; }
.list-head__desc { margin-top: 10px; font-size: 16px; line-height: 1.75; max-width: 42em; }
.list-head__n { margin-top: 8px; font-size: 15px; color: var(--text-dim); }
.list-head__n .num { color: var(--text); font-size: 16px; }
.list-head__near { margin-top: 14px; }
.list-head__near .chip-row { margin-top: 6px; }

/* ── 5. 글 (관찰 시트) — 모바일은 흰 면이 화면 끝까지 ─────────── */
.sheet { background: var(--surface); padding: 4px var(--gutter) 28px; }
.sheet-head { max-width: var(--reading-width); margin: 0 auto; }
.sheet-head__cat { margin-top: 0; }
.sheet-head__cat a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500;
  color: var(--accent); text-decoration: none;
}
.sheet-head__title { margin-top: 2px; font-size: 26px; line-height: 1.38; letter-spacing: -.01em; }
.sheet-head__dek { margin-top: 12px; font-size: 17px; line-height: 1.75; color: var(--text); }
.sheet-head__by {
  margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; font-size: 14px; color: var(--text-dim);
}
.sheet-head__author { display: inline-flex; align-items: center; min-height: 44px; min-width: 48px; font-weight: 600; color: var(--primary); text-decoration: none; }
.sheet-head__by time { color: var(--text); }
.sheet-cover { max-width: var(--reading-width); margin: 18px auto 0; }
.sheet-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--bg); }
.sheet-foot { max-width: var(--reading-width); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--line); }
.sheet-foot__h { font-size: 15px; color: var(--text-dim); font-weight: 500; margin-bottom: 8px; }

.after { max-width: var(--article-width); margin: 12px auto 0; padding: 0 var(--gutter); display: grid; gap: 12px; }
.after__box, .author { background: var(--surface); border-radius: var(--radius); padding: 20px 16px; }
.after__h { font-size: 19px; margin-bottom: 12px; }
.author { border-top: 4px solid var(--primary); }
.author__k { font-size: 13px; font-weight: 500; color: var(--text-dim); }
.author__name { font-size: 20px; color: var(--primary); margin-top: 2px; }
.author__bio { margin-top: 8px; font-size: 15px; line-height: 1.75; }
.author__links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 18px; }
.author__links a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; font-size: 15px; font-weight: 500; }

/* ── 6. 본문 (.post-body) — 표준 31개 컴포넌트 ───────────────── */
.post-body {
  max-width: var(--reading-width); margin: 22px auto 0;
  font-size: 17px; line-height: 1.8; color: var(--text);
  word-break: keep-all; overflow-wrap: break-word;
}
.post-body > * + * { margin-top: 1em; }
.post-body p { margin: 0; }
.post-body > :first-child { margin-top: 0; }
.post-body a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; }
.post-body strong { font-weight: 600; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .4em; }
.post-body li::marker { color: var(--accent); }

.post-body h2 {
  margin-top: 2.2em; padding-top: 14px; font-size: 23px; line-height: 1.4; position: relative;
  border-top: 1px solid var(--line);
}
.post-body h2::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 36px; height: 3px; background: var(--accent);
}
.post-body h3 { margin-top: 1.7em; font-size: 19px; line-height: 1.45; color: var(--primary); }
.post-body h4 { margin-top: 1.4em; font-size: 17px; line-height: 1.5; }
.post-body :is(h2, h3, h4) + * { margin-top: .6em; }
.post-body :is(h2, h3) { scroll-margin-top: 16px; }

/* 리드 (본문 첫 문단 — 상황 한 장면 + 결론) */
.post-body .lead {
  font-size: 18px; line-height: 1.75; font-weight: 500; color: var(--text);
  padding-left: 14px; border-left: 3px solid var(--accent);
}

/* ── 본문 컴포넌트 시각 — 실제 레퍼런스에서 따온 모양 (DESIGN.md "본문 컴포넌트 시각" 표)
   RHS Growing Guide: Top Tip(모서리 아이콘 탭)·Quick Facts(모서리 번호 꼬리표)·번호 원 머리·각진 글머리표·용어 칩
   Bloomscape Care Guide: 아이콘 + 자간 넓힌 작은 라벨, 머리카락 선으로 나눈 관리 항목
   Epic Gardening: Plant Overview(단색 머리 띠 + 크림 칸, 라벨 위·값 아래)·FAQ(크림 카드 + 원 아이콘) */
.post-body {
  --i-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.7.5 1.1 1.3 1.1 2.1V16h5v-.1c0-.8.4-1.6 1.1-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
  --i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4C10 4 4 9 4 17c0 1 .1 2 .3 3l1.9-1.9C7 13 10.5 9.8 15 8.5 11 10.5 8.3 13.6 7.3 17.8 15.6 18.4 20 12.6 20 4z'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.5 20h19L12 3.5zM12 10v4.5M12 17.3v.2'/%3E%3C/svg%3E");
}

/* 강조 — 용어 강조는 RHS 용어 칩(옅은 청록 면, 각 진 모서리) */
.post-body .highlight { background: #DDEFE5; border-radius: 3px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.post-body .pull-quote {
  display: block; margin: 1.8em 0; padding: 16px 0; border-top: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  font-size: 20px; line-height: 1.6; font-weight: 500; color: var(--primary);
}
/* 인용 — Bloomscape "What's a Monstera?" 흰 패널: 면 + 큰 따옴표 하나 */
.post-body blockquote {
  position: relative; margin: 1.6em 0 0; padding: 40px 18px 16px; background: var(--surface-soft); border-radius: var(--radius);
}
.post-body blockquote::before {
  content: "\201C"; position: absolute; left: 16px; top: 4px; font: 500 44px/1 var(--font-number); color: var(--primary);
}
.post-body blockquote p + p { margin-top: .6em; }
.post-body blockquote cite { display: block; margin-top: 6px; font-size: 14px; font-style: normal; color: var(--text-dim); }
.post-body kbd, .post-body .kbd {
  display: inline-block; padding: 0 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px;
  font-family: var(--font-number); font-size: .85em; line-height: 1.5; background: var(--surface-soft);
}

/* 알림 박스 — 다섯 상자가 서로 다른 레퍼런스 모양 (색만 바꾼 같은 틀이 아니다) */
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) {
  position: relative; margin: 1.6em 0 0; font-size: 16px; line-height: 1.75;
}
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) > div > * + * { margin-top: .5em; }
.post-body .badge { white-space: nowrap; font-weight: 600; }

/* info(TIP) — RHS "Top Tip": 테두리 카드, 왼쪽 위 모서리에 붙은 정사각 아이콘 탭(전구), 굵은 제목 다음 줄에 본문 */
.post-body .info-box {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 92px;
  padding: 12px 16px 16px 60px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.post-body .info-box::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 44px; height: 44px;
  border-radius: var(--radius) 0 var(--radius) 0; background: var(--primary) var(--i-bulb) center / 24px no-repeat;
}
.post-body .info-box .badge { justify-self: start; font-size: 16px; line-height: 1.5; color: var(--text); padding-top: 1px; }

/* warn(주의) — RHS "Quick Facts" 카드: 테두리 없는 주황 면, 왼쪽 위 모서리에 딱 붙은 사각 꼬리표(경고 삼각형 + 라벨) */
.post-body .warn-box {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0 16px 16px; background: var(--warn-soft); border-radius: var(--radius);
}
.post-body .warn-box .badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-left: -16px; padding: 4px 12px 4px 10px;
  border-radius: var(--radius) 0 var(--radius) 0; background: var(--warn); color: #fff; font-size: 14px; line-height: 1.6;
}
.post-body .warn-box .badge::before { content: ""; width: 16px; height: 16px; background: var(--i-alert) center / contain no-repeat; }

/* success(확인) — Bloomscape 관리 항목 한 줄: 상자 없음, 위아래 머리카락 선, 잎 아이콘 + 자간 넓힌 녹색 라벨 → 본문 */
.post-body .success-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-body .success-box .badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; letter-spacing: .05em;
}
.post-body .success-box .badge::before {
  content: ""; width: 18px; height: 18px; background: var(--accent);
  -webkit-mask: var(--i-leaf) center / contain no-repeat; mask: var(--i-leaf) center / contain no-repeat;
}

/* error(금지) — RHS 번호 원 머리("① Quick Facts") 꼴: 2px 테두리 안에 채운 원(✕) + 큰 라벨, 본문은 라벨 아래에 맞춤 */
.post-body .error-box {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: center;
  padding: 14px 16px; background: var(--surface); border: 2px solid var(--warn); border-radius: var(--radius);
}
.post-body .error-box::before {
  content: ""; grid-row: 1; width: 36px; height: 36px; border-radius: 50%; background: var(--warn) var(--i-x) center / 20px no-repeat;
}
.post-body .error-box .badge { grid-row: 1; font-size: 19px; line-height: 1.4; font-weight: 500; color: var(--warn); }
.post-body .error-box > div { grid-column: 2; }

/* note(제휴·참고) — RHS 머리 아래 "Botanical name: …" 줄: 상자 없이 굵은 라벨: 작은 보조 글씨가 한 흐름 */
.post-body .note-box { display: block; font-size: 15px; line-height: 1.75; color: var(--text-dim); }
.post-body .note-box .badge { display: inline; margin-right: .35em; color: var(--text); font-size: 15px; }
.post-body .note-box .badge::after { content: ":"; }
.post-body .note-box > div { display: inline; }

/* 알림 박스 안 <dl> (항목/값 줄) — 머리카락 선으로 나눈 줄, 항목은 작은 녹색 라벨 */
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) dl { margin: 0; display: grid; }
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) dl > div { padding: 6px 0; border-top: 1px solid var(--line); }
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) dl > div:first-child { border-top: 0; padding-top: 0; }
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) dt { font-size: 13px; font-weight: 600; color: var(--accent); }
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) dd { margin: 0; }

/* 키우기 카드 = .summary-box 안 <dl> — Epic Gardening "Plant Overview": 회보라 머리 띠(가운데 제목) + 크림 칸.
   항목 라벨은 Bloomscape 처럼 자간 넓힌 작은 녹색 글씨, 값은 그 아래. 항목 사이 흰 선. 768px↑ 항목명 | 값 */
.post-body .summary-box { margin: 1.6em 0 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-soft); }
.post-body .summary-box > :is(h3, h4) {
  margin: 0; padding: 12px 16px; background: var(--primary); color: #fff; font-size: 18px; font-weight: 600; line-height: 1.5; text-align: center;
}
.post-body .summary-box > ul, .post-body .summary-box > ol { margin: 0; padding: 12px 16px 14px 2.2em; }
.post-body .summary-box > p { margin: 0; padding: 12px 16px; }
.post-body .summary-box dl { margin: 0; padding: 0; display: grid; }
.post-body .summary-box dl > div { padding: 12px 16px; border-top: 2px solid var(--surface); }
.post-body .summary-box dl > div:first-child { border-top: 0; }
.post-body .summary-box dt { font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--accent); line-height: 1.5; }
.post-body .summary-box dd { margin: 2px 0 0; font-size: 16px; line-height: 1.7; }
.post-body .summary-box dl + p, .post-body .summary-box > p:last-child { font-size: 14px; color: var(--text-dim); padding-top: 0; }

/* 핵심 정리 — RHS "Quick Facts": 항목마다 크림 카드, 왼쪽 위 모서리에 붙은 회보라 번호 꼬리표 */
.post-body .key-points { margin: 1.6em 0 0; }
.post-body .key-points > :is(h3, h4) {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 19px; font-weight: 500;
}
.post-body .key-points > :is(h3, h4)::before {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--primary) var(--i-bulb) center / 20px no-repeat;
}
.post-body .key-points :is(ol, ul) { list-style: none; margin: 0; padding: 0; counter-reset: kp; display: grid; gap: 10px; }
.post-body .key-points li {
  counter-increment: kp; position: relative; margin: 0; padding: 30px 16px 14px; background: var(--surface-soft); border-radius: var(--radius);
  font-weight: 600; line-height: 1.6;
}
.post-body .key-points li::before {
  content: counter(kp); position: absolute; left: 0; top: 0; min-width: 24px; padding: 0 7px; border-radius: var(--radius) 0 var(--radius) 0;
  background: var(--primary); color: #fff; font: 500 13px/24px var(--font-number); text-align: center;
}

/* 목차 — RHS 번호 목차 + Epic "Contents" 상자: 테두리 상자, 가운데 굵은 제목, "1." 번호 줄(44px) */
.post-body .toc-box { margin: 1.6em 0 0; padding: 0 16px 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-body .toc-box > :is(h3, h4) {
  margin: 0 -16px 4px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--text); text-align: center;
}
.post-body .toc-box ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.post-body .toc-box li { counter-increment: toc; margin: 0; }
.post-body .toc-box li + li { margin-top: 0; }
.post-body .toc-box a {
  display: flex; gap: 8px; align-items: baseline; min-height: 44px; padding: 9px 0;
  color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.55;
}
.post-body .toc-box a::before {
  content: counter(toc) "."; flex: none; min-width: 1.4em; white-space: nowrap;
  font-family: var(--font-number); font-weight: 500; font-size: 15px; color: var(--primary);
}
.post-body .toc-box a:hover { color: var(--primary); text-decoration: underline; }

/* 체크리스트 (.prep-box) — Bloomscape 관리 항목 목록: 녹색 윗선, 체크 아이콘 + 자간 라벨 머리, 줄마다 머리카락 선,
   RHS 각진 글머리표를 테두리 네모(체크 칸 모양)로. 체크 표시는 모양만, 완료 상태를 저장하지 않는다 */
.post-body .prep-box { margin: 1.6em 0 0; padding: 0; border-top: 2px solid var(--accent); border-bottom: 1px solid var(--line); }
.post-body .prep-box > :is(h3, h4) {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 0 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .05em; color: var(--accent);
}
.post-body .prep-box > :is(h3, h4)::before {
  content: ""; flex: none; width: 18px; height: 18px; background: var(--accent);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.post-body .prep-box ul { list-style: none; padding: 0; margin: 0; }
.post-body .prep-box li { position: relative; margin: 0; padding: 11px 0 11px 32px; border-top: 1px solid var(--line); }
.post-body .prep-box li + li { margin-top: 0; }
.post-body .prep-box li::before {
  content: ""; position: absolute; left: 2px; top: calc(11px + .42em); width: 16px; height: 16px;
  border: 2px solid var(--accent); border-radius: 2px; background: var(--surface);
}
.post-body .prep-box > p { padding: 10px 0; font-size: 14px; color: var(--text-dim); border-top: 1px solid var(--line); }
.post-body .prep-grid { display: grid; gap: 0; }
.post-body .prep-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.post-body .prep-grid > div > span:last-child { flex: none; font-family: var(--font-number); font-weight: 500; }

/* 단계 — RHS 섹션 머리("⑤ Pruning and Training"): 회보라 채운 원 번호 + 보통 굵기 큰 제목, 본문은 제목 아래 */
.post-body .step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; margin: 1.4em 0 0; }
.post-body .step .num {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--font-number); font-weight: 500; font-size: 15px; white-space: nowrap;
}
.post-body .step .body > :is(h3, h4) { margin: 4px 0 6px; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--text); }
.post-body .step .body > * + * { margin-top: .5em; }
.post-body .step + .step { margin-top: 1.2em; }

/* 타임라인 — Bloomscape 관리 항목 줄: 머리카락 선으로 나눈 줄, 위에 자간 넓힌 녹색 시점 라벨, 아래 내용 */
.post-body .timeline { list-style: none; margin: 1.6em 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.post-body .timeline li { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.post-body .timeline li + li { margin-top: 0; }
.post-body .timeline .time {
  display: block; font-family: var(--font-number); font-weight: 500; font-size: 13px; letter-spacing: .05em; color: var(--accent); white-space: nowrap;
}

/* 비교표·증상 진단표 — Epic Gardening "Plant Overview": 표 제목이 회보라 머리 띠, 열 머리는 녹색 작은 글씨, 칸은 크림 면 + 흰 줄 */
.post-body .scroll-x, .post-body .table-scroll {
  margin: 1.6em 0 0; overflow-x: auto; border-radius: var(--radius);
  background:
    linear-gradient(to right, var(--surface-soft) 30%, rgba(243,250,246,0)) left / 24px 100% no-repeat local,
    linear-gradient(to left, var(--surface-soft) 30%, rgba(243,250,246,0)) right / 24px 100% no-repeat local,
    linear-gradient(to right, rgba(32,41,35,.16), transparent) left / 10px 100% no-repeat scroll,
    linear-gradient(to left, rgba(32,41,35,.16), transparent) right / 10px 100% no-repeat scroll,
    var(--surface-soft);
}
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; min-width: 520px; }
.post-body caption {
  caption-side: top; text-align: center; padding: 11px 14px; background: var(--primary); color: #fff;
  font-size: 16px; font-weight: 600; line-height: 1.5;
}
.post-body th, .post-body td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--surface); }
.post-body thead th { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.post-body tbody th { font-weight: 600; color: var(--text); }
.post-body tbody tr:last-child > * { border-bottom: 0; }
.post-body td.num, .post-body th.num { text-align: right; font-family: var(--font-number); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 장단점 — RHS 각진 글머리표 목록: 상자 없이 윗선, 머리는 자간 라벨(녹색/주황), 글머리는 작은 네모 */
.post-body .pros-cons { display: grid; gap: 4px 24px; margin: 1.6em 0 0; }
.post-body .pros-cons > div { padding: 10px 0 4px; border-top: 2px solid var(--accent); }
.post-body .pros-cons .cons { border-top-color: var(--warn); }
.post-body .pros-cons :is(h3, h4) { margin: 0 0 6px; font-size: 14px; letter-spacing: .05em; }
.post-body .pros-cons .pros :is(h3, h4) { color: var(--accent); }
.post-body .pros-cons .cons :is(h3, h4) { color: var(--warn); }
.post-body .pros-cons ul { list-style: none; margin: 0; padding: 0; }
.post-body .pros-cons li { position: relative; padding-left: 20px; }
.post-body .pros-cons li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--accent); }
.post-body .pros-cons .cons li::before { background: var(--warn); }

/* 수치 카드 — RHS Quick Facts 카드 면(테두리 없음) + 자간 라벨 */
.post-body .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 1.6em 0 0; }
.post-body .stats-grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.post-body .stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-soft); }
.post-body .stat .label { font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--accent); }
.post-body .stat .value { font-size: 17px; font-weight: 600; line-height: 1.45; }

/* 미디어 — h2 마다 한 장 (작가가 data-img-pending 으로 넣고 카뉴가 채운다) */
.post-body figure { margin: 1.4em 0 0; }
.post-body figure img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--accent-soft); }
.post-body figcaption { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
.post-body figure:has(> img[data-img-pending]:not([src])) { display: none; }
.post-body .image-grid { display: grid; gap: 12px; margin: 1.4em 0 0; }
.post-body .image-grid figure { margin: 0; }
.post-body .before-after { display: grid; gap: 12px; margin: 1.4em 0 0; }
.post-body .before-after > div { position: relative; }
.post-body .before-after img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post-body .before-after .label {
  position: absolute; top: 8px; left: 8px; padding: 1px 8px; border-radius: 4px; white-space: nowrap;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 600;
}
.post-body .before-after .after .label { background: var(--accent); }
.post-body .video-embed { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0 0; border-radius: var(--radius); overflow: hidden; background: var(--text); }
.post-body .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 행동 유도 — RHS "Grow" 앱 안내 띠: 짙은 녹색 면 + 큰 흰 제목 + 흰 알약 버튼(›). 본문 버튼은 RHS "Membership" 알약(›) */
.post-body .cta-box { margin: 1.8em 0 0; padding: 22px 18px 20px; border-radius: var(--radius); background: var(--accent); color: #fff; }
.post-body .cta-box > :is(h3, h4) { margin: 0 0 6px; color: #fff; font-size: 21px; line-height: 1.4; }
.post-body .cta-box p { color: #fff; }
.post-body .cta-box a:not(.cta-button) { color: #fff; }
.post-body .cta-box .cta-button { margin-top: 14px; background: var(--surface); color: var(--accent); }
.post-body .cta-box .cta-button:hover { background: var(--accent-soft); color: var(--accent); }
.post-body .cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-width: 100%; padding: 8px 22px;
  border-radius: 999px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4;
  text-decoration: none; text-align: center;
}
.post-body .cta-button:hover { background: var(--accent); color: #fff; }
.post-body p > .cta-button + .cta-button { margin-left: 8px; }

/* FAQ (h2#…faq 아래 h3 + p) — Epic Gardening FAQ: 크림 카드 안 굵은 녹색 질문 + 오른쪽 원 아이콘(?), 답은 카드 아래 */
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3),
.post-body dl.faq dt {
  position: relative; margin-top: 1em; padding: 14px 56px 14px 16px; background: var(--surface-soft); border-radius: var(--radius);
  font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--accent);
}
.post-body h2[id$="faq"] + h3 { margin-top: .9em; }
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3)::after,
.post-body dl.faq dt::after {
  content: "?"; position: absolute; right: 14px; top: 14px; width: 26px; height: 26px; border: 2px solid var(--accent); border-radius: 50%;
  font: 500 15px/22px var(--font-number); text-align: center; color: var(--accent);
}
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3) + p,
.post-body dl.faq dd { margin: 0; padding: 10px 16px 4px; }
.post-body dl.faq { margin: 1.4em 0 0; }

/* 기타 */
.post-body hr, .post-body .divider { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.post-body .spoiler { margin: 1.2em 0 0; border: 1px solid var(--line); border-radius: var(--radius); }
.post-body .spoiler summary { display: flex; align-items: center; min-height: 44px; padding: 0 14px; cursor: pointer; font-weight: 500; color: var(--primary); }
.post-body .spoiler > :not(summary) { padding: 0 14px 12px; }
.post-body .footnote {
  display: block; margin: 1.6em 0 0; padding-left: 2.4em; text-indent: -2.4em;
  font-size: 14px; line-height: 1.7; color: var(--text-dim);
}
.post-body .footnote + .footnote { margin-top: .4em; }
.post-body .footnote .num { display: inline-block; min-width: 2.4em; text-indent: 0; font-family: var(--font-number); color: var(--accent); }
.post-body .footnote-ref { font-family: var(--font-number); font-size: .75em; }
.post-body .price-tag { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.post-body .price-tag .amount { font-family: var(--font-number); font-weight: 500; font-size: 1.1em; color: var(--primary); }
.post-body .price-tag .currency { font-size: .9em; }
.post-body .tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.post-body .tag-list .tag {
  display: inline-block; padding: 1px 10px; border-radius: 4px; white-space: nowrap;
  background: var(--primary-soft); color: var(--primary); font-size: 14px; font-weight: 500;
}

/* 광고 — 광고 코드(라벨 외 자식)가 없으면 숨긴다. 있으면 흰 면·구분선·'광고' 라벨, 높이 예약 */
.ad-slot { display: block; margin: 2em 0 0; padding: 8px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 280px; text-align: center; overflow: hidden; }
.ad-slot:not(:has(> :not(.ad-label))) { display: none; }
.ad-label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--text-dim); text-align: left; }

/* ── 7. 푸터 ───────────────────────────────────────── */
.nr-foot { margin-top: 24px; background: var(--primary); color: #fff; }
.nr-foot__in { max-width: var(--container); margin: 0 auto; padding: 28px var(--gutter) 32px; display: grid; gap: 14px; }
.nr-foot__name { font-size: 18px; font-weight: 600; }
.nr-foot__id p + p { margin-top: 6px; }
.nr-foot__id p:not(.nr-foot__name) { font-size: 15px; line-height: 1.75; color: #E9E5F1; }
.nr-foot__links { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -8px; }
.nr-foot__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: 0 8px; color: #fff; font-size: 15px; font-weight: 500; }
.nr-foot__note { font-size: 13px; line-height: 1.7; color: #DCD6E8; }
.nr-foot__copy { font-size: 13px; color: #DCD6E8; }

/* ── 8. 표 → 행 카드 (720px 이하, site.js 가 .is-stacked 를 붙였을 때만) ── */
@media (max-width: 720px) {
  /* Epic Gardening "Plant Overview" 를 행마다: 첫 칸 = 회보라 머리 띠, 나머지 칸 = 크림 면에 녹색 자간 라벨(위) + 값(아래) */
  .post-body :is(.scroll-x, .table-scroll).is-stacked { overflow: visible; border-radius: 0; background: none; }
  .post-body table.is-stacked, .post-body table.is-stacked :is(tbody, tr, th, td) { display: block; min-width: 0; width: auto; }
  .post-body table.is-stacked caption { display: block; padding: 0 0 8px; background: none; color: var(--text-dim); text-align: left; font-size: 14px; font-weight: 500; }
  .post-body table.is-stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .post-body table.is-stacked tbody tr { border-radius: var(--radius); overflow: hidden; background: var(--surface-soft); }
  .post-body table.is-stacked tbody tr + tr { margin-top: 12px; }
  .post-body table.is-stacked tbody :is(th, td) { border: 0; padding: 10px 14px; }
  .post-body table.is-stacked tbody > tr > :first-child:not([data-label]) {
    padding: 11px 14px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; text-align: center;
  }
  .post-body table.is-stacked td[data-label], .post-body table.is-stacked th[data-label] { border-top: 2px solid var(--surface); font-weight: 400; }
  .post-body table.is-stacked tbody > tr > :first-child:not([data-label]) + [data-label] { border-top: 0; }
  .post-body table.is-stacked [data-label]::before {
    content: attr(data-label); display: block; font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--accent); line-height: 1.6;
  }
  .post-body table.is-stacked td.num { text-align: left; }
}

/* ── 9. 넓은 화면 ──────────────────────────────────── */
@media (min-width: 480px) {
  .sym-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body .image-grid, .post-body .before-after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 560px) {
  .post-body .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-body .stats-grid .stat:last-child:nth-child(odd) { grid-column: auto; }
  .post-body .stats-grid .stat:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .leaf--pic { grid-template-columns: minmax(0, 1fr) 132px; }
  .leaf__pic { width: 132px; height: 99px; }
}
@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .band { margin: 16px auto 0; padding: 28px 28px 30px; max-width: calc(100% - 48px); }
  .band--flat { padding: 20px 0 6px; background: transparent; }
  .band__title { font-size: 23px; }
  .intro__in { padding: 44px var(--gutter) 28px; }
  .intro__title { font-size: 36px; }
  .intro__lede { font-size: 18px; }
  .list-head__title { font-size: 34px; }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

  .sheet { max-width: calc(100% - 48px); margin: 16px auto 0; padding: 12px 40px 40px; border-radius: var(--radius); }
  .sheet-head__title { font-size: 34px; }
  .sheet-cover img { aspect-ratio: 3 / 2; }
  .trail li:last-child:not(:first-child):has(> [aria-current="page"]) { display: inline-flex; }
  .post-body { font-size: 18px; line-height: 1.85; }
  .post-body h2 { font-size: 26px; }
  .post-body h3 { font-size: 20px; }
  .post-body .lead { font-size: 19px; }
  .post-body .summary-box dl > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 12px 20px; }
  .post-body .summary-box dd { margin: 0; }
  .after { padding: 0; max-width: min(var(--article-width), calc(100% - 48px)); grid-template-columns: minmax(0, 1fr); }
  .after__box, .author { padding: 24px 28px; }
  .ad-slot { min-height: 250px; }
  .nr-foot__in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 48px; }
  .nr-foot__note, .nr-foot__copy { grid-column: 1 / -1; }
  .nr-foot__links { align-content: start; }
}
@media (min-width: 880px) {
  /* 넓은 화면은 내비를 늘 펼친다 */
  .nav-toggle { display: none !important; }
  .js-nav .nr-nav, .nr-nav { display: block; flex: 0 1 auto; }
  .nr-nav ul { flex-wrap: wrap; justify-content: flex-end; padding: 0; }
  .nr-head__in { flex-wrap: nowrap; min-height: 68px; padding-top: 0; padding-bottom: 0; }
  .nr-nav a { padding: 0 9px; }

  .pair { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
  .leaf-list--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .leaf-list--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leaf-list--n1 { grid-template-columns: minmax(0, 1fr); }
  .leaf-list--grid .leaf { padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--line); align-content: start; }
  .leaf-list--grid .leaf:first-child { padding-left: 0; border-left: 0; }
  .leaf-list--grid .leaf--pic { grid-template-columns: minmax(0, 1fr) 96px; }
  .leaf-list--grid .leaf--pic .leaf__pic { width: 96px; height: 96px; }
  /* 두 열 목록 (최근 기록·카테고리·태그) — 줄마다 위 선 */
  .leaf-list--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .leaf-list--two .leaf { padding: 18px 0; border-top: 1px solid var(--line); align-content: start; }
  .leaf-list--two .leaf:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .sym-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sym { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .sym__no { grid-row: auto; margin-bottom: 8px; }
}
@media (min-width: 1100px) {
  .band { max-width: calc(var(--container) - 48px); padding: 32px 40px 34px; }
  .band.band--flat { padding: 20px 0 6px; }
  .intro__in { max-width: calc(var(--container) - 48px); padding-left: 0; padding-right: 0; }
  .list-head { max-width: calc(var(--container) - 48px); padding-left: 0; padding-right: 0; }
  .sheet { max-width: var(--article-width); padding: 16px 56px 48px; }
  .sheet-head__title { font-size: 40px; }
  .leaf { grid-template-columns: minmax(0, 1fr); }
  .leaf-list:not(.leaf-list--grid) .leaf--pic { grid-template-columns: minmax(0, 1fr) 132px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .nr-head, .nr-foot, .ad-slot, .after, .skiplink { display: none !important; }
  body { background: #fff; }
  .sheet { padding: 0; }
}
