/* News: the line across the homepage (tools/news.py writes it) and the news page. */
.news-ticker{position:relative;display:flex;align-items:center;width:100%;overflow:hidden;white-space:nowrap;
  border-bottom:1px solid rgba(143,179,224,.18);background:linear-gradient(90deg,rgba(2,132,199,.18),rgba(2,132,199,.06) 40%,rgba(2,132,199,.18));
  font-size:.92rem;line-height:1;height:42px}
.nt-label{flex:none;z-index:2;align-self:stretch;display:flex;align-items:center;padding:0 16px;
  background:#38bdf8;color:#04121f;font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;text-decoration:none}
.nt-track{display:flex;flex:1;min-width:0;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
.nt-run{display:flex;flex:none;align-items:center;animation:nt-scroll 70s linear infinite}
.news-ticker:hover .nt-run,.news-ticker:focus-within .nt-run{animation-play-state:paused}
@keyframes nt-scroll{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.nt-item{display:inline-flex;align-items:baseline;gap:10px;padding:0 6px;color:inherit;text-decoration:none}
.nt-item time{color:#7dd3fc;font-weight:600;font-variant-numeric:tabular-nums}
.nt-item:hover span,.nt-item:focus span{text-decoration:underline;text-underline-offset:3px}
.nt-sep{padding:0 22px;color:#38bdf8;opacity:.7}
@media (prefers-reduced-motion:reduce){.nt-run{animation:none}.nt-track{overflow-x:auto}.nt-run[aria-hidden]{display:none}}
[data-theme="light"] .news-ticker{border-bottom-color:rgba(2,132,199,.25)}
[data-theme="light"] .nt-item time{color:#0369a1}
.news-list{list-style:none;padding:0;margin:0 auto;max-width:860px}
.news-list li{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:16px 0;border-bottom:1px solid rgba(127,127,127,.22);align-items:baseline}
.news-list time{color:#7dd3fc;font-weight:600;font-variant-numeric:tabular-nums}
[data-theme="light"] .news-list time{color:#0369a1}
.news-list a{color:inherit;text-decoration:none;font-size:1.05rem}.news-list a:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:640px){.news-list li{grid-template-columns:1fr;gap:4px}}
/* With news-ticker.js: the script moves the line, and it can be dragged. */
.news-ticker.nt-js .nt-run{animation:none}
.news-ticker.nt-js .nt-run[aria-hidden]{display:flex}
.news-ticker.nt-js .nt-track{overflow:hidden;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.news-ticker.nt-dragging .nt-track{cursor:grabbing}
.news-ticker.nt-js .nt-item{-webkit-user-drag:none}
