/* Blog posts: shared by old and new posts (added by blog_layout.py). */
.tf-post-end { margin:34px 0 0; }
.tf-post-end h2 { font-size:19px; line-height:1.3; margin:0 0 12px; color:#f9fafb; font-weight:600; letter-spacing:-0.01em; }
.tf-end-links { display:flex; flex-direction:column; gap:10px; margin:0 0 22px; }
.tf-end-links a { display:flex; align-items:center; min-height:46px; padding:10px 14px; border-radius:11px; background:rgba(96,165,250,.08); border:1px solid rgba(96,165,250,.25); color:#93c5fd; font-size:15px; line-height:1.35; font-weight:600; text-decoration:none; }
.tf-end-box { background:#131722; border:1px solid rgba(255,255,255,.09); border-radius:14px; padding:18px 16px; margin:0 0 18px; }
.tf-end-box p { color:#cbd5e1; font-size:15px; line-height:1.55; margin:0 0 14px; }
.tf-end-back { display:inline-flex; align-items:center; min-height:44px; color:#94a3b8; font-size:14px; text-decoration:none; }
article .blog-meta { margin:0 0 10px; align-items:center; }
article .ai-banner { margin:0 0 14px; }
article .ticker-banner { margin:0 0 24px; }
.wrap > a[href="/blog"]:first-child { display:none; }      /* weekly scorecard: the end section links back */
article figure img, .wrap figure img { max-width:100%; }
@media (max-width:640px) {
  .blog-wrap, .wrap { padding-top:20px !important; }
  .blog-wrap { padding:20px 16px 56px; }
  article .blog-meta { gap:6px 8px; }
  article h1 { font-size:27px; line-height:1.22; margin:0 0 14px; }
  article h2 { font-size:21px; margin:30px 0 12px; }
  article p { font-size:17px; line-height:1.65; margin:0 0 18px; }
  article li { font-size:16px; }
  article ul { margin-left:18px; }
  .ticker-banner { padding:12px 14px; gap:8px 12px; }
  .ticker-banner a { margin-left:0; width:100%; min-height:44px; display:flex; align-items:center; justify-content:center; box-sizing:border-box; }
  .blog-chart { padding:14px 12px 10px; margin:22px 0; }
  .blog-chart div[style*="grid-template-columns"] { grid-template-columns:1fr !important; }
  .blog-chart li { font-size:15px !important; }
}
