/* californiabicyclemuseum.org — 생활 전기자전거 가이드: 백색 바탕의 생활 자전거 구매 보드
   토큰은 base.html :root. 모바일(360px) 기준으로 쓰고 min-width 로 넓힌다. 설명은 DESIGN.md */

/* ── 0. 기본 ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; min-height: 100vh;
  font-family: var(--font-body); font-size: 16px; line-height: 1.65; font-synthesis: none;
  /* 한국어는 어절 단위로 줄바꿈, 한 줄보다 긴 토큰(주소 등)만 넘칠 때 끊는다 — anywhere 금지 */
  word-break: keep-all; overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--bg); border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--text); line-height: 1.4; font-weight: 600; word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; }
[hidden] { display: none !important; }
.num, time { font-family: var(--font-number); font-weight: 500; letter-spacing: .01em; }

.skiplink {
  position: absolute; left: 8px; top: -80px; z-index: 200; padding: 12px 16px;
  background: var(--accent); color: var(--on-accent); border-radius: var(--radius);
}
.skiplink:focus { top: 8px; color: var(--on-accent); }

/* ── 1. 상단: 제휴 고지 줄 + 헤더 + 카테고리 ─────────── */
.disclose-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 10px;
  min-height: 44px; padding: 0 var(--gutter); background: var(--surface); color: var(--text-dim);
  font-size: 13px; line-height: 1.5; text-align: center;
}
.disclose-bar a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--text); font-weight: 600; }

.topbar { background: var(--bg); border-bottom: 1px solid var(--border-soft); }
.topbar__in {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; color: var(--text); text-decoration: none; }
.wordmark:hover { color: var(--text); }
.wordmark__mark { flex: none; width: 32px; height: 32px; }
.wordmark__text { display: flex; flex-direction: column; min-width: 0; }
.wordmark__name { font-family: var(--font-title); font-size: 18px; white-space: nowrap; line-height: 1.25; letter-spacing: -.01em; }
.wordmark__tag { display: none; font-size: 13px; color: var(--text-dim); line-height: 1.4; }

.menu-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
  background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
  font: 600 14px/1 var(--font-body); cursor: pointer;
}
.menu-btn__icon { display: grid; gap: 4px; width: 16px; }
.menu-btn__icon span { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform .15s; }
.menu-btn[aria-expanded="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
html:not(.js) .menu-btn { display: none; }
.menu-btn__more { display: none; }

.catnav { border-top: 1px solid var(--border-soft); }
.js .catnav:not(.is-open) { display: none; }
.catnav__list { list-style: none; padding: 0 var(--gutter) 8px; max-width: var(--container); margin: 0 auto; }
.catnav__list a {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--border-soft);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px;
}
.catnav__list a::after { content: "›"; margin-left: auto; color: var(--text-dim); font-weight: 400; }
.catnav__list a[aria-current="page"] { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ── 2. 공통 레이아웃 ──────────────────────────────── */
.page { flex: 1 0 auto; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 56px; }
.band-title {
  display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1.4;
}
.band-title::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--primary); }
.band { margin-top: 44px; }
.band > .band-title { margin-bottom: 8px; }
.band__desc { margin-top: 6px; color: var(--text-dim); font-size: 15px; }
.empty-note { margin-top: 20px; padding: 18px; background: var(--surface); border-radius: var(--radius); color: var(--text-dim); }
.empty-note__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.empty-note__links a, .board__more a, .author__links a, .byline-box__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600;
}
.empty-note__links a:hover, .board__more a:hover, .author__links a:hover, .byline-box__links a:hover { border-color: var(--primary); color: var(--primary); }

/* 광고: 코드(라벨 외 자식)가 없으면 통째로 숨긴다. 들어오면 자리를 예약해 본문이 밀리지 않게 */
.ad-slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 280px; margin-top: 40px; padding: 8px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
}
.ad-label { font-size: 12px; color: var(--text-dim); letter-spacing: .08em; }
.ad-slot:not(:has(> :not(.ad-label))) { display: none; }

/* ── 3. 목록 카드 ──────────────────────────────────── */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.card__media { display: block; }
.card__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card__cat { font-size: 13px; font-weight: 600; color: var(--primary); }
.card__title { font-size: 18px; line-height: 1.45; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a:hover { color: var(--primary); text-decoration: underline; }
/* 카드 전체가 눌리는 영역 (제목 링크를 카드 크기로 넓힌다) */
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { color: var(--primary); }
.card__sum {
  font-size: 15px; color: var(--text-dim); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--text-dim); }
.card__date time { font-size: 14px; }

/* 페이지 이동 (site.js) */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pager button {
  min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font: 500 16px/1 var(--font-number); cursor: pointer;
}
.pager button[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ── 4. 홈 ─────────────────────────────────────────── */
.intro { padding: 28px 0 8px; display: grid; gap: 24px; }
.intro__kicker { font-size: 14px; font-weight: 600; color: var(--primary); }
.intro__title { margin-top: 8px; font-family: var(--font-title); font-weight: 400; font-size: 30px; line-height: 1.35; letter-spacing: -.01em; }
.intro__lede { margin-top: 14px; font-size: 17px; line-height: 1.75; max-width: 34em; }
.intro__by { margin-top: 14px; font-size: 15px; color: var(--text-dim); }
.intro__by strong { color: var(--text); font-weight: 600; }
.intro__rules { list-style: none; padding: 16px; background: var(--surface); border-radius: var(--radius); display: grid; gap: 12px; font-size: 15px; line-height: 1.6; }
.intro__rules li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.intro__rules strong { font-weight: 600; }
.intro__no {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font: 500 15px/1 var(--font-number);
}

.board { margin-top: 36px; }
.board > .band-title { margin-bottom: 4px; }
.board__cols { list-style: none; padding: 0; display: grid; gap: 0; }
.board__col { padding: 20px 0 22px; border-top: 3px solid var(--accent); }
.board__col + .board__col { margin-top: 12px; }
.board__no { font: 500 30px/1 var(--font-number); color: var(--primary); }
.board__title { margin-top: 8px; font-size: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.board__hint { font-size: 14px; font-weight: 400; color: var(--text-dim); }
.board__q { margin-top: 6px; font-size: 15px; color: var(--text-dim); }
.board__more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.board__empty { margin-top: 12px; font-size: 14px; color: var(--text-dim); }

.rows { list-style: none; padding: 0; margin-top: 12px; }
.row { border-top: 1px solid var(--border-soft); }
.row:last-child { border-bottom: 1px solid var(--border-soft); }
.row__link { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 0; color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.5; }
.row__link::after { content: "→"; margin-left: auto; flex: none; color: var(--primary); font-weight: 400; }
.row__link:hover .row__title { color: var(--primary); text-decoration: underline; }
.row__note { padding: 0 0 12px; margin-top: -4px; font-size: 14px; color: var(--text-dim); }

.doors { margin-top: 36px; }
.doors__list { list-style: none; padding: 0; margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.doors__list a {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 76px; height: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none;
}
.doors__list a:hover { border-color: var(--primary); box-shadow: inset 0 -3px 0 var(--primary); }
.doors__label { font-size: 17px; font-weight: 600; }
.doors__label::after { content: " →"; color: var(--primary); }
.doors__sub { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

.band--law { padding: 22px var(--gutter) 18px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); background: var(--surface); }
.band--law .row, .band--law .row:last-child { border-color: var(--border); }

.author { margin-top: 48px; padding: 22px 18px; border: 2px solid var(--accent); border-radius: var(--radius); }
.author__title { font-size: 18px; }
.author__grid { display: grid; gap: 16px; margin-top: 12px; }
.author__name { font-family: var(--font-title); font-size: 22px; line-height: 1.3; margin-bottom: 6px; }
.author__who p:not(.author__name) { font-size: 15px; line-height: 1.75; }
.author__rules { padding-left: 1.2em; display: grid; gap: 8px; font-size: 15px; line-height: 1.65; }
.author__rules li::marker { color: var(--primary); }
.author__links, .byline-box__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ── 5. 카테고리·태그 ─────────────────────────────── */
.list-head { padding: 12px 0 8px; border-bottom: 3px solid var(--accent); }
.list-head__title { margin-top: 6px; font-family: var(--font-title); font-weight: 400; font-size: 30px; line-height: 1.35; }
.list-head__hash { color: var(--primary); margin-right: 2px; }
.list-head__desc { margin-top: 8px; font-size: 16px; color: var(--text); max-width: 40em; }
.list-head__count { margin-top: 10px; font-size: 14px; color: var(--text-dim); }
.list-head__count .num { font-size: 18px; color: var(--text); margin-right: 2px; }

/* ── 6. 글 (고정 폭 단일 비교 문서) ─────────────────── */
.doc { max-width: var(--content-w); margin: 0 auto; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--text-dim); }
.crumbs li { display: flex; align-items: center; min-width: 0; }
.crumbs li:first-child a { min-width: 44px; justify-content: center; margin-left: -14px; }
.crumbs li + li::before { content: "›"; padding: 0 6px; color: var(--text-dim); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 32px; color: var(--text-dim); }
.crumbs a:hover { color: var(--primary); }
.crumbs li:last-child { flex: 1 1 0; min-width: 0; }
.crumbs [aria-current] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); }
.list-head .crumbs li:last-child, .doc--page .crumbs li:last-child { flex: none; }

.doc-head { padding-top: 4px; }
.doc-head__cat a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--primary); text-decoration: none; font-size: 14px; font-weight: 600;
}
.doc-head__cat a::before { content: ""; width: 10px; height: 10px; background: var(--primary); }
.doc-head__title { font-family: var(--font-title); font-weight: 400; font-size: 26px; line-height: 1.4; letter-spacing: -.01em; }
.doc-head__cat + .doc-head__title { margin-top: 0; }
.crumbs + .doc-head__title { margin-top: 8px; }
.doc-head__lede { margin-top: 12px; font-size: 17px; line-height: 1.7; }
.doc-head__by {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 14px; padding: 12px 0;
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); font-size: 14px; color: var(--text-dim);
}
.doc-head__author { color: var(--text); font-weight: 600; }
.doc-head__by time { font-size: 15px; color: var(--text); }
.doc-cover { margin: 20px 0 0; }
.doc-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--surface); }

.doc-foot { margin-top: 36px; }
.doc-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-tags a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius);
  background: var(--surface); color: var(--text); text-decoration: none; font-size: 15px;
}
.doc-tags a:hover { color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.next { margin-top: 40px; }
.next > .band-title { margin-bottom: 4px; }
.doc .ad-slot--end { margin-top: 32px; }
/* 본문에 광고 칸이 있으면 글 끝 칸은 쓰지 않는다 (글당 1개) */
.doc:has(.post-body .inline-ad) .ad-slot--end { display: none; }
.byline-box { margin-top: 40px; padding: 20px 18px; background: var(--surface); border-radius: var(--radius); font-size: 15px; line-height: 1.75; }
.byline-box__name { font-family: var(--font-title); font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.byline-box__name span { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 14px; color: var(--text-dim); }

/* ── 7. .post-body ─────────────────────────────────── */
.post-body { margin-top: 24px; font-size: 17px; line-height: 1.8; color: var(--text); }
.post-body > * + * { margin-top: 1.15em; }
.post-body > :is(h2, h3, h4) + * { margin-top: .6em; }
.post-body > :is(blockquote, div, aside, figure, table, nav, dl) + :is(p, h4, ul, ol) { margin-top: 1.4em; }
.post-body h2 {
  position: relative; margin-top: 2.4em; padding-top: 22px; font-size: 22px; line-height: 1.45;
  border-top: 1px solid var(--border-soft);
}
.post-body h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 3px; background: var(--primary); }
.post-body h3 { margin-top: 1.8em; font-size: 19px; line-height: 1.5; }
.post-body h4 { font-size: 17px; line-height: 1.5; }
.post-body strong { font-weight: 600; }
.post-body a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; }
.post-body a:hover { color: var(--text); text-decoration-thickness: 2px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .4em; }
.post-body li p { margin: 0; }
.post-body li::marker { color: var(--primary); }
.post-body hr { border: 0; height: 1px; margin: 2.4em 0; background: var(--border-soft); }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
.post-body figure { margin: 1.5em 0 0; }
.post-body figcaption { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
/* 섹션 이미지(카뉴): 본문 폭 가득 4:3 — 이미지가 늦게 와도 자리가 흔들리지 않게 */
.post-body > figure > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
/* 카뉴 이미지가 끝내 안 채워진 자리(src 없음)는 빈 상자를 보이지 않는다 */
.post-body figure:has(> img[data-img-pending]:not([src])) { display: none; }
.post-body code, .post-body kbd { font-size: .9em; }

/* ── 본문 컴포넌트 시각 — 실제 레퍼런스에서 따온 모양 (DESIGN.md "본문 컴포넌트 시각" 표)
   OutdoorGearLab: blogTip(위아래 회색 선 + 원형 아이콘)·Editors' Choice 붉은 모서리 깃발·award 상자(얇은 테두리 + 점선)·
                   Overall Score 사각 타일·장단점(원 안 +/−)·비교표(회색 머리 열 + 칸마다 선)·SPECIFICATIONS 테두리 줄
   Electric Bike Report: 할인 안내 면(테두리 없는 옅은 면)·SPONSOR 가운데 작은 라벨·섹션 제목 아래 2색 막대·붉은 사각 구매 버튼
   BikeRadar: 목차 회색 상자(점 글머리 + 밑줄 링크)·Editor's note 뒤 가운데 짧은 선·Recommended deals 머리 띠 상자 */
.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='1.8' 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-excl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.1'/%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='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%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='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6.5v11M6.5 12h11'/%3E%3C/svg%3E");
  --i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6.5 12h11'/%3E%3C/svg%3E");
}

/* 독자 상황 한 줄 (첫 blockquote) — 회색 면, 따옴표 장식 없음 */
.post-body blockquote {
  margin: 1.5em 0 0; padding: 16px 18px; background: var(--surface); border-radius: var(--radius);
  font-size: 17px; line-height: 1.75; font-weight: 600; color: var(--text);
}
.post-body > blockquote:first-child, .post-body > aside.tc-edition + blockquote { margin-top: 0; }
.post-body blockquote p + p { margin-top: .5em; }
.post-body blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; font-weight: 400; color: var(--text-dim); }

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

/* info(TIP·법규 체크) — OutdoorGearLab blogTip: 상자 없이 위아래 회색 선, 왼쪽에 큰 원형 아이콘(전구), 오른쪽 라벨 + 본문 */
.post-body .info-box {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start;
  padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.post-body .info-box::before {
  content: ""; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--accent) var(--i-bulb) center / 26px no-repeat;
}
.post-body .info-box .badge { grid-column: 2; justify-self: start; font-size: 16px; line-height: 1.6; color: var(--text); }
.post-body .info-box > div { grid-column: 2; }

/* warn(주의) — Electric Bike Report 안내 면: 테두리·막대 없는 옅은 호박색 사각 면, 라벨 앞에 OutdoorGearLab 단점 원(!) */
.post-body .warn-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 18px 18px; background: var(--warn-soft); }
.post-body .warn-box .badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--warn); }
.post-body .warn-box .badge::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--warn) var(--i-excl) center / 16px no-repeat; }

/* error(금지) — OutdoorGearLab "Editors' Choice": 얇은 적색 테두리 상자, 왼쪽 위 모서리에 붙은 붉은 사각 깃발(✕ + 라벨) */
.post-body .error-box { display: block; padding: 48px 18px 16px; border: 1px solid var(--primary); background: var(--bg); }
.post-body .error-box .badge {
  position: absolute; left: -1px; top: -1px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px 5px 10px;
  background: var(--primary); color: var(--on-primary); font-size: 15px; line-height: 1.5; letter-spacing: .04em;
}
.post-body .error-box .badge::before { content: ""; width: 16px; height: 16px; background: var(--i-x) center / contain no-repeat; }

/* success(확인) — OutdoorGearLab "Overall Score" 타일: 그래파이트 정사각 타일(✓ + 라벨) 왼쪽, 본문 오른쪽, 상자 없음 */
.post-body .success-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.post-body .success-box .badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; height: 64px;
  background: var(--accent); color: var(--on-accent); font-size: 13px; line-height: 1.3;
}
.post-body .success-box .badge::before { content: ""; width: 26px; height: 26px; background: var(--i-check) center / contain no-repeat; }
.post-body .success-box > div { padding-top: 2px; }

/* note(제휴·참고) — Electric Bike Report "SPONSOR": 가운데 작은 회색 라벨, 아래 작은 보조 글씨, 끝에 BikeRadar 식 가운데 짧은 선 */
.post-body .note-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding-bottom: 18px; font-size: 15px; line-height: 1.7; color: var(--text-dim); }
.post-body .note-box .badge { justify-self: center; font-size: 13px; letter-spacing: .12em; color: var(--text-dim); }
.post-body .note-box::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 96px; margin-left: -48px; height: 1px; background: var(--border); }

/* 법규 체크 박스: 알림 박스 안의 dl = 항목/값 줄 (OutdoorGearLab SPECIFICATIONS 표처럼 회색 항목 칸) */
.post-body :is(.warn-box, .info-box, .note-box) dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 4px 0 0; border: 1px solid var(--border-soft); }
.post-body :is(.warn-box, .info-box, .note-box) dl > div { border-top: 1px solid var(--border-soft); }
.post-body :is(.warn-box, .info-box, .note-box) dl > div:first-child { border-top: 0; }
.post-body :is(.warn-box, .info-box, .note-box) dt { padding: 6px 10px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text); }
.post-body :is(.warn-box, .info-box, .note-box) dd { margin: 0; padding: 6px 10px 8px; }

/* 콘텐츠 박스 공통 */
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) { margin-top: 1.6em; }
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) > :is(h3, h4) { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) > :first-child { margin-top: 0; }
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) > * + :not(h3, h4) { margin-top: .6em; }
.post-body :is(.summary-box, .key-points) :is(ul, ol) { padding-left: 1.2em; }

/* 결론 요약 — OutdoorGearLab award 상자: 얇은 회색 테두리, 굵은 큰 제목, 제목 아래 적색 점선, 맞는 조건은 적색 굵게 */
.post-body .summary-box { padding: 16px 18px 18px; border: 1px solid var(--border); background: var(--bg); }
.post-body .summary-box > :is(h3, h4) { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px dotted var(--primary); font-size: 19px; line-height: 1.4; color: var(--text); }
.post-body .summary-box li strong { color: var(--primary); }

/* 핵심 정리 — Electric Bike Report 섹션 제목: 굵은 제목 아래 그래파이트 + 적색 2색 막대, 번호는 적색 Oswald */
.post-body .key-points { padding: 0; }
.post-body .key-points > :is(h3, h4) { position: relative; margin-bottom: 14px; padding-bottom: 12px; font-size: 20px; line-height: 1.4; }
.post-body .key-points > :is(h3, h4)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 76px; height: 4px; background: linear-gradient(90deg, var(--accent) 0 50px, var(--primary) 50px 76px);
}
.post-body .key-points ol { list-style: none; padding-left: 0; counter-reset: kp; }
.post-body .key-points ol > li { counter-increment: kp; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.post-body .key-points ol > li + li { margin-top: 0; }
.post-body .key-points ol > li::before { content: counter(kp); font: 500 22px/1.4 var(--font-number); color: var(--primary); }

/* 목차 — BikeRadar highlight-box: 각진 회색 상자, 굵은 제목, 점 글머리 + 적색 밑줄 링크 (줄 44px) */
.post-body .toc-box { padding: 16px 18px 8px; background: var(--surface); }
.post-body .toc-box > :is(h3, h4) { margin-bottom: 4px; font-size: 18px; }
.post-body .toc-box ol { list-style: disc; padding-left: 1.3em; }
.post-body .toc-box li::marker { color: var(--accent); }
.post-body .toc-box li + li { margin-top: 0; }
.post-body .toc-box a { display: block; min-height: 44px; padding: 9px 0; color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; font-size: 16px; line-height: 1.6; }
.post-body .toc-box a:hover { color: var(--text); }

/* 3년 비용 박스 — OutdoorGearLab SPECIFICATIONS 표: 칸마다 얇은 선, 항목 칸 회색 면, 금액 오른쪽 Oswald,
   마지막 줄(합계) = Overall Score 타일처럼 그래파이트 면 + 흰 글씨 */
.post-body .prep-box { padding: 0; }
.post-body .prep-box > :is(h3, h4) { font-size: 18px; }
.post-body .prep-grid { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--border-soft); }
.post-body .prep-grid > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--border-soft); font-size: 16px; line-height: 1.55; }
.post-body .prep-grid > div:first-child { border-top: 0; }
.post-body .prep-grid > div > span { padding: 9px 12px; }
.post-body .prep-grid > div > span:first-child { background: var(--surface); font-weight: 600; border-right: 1px solid var(--border-soft); }
.post-body .prep-grid > div > span:last-child { min-width: 7.5em; text-align: right; font-family: var(--font-number); font-weight: 500; font-size: 17px; white-space: nowrap; }
.post-body .prep-grid > div:last-child { background: var(--accent); color: var(--on-accent); border-top: 0; }
.post-body .prep-grid > div:last-child > span:first-child { background: none; border-right-color: #5a5a5a; }
.post-body .prep-grid > div:last-child > span:last-child { font-size: 20px; }
.post-body .prep-box > p, .post-body .prep-box > ul { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* 단계 — OutdoorGearLab 순위 꼬리표("#1"): 그래파이트 정사각 번호 타일 + 굵은 제목, 단계 사이 점선 */
.post-body .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; margin-top: 1.2em; padding-bottom: 14px; border-bottom: 1px dashed var(--border); }
.post-body .step .num {
  width: 40px; height: 40px; display: grid; place-items: center; white-space: nowrap;
  background: var(--accent); color: var(--on-accent); font: 500 17px/1 var(--font-number);
}
.post-body .step .body h4 { margin: 6px 0 4px; font-size: 17px; }
.post-body .step .body p + p { margin-top: .6em; }

/* 타임라인 — OutdoorGearLab 평가 항목 줄: 시점은 작은 그래파이트 꼬리표(Oswald), 줄 사이 점선 */
.post-body .timeline { list-style: none; padding: 0; margin-top: 1.4em; border-top: 1px solid var(--border-soft); }
.post-body .timeline li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.post-body .timeline li + li { margin-top: 0; }
.post-body .timeline .time {
  justify-self: start; padding: 0 8px; background: var(--accent); color: var(--on-accent); font: 500 14px/1.7 var(--font-number); white-space: nowrap;
}

/* 표 — OutdoorGearLab Product Comparison Table: 칸마다 얇은 선, 머리 행·머리 열 회색 면 굵게, 데이터 흰 면.
   래퍼(.scroll-x = JS, .table-scroll = 작가 HTML)가 넘치면 가장자리 그림자 */
.post-body :is(.scroll-x, .table-scroll) {
  overflow-x: auto; margin-top: 1.6em;
  background:
    linear-gradient(90deg, var(--bg) 30%, rgba(255, 255, 255, 0)) left / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--bg) 30%, rgba(255, 255, 255, 0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(32, 33, 36, .18), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(32, 33, 36, .18), transparent) right / 14px 100% no-repeat scroll,
    var(--bg);
}
.post-body .scroll-x .table-scroll { margin: 0; overflow: visible; background: none; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.post-body > table { display: block; overflow-x: auto; }
.post-body :is(.scroll-x, .table-scroll) table { margin: 0; min-width: 560px; }
.post-body table caption { caption-side: top; text-align: left; padding: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--text); }
.post-body table :is(th, td) { padding: 10px 12px; text-align: left; vertical-align: top; border: 1px solid var(--border-soft); }
.post-body table thead th { background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; }
.post-body table tbody th { background: var(--surface); font-weight: 600; min-width: 6.5em; }
.post-body table td.is-num { text-align: right; font-family: var(--font-number); font-weight: 500; font-size: 16px; white-space: nowrap; }
.post-body table thead th.is-num { text-align: right; }

/* 장단점 — OutdoorGearLab PROS / CONS: 상자 없이 작은 굵은 머리, 항목마다 원 안 + (그래파이트) / − (호박색) */
.post-body .pros-cons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; margin-top: 1.6em; }
.post-body .pros-cons h4 { margin-bottom: 8px; font-size: 14px; letter-spacing: .06em; }
.post-body .pros-cons ul { list-style: none; padding-left: 0; }
.post-body .pros-cons li { position: relative; padding-left: 32px; }
.post-body .pros-cons li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) var(--i-plus) center / 16px no-repeat;
}
.post-body .pros-cons .cons li::before { background-color: var(--warn); background-image: var(--i-minus); }

/* 수치 칸 — OutdoorGearLab 평가 항목: 작은 라벨 위, 굵은 값, 아래 굵은 그래파이트 막대 */
.post-body .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 1.6em; }
.post-body .stats-grid .stat { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 10px; border-bottom: 4px solid var(--accent); }
.post-body .stats-grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.post-body .stats-grid .label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text-dim); }
.post-body .stats-grid .value { font-size: 18px; font-weight: 600; line-height: 1.45; }

/* 텍스트 강조 */
.post-body .lead { font-size: 1.1em; }
.post-body .highlight { background: linear-gradient(transparent 62%, rgba(181, 18, 27, .16) 62%); padding: 0 1px; }
.post-body .pull-quote { margin: 2em 0 0; padding: 14px 0; font-size: 21px; font-weight: 600; line-height: 1.55; border-top: 3px solid var(--accent); border-bottom: 1px solid var(--border-soft); }
.post-body kbd, .post-body .kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 3px; background: var(--bg); line-height: 1.6; }

/* 미디어 */
.post-body .image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 1.4em; }
.post-body .image-grid figure { margin: 0; }
.post-body .before-after { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 1.4em; }
.post-body .before-after > div { position: relative; }
.post-body .before-after .label { position: absolute; top: 8px; left: 8px; padding: 1px 8px; font-size: 13px; font-weight: 600; background: var(--accent); color: var(--on-accent); border-radius: 3px; }
.post-body .video-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 1.4em; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.post-body .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 구매 링크 — Electric Bike Report "Check Best Price": 각진 적색 버튼, 굵은 큰 글씨 (모바일 전체 폭) */
.post-body .cta-button {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 10px 20px;
  background: var(--primary); color: var(--on-primary); border-radius: 2px;
  font-weight: 600; font-size: 17px; line-height: 1.4; text-align: center; text-decoration: none;
}
.post-body .cta-button:hover { background: #8f0e15; color: var(--on-primary); text-decoration: none; }
/* 제휴 링크는 버튼 안에 '제휴' 표시를 붙인다 */
.post-body a.cta-button[data-link-kind="sponsored"]::after {
  content: "제휴"; flex: none; padding: 0 6px; font-size: 12px; line-height: 1.6; border: 1px solid currentColor; border-radius: 2px;
}
.post-body p > .cta-button + .cta-button, .post-body .cta-button + .cta-button { margin-top: 8px; }
/* 다음 글 — BikeRadar "Recommended deals": 그래파이트 머리 띠(흰 제목) + 얇은 테두리 흰 몸통 + 적색 버튼 */
.post-body .cta-box { margin-top: 1.8em; padding: 0 18px 18px; border: 1px solid var(--border); background: var(--bg); }
.post-body .cta-box > :is(h3, h4) { margin: 0 -18px 14px; padding: 8px 18px; background: var(--accent); color: var(--on-accent); font-size: 17px; }
.post-body .cta-box p { color: var(--text); }
.post-body .cta-box .cta-button { margin-top: 14px; }

/* 기타 */
.post-body .divider { width: 100%; height: 1px; background: var(--border-soft); }
.post-body .spoiler { margin-top: 1.4em; border: 1px solid var(--border); border-radius: var(--radius); }
.post-body .spoiler summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; cursor: pointer; font-weight: 600; }
.post-body .spoiler > :not(summary) { padding: 0 16px 14px; margin: 0; }
.post-body .footnote-ref { font-size: .75em; }
.post-body .footnote {
  display: block; margin-top: 2em; padding: 12px 0 0 2.4em; text-indent: -2.4em; border-top: 1px solid var(--border-soft);
  font-size: 14px; line-height: 1.7; color: var(--text-dim);
}
.post-body .footnote + .footnote { margin-top: 4px; padding-top: 0; border-top: 0; }
.post-body .footnote .num { display: inline-block; min-width: 2.4em; text-indent: 0; color: var(--text); font-size: 14px; }
.post-body .price-tag { display: inline-flex; align-items: baseline; gap: 2px; }
.post-body .price-tag .amount { font: 500 1.08em/1 var(--font-number); color: var(--text); }
.post-body .price-tag .currency { font-size: .9em; color: var(--text-dim); }
/* FAQ (h2#…faq 아래 h3 + p, dl.faq) — OutdoorGearLab "SPECIFICATIONS" 줄: 얇은 테두리 상자 안 굵은 질문, 앞에 적색 Oswald Q, 답은 상자 아래 */
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3),
.post-body .faq dt {
  display: grid; grid-template-columns: 1.5em minmax(0, 1fr); margin-top: 1em; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 3px; font-size: 17px; font-weight: 600; line-height: 1.5;
}
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3)::before,
.post-body .faq dt::before { content: "Q"; font: 500 18px/1.4 var(--font-number); color: var(--primary); }
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3) + p,
.post-body .faq dd { margin: 0; padding: 10px 14px 0 calc(14px + 1.5em); }
.post-body .faq { margin-top: 1.4em; }
.post-body .tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.post-body .tag-list .tag { padding: 2px 10px; font-size: 14px; background: var(--surface); border-radius: 3px; }
.post-body .inline-ad { margin: 2.2em 0 0; min-height: 280px; }

/* ── 8. 푸터 ───────────────────────────────────────── */
.sitefoot { background: var(--accent); color: #e6e6e6; border-top: 4px solid var(--primary); }
.sitefoot__in { max-width: var(--container); margin: 0 auto; padding: 32px var(--gutter) 40px; display: grid; gap: 14px; font-size: 14px; line-height: 1.7; }
.sitefoot__name { font-family: var(--font-title); font-size: 19px; color: #fff; margin-bottom: 4px; }
.sitefoot__links { display: flex; flex-wrap: wrap; gap: 0 4px; }
.sitefoot__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 8px; color: #fff; }
.sitefoot__links a:first-child { justify-content: flex-start; padding-left: 0; }
.sitefoot__id p, .sitefoot__note { max-width: 46em; }
.sitefoot__links a:hover { color: #ffd5d7; }
.sitefoot__copy { font-family: var(--font-number); font-size: 13px; }
.sitefoot :focus-visible { outline-color: #fff; box-shadow: none; }

/* CMS 기본 페이지(/privacy 등) */
.cms-default-page { max-width: var(--content-w); margin: 0 auto; padding-top: 24px; font-size: 17px; line-height: 1.8; }
.cms-default-page h1 { font-family: var(--font-title); font-weight: 400; font-size: 28px; margin-bottom: 16px; }
.cms-default-page h2 { font-size: 20px; margin-top: 1.8em; }
.doc--page .doc-head__title { margin-top: 8px; }

/* ── 9. 넓은 화면 ──────────────────────────────────── */
@media (max-width: 599px) {
  .disclose-bar__long { display: none; }
  /* 표 → 카드: site.js 가 thead 라벨을 td[data-label] 로 복사하고 .is-stacked 를 붙였을 때만 (JS 없으면 가로 스크롤) */
  /* OutdoorGearLab 사양표를 행마다: 카드 = 얇은 테두리 표, 머리 칸에 "#번호" 그래파이트 꼬리표, 라벨 칸 회색 면 */
  .post-body :is(.scroll-x, .table-scroll).is-stacked { overflow: visible; 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; }
  .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 { counter-reset: row; }
  .post-body table.is-stacked tbody tr { counter-increment: row; border: 1px solid var(--border-soft); }
  .post-body table.is-stacked tbody tr + tr { margin-top: 12px; }
  .post-body table.is-stacked tbody :is(th, td) { border: 0; padding: 0; }
  .post-body table.is-stacked tbody > tr > :first-child:not([data-label]) {
    display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; background: var(--bg); font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--border-soft);
  }
  .post-body table.is-stacked tbody > tr > :first-child:not([data-label])::before {
    content: "#" counter(row); flex: none; padding: 0 6px; background: var(--accent); color: var(--on-accent); font: 500 13px/1.6 var(--font-number);
  }
  .post-body table.is-stacked td[data-label] { display: grid; grid-template-columns: 108px minmax(0, 1fr); padding: 8px 12px 8px 0; border-top: 1px solid var(--border-soft); line-height: 1.6; }
  .post-body table.is-stacked tbody > tr > :first-child:not([data-label]) + td[data-label] { border-top: 0; }
  .post-body table.is-stacked td[data-label]::before {
    content: attr(data-label); margin: -8px 12px -8px 0; padding: 8px 10px; background: var(--surface); border-right: 1px solid var(--border-soft);
    font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text); text-align: left;
  }
  .post-body table.is-stacked td.is-num { text-align: left; white-space: normal; }
  .post-body table.is-stacked td[data-label] { line-height: 1.6; }
}
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .wordmark__tag { display: block; }
  .menu-btn__more { display: inline; }
  .intro__title { font-size: 36px; }
  .cards--three, .cards--list, .cards--guides { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .post-body { font-size: 18px; }
  .post-body h2 { font-size: 24px; }
  .post-body h3 { font-size: 20px; }
  .doc-head__title { font-size: 32px; }
  .list-head__title { font-size: 34px; }
  .doors__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .post-body .pros-cons, .post-body .before-after { 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; }
  .post-body .timeline li { grid-template-columns: 7em minmax(0, 1fr); gap: 14px; align-items: baseline; }
  .post-body .cta-button { display: inline-flex; width: auto; }
  .post-body .cta-button + .cta-button { margin-top: 0; margin-left: 8px; }
  .post-body :is(.warn-box, .info-box, .note-box) dl > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); }
  .author, .byline-box { padding: 24px 28px; }
  .band--law { border-radius: var(--radius); margin-left: 0; margin-right: 0; padding: 26px 28px 22px; }
}
@media (min-width: 960px) {
  .topbar__in { padding-top: 14px; padding-bottom: 10px; }
  .wordmark__name { font-size: 22px; }
  .menu-btn { display: none; }
  .js .catnav:not(.is-open), .catnav { display: block; border-top: 0; }
  .catnav__list { display: flex; flex-wrap: wrap; gap: 0 4px; padding-bottom: 0; }
  .catnav__list a { min-height: 44px; padding: 0 12px; border-bottom: 3px solid transparent; font-size: 15px; }
  .catnav__list li:first-child a { padding-left: 0; }
  .catnav__list a::after { content: none; }
  .catnav__list a:hover { color: var(--primary); }
  .catnav__list a[aria-current="page"] { text-decoration: none; border-bottom-color: var(--primary); }
  .intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 48px; }
  .intro__title { font-size: 44px; }
  .intro__lede { font-size: 18px; max-width: 34em; }
  .intro__rules { padding: 20px 22px; }
  .band-title { font-size: 22px; }
  .board { margin-top: 52px; }
  .board__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .board__col + .board__col { margin-top: 0; }
  .cards--three, .cards--list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .cards--next { grid-template-columns: minmax(0, 1fr); }
  .band { margin-top: 56px; }
  .band--law { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
  .band--law .rows { margin-top: 0; }
  .author__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
  .list-head { padding-top: 24px; }
  .list-head__title { font-size: 40px; }
  .doc-head__title { font-size: 36px; }
  .doc { padding-top: 12px; }
}
@media (min-width: 1200px) {
  .cards--guides { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  .disclose-bar, .topbar, .ad-slot, .sitefoot, .pager, .menu-btn { display: none !important; }
}

/* QA 자동 수정 (관문 A) */
.doc-cover:has(> img:not([src])), .doc-cover:has(> img[src=""]), .post-body > figure:has(> img:not([src])), .post-body > figure:has(> img[src=""]) { display: none; }

/* QA 자동 수정 (관문 A) */
@media (max-width: 767px) { .doc-head__title { font-size: 22px; line-height: 1.3; } .doc-head__lede { margin-top: 8px; font-size: 16px; line-height: 1.6; } }
