/* Security news feed. Map tokens onto the main site theme. */
:root, html[data-theme="dark"], html[data-theme="light"]{
  --panel: var(--bg-raised, #130D34);
  --muted: var(--text-muted, #aaa4c5);
  --line: var(--border, rgba(255,255,255,.12));
  --cyan: var(--accent-cyan, #01f6f7);
  --purple: var(--accent-blue, #6e29f6);
  --gradient: var(--grad-text, linear-gradient(120deg, #6e29f6, #01f6f7));
}
.news-hero{padding-bottom:48px}
.news-stats{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:30px;color:var(--muted);font-size:.84rem}
.news-stats i{color:var(--cyan);margin-right:6px}
.news-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin:6px 0 24px}
.news-filters{display:flex;flex-wrap:wrap;gap:8px}
.news-chip{font:500 .8rem Poppins,Arial,sans-serif;color:#d8d3ea;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:99px;padding:8px 15px;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.news-chip:hover{border-color:rgba(1,246,247,.5);color:#fff}
.news-chip.is-on{color:#07101c;background:linear-gradient(120deg,#01f6f7,#78e4e2);border-color:transparent;font-weight:600}
.news-count{font-size:.8rem;color:var(--muted)}
.news-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.news-item{display:flex;flex-direction:column;gap:10px;padding:20px 22px;background:var(--panel);border:1px solid var(--line);border-radius:14px;transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s}
.news-item:hover{transform:translateY(-4px);border-color:rgba(1,246,247,.42);box-shadow:0 22px 50px -28px rgba(110,41,246,.8)}
.news-item[hidden]{display:none}
.news-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.74rem;color:var(--muted)}
.news-publisher{display:inline-flex;align-items:center;gap:9px;min-width:0;color:inherit;text-decoration:none}
.news-publisher:hover .news-source{color:#fff}
.news-brand-mark{position:relative;isolation:isolate;display:inline-grid;place-items:center;flex:0 0 auto;width:34px;height:34px;overflow:hidden;border:1px solid rgba(1,246,247,.2);border-radius:11px;background:linear-gradient(145deg,rgba(1,246,247,.13),rgba(110,41,246,.2));color:#dffeff;font:700 .57rem/1 Poppins,Arial,sans-serif;letter-spacing:.02em;box-shadow:inset 0 1px rgba(255,255,255,.1)}
.news-brand-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:6px;background:linear-gradient(145deg,#fff,#f3f5fa);border-radius:inherit}
.news-publisher .news-brand-mark{width:32px;height:32px}
.news-source{font:600 .68rem monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--cyan)}
.news-title{font-size:1.02rem;font-weight:600;line-height:1.5;color:var(--text);text-decoration:none}
.news-excerpt{margin:0;color:var(--muted);font-size:.86rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-title:hover{color:#65f7f5}
.news-title:focus-visible,.news-chip:focus-visible,.news-more-btn:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.news-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid var(--line);font-size:.74rem}
.news-tags{display:flex;flex-wrap:wrap;gap:6px}
.news-tag{color:#b8aedb;border:1px solid var(--line);border-radius:99px;padding:3px 9px;font-size:.68rem}
.news-out{color:var(--muted);white-space:nowrap}
.news-out i{color:var(--cyan);margin-left:3px}
.news-more{display:none}
.news-js .news-more.is-shown{display:flex}
html:not(.news-js) .news-more{display:flex}
.news-more-wrap{text-align:center;margin-top:28px}
.news-more-btn{font:600 .9rem Poppins,Arial,sans-serif;color:var(--text);background:transparent;border:1px solid var(--line);border-radius:8px;padding:13px 22px;cursor:pointer}
.news-more-btn:hover{border-color:var(--cyan);color:#65f7f5}
.news-empty{text-align:center;padding:54px 20px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
.news-empty i{font-size:2rem;color:var(--cyan)}
.news-editorial{max-width:820px}
.news-editorial p{color:#d3cdef;line-height:1.85}
.news-ed-date{margin-left:10px;color:var(--muted);letter-spacing:.04em;text-transform:none;font-weight:400}
.news-ed-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:18px}
.news-ed-link{color:var(--cyan);font-weight:600;text-decoration:none;font-size:.9rem}
.news-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}
.news-sources{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.news-sources li{min-width:0}
.news-source-card{height:100%;min-height:76px;display:flex;align-items:center;gap:13px;padding:13px 15px;color:#d8d3ea;text-decoration:none;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));transition:transform .25s,border-color .25s,background .25s,box-shadow .25s}
.news-source-card:hover{transform:translateY(-3px);border-color:rgba(1,246,247,.5);color:#fff;background:linear-gradient(145deg,rgba(1,246,247,.09),rgba(110,41,246,.09));box-shadow:0 16px 32px -24px rgba(1,246,247,.7)}
.source-card-mark{width:42px;height:42px;border-radius:13px;font-size:.68rem}
.news-source-copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.news-source-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:600;color:var(--text)}
.news-source-copy small{font-size:.69rem;color:var(--muted)}
.news-source-copy i{margin-left:3px;color:var(--cyan)}
.news-legal{font-size:.8rem;color:var(--muted);line-height:1.7;max-width:820px;margin-top:22px}
.news-legal a{color:var(--cyan)}
@media(max-width:850px){.news-how{grid-template-columns:1fr}.news-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.news-list{grid-template-columns:1fr}.news-item{padding:18px}.news-hero{padding-bottom:36px}}
@media(max-width:440px){.news-sources{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.news-item,.news-source-card{transition:none}.news-item:hover,.news-source-card:hover{transform:none}}
