/* What is new (scripts/site/neues.py): the list on /neues/ and the latest entries on the home page (#neues). */
.nw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 820px; }
.nw-home { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.nw { min-width: 0; }
.nw-card { position: relative; height: 100%; display: grid; align-content: start; gap: 6px; padding: 16px 18px; border-radius: var(--r);
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--hull), rgba(10, 16, 32, 0.4)); }
.nw:target .nw-card { border-color: rgba(255, 138, 43, 0.6); box-shadow: 0 0 0 1px rgba(255, 138, 43, 0.35), 0 0 30px -10px rgba(255, 138, 43, 0.6); }
.nw-date { font: 600 11.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chevron); }
.nw-card h2, .nw-card h3 { font-size: 19px; line-height: 1.25; padding-right: 28px; overflow-wrap: anywhere; }
.nw-card h2 a, .nw-card h3 a { color: var(--text); text-decoration: none; }
.nw-card h2 a:hover, .nw-card h3 a:hover { color: var(--horizon); text-decoration: underline; text-underline-offset: 3px; }
.nw-text { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 56ch; }
.nw-perm { position: absolute; top: 12px; right: 10px; min-width: 24px; min-height: 24px; display: grid; place-items: center;
  font: 600 14px/1 var(--f-mono); color: var(--dim); border-radius: 6px; text-decoration: none; }
li .nw-perm { text-decoration: none; }
.nw-perm:hover, .nw-perm:focus-visible, .nw-card:hover .nw-perm, .nw:target .nw-perm { color: var(--horizon); text-decoration: none; }
.g-sec .nw-list { margin-bottom: 48px; }

/* the feed link on /neues/ */
.nw-feed { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.g-hero .nw-feed p { font-size: 14px; max-width: 52ch; }
.nw-feed .btn svg { color: var(--chevron); }

/* home page: link to all entries and the feed */
.nw-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.nw-more .btn { text-decoration: none; }
.nw-more a:not(.btn) { font: 600 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }

@media print {
  .nw-feed, .nw-perm, .nw-more { display: none !important; }
  .nw-card { border: 0; padding: 0; background: none; }
}
