/* News inherits the site's existing palette, Onest typography and article components. */
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;min-height:100px}
.news-grid>p{grid-column:1/-1}
.news-card{min-width:0;align-self:start}
.news-card>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.news-card>img[hidden]{display:none}
.news-card .news-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:16px}
.news-card h2,.news-card h3{font-size:clamp(19px,2vw,24px);line-height:1.35;overflow-wrap:normal}
.news-card .article-body{padding:24px}
.news-card time{display:block;margin-bottom:16px}
[data-limit="3"] .news-text{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.news-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin-top:24px}
.news-actions a,.news-admin-shell a{text-decoration:underline;text-underline-offset:4px}
.news-actions a:hover,.news-admin-shell a:hover{color:var(--copper,#9b4f2e)}
.news-status{min-height:1.6em;margin:16px 0;font-size:14px}
.news-admin-shell{max-width:1100px;margin:auto;padding:40px 24px 80px;overflow-wrap:anywhere}
.news-admin-shell h1{font-family:Unbounded,sans-serif;font-size:clamp(26px,4vw,44px);line-height:1.3;margin:24px 0}
.news-admin-shell h2{font-size:24px;line-height:1.4;margin:24px 0 16px}
.news-admin-shell p{line-height:1.65}
.news-admin-shell form{margin:24px 0}
.news-admin-shell label{display:block;font-weight:600;margin:12px 0}
.news-admin-shell input[type=password],.news-admin-shell input[type=text]{display:block;width:100%;max-width:520px;min-height:48px;font:inherit;border:1px solid currentColor;padding:12px;background:var(--paper,#f3f0e9);color:var(--ink,#171918)}
.news-admin-shell button,.news-actions button{font:inherit;font-weight:600;min-height:48px;border:1px solid transparent;border-radius:8px;background:var(--copper,#9b4f2e);color:#fff;padding:12px 20px;cursor:pointer;margin:8px 8px 8px 0}
.news-admin-shell button:hover,.news-actions button:hover{filter:brightness(.9)}
.news-admin-shell button:active,.news-actions button:active{transform:translateY(1px)}
.news-admin-shell [aria-disabled=true]{opacity:.6;cursor:wait}
.news-admin-shell :focus-visible,.news-actions :focus-visible,.news-card:focus{outline:3px solid var(--copper,#9b4f2e);outline-offset:4px}
.news-admin-panel,.news-admin-item{border-top:1px solid var(--line,#ccc8c0);padding:24px 0}
.news-admin-item p{white-space:pre-wrap;max-height:16rem;overflow:auto}
.news-admin-shell .news-check{display:flex;align-items:flex-start;gap:12px;font-weight:400}
.news-check input{width:24px;height:24px;flex-shrink:0;accent-color:var(--copper,#9b4f2e)}
.news-notice{padding:16px;border:2px solid var(--copper,#9b4f2e);border-radius:8px}
.news-admin{scrollbar-color:var(--muted,#706e67) var(--paper,#f3f0e9);scrollbar-width:auto}
.news-admin *{scrollbar-color:inherit;scrollbar-width:inherit}
.news-admin ::-webkit-scrollbar{width:12px;height:12px}
.news-admin ::-webkit-scrollbar-thumb{background:var(--muted,#706e67);border-radius:8px}
.news-admin ::-webkit-scrollbar-thumb:hover{background:var(--ink,#171918)}
@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.news-grid{grid-template-columns:1fr}.news-admin-shell{padding:24px 14px 60px}.news-card .article-body{padding:20px}}
@media(forced-colors:active){.news-admin{scrollbar-color:auto}.news-admin-shell button,.news-actions button{border-color:ButtonText}}
@media(prefers-reduced-motion:reduce){.news-admin-shell button:active,.news-actions button:active{transform:none}}
