/* news.css — /news list + /news/<slug> posts (migrated Wix blog). Owner: news builder. Uses site.css tokens only. */
.nw-narrow{max-width:780px}
.nw-hd .breadcrumb{overflow-wrap:anywhere}
.nw-h1{font-size:clamp(26px,4.2vw,42px);overflow-wrap:anywhere}
.nw-byline{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 10px;color:var(--mute);font-size:14px;font-weight:600}
.nw-byline time{color:var(--ink)}
.nw-tags{display:flex;flex-wrap:wrap;gap:8px 6px;margin:0}
.nw-tags .tag{margin-left:3px}
.nw-orig{margin:12px 0 0;font-size:13px;color:var(--mute);overflow-wrap:anywhere}
.nw-sec{padding-top:28px}
@media (min-width:768px){.nw-sec{padding-top:40px}}
.nw-arch{margin:0 0 20px}
.nw-arch p{margin:0 0 8px}
.nw-arch p:last-child{margin-bottom:0}
.nw-langnote{font-size:14px;color:var(--mute);margin:0 0 20px}

/* article body */
.nw-body{font-size:17px;line-height:1.75;overflow-wrap:break-word}
.nw-body>:first-child{margin-top:0}
.nw-body p{margin:0 0 1.1em}
.nw-body h2{font-size:clamp(21px,2.6vw,27px);margin:1.8em 0 .6em}
.nw-body h3{margin:1.5em 0 .5em}
.nw-body ul,.nw-body ol{margin:0 0 1.2em;padding-left:1.3em}
.nw-body li{margin:0 0 .5em;padding-left:.2em}
.nw-body ul li::marker{color:var(--stage)}
.nw-body a{font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px;text-decoration-color:var(--stage);overflow-wrap:anywhere}
.nw-body figure{margin:24px 0 28px}
.nw-body figure img{width:auto;max-width:100%;max-height:min(72vh,680px);margin:0 auto;background:var(--line2);
  clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%)}
.nw-body figcaption{margin-top:10px;font-size:14px;line-height:1.55;color:var(--mute);text-align:center}
.nw-body figcaption strong{color:var(--ink)}
.nw-gal{display:grid;gap:12px;margin:24px 0}
.nw-gal figure{margin:0}
@media (min-width:640px){.nw-gal{grid-template-columns:1fr 1fr}}
.nw-cols{columns:1}
@media (min-width:640px){.nw-cols{columns:2;column-gap:32px}.nw-cols li{break-inside:avoid}}
.nw-summary{background:var(--blush);padding:18px 18px 8px;margin:0 0 28px;font-size:16px;line-height:1.7}
.nw-summary .nw-sumh{font-weight:800;margin:0 0 6px;font-size:15px;letter-spacing:.04em}
.nw-summary ul{margin:0 0 12px;padding-left:1.2em}
.nw-summary li{margin-bottom:6px}

/* after the article */
.nw-after{padding:32px 0 40px}
.nw-pager{display:grid;gap:12px}
@media (min-width:640px){.nw-pager{grid-template-columns:1fr 1fr}}
.nw-pg{display:flex;flex-direction:column;gap:4px;min-height:44px;padding:16px;background:var(--white);text-decoration:none;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}
a.nw-pg:hover .nw-pgt{text-decoration:underline;text-decoration-color:var(--stage);text-underline-offset:3px}
.nw-pg-empty{display:none}
@media (min-width:640px){.nw-pg-empty{display:block;background:transparent}}
.nw-newer{text-align:right}
@media (max-width:639px){.nw-newer{text-align:left}}
.nw-pgl{font-family:var(--font-en);font-style:italic;font-weight:700;font-size:13px;letter-spacing:.06em;color:var(--mute)}
.nw-pgt{font-weight:800;line-height:1.35}
.nw-pgd{font-size:13px;color:var(--mute)}
.nw-all{margin:24px 0 0;text-align:center}
.nw-now h2{margin-bottom:18px}
.nw-now-grid{display:grid;gap:12px}
@media (min-width:768px){.nw-now-grid{grid-template-columns:repeat(3,1fr)}}
.nw-now-c{min-height:44px}
.nw-now-c b{display:block;font-size:17px;margin-bottom:4px}
.nw-now-c span{display:block;font-size:14px;color:var(--mute)}
.nw-cta{margin:24px 0 0}

/* list page */
.nw-listsec{padding-top:28px}
@media (min-width:768px){.nw-listsec{padding-top:40px}}
.nw-intro{margin-bottom:32px}
.nw-intro .nw-arch{max-width:820px}
.nw-quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px!important}
.nw-quick .chip{min-height:44px}
.nw-year+.nw-year{margin-top:40px}
.nw-yh{display:flex;align-items:baseline;gap:12px;margin:0 0 16px;padding-bottom:8px;border-bottom:2px solid var(--ink)}
.nw-yh .num{font-size:clamp(26px,3.4vw,34px)}
.nw-count{font-size:14px;font-weight:600;color:var(--mute)}
.nw-grid{list-style:none;margin:0;padding:0;display:grid;gap:16px}
@media (min-width:640px){.nw-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.nw-grid{grid-template-columns:repeat(3,1fr);gap:20px}}
.nw-grid>li{display:flex}
.nw-card{display:flex!important;flex-direction:column;width:100%;padding:0;color:var(--ink)}
.nw-ph{aspect-ratio:4/3;flex:none}
.nw-ph img{width:100%;height:100%;object-fit:cover;object-position:top center}
.nw-cbody{display:flex;flex-direction:column;gap:8px;padding:14px 16px 18px;flex:1}
.nw-meta{font-size:13px;font-weight:700;color:var(--mute)}
.nw-cbody .nw-tags{display:flex;flex-wrap:wrap;gap:6px}
.nw-ctitle{font-size:18px;line-height:1.35;margin:2px 0 0;overflow-wrap:anywhere}
.nw-ex{font-size:14.5px;line-height:1.6;color:var(--ink3);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
a.nw-card:hover .nw-ctitle{text-decoration:underline;text-decoration-color:var(--stage);text-underline-offset:3px}
.nw-follow{display:grid;gap:16px;align-items:center}
.nw-follow h2{margin-bottom:8px}
.nw-follow p{margin:0}
@media (min-width:900px){.nw-follow{grid-template-columns:1fr auto}}
.nw-follow .row .btn{white-space:normal;text-align:center}
html[lang^="zh"] .nw-pgl{font-family:var(--font);font-style:normal;letter-spacing:0}
