/* News and articles: the text of an article (on the site and in the editor), the archive and the article page. */
.article-body{font-size:16px;line-height:2.1;color:var(--ink);overflow-wrap:anywhere}
.article-body>*+*{margin-top:14px}
.article-body h2{font-size:23px;font-weight:900;line-height:1.6;margin-top:26px}
.article-body h3{font-size:19.5px;font-weight:800;line-height:1.6;margin-top:22px}
.article-body h4{font-size:17px;font-weight:800;line-height:1.6;margin-top:18px}
.article-body ul,.article-body ol{padding-inline-start:26px}
.article-body ul{list-style:disc}
.article-body ol{list-style:decimal}
.article-body blockquote{padding:12px 18px;border-inline-start:4px solid var(--yellow);border-radius:10px;background:var(--yellow-soft)}
.article-body a{color:var(--green);font-weight:700;text-decoration:underline}
.article-body img,.article-body video{display:block;max-width:100%;height:auto;margin-inline:auto;border-radius:14px}
.article-body video{width:100%;background:#000}
.article-body figure{margin:18px 0}

/* Cards */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ncard{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:20px;color:var(--ink);transition:transform .25s,box-shadow .25s}
.ncard:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.ncard .cover,.nfeat .cover{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,var(--green),var(--green-deep));color:#fff;font-size:54px}
.ncard .cover img,.nfeat .cover img{width:100%;height:100%;object-fit:cover}
.ncard .badge,.nfeat .badge{position:absolute;top:12px;inset-inline-start:12px;padding:3px 12px;border-radius:8px;background:var(--yellow);color:var(--green-deep);font-size:12.5px;font-weight:800}
.ncard .txt{display:flex;flex:1;flex-direction:column;gap:8px;padding:16px 18px}
.ncard h3{font-size:16.5px;font-weight:800;line-height:1.7}
.ncard p{font-size:13.5px;line-height:1.9;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nmeta{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:auto;padding-top:6px;font-size:12.5px;color:var(--muted)}

/* Archive */
.news-top{padding:30px 0 18px}
.news-top h1{font-size:clamp(24px,3vw,32px);font-weight:900}
.news-top p{margin-top:4px;color:var(--muted)}
.news-filter{display:grid;gap:12px;margin-bottom:22px}
.news-search{width:min(520px,100%);padding:12px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;font-family:inherit;font-size:15px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:6px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:13.5px;font-weight:700}
.chip:hover{border-color:var(--green);color:var(--green)}
.chip.on{background:var(--green);border-color:var(--green);color:#fff}
.chips.tags .chip{padding:4px 12px;background:transparent;font-size:12.5px;font-weight:600;color:var(--muted)}
.chips.tags .chip.on{background:var(--yellow);border-color:var(--yellow);color:var(--green-deep)}
.news-none{grid-column:1/-1;padding:70px 0;text-align:center;color:var(--muted)}
.news-more{display:flex;justify-content:center;margin:26px 0 50px}

/* One article */
.article-page{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;padding-bottom:30px}
.article{padding:30px;background:#fff;border:1px solid var(--line);border-radius:22px}
.article-draft{margin-bottom:16px;padding:10px 16px;border-radius:12px;background:var(--yellow-soft);color:#7a5a00;font-size:14px;font-weight:700}
.article h1{font-size:clamp(23px,3vw,32px);font-weight:900;line-height:1.6}
.article .nmeta{margin:12px 0 18px;padding:0;font-size:13.5px}
.article .nmeta a{color:var(--green);font-weight:700}
.article-cover{display:block;width:100%;max-height:480px;object-fit:cover;margin-bottom:20px;border-radius:16px}
.article-lead{margin-bottom:20px;padding:14px 18px;border-radius:14px;background:var(--green-soft);font-weight:600;line-height:2}
.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}
.article-side{display:grid;gap:16px}
.side-box{padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px}
.side-box h2{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:16px;font-weight:900}
.side-box h2::before{content:"";width:6px;height:20px;border-radius:3px;background:var(--yellow)}
.side-box.popular h2::before{background:#d6324a}
.side-box.related h2::before{background:var(--green)}
.side-item{display:grid;grid-template-columns:62px 1fr;gap:12px;align-items:center;padding:9px 0;color:var(--ink);border-top:1px solid var(--line)}
.side-item:first-of-type{border-top:0}
.side-item .th{display:grid;place-items:center;width:62px;height:62px;overflow:hidden;border-radius:12px;background:linear-gradient(135deg,var(--green),var(--green-deep));font-size:24px}
.side-item .th img{width:100%;height:100%;object-fit:cover}
.side-item h3{font-size:13.5px;font-weight:700;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.side-item:hover h3{color:var(--green)}
.side-item small{font-size:12px;color:var(--muted)}
.side-none{padding:6px 0;font-size:13.5px;color:var(--muted)}

@media (max-width:1024px){.news-grid{grid-template-columns:repeat(2,1fr)}.article-page{grid-template-columns:1fr}}
@media (max-width:640px){.news-grid{grid-template-columns:1fr}.article{padding:18px}}
