/*
Theme Name: Satipath
Theme URI: https://satipath.com
Description: 일상과 담마 사이 — 사티패스 커스텀 테마
Version: 1.0.6
Author: Silas
Text Domain: satipath
*/

/* ══════════════════════════════════════════
   변수
   ══════════════════════════════════════════ */
:root {
  --bg:       #edf1e8;
  --paper:    #f7faf5;
  --line:     #c8d3c4;
  --ink:      #1e2820;
  --muted:    #5a6b5e;
  --accent:   #3d6b52;
  --accent-lt:#ddeae2;
  --serif:    "Noto Serif KR", Georgia, serif;
  --sans:     "IBM Plex Sans KR", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, sans-serif;
  --r:        10px;
  --max:      1080px;
  --prose:    680px;
}

/* ══════════════════════════════════════════
   리셋 + 기본
   ══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ══════════════════════════════════════════
   HEADER — sticky
   ══════════════════════════════════════════ */
.site-header {
  background: rgba(247,250,245,0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* WP admin bar 보정 */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고 */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; }
.logo-mark {
  width: 72px; height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.logo-text {
  font-family: var(--sans);
  font-size: 1.23rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-text span {
  display: block;
  font-size: 0.81rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* 네비 */
.site-nav ul.main-nav {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav ul.main-nav li {
  position: relative;
  /* hover bridge — 갭 넘어도 dropdown 유지 */
  padding-bottom: 10px;
  margin-bottom: -10px;
}
.site-nav ul.main-nav li > a {
  display: block;
  font-size: 1.0rem;
  font-weight: 400;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav ul.main-nav li > a:hover,
.site-nav ul.main-nav li.current-menu-item > a,
.site-nav ul.main-nav li.current-menu-ancestor > a {
  color: var(--accent);
  background: var(--accent-lt);
  text-decoration: none;
}

/* 드롭다운 */
.site-nav ul.main-nav li ul.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 148px;
  box-shadow: 0 8px 24px rgba(30,40,32,0.10);
  z-index: 200;
  list-style: none;
}
.site-nav ul.main-nav li:hover > ul.sub-menu { display: block; }
.site-nav ul.main-nav li ul.sub-menu li { padding: 0; margin: 0; }
.site-nav ul.main-nav li ul.sub-menu li a {
  display: block;
  font-size: 0.94rem;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 0;
  white-space: nowrap;
}
.site-nav ul.main-nav li ul.sub-menu li a:hover {
  color: var(--accent);
  background: var(--accent-lt);
  text-decoration: none;
}

/* ══════════════════════════════════════════
   HOME — 홈 v4 완전 일치
   ══════════════════════════════════════════ */

/* hero slim */
.hero-slim {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
  text-align: center;
}
.hero-slim p {
  font-family: var(--sans);
  font-size: 1.04rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* featured post */
.featured-section {
  background: var(--paper);
  padding: 48px 24px 44px;
  border-bottom: 1px solid var(--line);
}
.featured-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: start;
  gap: 40px;
}
.featured-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.featured-new {
  font-size: 0.84rem;
  background: var(--accent);
  color: #fff;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  font-weight: 500;
  line-height: inherit;
}
.featured-title {
  font-family: var(--sans);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 14px;
  word-break: keep-all;
}
.featured-title a { color: var(--ink); text-decoration: none; }
.featured-title a:hover { color: var(--accent); }
.featured-excerpt {
  font-size: 1.07rem;
  color: var(--muted);
  line-height: 1.78;
  word-break: keep-all;
  margin-bottom: 20px;
}
.featured-read {
  font-size: 1.0rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}
.featured-date {
  font-size: 0.91rem;
  color: var(--muted);
  margin-top: 8px;
}
.featured-img { width: 100%; }
.featured-img a { display: block; }
.featured-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
}
.featured-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--accent-lt);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.91rem;
}

/* 공통 섹션 헤더 */
.section { padding: 56px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--line);
}
.section-title {
  font-family: var(--sans);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
}
.section-more {
  font-size: 0.94rem;
  color: var(--muted);
  text-decoration: none;
}
.section-more:hover { color: var(--accent); }

/* 카테고리 진입 카드 — "어디서 시작할까요" */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.theme-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.theme-card:hover {
  box-shadow: 0 6px 18px rgba(30,40,32,0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.theme-card .icon {
  font-size: 1.43rem;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}
.theme-card .theme-body { flex: 1; }
.theme-card .theme-q {
  font-family: var(--sans);
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.5;
  word-break: keep-all;
}
.theme-card .theme-desc {
  font-size: 0.91rem;
  color: var(--muted);
  line-height: 1.55;
  word-break: keep-all;
  margin-bottom: 10px;
}
.theme-card .theme-tag {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 2px 9px;
  border-radius: 999px;
}

/* 최근 글 목록 */
.post-list { display: flex; flex-direction: column; }
.post-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.post-item:last-child { border-bottom: none; }
.post-cat {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.post-item-title {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 6px;
  word-break: keep-all;
}
.post-item-title a { color: var(--ink); text-decoration: none; }
.post-item-title a:hover { color: var(--ink); text-decoration: none; }
.post-excerpt {
  font-size: 1.0rem;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
}
.post-item-date {
  font-size: 0.91rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* 법구경 인용 띠 */
.quote-band {
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.quote-band::before {
  content: "☸︎";
  position: absolute;
  font-size: 320px;
  color: rgba(255,255,255,0.06);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", serif;
}
.quote-band blockquote {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.quote-band blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.5vw, 1.43rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  font-weight: 400;
  word-break: keep-all;
}
.quote-band blockquote cite {
  display: block;
  margin-top: 14px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.55);
  font-style: normal;
  letter-spacing: 0.06em;
}

/* 수행 이야기 카드 */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.practice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.practice-card:hover { box-shadow: 0 6px 18px rgba(30,40,32,0.07); }
.practice-card .p-cat {
  font-size: 0.84rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.practice-card .p-title {
  display: block;
  font-family: var(--sans);
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 8px;
  word-break: keep-all;
  text-decoration: none;
}
.practice-card .p-title:hover { color: var(--accent); text-decoration: underline; }
.practice-card .p-excerpt {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
  flex: 1;
}
.practice-card .p-date {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ══════════════════════════════════════════
   SINGLE POST — 단일글 v1 완전 일치
   ══════════════════════════════════════════ */
.article-wrap {
  background: var(--paper);
  min-height: 80vh;
  padding: 56px 24px 80px;
}
.article-inner {
  max-width: var(--prose);
  margin: 0 auto;
}

/* eyebrow */
.post-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.post-date {
  font-size: 0.87rem;
  color: var(--muted);
}

/* 제목 */
.post-title {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
  margin-bottom: 28px;
}

/* 대표 이미지 */
.post-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--accent-lt);
}
.post-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* 본문 */
.post-body {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.95;
  color: var(--ink);
  word-break: keep-all;
}
/* Gutenberg 블록도 serif 강제 적용 */
.post-body p,
.post-body .wp-block-paragraph { font-family: var(--serif); font-size: inherit; line-height: inherit; margin-bottom: 1.6em; }
.post-body h2,
.post-body .wp-block-heading h2 {
  font-family: var(--sans);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.2em 0 0.8em;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.post-body h3,
.post-body .wp-block-heading h3 {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.8em 0 0.6em;
}
.post-body blockquote,
.post-body .wp-block-quote {
  border-left: 3px solid var(--accent);
  margin: 2em 0;
  padding: 0.6em 0 0.6em 1.4em;
  color: var(--muted);
  font-style: italic;
  border-right: none;
  background: none;
}
.post-body blockquote cite,
.post-body .wp-block-quote cite {
  display: block;
  margin-top: 0.6em;
  font-size: 0.88rem;
  font-style: normal;
  color: var(--accent);
}
/* 구분선 */
.post-body hr,
.post-body .wp-block-separator {
  border: none !important;
  border-top: 1.5px solid var(--line) !important;
  margin: 2.4em 0 !important;
  background: none !important;
  height: auto !important;
  max-width: none !important;
}
/* 이미지 */
.post-body figure,
.post-body .wp-block-image {
  margin: 2em 0;
  text-align: center;
}
.post-body .wp-block-image img,
.post-body figure img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}
/* 캡션 */
.post-body figcaption,
.post-body .wp-element-caption {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  font-style: normal;
}
.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-body ul, .post-body ol { padding-left: 1.4em; margin-bottom: 1.6em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 0.4em; font-family: var(--serif); }
/* 강조 */
.post-body strong { font-weight: 700; }
.post-body em { font-style: italic; }

/* 마침 · · · */
.post-end {
  display: flex;
  justify-content: center;
  margin: 3em 0 2.4em;
  color: var(--muted);
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  opacity: 0.5;
}

/* 작성자 블록 */
.author-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 2.4em 0 0;
  padding: 20px 0;
  border-top: 1.5px solid var(--line);
}
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent-lt);
}
.author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.author-name {
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.author-bio {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.5;
}

/* 관련글 */
.related-section {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1.5px solid var(--line);
}
.related-title {
  font-family: var(--sans);
  font-size: 0.81rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.related-list { display: flex; flex-direction: column; }
.related-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.related-item:last-child { border-bottom: none; }
.related-item-title {
  font-family: var(--sans);
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--ink);
  word-break: keep-all;
  line-height: 1.5;
}
.related-item:hover .related-item-title { color: var(--accent); text-decoration: underline; }
.related-item-date {
  font-size: 0.81rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CATEGORY — 카테고리 v1 완전 일치
   ══════════════════════════════════════════ */
.cat-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 44px 24px 36px;
}
.cat-hero-inner { max-width: var(--max); margin: 0 auto; }
.cat-label {
  font-size: 0.81rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cat-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  word-break: keep-all;
}
.cat-desc {
  font-family: var(--serif);
  font-size: 1.07rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  word-break: keep-all;
  margin-bottom: 20px;
}
.cat-siblings { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-sibling {
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  display: inline-block;
}
.cat-sibling:hover {
  color: var(--accent);
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  text-decoration: none;
}

/* 아카이브 글 목록 */
.archive-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.post-count {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--line);
}

/* 카드형 (썸네일 있는 글) */
.post-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.post-card:last-child { border-bottom: none; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.post-card-date { font-size: 0.84rem; color: var(--muted); }
.post-card-title {
  font-family: var(--sans);
  font-size: 1.23rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 8px;
  word-break: keep-all;
  display: block;
  text-decoration: none;
}
.post-card-title:hover { color: var(--accent); text-decoration: underline; }
.post-card-excerpt {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.7;
  word-break: keep-all;
}
.post-card-thumb {
  width: 200px;
  aspect-ratio: 4/3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--accent-lt);
  flex-shrink: 0;
}
.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* 텍스트 행 (썸네일 없는 글) */
.post-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.post-row:last-child { border-bottom: none; }
.post-row-title {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 4px;
  word-break: keep-all;
  display: block;
  text-decoration: none;
}
.post-row-title:hover { color: var(--accent); text-decoration: underline; }
.post-row-excerpt {
  font-size: 0.91rem;
  color: var(--muted);
  word-break: keep-all;
  line-height: 1.6;
}
.post-row-date {
  font-size: 0.84rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 아카이브 페이지네이션 */
.archive-pagination {
  padding: 40px 0 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.archive-pagination .page-numbers {
  font-size: 0.91rem;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  text-decoration: none;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: var(--accent-lt);
  color: var(--accent);
  border-color: var(--accent-lt);
  text-decoration: none;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.94rem;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav ul { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-nav li { list-style: none; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.footer-desc {
  font-size: 0.81rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ══════════════════════════════════════════
   공통 유틸
   ══════════════════════════════════════════ */
.new-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 1px 8px;
  border-radius: 999px;
}

/* 페이지 (정적 페이지) */
.page-wrap {
  background: var(--paper);
  min-height: 60vh;
  padding: 56px 24px 80px;
}
.page-inner { max-width: var(--prose); margin: 0 auto; }
.page-title {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 32px;
  word-break: keep-all;
}
.page-body {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.95;
  color: var(--ink);
  word-break: keep-all;
}
.page-body p { margin-bottom: 1.6em; }

/* ══════════════════════════════════════════
   반응형
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-nav { display: none; }

  .featured-wrap { grid-template-columns: 1fr; }
  .featured-img { margin-top: 12px; }
  .featured-img img { aspect-ratio: 16/9; }

  .theme-grid,
  .practice-grid { grid-template-columns: 1fr; gap: 12px; }

  .section { padding: 36px 16px; }

  .post-item { grid-template-columns: 1fr; }
  .post-item-date { padding-top: 0; }

  .post-card { grid-template-columns: 1fr; }
  .post-card-thumb { display: none; }

  .article-wrap { padding: 36px 20px 60px; }
  .post-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .post-body { font-size: 1.04rem; line-height: 1.85; }

  .cat-hero { padding: 28px 16px 24px; }
  .archive-wrap { padding: 28px 16px 60px; }

  .footer-nav { gap: 16px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .logo-mark { width: 52px; height: 38px; }
  .logo-text { font-size: 1.05rem; }
}

/* 태그 출력 전체 숨김 */
.tags-links, .post-tags, .entry-tags,
.wp-block-post-terms[data-taxonomy="post_tag"] { display: none !important; }

/* satipath-generatepress-tune 플러그인 출력 숨김 */
.satipath-author-block,
.satipath-related-posts { display: none !important; }
