/* AssistTalk 블로그 — skepe 블로그 레이아웃 이식 (브랜드 컬러만 교체) */
:root {
  --brand: #FF6B47;
  --brand-dark: #e5522f;
  --ink: #1c2434;
  --sub: #66707f;
  --line: #e8ebf0;
  --bg: #ffffff;
  --soft: #f7f8fa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.bwrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header — 공통 헤더(header.css + nav.js)를 쓴다. 여기서는 푸터 로고 색만 유지한다. */
.bfooter-brand em { font-style: normal; color: var(--brand); }

/* hero */
.bhero { background: linear-gradient(135deg, #fff7f4, #fff); border-bottom: 1px solid var(--line);
  padding: 44px 0 36px; text-align: center; }
.bhero h1 { font-size: 30px; letter-spacing: -0.5px; }
.bhero p { color: var(--sub); margin-top: 8px; font-size: 15.5px; }

/* category pills */
.bcats { position: sticky; top: 60px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.bcats .bwrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px;
  scrollbar-width: none; }
.bcats .bwrap::-webkit-scrollbar { display: none; }
.bcats a { flex: 0 0 auto; font-size: 13.5px; color: var(--sub); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; }
.bcats a.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* card grid */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 0; }
.bcard { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  transition: box-shadow .15s, transform .15s; display: flex; flex-direction: column; }
.bcard:hover { box-shadow: 0 10px 28px rgba(28,36,52,.10); transform: translateY(-2px); }
.bcard-thumb { aspect-ratio: 1200/630; background: var(--soft); }
.bcard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bcard-grad { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 18px;
  background: linear-gradient(135deg, #1c2434, var(--brand)); }
.bcard-grad span { color: #fff; font-weight: 800; font-size: 17px; line-height: 1.4; }
.bcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bcard-cat { color: var(--brand); font-size: 12.5px; font-weight: 700; }
.bcard-body h3 { font-size: 16.5px; line-height: 1.45; letter-spacing: -0.2px; }
.bcard-body p { color: var(--sub); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.bcard-body time { color: #9aa3b0; font-size: 12.5px; margin-top: auto; padding-top: 6px; }
.bempty { text-align: center; color: var(--sub); padding: 70px 0; }

/* pager */
.bpager { display: flex; justify-content: center; gap: 6px; padding: 8px 0 40px; }
.bpager a, .bpager span { min-width: 34px; height: 34px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--sub); }
.bpager span.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }

/* detail */
.bdetail { padding: 28px 20px 10px; max-width: 780px; }
.bcrumb { font-size: 13px; color: #9aa3b0; margin-bottom: 18px; }
.bcrumb a:hover { color: var(--ink); }
.bpost-head h1 { font-size: 28px; line-height: 1.4; letter-spacing: -0.5px; margin: 8px 0 10px; }
.blede { color: var(--sub); font-size: 16px; }
.bmeta { display: flex; gap: 14px; color: #9aa3b0; font-size: 13px; margin-top: 12px; }
.bpost-hero { border-radius: 14px; margin: 22px 0; }
.blog-content { font-size: 16px; margin-top: 8px; }
.blog-content h2 { font-size: 21px; margin: 34px 0 12px; letter-spacing: -0.3px;
  padding-top: 10px; border-top: 1px solid var(--line); }
.blog-content h3 { font-size: 17.5px; margin: 24px 0 8px; }
.blog-content p { margin: 12px 0; }
.blog-content ul, .blog-content ol { margin: 12px 0 12px 22px; }
.blog-content li { margin: 5px 0; }
.blog-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.blog-content strong { font-weight: 700; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px;
  display: block; overflow-x: auto; }
.blog-content th, .blog-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.blog-content th { background: var(--soft); }
.blog-content img { border-radius: 10px; margin: 14px 0; }
.bcta-box { margin: 36px 0 10px; border: 1px solid #ffd9cd; background: #fff7f4; border-radius: 14px;
  padding: 22px 24px; }
.bcta-box strong { font-size: 16.5px; }
.bcta-box p { color: var(--sub); font-size: 14.5px; margin: 6px 0 10px; }
.bcta-box a { color: var(--brand); font-weight: 700; }
.brelated { margin-top: 30px; border-top: 1px solid var(--line); }
.brelated h2 { font-size: 19px; margin-top: 30px; }
.brelated .bgrid { padding-top: 18px; }
.bback { padding: 10px 0 30px; }
.bback a { color: var(--sub); font-size: 14.5px; }

/* conversion banner + footer */
.bbanner { background: linear-gradient(135deg, #1c2434, #2b3a55); color: #fff; text-align: center;
  padding: 46px 20px; }
.bbanner h2 { font-size: 23px; letter-spacing: -0.3px; }
.bbanner p { color: #b9c2d0; margin: 8px 0 18px; font-size: 15px; }
.bbanner-btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 700;
  padding: 12px 26px; border-radius: 10px; }
.bbanner-btn:hover { background: var(--brand-dark); }
.bfooter { background: #10161f; color: #8b95a5; text-align: center; padding: 30px 20px; font-size: 13px; }
.bfooter-brand { color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.bfooter a { text-decoration: underline; text-underline-offset: 3px; }
.bfooter p { margin: 4px 0; }

@media (max-width: 860px) {
  .bgrid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .bgrid { grid-template-columns: 1fr; }
  .bhero h1 { font-size: 24px; }
  .bpost-head h1 { font-size: 23px; }
}
