/* The Professor - news headlines (redesign). A list of single links: headline (two lines at most), the source
   in bold, how long ago, and an arrow that says the link leaves the app. Tokens only. */
.nw-sec { margin: 0; padding: 18px 20px 14px; background: var(--ds-card); border: 1px solid var(--ds-line); font-family: var(--ds-font); color: var(--ds-ink); }
.nw-h { margin: 0 0 4px; font: 800 var(--ds-fs-20) var(--ds-font); color: var(--ds-ink); }
.nw-list { display: flex; flex-direction: column; }
.nw-item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 18px; column-gap: 12px; align-items: start;
  margin: 0 -10px; padding: 14px 10px 16px; border-block-start: 1px solid var(--ds-line); color: var(--ds-ink); text-decoration: none;
  transition: background-color var(--ds-t-ctrl) ease;
}
.nw-list > .nw-item:first-child { border-block-start: 0; }
a.nw-item:hover { background: var(--ds-soft); }
a.nw-item:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.nw-body { min-width: 0; }
.nw-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 700 15px/1.4 var(--ds-font); text-wrap: pretty; overflow-wrap: anywhere; }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-block-start: 6px; font: 500 13px/1.3 var(--ds-font); color: var(--ds-ink2); }
.nw-meta b { font-weight: 800; color: var(--ds-ink); }
.nw-arrow { margin-block-start: 2px; color: var(--ds-ink2); }
.nw-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw-foot { margin: 6px 0 0; padding-block-start: 12px; border-block-start: 1px solid var(--ds-line); font: 500 var(--ds-fs-13)/1.5 var(--ds-font); color: var(--ds-ink2); }
.nw-more {
  display: block; min-block-size: var(--ds-h-btn); margin-block-start: 14px; padding: 0 20px; border: 1.5px solid var(--ds-ink); border-radius: 0;
  background: transparent; color: var(--ds-ink); font: 800 var(--ds-fs-14) var(--ds-font); cursor: pointer;
}
.nw-more:hover { background: var(--ds-soft); }
.nw-more:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.nw-state { padding: 28px 8px; text-align: start; }
.nw-state p { margin: 0 0 12px; font: 600 var(--ds-fs-15) var(--ds-font); color: var(--ds-ink); }
/* the team page's list: one column on a phone, three on a computer */
@container th (min-width: 900px) { .nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; } .nw-grid > .nw-item:nth-child(-n+3) { border-block-start: 0; } }
/* loading: skeleton lines at the height of real headlines, so nothing jumps when they arrive */
.nw-skel { pointer-events: none; }
.nw-skel i { display: block; block-size: 15px; margin-block-end: 8px; background: var(--ds-soft); }
.nw-skel i + i { inline-size: 40%; block-size: 12px; margin: 0; }
.nw-skel .nw-body i:first-child { inline-size: 92%; block-size: 38px; }
@media (prefers-reduced-motion: no-preference) { .nw-skel i { animation: nw-pulse 1.4s ease-in-out infinite; } }
@keyframes nw-pulse { 50% { opacity: .5; } }
