/* sol · web: news (docs/ESPEC.md 4.4). Owner: pages. Shared parts are in paginas.css. */

.nv-list { --when: clamp(150px, 16vw, 210px); list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(28px, 3.6vw, 56px); max-width: 1040px; }
.nv-list::before { /* the thread of time, like a staff line in brass */
  content: ""; position: absolute; top: 12px; bottom: 12px; left: calc(var(--when) + 16px); width: 1px;
  background: linear-gradient(180deg, rgba(201, 169, 97, .7), rgba(201, 169, 97, .08));
}
/* #<slug> lands as every anchor of the site does: under the header (base.css scroll-padding-top), no margin of its own */
.nv-item { position: relative; display: grid; grid-template-columns: var(--when) minmax(0, 1fr); gap: 32px; }
.nv-item::before {
  content: ""; position: absolute; left: calc(var(--when) + 11px); top: 28px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold-grad); box-shadow: 0 0 0 4px var(--bg), 0 0 18px rgba(201, 169, 97, .7);
}
.nv-when { display: grid; gap: 10px; align-content: start; justify-items: end; padding-top: 20px; text-align: right; }
.nv-date { font: 600 1rem/1.3 var(--font-display); color: var(--text); letter-spacing: -.005em; }
.nv-version { font-size: .875rem; height: 28px; }
.nv-card {
  position: relative; overflow: hidden; margin-left: 24px; padding: clamp(22px, 3vw, 40px);
  background: var(--lacquer-sheen), var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.nv-img { display: block; width: calc(100% + 2 * clamp(22px, 3vw, 40px)); max-width: none; height: auto; margin: calc(-1 * clamp(22px, 3vw, 40px)) calc(-1 * clamp(22px, 3vw, 40px)) clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--line); }
.nv-title { display: flex; align-items: baseline; gap: 10px; font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.nv-anchor { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -12px -12px -12px 0; border-radius: 50%; color: var(--text-3); opacity: 0; transition: opacity .2s var(--ease), color .2s var(--ease); }
.nv-anchor .ic { width: 16px; height: 16px; }
.nv-card:hover .nv-anchor, .nv-anchor:focus-visible { opacity: 1; }
.nv-anchor:hover { color: var(--gold-hi); }
.nv-body { max-width: 64ch; }
.nv-body p { font-size: 1.0625rem; }
.nv-body strong { color: var(--gold-hi); }
@media (max-width: 720px) {
  .nv-list::before { left: 5px; }
  .nv-item { grid-template-columns: 1fr; gap: 12px; padding-left: 28px; }
  .nv-item::before { left: 0; top: 4px; }
  .nv-when { justify-items: start; text-align: left; padding-top: 0; grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .nv-card { margin-left: 0; }
  .nv-anchor { opacity: 1; }
}

.nv-empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(40px, 7vw, 110px) 16px clamp(24px, 4vw, 48px); max-width: 640px; margin: 0 auto; }
.nv-rest { width: min(320px, 80vw); height: auto; margin-bottom: 10px; filter: drop-shadow(0 0 18px rgba(201, 169, 97, .25)); }
.nv-empty-t { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); letter-spacing: -.03em; }
.nv-empty p { margin: 0 0 8px; color: var(--text-2); max-width: 52ch; }
/* while there is no news, the page points to what is already there instead of ending */
.nv-paths { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nv-path {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: rgba(244, 241, 234, .035);
  color: var(--text); text-decoration: none; font: 500 .9375rem/1 var(--font-body);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.nv-path:hover { border-color: rgba(201, 169, 97, .45); background: rgba(201, 169, 97, .08); }
.nv-path .ic { width: 18px; height: 18px; color: var(--gold); }
