/*
Theme Name: Z-Bike Racing
Description: Z-바이크탁송 (zbike.kr) — 레이싱 다크, 모바일 우선, 탁송비 계산기
Version: 1.0
Author: -
Text Domain: zbike-racing
*/

/* 레이아웃: 한 줄 세로 흐름(모바일) → 넓은 화면은 히어로·계산기 2단. 바탕은 아스팔트 검정, 강조는 형광 라임 하나 */
:root {
  --bg: #0b0d10;
  --surface: #14181e;
  --surface-2: #1c222a;
  --line: #2a313b;
  --text: #f2f4f6;
  --muted: #9aa4b1;
  --lime: #c8f53a;
  --lime-ink: #0b0d10;
  --danger: #ff6b5b;
  --ok: #7ee2a8;
  --f-display: "Black Han Sans", "Noto Sans KR", sans-serif;
  --f-race: "Chakra Petch", "Noto Sans KR", sans-serif;
  --f-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --r: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--f-body);
  font-size: 16px; line-height: 1.65; word-break: keep-all;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(11,13,16,0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.logo { display: flex; align-items: baseline; gap: 8px; }
.logo-mark { font-family: var(--f-race); font-style: italic; font-weight: 700; font-size: 1.45rem; letter-spacing: 0.02em; color: var(--lime); }
.logo-sub { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.hd-tel { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--f-race); font-style: italic; font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.hd-tel-label { font-family: var(--f-body); font-style: normal; font-weight: 500; font-size: 0.7rem; color: var(--muted); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.12s, background 0.12s; }
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #d6fb5c; }
.btn-line { border-color: var(--line); background: transparent; color: var(--text); }
.btn-line:hover { border-color: var(--muted); }
.btn-kakao { background: #fee500; border-color: #fee500; color: #191600; }
.btn-kakao:hover { background: #ffeb3b; border-color: #ffeb3b; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* 히어로 */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,13,16,0.35) 0%, rgba(11,13,16,0.55) 45%, var(--bg) 100%); }
.hero-in { padding-block: 64px 36px; }
.chip { display: inline-block; font-size: 0.82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(200,245,58,0.14); color: var(--lime); border: 1px solid rgba(200,245,58,0.35); }
.hero-title { margin-top: 16px; font-family: var(--f-display); font-weight: 400; font-size: clamp(3.2rem, 14vw, 6.2rem); line-height: 0.98; letter-spacing: -0.01em; transform: skewX(-8deg); transform-origin: left bottom; text-wrap: balance; }
.hero-title span { display: block; }
.hero-title .hl { color: var(--lime); }
.hero-sub { margin-top: 16px; max-width: 30em; color: #d9dee4; font-size: 1.02rem; }
.hero-cta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn { flex: 1 1 160px; }
.hero-facts { list-style: none; margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-facts li { background: rgba(20,24,30,0.78); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px; font-size: 0.78rem; color: var(--muted); line-height: 1.35; }
.hero-facts strong { display: block; font-family: var(--f-race); font-style: italic; font-size: 1.02rem; color: var(--text); }

/* 계산기 */
.calc { padding-block: 8px 48px; scroll-margin-top: 70px; }
.calc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; position: relative; overflow: hidden; }
.calc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--lime) 0 18px, transparent 18px 26px); }
.calc-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0.01em; }
.calc-head p { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.calc-form { margin-top: 18px; display: grid; gap: 16px; }
.route { display: grid; gap: 8px; position: relative; }
.route::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; border-left: 2px dashed var(--line); }
.addr-box { position: relative; }
.addr { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; min-height: 56px; cursor: text; position: relative; }
.addr:focus-within { border-color: var(--lime); }
.addr-tag { flex: 0 0 40px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; background: var(--lime); color: var(--lime-ink); position: relative; z-index: 1; }
.addr-tag.is-end { background: var(--text); }
.addr input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 1rem; text-overflow: ellipsis; }
.addr input.picked { color: var(--lime); font-weight: 700; }
.ac { position: relative; z-index: 2; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,0.55); max-height: 320px; overflow-y: auto; }
.ac li { display: flex; align-items: baseline; gap: 8px; padding: 11px 12px; border-radius: 8px; cursor: pointer; min-width: 0; }
.ac li[aria-selected="true"], .ac li:hover { background: var(--surface-2); }
.ac b { font-weight: 700; color: var(--text); white-space: nowrap; }
.ac b mark { background: none; color: var(--lime); }
.ac small { color: var(--muted); font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ac .ac-empty { color: var(--muted); cursor: default; display: block; line-height: 1.5; }
.ac .ac-empty:hover { background: none; }
.addr input::placeholder { color: var(--muted); }
.cc { border: 0; }
.cc legend { font-size: 0.86rem; color: var(--muted); margin-bottom: 8px; }
.cc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cc-opt { position: relative; }
.cc-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cc-opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); font-weight: 700; font-size: 0.95rem; transition: 0.12s; }
.cc-opt input:checked + span { border-color: var(--lime); color: var(--lime); background: rgba(200,245,58,0.08); }
.cc-opt input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form-msg { min-height: 1.3em; font-size: 0.9rem; font-weight: 500; color: var(--danger); }
.form-msg.ok { color: var(--ok); }
.done-pop { margin: auto; max-height: calc(100% - 32px); width: min(400px, calc(100% - 32px)); padding: 30px 24px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.done-pop::backdrop { background: rgba(5,7,9,0.72); backdrop-filter: blur(3px); }
.done-pop[open] { animation: donePop 0.22s ease-out; }
@keyframes donePop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.done-ic { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); }
.done-pop h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 8px; }
.done-route { color: var(--lime); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; word-break: keep-all; }
.done-route:empty { display: none; }
.done-s { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 20px; }
.done-s a { color: var(--text); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* 결과: 번호판 */
.result { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 20px; }
.plate { display: flex; flex-direction: column; align-items: flex-start; background: var(--lime); color: var(--lime-ink); border-radius: 16px; padding: 14px 18px 12px; transform: skewX(-6deg); }
.plate-label { font-size: 0.82rem; font-weight: 700; transform: skewX(6deg); }
.plate-num { font-family: var(--f-race); font-style: italic; font-weight: 700; font-size: clamp(2.3rem, 11vw, 3.2rem); line-height: 1.05; font-variant-numeric: tabular-nums; transform: skewX(6deg); }
.route-meta { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.route-meta div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.route-meta dt { font-size: 0.74rem; color: var(--muted); }
.route-meta dd { font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result-note { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; padding: 11px 14px; border: 1px solid rgba(200,245,58,0.55); border-radius: 12px; background: rgba(200,245,58,0.10); color: var(--lime); font-size: 0.88rem; font-weight: 700; line-height: 1.5; text-shadow: 0 0 10px rgba(200,245,58,0.35); }
.result-note::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-size: 0.75rem; font-weight: 900; text-shadow: none; }

/* 접수 */
.lead { margin-top: 20px; background: var(--surface-2); border-radius: 16px; padding: 18px 14px; display: grid; gap: 14px; }
.lead h3 { font-size: 1.1rem; font-weight: 900; }
.lead-grid { display: grid; gap: 12px; }
.fld { display: grid; gap: 6px; border: 0; min-width: 0; }
.fld > span, .fld legend { font-size: 0.84rem; color: var(--muted); }
.fld em { font-style: normal; font-size: 0.75rem; opacity: 0.8; }
.fld input, .fld textarea { width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; font-size: 1rem; outline: 0; }
.fld input:focus, .fld textarea:focus { border-color: var(--lime); }
.fld textarea { resize: vertical; }
.phone { display: flex; gap: 6px; }
.phone-pre { flex: 0 0 60px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--line); font-weight: 700; }
.phone input { flex: 1; min-width: 0; letter-spacing: 0.04em; }
.mode { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.mode legend { width: 100%; margin-bottom: 4px; }
.mode label { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.mode input, .agree input { accent-color: var(--lime); width: 18px; height: 18px; }
.mode-note { font-size: 0.78rem; font-weight: 700; color: var(--lime); border: 1px solid var(--lime); border-radius: 6px; padding: 1px 6px; }
.dt { display: flex; gap: 6px; min-width: 0; }
.dt input { flex: 1 1 58%; min-width: 0; }
.dt select { flex: 1 1 42%; min-width: 0; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 10px; font-size: 1rem; color: var(--text); outline: 0; }
.dt select:focus { border-color: var(--lime); }
.agrees { display: grid; gap: 10px; }
.agree-detail { margin: -4px 0 2px 24px; font-size: 0.8rem; color: var(--muted); }
.agree-detail summary { cursor: pointer; text-decoration: underline; width: fit-content; }
.agree-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 8px 0; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.agree-detail dt { font-weight: 700; color: var(--text); white-space: nowrap; }
.agree-detail dd { margin: 0; min-width: 0; }
.agree-detail p { margin: 0; }
.agree { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.88rem; }
.agree a { color: var(--muted); text-decoration: underline; }
.bad { border-color: var(--danger) !important; }

/* 섹션 공통 */
.sec-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.2; margin-bottom: 18px; text-wrap: balance; }
.why, .steps, .notes { padding-block: 44px; border-top: 1px solid var(--line); }
.why-grid { display: grid; gap: 12px; }
.why-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.why-grid h3 { font-size: 1.15rem; font-weight: 900; color: var(--lime); margin-bottom: 4px; }
.why-grid p { color: #c9d0d8; font-size: 0.95rem; }
.step-list { list-style: none; display: grid; gap: 4px; counter-reset: s; }
.step-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.step-list li:last-child { border-bottom: 0; }
.step-n { flex: 0 0 auto; font-family: var(--f-race); font-style: italic; font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--lime); min-width: 44px; }
.step-list h3 { font-size: 1.05rem; font-weight: 900; }
.step-list p { color: var(--muted); font-size: 0.93rem; }
.note-list { list-style: none; display: grid; gap: 10px; }
.note-list li { background: var(--surface); border-radius: 12px; padding: 14px 16px; font-size: 0.93rem; color: #c9d0d8; }
.note-list strong { display: block; color: var(--text); font-weight: 900; margin-bottom: 2px; }
.notes-cta { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.notes-cta .btn { flex: 1 1 180px; }

/* 문서 페이지 */
.doc { padding-block: 32px 48px; }
.doc-in { max-width: 820px; }
.doc-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.3rem); line-height: 1.25; margin-bottom: 20px; }
.doc-body { color: #d3d9df; font-size: 0.97rem; }
.doc-body h1, .doc-body h2, .doc-body h3, .doc-body h4 { color: var(--text); margin: 26px 0 8px; line-height: 1.4; font-weight: 900; }
.doc-body h2 { font-size: 1.2rem; } .doc-body h3 { font-size: 1.08rem; }
.doc-body p, .doc-body ul, .doc-body ol { margin-bottom: 12px; }
.doc-body ul, .doc-body ol { padding-left: 20px; }
.doc-body strong { color: var(--text); }
.doc-body table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 0.9rem; display: block; overflow-x: auto; }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.doc-back { margin-top: 28px; }

/* 푸터 */
.ft { border-top: 1px solid var(--line); padding-block: 32px 24px; color: var(--muted); font-size: 0.84rem; }
.ft-brand { color: var(--text); font-weight: 700; margin-bottom: 6px; }
.ft-brand .logo-mark { font-size: 1.15rem; }
.ft-call a { color: var(--text); font-weight: 700; }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0; }
.ft-links a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ft-biz, .ft-note, .ft-copy { margin-top: 8px; line-height: 1.6; }
.ft-note { font-size: 0.76rem; opacity: 0.8; }

/* 하단 고정 문의 바 */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(11,13,16,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; font-weight: 900; font-size: 1rem; white-space: nowrap; }
.dock-calc { background: var(--lime); color: var(--lime-ink); }
.dock-kakao { background: #fee500; color: #191600; }

/* 주소 검색 창 */

/* 넓은 화면 */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .hero-in { padding-block: 96px 64px; max-width: 1120px; }
  .hero-in > * { max-width: 560px; }
  .hero::after { background: linear-gradient(90deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.6) 45%, rgba(11,13,16,0.2) 70%, rgba(11,13,16,0.5) 100%), linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
  .calc { margin-top: -40px; position: relative; z-index: 2; }
  .calc-card { max-width: 760px; margin: 0 auto; padding: 30px 32px; }
  .cc-row { grid-template-columns: repeat(4, 1fr); }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .fld-wide { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .step-list { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .step-list li { flex-direction: column; border-bottom: 0; border-top: 2px solid var(--lime); padding-top: 16px; }
  .note-list { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* 탁송 정보 (글 목록·글) */
.hd-blog { margin-left: auto; margin-right: 0; font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.hd-blog:hover { color: var(--lime); }
.hd-in .hd-tel { margin-left: 0; }
.logo, .logo-mark, .logo-sub, .hd-blog, .hd-tel { white-space: nowrap; }
@media (max-width: 420px) {
  .hd-in { gap: 8px; }
  .logo { gap: 5px; }
  .logo-mark { font-size: 1.2rem; }
  .logo-sub { font-size: 0.78rem; }
  .hd-blog { margin-right: 4px; font-size: 0.8rem; }
  .hd-tel { font-size: 0.95rem; }
  .hd-tel-label { font-size: 0.62rem; }
}
@media (max-width: 350px) { .logo-sub { display: none; } }
.crumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.post-date { color: var(--muted); font-size: 0.85rem; margin: -10px 0 18px; }
.list-lead { color: var(--muted); margin-bottom: 18px; }
.post-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.post-list li a { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.post-list li a:hover { border-color: var(--lime); }
.post-list b { font-size: 1.02rem; line-height: 1.4; }
.post-list span { color: var(--muted); font-size: 0.9rem; }
.post-list small { color: var(--muted); font-size: 0.78rem; }
.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-grid li a.pcard { display: flex; flex-direction: column; gap: 6px; padding: 0 0 14px; overflow: hidden; height: 100%; }
.pcard-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pcard-media .pcard-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.pcard:hover .pcard-img { transform: scale(1.04); }
.post-grid b { padding: 4px 14px 0; font-size: 0.98rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-grid small { padding: 0 14px; margin-top: auto; }
@media (max-width: 480px) { .post-grid { gap: 10px; } .post-grid b { font-size: 0.9rem; padding: 2px 10px 0; } .post-grid small { padding: 0 10px; } .post-grid li a.pcard { padding-bottom: 10px; } }
.posts { padding-block: 10px 44px; }
.posts-more { margin-top: 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 24px; }
.pager .page-numbers { padding: 8px 13px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; }
.pager .current { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 800; }
.entry h2 { font-size: 1.25rem; margin: 30px 0 10px; padding-left: 12px; border-left: 4px solid var(--lime); }
.entry h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.entry table { display: table; }
.entry table th, .entry table td { color: var(--text) !important; background: transparent !important; border-color: var(--line) !important; }
.entry tr[style*="background"] th { background: var(--surface-2) !important; }
.entry a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: 12px; }
.entry [style*="background: #F5F5F5"], .entry [style*="background:#F5F5F5"] { background: var(--surface) !important; }
.entry [style*="background: white"], .entry [style*="background:white"] { background: var(--surface-2) !important; }
.entry [style*="color: #424242"], .entry [style*="color:#424242"] { color: var(--text) !important; }
.entry [style*="color:#555"] { color: var(--muted) !important; }
.entry [style*="background:#E1F5FE"] { background: rgba(200,245,58,0.15) !important; color: var(--lime) !important; }
.doc-body h4 { font-size: 1rem; }
.doc-body blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--lime); background: var(--surface); border-radius: 0 12px 12px 0; }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.entry #toc_container, .entry .toc { background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; padding: 14px 18px !important; box-shadow: none !important; }
.entry #toc_container a, .entry .toc a { color: var(--text); text-decoration: none; }
/* 자동 발행 프로그램 출력(스타일없음 모드) */
.entry [class^="section"] > br { display: none; }
.entry .gptwriter-intro-box { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: 0 14px 14px 0; padding: 16px 18px; color: var(--text); }
.entry .gptwriter-intro-box + .gptwriter-intro-box { background: none; border: 0; border-radius: 0; padding: 0; color: inherit; }
.entry .gptwriter-table { display: table; width: 100%; }
.entry .gptwriter-table thead th { background: var(--surface-2) !important; }
.zb-inline-cta { margin: 22px 0 6px; padding: 18px 18px 20px; border: 1.5px solid var(--lime); border-radius: 16px; background: rgba(200,245,58,0.08); box-shadow: 0 0 22px rgba(200,245,58,0.12); text-align: center; }
.entry .zb-inline-cta-t, .zb-inline-cta-t { margin: 0 0 4px !important; color: var(--lime); font-weight: 900; font-size: 1.12rem; }
.entry .zb-inline-cta-s, .zb-inline-cta-s { margin: 0 0 14px !important; color: var(--muted); font-size: 0.9rem; }
.entry .zb-inline-cta .btn { color: var(--lime-ink); text-decoration: none; }
.post-hero { margin: 4px 0 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.post-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.post-cta { margin: 32px 0 26px; padding: 22px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.post-cta-t { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 4px; }
.post-cta-s { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }
.post-cta-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.post-rel h2 { font-size: 1.05rem; margin-bottom: 10px; }
.post-rel ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 6px; }
.post-rel a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.post-rel a:hover { color: var(--text); }
.why-grid .why-note { margin-top: 8px; font-size: 0.86rem; color: var(--lime); }
