/* ============================================================
   블로그 — 네이버 블로그/카페형 (정적 · GEO friendly)
   ============================================================ */
.subhero--sm .subhero__inner { padding: 120px 24px 44px; }

/* 카페형 카테고리 탭 */
.blogx__tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--line);
  margin-bottom: 8px; }
.blogx__tab { appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font); font-size: .98rem; font-weight: 700; color: var(--muted);
  padding: 12px 16px; position: relative; transition: color .15s; }
.blogx__tab:hover { color: var(--text); }
.blogx__tab.is-on { color: var(--brand-d); }
.blogx__tab.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px;
  height: 3px; background: var(--brand); border-radius: 3px 3px 0 0; }
.blogx__cnt { font-size: .8rem; color: var(--brand); font-weight: 800; margin-left: 2px; }

/* 네이버 블로그 목록형 */
.blogx__list { border-top: 1px solid var(--line); }
.blogx__row { display: flex; gap: 22px; align-items: flex-start; padding: 26px 6px;
  border-bottom: 1px solid var(--line); transition: background .15s; }
.blogx__row:hover { background: var(--bg-alt); }
.blogx__thumb { flex: 0 0 168px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--line); }
.blogx__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blogx__row:hover .blogx__thumb img { transform: scale(1.05); }
.blogx__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.blogx__cat { align-self: flex-start; font-size: .76rem; font-weight: 700; color: var(--brand-d);
  background: var(--brand-l); padding: 3px 10px; border-radius: 999px; }
.blogx__title { margin-top: 10px; font-size: 1.22rem; font-weight: 800; color: var(--ink);
  line-height: 1.4; letter-spacing: -.01em; }
.blogx__title:hover { color: var(--brand-d); }
.blogx__excerpt { margin-top: 8px; color: var(--muted); font-size: .96rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blogx__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
  font-size: .84rem; color: var(--muted); }
.blogx__author { font-weight: 700; color: var(--slate); }
.blogx__empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* 글 상세 — 네이버 블로그 글 느낌 */
.postx { max-width: 820px; }
.breadcrumb--dark { color: var(--muted); margin-bottom: 20px; }
.breadcrumb--dark a:hover { color: var(--brand); }
.breadcrumb--dark span { color: var(--muted); }
.postx__head { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.postx__cat { font-size: .78rem; font-weight: 700; color: var(--brand-d); background: var(--brand-l);
  padding: 4px 11px; border-radius: 999px; }
.postx__title { margin-top: 14px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800;
  color: var(--ink); line-height: 1.35; letter-spacing: -.015em; }
.postx__byline { margin-top: 18px; display: flex; align-items: center; gap: 8px;
  font-size: .9rem; color: var(--muted); }
.postx__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand);
  color: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 800; }
.postx__author { font-weight: 700; color: var(--text); }
.postx__dot { color: var(--line); }
.postx__cover { width: 100%; border-radius: 16px; margin: 26px 0; border: 1px solid var(--line); }

/* 정비 요약 박스 (BLUF + 구조화 필드) */
.logbox { border: 1px solid var(--brand); border-radius: 16px; overflow: hidden; margin: 8px 0 30px;
  box-shadow: var(--shadow-sm); }
.logbox__label { background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800;
  letter-spacing: .04em; padding: 9px 20px; }
.logbox__bluf { padding: 18px 20px 6px; font-size: 1.02rem; font-weight: 700; color: var(--ink);
  line-height: 1.6; }
.logbox__table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; }
.logbox__table tr { border-top: 1px solid var(--line); }
.logbox__table th { text-align: left; width: 120px; padding: 11px 20px; font-size: .86rem;
  color: var(--muted); font-weight: 600; vertical-align: top; background: var(--bg-alt); }
.logbox__table td { padding: 11px 20px; font-size: .92rem; color: var(--text); }

/* 본문 */
.postx__body { font-size: 1.05rem; line-height: 1.9; color: #223029; }
.postx__body > p { margin: 18px 0; }
.postx__body > p:first-child { font-size: 1.08rem; font-weight: 600; color: var(--ink);
  background: var(--bg-alt); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 0 10px 10px 0; }
.postx__body h3 { margin: 34px 0 10px; font-size: 1.22rem; font-weight: 800; color: var(--ink); }
.postx__body .post-list { margin: 14px 0; padding-left: 4px; }
.postx__body .post-list li { position: relative; padding: 5px 0 5px 22px; }
.postx__body .post-list li::before { content: ""; position: absolute; left: 4px; top: 15px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.postx__body .post-src { margin-top: 26px; font-size: .85rem; color: var(--muted); }
.postx__disclaimer { margin-top: 22px; font-size: .84rem; color: var(--muted);
  background: var(--bg-alt); padding: 12px 16px; border-radius: 10px; }

/* 도움돼요/공유 */
.postx__react { display: flex; gap: 12px; justify-content: center; margin: 36px 0 8px; }
.postx__like, .postx__share { border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: .9rem; font-weight: 700; color: var(--slate); }
.postx__like b { color: var(--brand-d); }

/* 댓글 */
.cmt { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 26px; }
.cmt__h { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.cmt__item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmt__ava { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt);
  border: 1px solid var(--line); display: grid; place-items: center; font-size: .85rem;
  font-weight: 800; color: var(--slate); flex: none; }
.cmt__name { font-size: .9rem; font-weight: 700; color: var(--text); }
.cmt__date { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: 6px; }
.cmt__text { margin-top: 4px; font-size: .95rem; color: #2c3a33; line-height: 1.6; }
.cmt__write { display: flex; gap: 8px; margin-top: 18px; }
.cmt__input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-family: var(--font); font-size: .95rem; background: var(--bg-alt); }
.cmt__btn { border: 0; background: var(--brand); color: #fff; font-weight: 700; border-radius: 10px;
  padding: 0 22px; font-family: var(--font); cursor: not-allowed; opacity: .7; }

/* 이전/다음 */
.postx__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0 24px; }
.postx__navitem { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 5px; transition: border-color .15s; }
.postx__navitem:hover { border-color: var(--brand); }
.postx__navitem span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.postx__navitem b { font-size: .92rem; color: var(--text); font-weight: 700; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.postx__navitem--r { text-align: right; }
.postx__foot { text-align: center; margin-top: 10px; }

@media (max-width: 640px) {
  .blogx__row { gap: 14px; padding: 20px 2px; }
  .blogx__thumb { flex-basis: 108px; border-radius: 10px; }
  .blogx__title { font-size: 1.06rem; }
  .postx__nav { grid-template-columns: 1fr; }
  .postx__navitem--r { text-align: left; }
}
