*{box-sizing:border-box}
:root{--ink:#2b211b;--muted:#67594f;--paper:#f7f2e9;--white:#fffdf8;--line:#ded2c0;--red:#612a23;--deep:#39221b;--gold:#ac783b;--serif:"Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;--sans:"Microsoft YaHei","PingFang SC",Arial,sans-serif}
html{color-scheme:light;scroll-padding-top:1rem}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 var(--sans)}
a{color:inherit;text-decoration:none}
a:hover{color:#8b3c25;text-decoration:underline;text-underline-offset:.22em}
:focus-visible{outline:2px solid #b77339;outline-offset:4px}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.35}
ul{padding:0;margin:0;list-style:none}
.wrap{width:min(1170px,calc(100% - 64px));margin-inline:auto}
.skip{position:absolute;top:.5rem;left:.5rem;z-index:2;padding:.4rem .8rem;background:white;transform:translateY(-150%)}
.skip:focus{transform:none}
.utility{background:#eee5d6;color:#594836;border-top:3px solid var(--red);font-size:.875rem}
.utility-inner{display:flex;justify-content:space-between;gap:.7rem;padding-block:.37rem}
.utility nav{display:flex;gap:1.4rem}
.masthead{padding-block:1.15rem}
.brand{display:inline-flex;align-items:center;gap:13px}
.brand:hover{text-decoration:none;color:inherit}
.brand strong,.brand small{display:block;line-height:1.35}
.brand strong{font:700 clamp(1.18rem,2.65vw,1.87rem)/1.3 var(--serif);letter-spacing:.045em}
.brand small{margin-top:.25rem;color:#73573e;letter-spacing:.25em;font-size:.875rem}
.nav-belt{background:var(--red);border-bottom:2px solid var(--gold);color:#fff6e9}
.primary{display:flex;flex-wrap:wrap}
.primary a{padding:.67rem 1.23rem;white-space:nowrap;border-right:1px solid #ffffff24}
.primary a:first-child{border-left:1px solid #ffffff24}
.primary a:hover,.primary a[aria-current]{background:#44231c;color:white;text-decoration:none}
.hero{background:#342017 url('/static/hongliandi/hero.webp') center 51%/cover no-repeat;color:#fff6e8}
.hero-body{display:flex;align-items:center;min-height:clamp(345px,33vw,475px)}
.hero-copy{max-width:570px;padding:2rem 3rem 2rem 0;background:linear-gradient(90deg,#26160a58,transparent)}
.hero h1{font:700 clamp(2.6rem,6vw,4.6rem)/1.18 var(--serif);letter-spacing:.07em;text-shadow:0 2px 14px #180f09}
.hero p{margin:.9rem 0 1.5rem;max-width:370px;color:#fff4e5;text-shadow:0 1px 7px #1c100a}
.hero-actions{display:flex;gap:.7rem;flex-wrap:wrap}
.button{display:inline-block;padding:.45rem .95rem;border:1px solid var(--red);background:var(--red);color:white;font:inherit;cursor:pointer}
.button:hover{color:white;text-decoration:none;background:#793d2c}
.hero .button{background:#ebd6b5;color:#412817;border-color:#ebd6b5}
.hero .outline{background:#321d15a6;color:white}
.home{padding:2.25rem 0 3rem}
.module{margin-bottom:2.2rem}
.module-head,.panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:.7rem}
.module-head{padding:0 0 .65rem;border-bottom:2px solid var(--red);margin-bottom:.9rem}
.module-head h2,.about h2,.page-head h1,.entry-head h1{font-family:var(--serif)}
.module-head h2,.about h2{font-size:1.72rem;color:var(--red);letter-spacing:.05em}
.module-head a,.text-link,.panel-head a,.entry-head a{font-size:.9rem;color:#833d27}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem}
.product-card,.panel,.about{border:1px solid var(--line);background:var(--white)}
.product-card img{width:100%;height:auto;aspect-ratio:480/315;object-fit:cover}
.product-card div{padding:.8rem .88rem 1rem}
.product-card h3{font-size:1rem}
.product-card p,.entry p{font-size:.925rem;color:var(--muted);margin-top:.45rem}
.about{padding:1.15rem;display:grid;grid-template-columns:.92fr 1.1fr;gap:1.65rem;align-items:center}
.about img{width:100%;aspect-ratio:640/360;object-fit:cover}
figcaption,.album p{font-size:.875rem;color:var(--muted);margin-top:.35rem}
.about h3{font:700 1.42rem/1.35 var(--serif);margin:.55rem 0}
.about p{color:var(--muted);max-width:39em;margin-bottom:.8rem}
.home-columns,.inside-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,325px);gap:1.2rem;align-items:start}
.panel{margin-bottom:1rem}
.panel-head{padding:.64rem 1rem;background:#f1e8d9;border-top:2px solid #8c4c36;border-bottom:1px solid var(--line)}
.panel-head h2{font:700 1.15rem/1.35 var(--serif)}
.links{padding:.32rem 1rem .55rem}
.links li+li{border-top:1px dotted var(--line)}
.links a{display:block;padding:.45rem 0;line-height:1.52}
.side .links a{font-size:.9375rem}
.album{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;padding:.8rem 1rem}
.album img{width:100%;aspect-ratio:480/315;object-fit:cover}
.album p{grid-column:1/-1}
.inside{padding:0 0 2rem}
.crumb{display:flex;gap:.62rem;align-items:baseline;flex-wrap:wrap;color:var(--muted);font-size:.875rem;padding:1rem 0}
.crumb a{color:#783b2b}
.page-head{margin-bottom:1rem;border-bottom:2px solid var(--red);padding:0 0 .75rem}
.page-head h1{font-size:clamp(1.72rem,4vw,2.4rem);color:var(--deep)}
.page-head p,.entry-head p{color:var(--muted);margin-top:.4rem}
.entries{padding:.3rem 1.1rem}
.entry{display:flex;align-items:start;gap:1rem;padding:.85rem .15rem}
.entry+.entry{border-top:1px dotted var(--line)}
.entry h2{font-size:1.1rem}
.entry img{object-fit:cover;aspect-ratio:3/2;width:144px}
.reading{padding:clamp(1.1rem,3.2vw,2.1rem)}
.entry-head{padding-bottom:.8rem;border-bottom:1px solid var(--line);margin-bottom:1.2rem}
.entry-head h1{font-size:clamp(1.55rem,4.5vw,2.35rem);color:var(--deep)}
.entry-head a{display:inline-block;margin-top:.45rem}
.prose{line-height:1.92;overflow-wrap:anywhere}
.prose h2{font:700 1.31rem/1.5 var(--serif);margin:1.15rem 0 .4rem;color:var(--red)}
.prose p{margin-bottom:.85rem}
.prose a{text-decoration:underline;text-underline-offset:.2em;color:var(--red)}
.prose img{margin-block:1rem;width:auto}
.answer{border-left:3px solid #b9855a;background:#f8f1e6;padding:.7rem 1rem;margin:.8rem 0}
.answer h3{font-size:.94rem;color:#6b402d;margin-bottom:.3rem}
.answer p{margin:0}
.adjacent,.comments{padding:.9rem 1.1rem}
.adjacent a,.comments a{color:var(--red);text-decoration:underline}
.comments h2{font:700 1.2rem/1.5 var(--serif)}
.comments textarea{width:100%;font:inherit;padding:.55rem;border:1px solid var(--line);display:block;margin:.35rem 0}
.comments li+li{border-top:1px solid var(--line)}
.member-form{display:grid;gap:.45rem;max-width:400px}
.member-form input{width:100%;padding:.52rem;border:1px solid var(--line);font:inherit}
.member-form button{width:fit-content;margin-top:.55rem}
.pagination{display:flex;gap:.35rem;flex-wrap:wrap}
.pagination a,.pagination span{padding:.25rem .65rem;border:1px solid var(--line);background:var(--white)}
.pagination [aria-current]{color:white;background:var(--red)}
.footer{border-top:3px solid #865238;background:#35241e;color:#f6eadd}
.footer-main{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:1rem;padding:1.8rem 0 1.15rem}
.footer strong{font:700 1.22rem/1.4 var(--serif)}
.footer h2{font-size:1rem;margin-bottom:.3rem}
.footer p,.footer a{color:#e1cbb7;font-size:.9rem}
.footer a:hover{color:#fff}
.footer-main a{display:block;width:fit-content;padding:.12rem 0}
.friends{padding:.65rem 0;border-top:1px solid #ffffff26}
.friends h2{display:inline-block;margin-right:.75rem}
.friends ul,.friends li{display:inline}
.friends li{margin-right:.75rem}
.legal{border-top:1px solid #ffffff26;display:flex;flex-wrap:wrap;gap:.4rem 1rem;padding:.74rem 0;font-size:.875rem}
@media(max-width:830px){
  .wrap{width:calc(100% - 36px)}
  .primary a{padding:.55rem .73rem}
  .home-columns,.inside-grid{grid-template-columns:minmax(0,1fr) minmax(220px,33%)}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:610px){
  .wrap{width:calc(100% - 28px)}
  .utility-inner{font-size:.875rem;flex-wrap:wrap}
  .utility nav{gap:.8rem}
  .masthead{padding-block:.85rem}
  .brand img{width:42px;height:42px}
  .primary{width:100%;padding-inline:7px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .primary a,.primary a:first-child{border:0;text-align:center;padding:.55rem .12rem;font-size:.875rem}
  .hero{background-image:linear-gradient(90deg,#24160bdc 0%,#24160b4d 100%),url('/static/hongliandi/hero.webp');background-position:62% center}
  .hero-body{min-height:315px}
  .hero-copy{padding:1.2rem 0;background:none}
  .hero h1{font-size:2.45rem}
  .hero p{max-width:275px}
  .home{padding:1.35rem 0}
  .module{margin-bottom:1.3rem}
  .about,.home-columns,.inside-grid{grid-template-columns:minmax(0,1fr);gap:.75rem}
  .about figure{order:2}
  .product-card div{padding:.55rem}
  .product-card p{font-size:.875rem;line-height:1.5}
  .entry img{width:86px}
  .footer-main{grid-template-columns:1fr 1fr}
  .footer-main>div:first-child{grid-column:1/-1}
}
