:root {
  --orange:       #F45B0F;
  --orange-light: #FEF0E8;
  --orange-mid:   #FDDCC8;
  --ink:          #111111;
  --ink-2:        #3A3A3A;
  --ink-3:        #666666;
  --ink-4:        #999999;
  --rule:         #E8E8E8;
  --surface:      #F8F7F5;
  --white:        #FFFFFF;
  --sans:         'Noto Sans KR', system-ui, sans-serif;
  --serif:        'Noto Serif KR', Georgia, serif;
  --mono:         'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: #F4F3F0 !important; font-family: var(--sans) !important; color: var(--ink); }

/* ─── 테마 컨테이너 중립화 ─── */
.article-wrap, .article-wrap * { font-family: var(--sans); }
.article-wrap h1, .article-wrap h2, .article-wrap h3 { font-family: var(--serif); }
.article-wrap p, .article-wrap li { margin: 0; padding: 0; }

/* 테마가 추가하는 콘텐츠 래퍼 너비/패딩 제거 */
.article-wrap { max-width: 740px !important; width: 100% !important; box-sizing: border-box !important; }
body.tc-geo-post .site-main,
body.tc-geo-post #main,
body.tc-geo-post .content-area,
body.tc-geo-post .entry-content,
body.tc-geo-post .post-content,
body.tc-geo-post .wp-block-post-content { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important; }

/* ─── 아티클 래퍼 ─── */
.article-wrap {
  border-radius: 8px;
  overflow: hidden;
  max-width: 740px;
  margin: 48px auto 96px;
  padding: 0 40px;
}

/* ─── 포스트 헤더 ─── */
.post-header {
  padding: 0px 0px 42px 0px;
  border-bottom: 1px solid var(--rule);
}
.post-category {
  font-size: .75rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}
.post-category:hover {
  text-decoration: underline;
}
.post-kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}
.post-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 14px;
  word-break: keep-all;
}
.post-meta { font-size: .75rem; color: var(--ink-4); }
.post-meta__tag { color: var(--ink-4); text-decoration: none; }
.post-meta__tag:hover { color: var(--orange); text-decoration: underline; }

/* ─── TL;DR ─── */
/* 기본 스타일 제거됨 — 각 포스트에서 별도 <style>로 커스텀 */

/* ─── 한 줄 정의 ─── */
.tc-def {
  margin: 0 0 32px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--ink);
  word-break: keep-all;
}
.tc-def strong { color: var(--orange); }

/* ─── 목차 ─── */
.tc-toc {
  margin: 0 0 40px;
  background: var(--surface);
  border-radius: 6px;
  padding: 20px 24px;
}
.tc-toc__label {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
  margin-bottom: 12px;
}
.tc-toc ol { padding-left: 18px; margin: 0; }
.tc-toc li { margin-bottom: 5px; font-size: .86rem; line-height: 1.55; }
.tc-toc a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.tc-toc a:hover { color: var(--orange); border-color: var(--orange); }

/* ─── 구분선 ─── */
.tc-hr { border: none; border-top: 1px solid var(--rule); margin: 0 0 40px; }

/* ─── 파트 ─── */
.tc-part { margin-bottom: 40px; }
.tc-part-label {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
  margin-bottom: 8px;
}
.tc-part h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
  padding-top: 4px;
  word-break: keep-all;
}

/* ─── Wysiwyg ─── */
.tc-wysiwyg p {
  font-size: .95rem;
  line-height: 1.95;
  color: var(--ink-2);
  margin-bottom: 14px;
  word-break: keep-all;
}
.tc-wysiwyg strong { color: var(--ink); font-weight: 600; }
.tc-wysiwyg blockquote {
  border-left: 3px solid var(--orange);
  background: var(--orange-light);
  margin: 18px 0;
  padding: 12px 18px;
  font-style: italic;
  font-size: .93rem;
  line-height: 1.8;
  color: var(--ink-2);
  border-radius: 0 4px 4px 0;
}

/* ─── 통계 그리드 ─── */
.tc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
  background: var(--surface);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 22px 28px;
}
.tc-stat {
  background: var(--surface);
  border-radius: 6px;
  padding: 14px 16px;
  text-align: center;
  border-top: 3px solid var(--orange);
}
.tc-stat__num {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1.2;
}
.tc-stat__label { font-size: .72rem; color: var(--ink-4); margin-top: 4px; display: block; }

/* ─── Quote-ready ─── */
.tc-qb {
  background: var(--surface);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 22px 28px;
  margin: 24px 0;
}
.tc-qb__label {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}
.tc-qb__conc {
  font-size: .97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.65;
  display: block;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  word-break: keep-all;
}
.tc-qb__row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  margin-bottom: 10px;
  font-size: .86rem;
  line-height: 1.8;
}
.tc-qb__row:last-child { margin-bottom: 0; }
.tc-qb__key {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-top: 3px;
}
.tc-qb__val { color: var(--ink-2); }
.tc-qb__warn { border-radius: 4px; padding: 8px 10px; }
.tc-qb__warn .tc-qb__key { color: var(--orange); }
.tc-qb__warn .tc-qb__val { color: #7A2E0A; font-size: .83rem; }

/* ─── 체크리스트 ─── */
.tc-ck {
  background: var(--surface);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 22px 28px;
  margin: 20px 0;
}
.tc-ck__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  word-break: keep-all;
  line-height: 1.5;
}
.tc-ck__phase { margin-bottom: 16px; }
.tc-ck__phase:last-of-type { margin-bottom: 0; }
.tc-ck__phase-label {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 8px;
}
.tc-ck__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--ink-2);
  cursor: pointer;
}
.tc-ck__item input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--orange);
  width: 14px; height: 14px;
}
.tc-ck__result { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.tc-ck__result p { font-size: .8rem; color: var(--ink-3); margin-bottom: 4px; line-height: 1.6; }

/* ─── CTA ─── */
.tc-cta {
  background: var(--ink);
  border-radius: 6px;
  padding: 22px 26px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tc-cta__text { font-size: .86rem; color: #AAAAAA; line-height: 1.7; flex: 1; min-width: 180px; }
.tc-cta__text strong { color: #fff; }
.tc-cta__btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .02em;
  transition: opacity .15s;
}
.tc-cta__btn:hover { opacity: .88; }

/* ─── 미래 페이싱 장면 ─── */
.tc-scene {
  background: var(--surface);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 22px 28px;
  margin: 20px 0;
}
.tc-scene p {
  font-style: italic;
  font-size: .93rem;
  line-height: 1.95;
  color: var(--ink-2);
  margin-bottom: 10px;
  word-break: keep-all;
}
.tc-scene p:last-child { margin-bottom: 0; }

/* ─── 용어 정의 ─── */
.tc-terms__label {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.tc-term {
  background: var(--surface);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.tc-term:last-child { margin-bottom: 0; }
.tc-term__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tc-term__badge {
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--orange-light);
  color: var(--orange);
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}
.tc-term__row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px;
  font-size: .84rem;
  line-height: 1.75;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.tc-term__row:last-child { margin-bottom: 0; }
.tc-term__key {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-top: 2px;
}

/* ─── FAQ ─── */
.tc-faq { margin-bottom: 40px; }
.tc-faq__label {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.tc-faq details { border-bottom: 1px solid var(--rule); }
.tc-faq summary {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  word-break: keep-all;
}
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary::after {
  content: '+';
  font-size: 1rem;
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}
.tc-faq details[open] summary::after { content: '−'; }
.tc-faq__answer {
  font-size: .86rem;
  line-height: 1.85;
  color: var(--ink-2);
  padding-bottom: 16px;
  word-break: keep-all;
}

/* ─── 내부 링크 ─── */
.tc-links {
  background: var(--surface);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 22px 28px;
  margin: 20px 0;
}
.tc-links__label {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
  margin-bottom: 12px;
}
.tc-links ul { list-style: none; padding: 0; margin: 0; }
.tc-links li { padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: .84rem; }
.tc-links li:last-child { border-bottom: none; }
.tc-links a { color: var(--orange); text-decoration: none; }
.tc-links a:hover { text-decoration: underline; }

/* ─── 포스트 푸터 ─── */
.post-footer {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  font-size: .72rem;
  color: var(--ink-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── 본문 영역 (에디터 출력) ─── */
.tc-body {
  padding: 0 40px;
  margin-bottom: 40px;
}
.tc-body p {
  font-size: .95rem;
  line-height: 1.95;
  color: var(--ink-2);
  margin-bottom: 14px;
  word-break: keep-all;
}
.tc-body h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 36px 0 16px;
  word-break: keep-all;
}
.tc-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}
.tc-body strong { color: var(--ink); font-weight: 600; }
.tc-body a { color: var(--orange); text-decoration: none; border-bottom: 1px solid var(--orange-mid); }
.tc-body a:hover { border-color: var(--orange); }
.tc-body blockquote {
  border-left: 3px solid var(--orange);
  background: var(--orange-light);
  margin: 18px 0;
  padding: 12px 18px;
  font-style: italic;
  font-size: .93rem;
  line-height: 1.8;
  color: var(--ink-2);
  border-radius: 0 4px 4px 0;
}
.tc-body ul, .tc-body ol {
  padding-left: 1.4rem;
  margin-bottom: 14px;
}
.tc-body li {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.tc-body img { max-width: 100%; border-radius: 6px; }
.tc-body hr { border: none; border-top: 1px solid var(--rule); margin: 32px 0; }

/* ─────────────────────────────────────────────────
   구텐베르크 블록 GEO 클래스
   에디터에서 블록 선택 → 고급 → 추가 CSS 클래스 입력
───────────────────────────────────────────────── */

/* Quote-ready: 그룹 블록에 tc-qb-wrap 클래스 */
.tc-qb-wrap {
  background: #FAFAFA;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 22px 24px !important;
  margin: 24px 0 !important;
}
.tc-qb-wrap::before {
  content: 'QUOTE-READY · AI 인용 단위';
  display: block;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 12px;
}
.tc-qb-wrap > * { margin: 0 0 10px !important; }
.tc-qb-wrap p:first-of-type {
  font-size: .97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.65;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px !important;
}
.tc-qb-wrap p { font-size: .86rem; color: var(--ink-2); line-height: 1.8; }

/* 체크리스트: 목록 블록에 tc-ck-wrap 클래스 */
.tc-ck-wrap {
  background: #F0FAF4 !important;
  border: 1.5px solid #A7D7B5 !important;
  border-radius: 6px !important;
  padding: 22px 24px !important;
  margin: 20px 0 !important;
}
.tc-ck-wrap ul { list-style: none !important; padding-left: 0 !important; margin: 0 !important; }
.tc-ck-wrap li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-size: .86rem;
  line-height: 1.65;
  color: #2D4A35 !important;
}
.tc-ck-wrap li::before {
  content: '☐';
  font-size: 1rem;
  color: #145C2E;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA: 그룹 블록에 tc-cta-wrap 클래스 */
.tc-cta-wrap {
  background: var(--ink) !important;
  border-radius: 6px !important;
  padding: 22px 26px !important;
  margin: 24px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
.tc-cta-wrap p { font-size: .86rem; color: #AAAAAA; line-height: 1.7; flex: 1; }
.tc-cta-wrap p strong { color: #fff; }
.tc-cta-wrap a {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 4px;
  text-decoration: none !important;
  border: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .15s;
}
.tc-cta-wrap a:hover { opacity: .88; }

/* 미래 페이싱: 그룹 블록에 tc-scene-wrap 클래스 */
.tc-scene-wrap {
  background: var(--surface) !important;
  border-left: 3px solid var(--rule) !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 20px 24px !important;
  margin: 20px 0 !important;
}
.tc-scene-wrap p {
  font-style: italic !important;
  font-size: .93rem !important;
  line-height: 1.95 !important;
  color: var(--ink-2) !important;
  margin-bottom: 10px !important;
}

/* 용어 정의: 그룹 블록에 tc-terms-wrap 클래스 */
.tc-terms-wrap {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px 20px !important;
  margin-bottom: 10px !important;
}
.tc-terms-wrap p:first-child {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px !important;
}
.tc-terms-wrap p { font-size: .84rem; color: var(--ink-2); line-height: 1.75; }

/* ─── 레이아웃 (사이드 네비 + 본문) ─── */
.tc-layout {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 1300px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ─── 사이드 네비게이션 ─── */
.tc-side-nav {
  width: 280px;
  flex-shrink: 0;
  position: relative;
}
.tc-side-nav__inner {
  width: 300px;
  position: sticky;
  top: 140px;
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
.tc-side-nav__title {
  display: block;
  color: #000;
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 14px;
}
.tc-side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--rule);
}
.tc-side-nav li {
  margin: 0;
  padding: 0;
}
.tc-side-nav a {
  display: block;
  padding: 6px 0 6px 14px;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--ink-4);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color .2s, border-color .2s;
  word-break: keep-all;
}
.tc-side-nav a:hover {
  color: var(--ink-2);
}
.tc-side-nav a.active {
  color: var(--orange);
  border-left-color: var(--orange);
  font-weight: 600;
}

/* ─── 반응형 ─── */
@media (max-width: 1000px) {
  .tc-side-nav { display: none; }
  .tc-layout { display: block; }
}
@media (max-width: 600px) {
  .article-wrap { margin: 0; border-radius: 0; padding: 0 20px; }
  .post-footer { padding: 16px 0; }
  .post-title { font-size: 1.45rem; }
  .tc-stats { grid-template-columns: repeat(2, 1fr); }
  .tc-cta { flex-direction: column; }
  .tc-qb__row { grid-template-columns: 36px 1fr; }
  .tc-term__row { grid-template-columns: 56px 1fr; }
}
