:root{--news-bg:#fffdf8;--news-text:#171c25;--news-muted:#68707e;--news-line:#ddd5ca;--news-accent:#8e3950}
:root[data-theme=dark]{--news-bg:#191b22;--news-text:#f6eef1;--news-muted:#a5a7b1;--news-line:#454650;--news-accent:#e4a0b4}
.news-wrap{max-width:900px;margin:36px auto;padding:0 20px;color:var(--news-text);font:16px/1.6 system-ui,sans-serif}.news-wrap h1{font:600 36px/1.2 Georgia,serif}.news-wrap button,.news-wrap select,.news-dialog button{font:inherit;cursor:pointer;border:1px solid var(--news-line);border-radius:8px;padding:9px 14px;color:var(--news-text);background:var(--news-bg)}.news-wrap button:disabled,.news-dialog button:disabled{opacity:.6;cursor:wait}.news-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:12px 0}.news-actions a,.news-card a{color:var(--news-accent);text-decoration:underline;text-underline-offset:3px}.news-card{border-top:1px solid var(--news-line);padding:16px 0;overflow-wrap:anywhere}.news-card h3{font:600 21px/1.3 Georgia,serif;margin:8px 0}.news-card p{line-height:1.6}.news-card time,.news-wrap time{font-size:12px;color:var(--news-muted)}.news-body{white-space:pre-wrap;overflow-wrap:anywhere;font:18px/1.8 Georgia,serif;margin:20px 0 32px}.news-dialog{width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;border:1px solid var(--news-line);border-radius:16px;background:var(--news-bg);color:var(--news-text);padding:22px;font:15px/1.5 system-ui,sans-serif}.news-dialog::backdrop{background:#0009}.news-dialog header{display:flex;gap:12px;align-items:start;justify-content:space-between}.news-dialog h2{font:600 26px/1.2 Georgia,serif;margin:4px 0 12px}.news-form{display:grid;gap:14px}.news-form label{display:grid;gap:6px}.news-form input,.news-form textarea,.news-form select{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid var(--news-line);border-radius:8px;background:var(--news-bg);color:var(--news-text);font:inherit}.news-form textarea{min-height:220px;resize:vertical}.news-form [readonly],.news-form [disabled]{opacity:.8}.news-captcha img{width:190px;height:58px;max-width:100%}.news-captcha{display:grid;gap:8px;justify-items:start}.news-status{white-space:pre-wrap;overflow-wrap:anywhere}.news-status.error{color:#b12840}:root[data-theme=dark] .news-status.error{color:#ff9bb0}.news-trap{position:absolute!important;left:-10000px!important}.home-news .news-actions{font-size:12px}.home-news .news-card p{font-size:13px}.home-news h2{margin:0;font:600 22px Georgia,serif}.home-news button{font:inherit;padding:7px 10px;border-radius:8px;border:1px solid var(--news-line);background:var(--news-bg);color:var(--news-text);cursor:pointer}
@media(max-width:480px){.news-dialog{padding:16px}.news-wrap{padding:0 12px}.news-wrap h1{font-size:29px}.news-actions{align-items:stretch}.news-actions button{min-height:44px}.news-dialog header button{min-width:44px;min-height:44px}}
.news-page{margin:0;min-height:100vh;background:var(--news-bg);color:var(--news-text)}
.news-dialog header{position:sticky;top:0;z-index:2;background:var(--news-bg);padding:6px 0;border-bottom:1px solid var(--news-line)}
.news-dialog>p{margin:12px 0 16px}.news-form>p{margin:0;font-size:13px;line-height:1.45;color:var(--news-muted)}
.home-news-band{margin-top:40px;border-top:1px solid var(--line);background:var(--paper);color:var(--text)}
.home-news-band .home-news-inner{max-width:1200px;margin-inline:auto;padding:32px}
.home-news-band .home-news-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.home-news-band h2{font:500 32px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.home-news-band .news-actions{margin:0;gap:18px;font-size:13px}
.home-news-band .news-actions a{display:inline-flex;align-items:center;gap:10px;color:var(--accent);text-decoration:none}
.home-news-band .news-actions a:hover{text-decoration:underline;text-underline-offset:4px}
.home-news-band button{min-height:44px;padding:10px 15px;border-color:var(--line);background:transparent;color:var(--text)}
.home-news-band button:hover{border-color:var(--accent);color:var(--accent)}
.home-news-band .home-news-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;min-width:0}
.home-news-band .news-card{min-width:0;padding:20px 0 8px;border-color:var(--line);box-shadow:none}
.home-news-band .news-card time{color:var(--muted);font:500 12px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.home-news-band .news-card h3{margin:10px 0 12px;font:500 24px/1.3 Georgia,'Times New Roman',serif;letter-spacing:-.02em}
.home-news-band .news-card h3 a{color:var(--text);text-decoration:none}
.home-news-band .news-card h3 a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.home-news-band .news-card p{margin:0;color:var(--muted);font:400 15px/1.65 system-ui,sans-serif}
.home-news-band .news-card:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.4fr);column-gap:56px}
.home-news-band .news-card:only-child time{grid-column:1;grid-row:1}
.home-news-band .news-card:only-child h3{grid-column:1;grid-row:2;margin-bottom:0}
.home-news-band .news-card:only-child p{grid-column:2;grid-row:1/span 2;padding-top:2px}
.home-news-band .home-news-items>p{grid-column:1/-1;margin:0;padding:20px 0;border-top:1px solid var(--line);color:var(--muted)}
.home-news-band [data-news-status]{margin:12px 0 0}
.home-news-band [data-news-status]:empty,.home-news-band [hidden]{display:none!important}
.home-news-band :where(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:5px}
@media(max-width:760px){.home-news-band .home-news-inner{padding:26px 20px}.home-news-band .home-news-heading{align-items:flex-start;flex-direction:column;gap:14px}.home-news-band h2{font-size:28px}.home-news-band .home-news-items{grid-template-columns:1fr;gap:12px}.home-news-band .news-card:only-child{display:block}.home-news-band .news-card:only-child h3{margin-bottom:12px}.home-news-band .news-card:only-child p{padding-top:0}.home-news-band .news-card h3{font-size:23px}}
@media(max-width:480px){.home-news-band .home-news-inner{padding-inline:16px}.home-news-band .news-actions{gap:14px;flex-wrap:wrap}.home-news-band .news-actions a{min-height:44px}}
