/* /investments/ and /practice/: the two education hubs. They reuse the topic page's editorial rows
   (topics.css); this file adds the topic blocks, the two-column layout and the jump chips. */

.hub-page h1 { max-width: 860px; }

.hub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.hub-chip {
  display: inline-flex; align-items: center; min-height: var(--touch); padding: 8px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card);
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.hub-chip:hover { border-color: var(--ink); color: var(--ink); }

.hub-topic { margin-top: 56px; scroll-margin-top: 16px; }
.hub-topic > .tp-section-head h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.2; }
.hub-topic > .tp-section-head h2 a { color: var(--ink); text-decoration: none; }
.hub-topic > .tp-section-head h2 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.hub-desc { max-width: 720px; margin: 0 0 6px; color: var(--ink-2); }
.hub-topic > .tp-counts { margin: 0 0 20px; }

.hub-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: start; }
.hub-col, .hub-block { min-width: 0; }
.hub-block { margin-top: 28px; }
.hub-sub { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.hub-sub a { color: var(--accent); text-decoration: none; }
.hub-sub a:hover { text-decoration: underline; }
.hub-more { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.hub-empty { margin: 0; padding-top: 12px; border-top: 1px solid var(--ink); color: var(--ink-3); }
.hub-list-wide { max-width: 860px; }
.hub-page .tp-title { font-size: 19px; }
.hub-page .tp-related { max-width: 520px; border-top: 1px solid var(--ink); }

@media (max-width: 860px) {
  .hub-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hub-topic { margin-top: 44px; }
}
@media (max-width: 640px) {
  .hub-topic > .tp-section-head h2 { font-size: 26px; }
  .hub-page .tp-row { flex-direction: column; gap: 4px; }
  .hub-page .tp-date { flex: none; flex-direction: row; gap: 8px; }
}
