/* JP Furniture Blog — 独立外链博客样式（与主站同色系，独立部署在 blog.jpchairs.com） */
:root{
  --ink:#22201d; --ink-2:#4a443c; --muted:#7d746a; --line:#e7e1d8;
  --bg:#fbf9f6; --card:#ffffff; --brand:#7a5c3e; --brand-2:#a8814f;
  --max:820px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:17px/1.75 "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto; display:block}

/* header */
.site-header{background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20}
.nav-wrap{display:flex; align-items:center; gap:18px; height:64px; flex-wrap:wrap}
.brand{display:flex; align-items:center; gap:10px; color:var(--ink); font-size:17px}
.brand:hover{text-decoration:none}
.brand-mark{
  display:inline-grid; place-items:center; width:34px; height:34px; border-radius:8px;
  background:var(--brand); color:#fff; font-weight:700; font-size:14px; letter-spacing:.5px;
}
.nav{display:flex; gap:16px; margin-left:auto; flex-wrap:wrap; font-size:15px}
.nav a{color:var(--ink-2)}
.nav a:hover{color:var(--brand)}

/* article */
.article{padding:32px 20px 64px}
h1{
  font-family:"Playfair Display",Georgia,serif; font-weight:800;
  font-size:clamp(28px,4.4vw,42px); line-height:1.22; margin:.4em 0 .3em; letter-spacing:-.01em;
}
h2{
  font-family:"Playfair Display",Georgia,serif; font-weight:700;
  font-size:clamp(21px,2.6vw,26px); line-height:1.32; margin:2em 0 .5em;
}
h3{font-size:19px; margin:1.6em 0 .4em}
p{margin:0 0 1.1em}
.lede{font-size:19px; color:var(--ink-2)}
.muted{color:var(--muted); font-size:14px}
.breadcrumb{font-size:13px; color:var(--muted); margin-bottom:14px}
.breadcrumb a{color:var(--muted)}
.breadcrumb span{color:var(--ink-2)}

.takeaways{
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--brand);
  border-radius:10px; padding:18px 22px; margin:24px 0 32px;
}
.takeaways h2{margin:0 0 10px; font-size:19px}
.takeaways ul{margin:0; padding-left:20px}
.takeaways li{margin:.35em 0}

/* tables */
.tablewrap{overflow-x:auto; margin:24px 0; border:1px solid var(--line); border-radius:10px; background:#fff}
table{border-collapse:collapse; width:100%; font-size:15px}
th,td{padding:11px 14px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top}
th{background:#f6f2ec; font-weight:600; font-size:14px; color:var(--ink-2)}
tbody tr:last-child td{border-bottom:none}

/* product cards (外链区块) */
.pcards{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; margin:24px 0}
.pcard{
  display:block; background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:12px; color:var(--ink); transition:box-shadow .15s, transform .15s;
}
.pcard:hover{box-shadow:0 6px 20px rgba(34,32,29,.09); transform:translateY(-2px); text-decoration:none}
.pcard img{width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:8px; background:#f4f1ec}
.pcard-name{display:block; font-weight:600; font-size:14px; margin-top:10px; line-height:1.4}
.pcard-meta{display:block; color:var(--muted); font-size:13px; margin-top:4px}

/* terms (GEO 实体定义) */
.terms{padding-left:20px}
.terms li{margin:.5em 0}
.terms strong{color:var(--brand)}

/* faq */
.faq{margin:20px 0}
.faq details{border:1px solid var(--line); border-radius:10px; background:#fff; margin-bottom:10px; padding:0}
.faq summary{cursor:pointer; padding:14px 18px; font-weight:600; font-size:16px}
.faq details[open] summary{border-bottom:1px solid var(--line)}
.faq details p{padding:0 18px 14px; margin:12px 0 0; color:var(--ink-2)}

/* index / hero */
.hero{padding:44px 0 30px}
.hero p{font-size:18px; color:var(--ink-2); max-width:640px}
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px; padding-bottom:56px}
.pcard2{
  display:block; background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:18px; color:var(--ink);
}
.pcard2:hover{box-shadow:0 6px 20px rgba(34,32,29,.09); text-decoration:none}
.pcard2 h3{font-family:"Playfair Display",Georgia,serif; font-size:19px; margin:8px 0 6px; line-height:1.35}
.pcard2 p{color:var(--ink-2); font-size:14.5px; margin:0 0 12px}
.tag{
  display:inline-block; font-size:12px; letter-spacing:.03em; text-transform:uppercase;
  color:var(--brand); background:#f6f2ec; border-radius:999px; padding:3px 10px;
}
.archive{list-style:none; padding:0}
.archive li{padding:12px 0; border-bottom:1px solid var(--line)}
.catnav{list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:6px 18px; font-size:15px}
.catnav li{padding:4px 0}

/* footer */
.site-footer{background:#22201d; color:#cfc8bf; padding:36px 0; margin-top:40px; font-size:14.5px}
.site-footer a{color:#e8dfd2}
.site-footer strong{color:#fff}

@media (max-width:640px){
  body{font-size:16px}
  .nav{gap:12px; font-size:14px}
  .nav-wrap{height:auto; padding:12px 20px}
}
