/* News: the index and the articles at /news (17 Nov 2026). Built on the tokens in styles.css. */

.news-wrap { max-width: 720px; margin: 0 auto; padding: 0 16px var(--sp-2xl); }

.news-meta { color: var(--text-muted); font-size: var(--fz-label); letter-spacing: .04em; text-transform: uppercase; margin-top: var(--sp-md); }

.article { color: var(--text-secondary); font-size: var(--fz-body); line-height: 1.75; }
.article h2 { color: var(--text-primary); font-size: var(--fz-h3); line-height: 1.25; margin: var(--sp-2xl) 0 var(--sp-md); }
.article h3 { color: var(--text-primary); font-size: var(--fz-h4); margin: var(--sp-xl) 0 var(--sp-sm); }
.article p { margin: 0 0 var(--sp-lg); }
.article ul, .article ol { margin: 0 0 var(--sp-lg); padding-left: 1.3em; }
.article li { margin-bottom: var(--sp-sm); }
.article strong { color: var(--text-primary); font-weight: 600; }
.article a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--mint-bright); }
.article .lead { color: var(--text-primary); font-size: var(--fz-h4); line-height: 1.6; }

.article table { width: 100%; border-collapse: collapse; margin: 0 0 var(--sp-xl); font-size: .95em; }
.article th, .article td { text-align: left; vertical-align: top; padding: .65em .8em; border-bottom: 1px solid var(--border-subtle); }
.article th { color: var(--text-primary); font-weight: 600; }
.article .table-scroll { overflow-x: auto; }

.article .callout { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: var(--sp-lg); margin: var(--sp-xl) 0; background: rgba(255,255,255,0.03); }
.article .callout p:last-child { margin-bottom: 0; }

.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-lg); }
.news-card { display: block; border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: var(--sp-lg); color: inherit; text-decoration: none; background: rgba(255,255,255,0.02); transition: border-color .2s var(--ease), background .2s var(--ease); }
.news-card:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.04); }
.news-card h2 { color: var(--text-primary); font-size: var(--fz-h4); margin: 0 0 var(--sp-sm); }
.news-card p { color: var(--text-secondary); margin: 0; }

.news-cta { text-align: center; margin-top: var(--sp-2xl); }
.news-cta p { color: var(--text-secondary); margin-bottom: var(--sp-md); }

/* Diagrams (17 Nov 2026): plain HTML, so they reflow on a phone. */
.diagram { margin: var(--sp-xl) 0 var(--sp-2xl); padding: var(--sp-lg); border: 1px solid var(--border-subtle); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.diagram figcaption { color: var(--text-muted); font-size: var(--fz-label); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--sp-lg); }
.dg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.dg-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 7px; height: 2px; background: linear-gradient(90deg, var(--mint), var(--border-strong)); }
.dg-steps li { position: relative; text-align: center; padding: 0 6px; margin: 0; font-size: .86em; line-height: 1.4; color: var(--text-secondary); }
.dg-steps li::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 auto 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(78,207,143,0.18); position: relative; }
.dg-steps li.dg-late::before { background: var(--text-muted); box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }
.dg-steps li strong { display: block; color: var(--text-primary); font-size: 1.02em; margin-bottom: 2px; }
.dg-bands { display: grid; grid-template-columns: 4fr 1fr; gap: 8px; margin-top: var(--sp-lg); font-size: .8em; text-align: center; }
.dg-band { border-radius: 8px; padding: 8px 6px; }
.dg-band--early { background: rgba(78,207,143,0.12); color: var(--mint-bright); border: 1px solid rgba(78,207,143,0.35); }
.dg-band--late { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border-subtle); }

.dg-reach { display: grid; gap: 10px; }
.dg-reach-row { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 12px; font-size: .88em; }
.dg-reach-row > span:first-child { color: var(--text-primary); }
.dg-track { display: grid; grid-template-columns: repeat(5, 1fr); height: 14px; border-radius: 7px; background: rgba(255,255,255,0.04); overflow: hidden; }
.dg-fill { border-radius: 7px; background: var(--text-muted); opacity: .55; }
.dg-fill--paldo { background: linear-gradient(90deg, var(--mint), var(--evergreen)); opacity: 1; }
.dg-axis { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; font-size: .74em; color: var(--text-muted); margin-top: 4px; }
.dg-axis div { display: flex; justify-content: space-between; }

.dg-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dg-node { position: relative; border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px; background: rgba(255,255,255,0.03); font-size: .86em; line-height: 1.45; }
.dg-node b { display: block; color: var(--mint); font-size: .78em; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.dg-node:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--mint); font-size: 1.1em; }

@media (max-width: 640px) {
  .dg-steps { grid-template-columns: 1fr; gap: 12px; }
  .dg-steps::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--mint), var(--border-strong)); }
  .dg-steps li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; text-align: left; padding: 0; }
  .dg-steps li::before { margin: 2px 0 0; }
  .dg-bands { grid-template-columns: 1fr; }
  .dg-reach-row, .dg-axis { grid-template-columns: 1fr; gap: 4px; }
  .dg-flow { grid-template-columns: 1fr; gap: 22px; }
  .dg-node:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -21px; transform: translateX(-50%); }
}

/* paldo.ai/predictions (17 Nov 2026) */
.pv-how { margin-top: 0; }
.pv-list { display: grid; gap: var(--sp-lg); }
.pv-card { border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: var(--sp-lg); background: rgba(255,255,255,0.02); color: var(--text-secondary); line-height: 1.65; }
.pv-head { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-lg); align-items: start; }
.pv-head h2 { color: var(--text-primary); font-size: var(--fz-h4); line-height: 1.35; margin: 0; }
.pv-odds { text-align: right; min-width: 7.5em; }
.pv-pct { display: block; color: var(--mint); font-size: var(--fz-h2); font-weight: 600; line-height: 1; }
.pv-pct--pending { font-size: var(--fz-label); color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.pv-odds-label { display: block; color: var(--text-muted); font-size: var(--fz-label); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.pv-spark { display: block; width: 7.5em; height: 2em; margin-top: 8px; color: var(--mint); }
.pv-meta { color: var(--text-muted); font-size: var(--fz-label); letter-spacing: .03em; margin: var(--sp-sm) 0 var(--sp-md); }
.pv-sec h4, .pv-ev h4 { color: var(--text-primary); font-size: .9em; margin: var(--sp-md) 0 var(--sp-sm); }
.pv-sec p { margin: 0 0 var(--sp-sm); }
.pv-card a { color: var(--mint); text-underline-offset: 3px; }
.pv-more summary { cursor: pointer; color: var(--mint); margin-top: var(--sp-sm); }
.pv-ev ul { margin: 0; padding-left: 1.1em; }
.pv-ev li { margin-bottom: var(--sp-sm); }
.pv-ev-date { color: var(--text-muted); font-size: .85em; }
.pv-ev--for h4 { color: var(--mint-bright); }
.pv-ev--against h4 { color: var(--red); }
.pv-note, .pv-empty { color: var(--text-muted); font-size: .9em; margin-top: var(--sp-lg); }
@media (max-width: 640px) {
  .pv-head { grid-template-columns: 1fr; }
  .pv-odds { text-align: left; }
}

/* Blog cards and covers (17 Nov 2026): like the moves index, in brand greens only. The gradient is
   the fallback; blog-covers.js draws the animated aurora on the canvas over it. */
.bl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.bl-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: var(--radius); background: rgba(255,255,255,0.02); color: inherit; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.bl-card:hover { border-color: rgba(255,255,255,0.28); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.bl-cover { position: relative; display: block; flex: 0 0 auto; height: 150px; overflow: hidden;
  background: radial-gradient(60% 120% at 20% 100%, rgba(42,157,108,0.55), rgba(42,157,108,0) 70%),
              radial-gradient(50% 110% at 75% 20%, rgba(78,207,143,0.35), rgba(78,207,143,0) 70%),
              radial-gradient(70% 140% at 55% 80%, rgba(31,107,78,0.6), rgba(31,107,78,0) 70%), #0b3224; }
.bl-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.bl-cover.is-live canvas { opacity: 1; }
.bl-cover--hero { height: 220px; border-radius: var(--radius); margin-bottom: var(--sp-xl); border: 1px solid var(--border-subtle); }
.bl-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.bl-card-kicker { color: var(--mint); font-size: var(--fz-label); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.bl-card h2 { color: var(--text-primary); font-size: var(--fz-h4); line-height: 1.3; margin: 0 0 10px; }
.bl-card p { color: var(--text-secondary); font-size: .92em; line-height: 1.55; margin: 0 0 16px; }
.bl-card-foot { margin-top: auto !important; color: var(--text-muted) !important; font-size: var(--fz-label) !important; }

/* Cover tones (fallback gradients; blog-covers.js reads the same data-tone). */
.bl-cover[data-tone="lilac"] { background: radial-gradient(60% 120% at 20% 100%, rgba(139,116,184,0.55), rgba(139,116,184,0) 70%), radial-gradient(50% 110% at 75% 20%, rgba(184,169,212,0.35), rgba(184,169,212,0) 70%), radial-gradient(70% 140% at 55% 80%, rgba(59,51,92,0.6), rgba(59,51,92,0) 70%), #171a29; }
.bl-cover[data-tone="fjord"] { background: radial-gradient(60% 120% at 20% 100%, rgba(42,133,128,0.55), rgba(42,133,128,0) 70%), radial-gradient(50% 110% at 75% 20%, rgba(110,217,191,0.3), rgba(110,217,191,0) 70%), radial-gradient(70% 140% at 55% 80%, rgba(30,51,72,0.7), rgba(30,51,72,0) 70%), #111e2b; }
.bl-cover[data-tone="sage"] { background: radial-gradient(60% 120% at 20% 100%, rgba(163,184,154,0.5), rgba(163,184,154,0) 70%), radial-gradient(50% 110% at 75% 20%, rgba(212,175,55,0.22), rgba(212,175,55,0) 70%), radial-gradient(70% 140% at 55% 80%, rgba(61,79,64,0.6), rgba(61,79,64,0) 70%), #112a20; }
