/* Mvelo Digital News Publisher v2 — non-destructive extension */
.staff-dialog.news-editor-open{width:min(96vw,980px)}
.news-editor-open .staff-form-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.news-editor-open .staff-field.publisher-editor-field{grid-column:1/-1}
.publisher-toolbar{display:flex;flex-wrap:wrap;gap:7px;padding:10px;background:#eff6f0;border:1px solid #c9dfcf;border-radius:11px}
.publisher-tool{font:700 .76rem/1.3 system-ui,sans-serif;padding:8px 11px;background:#fff;border:1px solid #b6d2bd;border-radius:7px;color:#15523a;cursor:pointer}
.publisher-tool:hover,.publisher-tool:focus-visible{background:#d7f0dd;border-color:#72bb8d}
.news-editor-open .publisher-editor-field textarea{min-height:350px;font:400 .95rem/1.65 system-ui,sans-serif;tab-size:2;max-width:100%}
.publisher-preview{background:#fff;border:1px solid #cadece;border-radius:10px;padding:20px;min-height:250px;max-height:520px;overflow:auto;line-height:1.75}
.publisher-count{text-align:right;color:#5a8065;font-size:.73rem}
.publisher-current{grid-column:1/-1;display:flex;gap:10px;align-items:center;font-size:.83rem;color:#3e6b4c}
.publisher-current input{width:auto!important}
.publisher-helper{grid-column:1/-1;color:#527260;font-size:.8rem;line-height:1.6;margin:0}
.news-editor-open .staff-field input[type=file]{background:#fff;padding:10px;min-height:52px}
.news-editor-open .staff-field:has([name=image_alt]){grid-column:1/-1}
.news-editor-open .staff-field:has([name=source_url]){grid-column:1/-1}
.posts-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:end}
.posts-search{display:grid;gap:8px;font-size:.78rem;color:#526c5b;font-weight:750}
.posts-search input{padding:11px 14px;border-radius:9px;border:1px solid #c9decf;min-width:230px;font:inherit;color:#173f29;background:#fff}
.posts-empty{grid-column:1/-1;color:#56725f}
.post-card{overflow:hidden}
.post-cover-link{display:block;margin:-29px -31px 24px}
.post-cover{width:100%;height:225px;object-fit:cover;display:block}
.post-detail{color:#527260;font-size:.79rem;font-weight:700;line-height:1.7}
.post-excerpt{font-size:.87rem;color:#526b57;line-height:1.7}
.post-actions{display:flex;flex-wrap:wrap;gap:16px}
.post-actions a{text-decoration:underline;text-underline-offset:4px}
.article-page{background:#f6faf6;color:#173c2a}
.article-topbar{background:#0c3327;color:#fff;padding:21px 0}
.article-topbar .container{display:flex;justify-content:space-between;align-items:center;gap:18px}
.article-topbar a{color:#e8f7e9;text-decoration:none;font-size:.84rem}
.article-topbar .article-brand{font-weight:900;letter-spacing:.12em}
.article-wrap{max-width:900px;padding:60px 24px 90px;margin:auto}
.article-wrap article{background:#fff;border-radius:22px;border:1px solid #e0ebe2;box-shadow:0 12px 46px #092e1912;padding:clamp(24px,5vw,65px)}
.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:15px;font-size:.78rem;color:#507460;font-weight:800}
.article-meta span{display:inline-block;border-radius:999px;background:#e2f4e7;color:#195f3c;padding:7px 13px}
.article-wrap h1{font-size:clamp(2.2rem,5.5vw,4.2rem);line-height:1.13;letter-spacing:-.045em;margin:22px 0 18px}
.article-lead{font-size:1.12rem;line-height:1.75;font-weight:650;color:#466c55}
.article-cover{margin:32px 0}
.article-cover img{display:block;max-width:100%;width:100%;height:auto;max-height:500px;object-fit:cover;border-radius:14px}
.article-content{font:400 1rem/1.88 system-ui,sans-serif;color:#415d4b;overflow-wrap:anywhere}
.article-content p{margin:1.1em 0 1.4em}
.article-content h2{font-size:1.75rem;line-height:1.3;color:#163f29;margin:2.1em 0 .75em;letter-spacing:-.025em}
.article-content h3{font-size:1.3rem;color:#194a30;margin:1.7em 0 .65em}
.article-content h4{font-size:1.05rem;color:#215039;margin:1.5em 0 .4em}
.article-content a,.article-resources a{color:#086f48;text-decoration:underline;text-underline-offset:3px}
.article-content ul,.article-content ol{padding-left:28px;margin:16px 0 24px}
.article-content li{margin:8px 0}
.article-content code{background:#e7f4eb;color:#174a30;border-radius:5px;padding:2px 5px;font:500 .89em ui-monospace,monospace}
.article-content pre{background:#102d23;color:#f1fbf1;border-radius:12px;padding:18px;overflow-x:auto}
.article-content pre code{background:transparent;color:inherit;padding:0;white-space:pre}
.article-content blockquote{border-left:4px solid #61ad7a;background:#edf7ed;border-radius:0 8px 8px 0;padding:12px 22px;margin:24px 0}
.article-content hr{border:0;border-top:1px solid #dce7df;margin:30px 0}
.article-opportunity,.article-resources{margin-top:30px;padding:22px;border:1px solid #dcebe0;border-radius:14px;background:#f7fbf8}
.article-opportunity h2,.article-resources h2{font-size:1.15rem;margin:0 0 14px}
.article-opportunity p,.article-resources p{margin:10px 0;line-height:1.7}
.article-end{border-top:1px solid #dce7df;margin-top:40px;padding-top:22px;display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;color:#6a816f;font-size:.85rem}
.article-end a{color:#155e3c;font-weight:800}
.article-site-footer{padding:24px;text-align:center;background:#092d22;color:#bed8c4;font-size:.78rem}
.article-site-footer a{color:#d6ecda}
@media(max-width:760px){
 .news-editor-open .staff-form-fields{grid-template-columns:1fr}
 .news-editor-open .staff-field.publisher-editor-field,.publisher-current,.publisher-helper{grid-column:auto}
 .post-cover-link{margin:-23px -23px 22px}
 .post-cover{height:210px}
 .posts-search input{min-width:0;width:100%}
 .article-wrap{padding:24px 12px 45px}
 .article-wrap article{padding:25px 20px}
 .article-topbar .container{flex-wrap:wrap}
}
