/* Knowledge Hubs — blog landing ("Blog Hubs" template) + hub category archives */

@font-face {
      font-family: 'SGAlt';
      src: url('../fonts/SpaceGrotesk-Regular.woff') format('woff');
      font-weight: 400;
}

@font-face {
      font-family: 'SGAlt';
      src: url('../fonts/SpaceGrotesk-SemiBold.woff') format('woff');
      font-weight: 600;
}

@font-face {
      font-family: 'SGAlt';
      src: url('../fonts/SpaceGrotesk-Bold.woff') format('woff');
      font-weight: 700;
}

body.page-template-blog,
body.hub-archive {
      background: #10141d;
}

#blog-hubs {
      --ink: #10141d;
      --navy: #161b27;
      --card: #1b2232;
      --card-2: #202940;
      --line: rgba(255,255,255,.08);
      --muted: #96acbc;
      --faint: #5d6b80;
      --blue: #009ee2;
      --yellow: #ffec00;
      --red: #ed3125;
      --green: #0dc167;
      --violet-glow: rgba(89,54,221,.22);
      --ai-a: #009ee2;
      --ai-b: #7a5cff;

      font-family: 'SGAlt', sans-serif;
      background: var(--ink);
      color: #fff;
      line-height: 1.6;
      overflow-x: hidden;
      overflow-x: clip;
}

#blog-hubs a {
      text-decoration: none;
      color: inherit;
}

#blog-hubs h1,
#blog-hubs h2,
#blog-hubs h3,
#blog-hubs p {
      margin: 0;
      font-family: inherit;
}

#blog-hubs .wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
}

#blog-hubs section {
      position: relative;
}

/* ── shared bits ─────────────────────────────────────── */

#blog-hubs .eyebrow {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--yellow);
}

#blog-hubs .btn-green {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(180deg, #12d975, var(--green));
      color: #04331c;
      font-weight: 700;
      font-size: 16px;
      padding: 15px 28px;
      border-radius: 10px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(13,193,103,.2);
      transition: transform .15s ease, box-shadow .15s ease;
      white-space: nowrap;
      border: none;
      cursor: pointer;
      font-family: inherit;
}

#blog-hubs .btn-green:hover {
      transform: translateY(-1px);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 24px rgba(13,193,103,.3);
}

#blog-hubs .cube {
      display: inline-block;
      width: 13px;
      height: 13px;
      border-radius: 3px;
      transform: rotateZ(30deg) rotateY(35deg) rotateX(-45deg);
      flex: none;
}

#blog-hubs .cube.b { background: linear-gradient(to top, rgba(0,158,226,.7), var(--blue)); }
#blog-hubs .cube.y { background: linear-gradient(to top, rgba(255,236,0,.7), var(--yellow)); }
#blog-hubs .cube.r { background: linear-gradient(to top, rgba(237,49,37,.7), var(--red)); }
#blog-hubs .cube.g { background: linear-gradient(to top, rgba(13,193,103,.7), var(--green)); }

#blog-hubs .cube-mark {
      display: inline-block;
      width: 11px;
      height: 11px;
      border-radius: 3px;
      transform: rotateZ(30deg) rotateY(35deg) rotateX(-45deg);
      background: linear-gradient(to top, color-mix(in srgb, var(--a, #009ee2) 70%, transparent), var(--a, #009ee2));
      flex: none;
}

#blog-hubs .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 30px;
}

#blog-hubs .section-head h2 {
      font-size: 30px;
      font-weight: 700;
      letter-spacing: -.02em;
}

#blog-hubs .section-head .sub {
      color: var(--muted);
      font-size: 15px;
      max-width: 46ch;
}

/* image placeholder — used until generated art / thumbnails exist */
#blog-hubs .img-slot {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      width: 100%;
      height: 100%;
      border-radius: 12px;
      border: 1px dashed color-mix(in srgb, var(--slot-accent, #96acbc) 45%, transparent);
      background:
            repeating-linear-gradient(-45deg,
                  color-mix(in srgb, var(--slot-accent, #96acbc) 6%, transparent) 0 14px,
                  transparent 14px 28px),
            color-mix(in srgb, var(--slot-accent, #96acbc) 7%, var(--navy));
}

#blog-hubs .img-slot::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(closest-side at 30% 20%, color-mix(in srgb, var(--slot-accent, #96acbc) 16%, transparent), transparent 75%);
}

#blog-hubs .img-slot .slot-label {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      text-align: center;
      padding: 10px;
}

#blog-hubs .img-slot .slot-label strong {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: color-mix(in srgb, var(--slot-accent, #96acbc) 80%, #fff);
}

#blog-hubs .img-slot .slot-label span {
      font-size: 11px;
      color: var(--faint);
}

/* ══ blog landing ═════════════════════════════════════ */

#blog-hubs .hub-landing-hero {
      position: relative;
      padding: 84px 0 70px;
}

#blog-hubs .hub-landing-hero .hero-glow {
      position: absolute;
      top: -340px;
      left: 50%;
      transform: translateX(-58%);
      width: 1400px;
      height: 1000px;
      background: radial-gradient(closest-side, var(--violet-glow), transparent 70%);
      pointer-events: none;
}

#blog-hubs .hub-landing-hero .hero-glow-2 {
      position: absolute;
      top: -80px;
      right: -320px;
      width: 760px;
      height: 760px;
      background: radial-gradient(closest-side, rgba(0,158,226,.12), transparent 70%);
      pointer-events: none;
}

#blog-hubs .hub-landing-hero .wrap {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
      gap: 60px;
      align-items: center;
}

/* grid children must never force the column wider than the viewport
   (old iOS WebKit lets the search input's intrinsic width do exactly that) */
#blog-hubs .hub-landing-hero .wrap > * {
      min-width: 0;
      max-width: 100%;
}

#blog-hubs .hub-landing-hero .eyebrow {
      display: block;
      margin-bottom: 18px;
}

#blog-hubs .hub-landing-hero h1 {
      font-size: clamp(2.3em, 4.6vw, 3.6em);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -.025em;
      text-wrap: balance;
      margin-bottom: 22px;
}

#blog-hubs .hub-landing-hero h1 em {
      font-style: normal;
      color: var(--yellow);
      position: relative;
      white-space: nowrap;
}

#blog-hubs .hub-landing-hero h1 em::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 4px;
      height: 12px;
      background: rgba(255,236,0,.32);
      filter: blur(12px);
      z-index: -1;
}

#blog-hubs .hub-landing-hero p.lede {
      font-size: 17px;
      color: var(--muted);
      max-width: 52ch;
      margin-bottom: 30px;
}

#blog-hubs .hub-landing-hero p.lede strong {
      color: #fff;
      font-weight: 600;
}

#blog-hubs .hub-search {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      width: 100%;
      max-width: 520px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 6px 6px 6px 18px;
      box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

#blog-hubs .hub-search svg {
      flex: none;
      opacity: .5;
}

#blog-hubs .hub-search input {
      flex: 1 1 0;
      width: 0;
      min-width: 0;
      background: none;
      border: none;
      outline: none;
      box-shadow: none;
      color: #fff;
      font-family: inherit;
      font-size: 15px;
}

#blog-hubs .hub-search input::placeholder {
      color: var(--faint);
}

#blog-hubs .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      width: 100%;
      max-width: 520px;
      margin-top: 26px;
      font-size: 13px;
      color: var(--faint);
}

#blog-hubs .hero-stats b {
      display: block;
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      font-variant-numeric: tabular-nums;
}

#blog-hubs .hub-landing-hero .hero-art {
      position: relative;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      transform: rotate(-2deg);
}

#blog-hubs .hub-landing-hero .mini-hub {
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 14px 16px;
      font-size: 13.5px;
      font-weight: 600;
      box-shadow: 0 14px 34px rgba(0,0,0,.35);
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#blog-hubs .hub-landing-hero .mini-hub:nth-child(even) {
      transform: translateY(14px);
}

#blog-hubs .hub-landing-hero .mini-hub:hover {
      transform: translateY(-4px);
      border-color: color-mix(in srgb, var(--a) 55%, transparent);
      box-shadow: 0 20px 44px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--a) 25%, transparent);
}

#blog-hubs .hub-landing-hero .mini-hub:nth-child(even):hover {
      transform: translateY(10px);
}

#blog-hubs .hub-landing-hero .mini-hub .dot {
      width: 30px;
      height: 30px;
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: color-mix(in srgb, var(--a) 18%, transparent);
      color: var(--a);
      flex: none;
}

#blog-hubs .hub-landing-hero .mini-hub small {
      display: block;
      font-weight: 400;
      font-size: 11px;
      color: var(--faint);
}

/* ── hub grid ────────────────────────────────────────── */

#blog-hubs .hubs {
      padding: 40px 0 30px;
}

#blog-hubs .hub-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
}

#blog-hubs .hub-card {
      --a: var(--blue);
      position: relative;
      display: flex;
      flex-direction: column;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px 14px 18px;
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#blog-hubs .hub-card:hover {
      transform: translateY(-4px);
      border-color: color-mix(in srgb, var(--a) 55%, transparent);
      box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--a) 25%, transparent);
}

#blog-hubs .hub-card .cover {
      aspect-ratio: 16 / 10;
      margin-bottom: 16px;
}

#blog-hubs .hub-card .cover .hub-cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
      display: block;
}

#blog-hubs .hub-card h3 {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 17.5px;
      font-weight: 700;
      letter-spacing: -.01em;
      padding: 0 6px;
}

#blog-hubs .hub-card .tagline {
      font-size: 13.5px;
      color: var(--muted);
      padding: 6px 6px 0;
      flex: 1;
}

#blog-hubs .hub-card .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 14px 6px 0;
}

#blog-hubs .hub-card .chips span {
      font-size: 11px;
      font-weight: 600;
      color: var(--muted);
      background: rgba(255,255,255,.05);
      border: 1px solid var(--line);
      padding: 3px 9px;
      border-radius: 99px;
}

#blog-hubs .hub-card .hub-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 6px 0;
      font-size: 13px;
}

#blog-hubs .hub-card .hub-foot .count {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--faint);
      font-variant-numeric: tabular-nums;
}

#blog-hubs .hub-card .hub-foot .picons {
      display: inline-flex;
}

#blog-hubs .hub-card .hub-foot .picons img {
      width: 20px;
      height: 20px;
      border-radius: 6px;
      background: var(--ink);
      border: 1px solid var(--line);
      padding: 2px;
}

#blog-hubs .hub-card .hub-foot .picons img + img {
      margin-left: -6px;
}

#blog-hubs .hub-card .hub-foot .go {
      font-weight: 700;
      color: var(--a);
      display: inline-flex;
      align-items: center;
      gap: 6px;
}

#blog-hubs .hub-card:hover .hub-foot .go {
      text-decoration: underline;
}

/* AI hub — gradient border special */
#blog-hubs .hub-card.ai {
      --a: var(--ai-b);
      background:
            linear-gradient(var(--card), var(--card)) padding-box,
            linear-gradient(135deg, var(--ai-a), var(--ai-b)) border-box;
      border: 1px solid transparent;
}

#blog-hubs .hub-card.ai .new-badge {
      position: absolute;
      top: 24px;
      right: 24px;
      z-index: 2;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #10141d;
      background: linear-gradient(90deg, #6ad2ff, #b7a4ff);
      padding: 4px 10px;
      border-radius: 99px;
}

#blog-hubs .hub-card.ai .cube-mark {
      background: linear-gradient(135deg, var(--ai-a), var(--ai-b));
}

#blog-hubs .hub-card.ai .hub-foot .go {
      background: linear-gradient(90deg, #4db8f0, #a48bff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
}

/* ── featured ────────────────────────────────────────── */

#blog-hubs .featured {
      padding: 60px 0 20px;
}

#blog-hubs .feat-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
      gap: 22px;
}

#blog-hubs .feat-side {
      display: grid;
      gap: 22px;
}

#blog-hubs .article-card {
      --a: var(--blue);
      display: flex;
      flex-direction: column;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 13px 13px 18px;
      transition: transform .18s ease, border-color .18s ease;
}

#blog-hubs .article-card:hover {
      transform: translateY(-4px);
      border-color: color-mix(in srgb, var(--a) 45%, transparent);
}

#blog-hubs .article-card .img-slot,
#blog-hubs .article-card .thumb {
      aspect-ratio: 16 / 9;
      width: 100%;
      margin-bottom: 14px;
      border-radius: 12px;
      object-fit: cover;
      display: block;
}

#blog-hubs .article-card.lead .img-slot,
#blog-hubs .article-card.lead .thumb {
      flex: 1;
      min-height: 240px;
}

#blog-hubs .article-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      color: var(--faint);
      padding: 0 6px 8px;
}

#blog-hubs .hub-badge {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--a, var(--blue));
      background: color-mix(in srgb, var(--a, #009ee2) 14%, transparent);
      padding: 3px 10px;
      border-radius: 99px;
      white-space: nowrap;
}

#blog-hubs .article-card h3 {
      font-size: 16.5px;
      font-weight: 700;
      line-height: 1.4;
      letter-spacing: -.01em;
      padding: 0 6px;
      text-wrap: balance;
}

#blog-hubs .article-card.lead h3 {
      font-size: 23px;
}

#blog-hubs .article-card p.excerpt {
      font-size: 13.5px;
      color: var(--muted);
      padding: 8px 6px 0;
}

#blog-hubs .article-card .read {
      padding: 12px 6px 0;
      font-size: 13px;
      font-weight: 700;
      color: var(--a);
}

#blog-hubs .article-row {
      --a: var(--blue);
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 16px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 12px;
      transition: transform .18s ease, border-color .18s ease;
}

#blog-hubs .article-row:hover {
      transform: translateY(-3px);
      border-color: color-mix(in srgb, var(--a) 45%, transparent);
}

#blog-hubs .article-row .img-slot,
#blog-hubs .article-row .thumb {
      aspect-ratio: 4 / 3;
      width: 100%;
      border-radius: 12px;
      object-fit: cover;
      display: block;
}

#blog-hubs .article-row .body {
      display: flex;
      flex-direction: column;
      justify-content: center;
}

#blog-hubs .article-row .article-meta {
      padding: 0 0 6px;
}

#blog-hubs .article-row h3 {
      font-size: 15.5px;
      font-weight: 700;
      line-height: 1.4;
      padding: 0;
}

/* ── popular list ────────────────────────────────────── */

#blog-hubs .pop-nl {
      padding: 60px 0;
}

#blog-hubs .pop-list {
      max-width: 860px;
      margin: 0 auto;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 26px 26px 10px;
}

#blog-hubs .pop-list h2 {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 8px;
}

#blog-hubs .pop-list ol {
      list-style: none;
      counter-reset: pop;
      margin: 0;
      padding: 0;
}

#blog-hubs .pop-list li {
      counter-increment: pop;
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 15px 0;
      border-top: 1px solid var(--line);
      margin: 0;
}

#blog-hubs .pop-list li:first-of-type {
      border-top: none;
}

#blog-hubs .pop-list li::before {
      content: counter(pop, decimal-leading-zero);
      font-size: 13px;
      font-weight: 700;
      color: var(--faint);
      font-variant-numeric: tabular-nums;
}

#blog-hubs .pop-list li a {
      font-weight: 600;
      font-size: 15px;
      flex: 1;
      line-height: 1.45;
}

#blog-hubs .pop-list li a:hover {
      color: var(--yellow);
}

#blog-hubs .pop-list li .hub-badge {
      flex: none;
}

/* ── CTA band ────────────────────────────────────────── */

#blog-hubs .cta-band {
      padding: 30px 0 90px;
}

#blog-hubs .cta-band .inner {
      position: relative;
      overflow: hidden;
      text-align: center;
      background:
            radial-gradient(closest-side at 20% 0%, rgba(0,158,226,.16), transparent 60%),
            radial-gradient(closest-side at 85% 100%, rgba(89,54,221,.2), transparent 60%),
            var(--card);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 60px 30px;
}

#blog-hubs .cta-band h2 {
      font-size: clamp(1.6em, 3vw, 2.2em);
      font-weight: 700;
      letter-spacing: -.02em;
      margin-bottom: 12px;
      text-wrap: balance;
}

#blog-hubs .cta-band p {
      color: var(--muted);
      font-size: 16px;
      max-width: 56ch;
      margin: 0 auto 28px;
}

/* ══ hub archive (category) ═══════════════════════════ */

#blog-hubs .crumbs {
      padding: 22px 0 0;
      font-size: 13px;
      color: var(--faint);
}

#blog-hubs .crumbs .wrap {
      display: flex;
      align-items: center;
      gap: 10px;
}

#blog-hubs .crumbs a:hover {
      color: #fff;
}

#blog-hubs .crumbs .sep {
      opacity: .5;
}

#blog-hubs .crumbs .here {
      color: var(--muted);
}

#blog-hubs .hub-hero {
      position: relative;
      padding: 44px 0 54px;
}

#blog-hubs .hub-hero-glow {
      position: absolute;
      top: -300px;
      left: 50%;
      transform: translateX(-64%);
      width: 1300px;
      height: 900px;
      background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 14%, transparent), transparent 70%);
      pointer-events: none;
}

#blog-hubs .hub-hero .wrap {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
      gap: 56px;
      align-items: center;
}

#blog-hubs .hub-hero .eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      color: var(--a);
}

#blog-hubs .hub-hero h1 {
      font-size: clamp(2.2em, 4.4vw, 3.3em);
      font-weight: 700;
      line-height: 1.06;
      letter-spacing: -.025em;
      text-wrap: balance;
      margin-bottom: 18px;
      color: #fff;
}

#blog-hubs .hub-hero h1 em {
      font-style: normal;
      color: var(--a);
      position: relative;
      white-space: nowrap;
}

#blog-hubs .hub-hero h1 em::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 4px;
      height: 12px;
      background: color-mix(in srgb, var(--a) 32%, transparent);
      filter: blur(12px);
      z-index: -1;
}

#blog-hubs.is-ai .hub-hero h1 em {
      background: linear-gradient(90deg, #4db8f0, #a48bff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
}

#blog-hubs .hub-hero p.lede {
      font-size: 16.5px;
      color: var(--muted);
      max-width: 54ch;
      margin-bottom: 26px;
}

#blog-hubs .hub-hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      width: 100%;
      max-width: 520px;
      font-size: 13px;
      color: var(--faint);
}

#blog-hubs .hub-hero-stats b {
      display: block;
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      font-variant-numeric: tabular-nums;
}

#blog-hubs .hub-hero .hero-cover {
      aspect-ratio: 16 / 10;
}

#blog-hubs .hub-hero .hero-cover .hub-cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
      display: block;
}

/* ── start here path ─────────────────────────────────── */

#blog-hubs .path {
      padding: 10px 0 30px;
}

#blog-hubs .path-head {
      display: flex;
      align-items: baseline;
      gap: 16px;
      margin-bottom: 22px;
}

#blog-hubs .path-head h2 {
      font-size: 24px;
      font-weight: 700;
      letter-spacing: -.02em;
}

#blog-hubs .path-head span {
      font-size: 13.5px;
      color: var(--faint);
}

#blog-hubs .path-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
}

#blog-hubs .path-step {
      position: relative;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 20px 18px 18px;
      transition: transform .18s ease, border-color .18s ease;
}

#blog-hubs .path-step:hover {
      transform: translateY(-3px);
      border-color: color-mix(in srgb, var(--a) 50%, transparent);
}

#blog-hubs .path-step .step-no {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 26px;
      border-radius: 8px;
      font-size: 12.5px;
      font-weight: 700;
      color: var(--ink);
      background: var(--a);
      margin-bottom: 12px;
      font-variant-numeric: tabular-nums;
}

#blog-hubs .path-step h3 {
      font-size: 14.5px;
      font-weight: 700;
      line-height: 1.4;
}

#blog-hubs .path-step .dur {
      display: block;
      margin-top: 8px;
      font-size: 12px;
      color: var(--faint);
}

#blog-hubs .path-step::after {
      content: '→';
      position: absolute;
      top: 24px;
      right: 16px;
      color: var(--faint);
      opacity: .6;
}

#blog-hubs .path-step:last-child::after {
      content: '✓';
      color: var(--a);
}

/* ── listing ─────────────────────────────────────────── */

#blog-hubs .listing {
      padding: 30px 0 10px;
}

#blog-hubs .filter-bar {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 24px;
}

#blog-hubs .filter-bar .fchip {
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 99px;
      padding: 7px 16px;
      cursor: pointer;
      transition: color .15s, border-color .15s;
}

#blog-hubs .filter-bar .fchip:hover {
      color: #fff;
}

#blog-hubs .filter-bar .fchip.on {
      color: var(--ink);
      background: var(--a);
      border-color: transparent;
}

#blog-hubs .filter-bar .spacer {
      flex: 1;
}

#blog-hubs .filter-bar .sort {
      font-size: 13px;
      color: var(--faint);
}

#blog-hubs .filter-bar .sort b {
      color: var(--muted);
      font-weight: 600;
}

#blog-hubs .article-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
}

#blog-hubs .article-grid .article-card {
      --a: inherit;
}

#blog-hubs .article-grid .article-card h3 {
      flex: 1;
}

#blog-hubs .article-grid .tag-badge {
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--a);
      background: color-mix(in srgb, var(--a, #009ee2) 13%, transparent);
      padding: 3px 10px;
      border-radius: 99px;
      white-space: nowrap;
}

#blog-hubs .no-posts {
      color: var(--muted);
      padding: 30px 0;
}

#blog-hubs .pagination {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
      padding: 36px 0 10px;
      font-size: 14px;
      font-weight: 600;
}

#blog-hubs .pagination .page-numbers {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 38px;
      height: 38px;
      padding: 0 8px;
      border-radius: 10px;
      border: 1px solid var(--line);
      color: var(--muted);
      transition: color .15s, border-color .15s;
}

#blog-hubs .pagination a.page-numbers:hover {
      color: #fff;
      border-color: rgba(255,255,255,.25);
}

#blog-hubs .pagination .page-numbers.current {
      color: var(--ink);
      background: var(--a);
      border-color: transparent;
}

/* ── plugins behind the hub ──────────────────────────── */

#blog-hubs .hub-plugins {
      padding: 60px 0 20px;
}

#blog-hubs .hub-plugins .section-head {
      display: block;
      margin-bottom: 24px;
}

#blog-hubs .hub-plugins .section-head h2 {
      font-size: 28px;
}

#blog-hubs .hub-plugins .section-head .sub {
      max-width: 52ch;
      margin-top: 6px;
}

#blog-hubs .plugin-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
}

#blog-hubs .plugin-cards.single {
      grid-template-columns: minmax(0, 1fr);
      max-width: 640px;
}

#blog-hubs .plugin-card {
      position: relative;
      display: flex;
      gap: 20px;
      background: var(--card-2);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 24px;
      transition: transform .18s ease, border-color .18s ease;
}

#blog-hubs .plugin-card:hover {
      transform: translateY(-3px);
      border-color: color-mix(in srgb, var(--a) 45%, transparent);
}

#blog-hubs .plugin-card .picon {
      width: 58px;
      height: 58px;
      border-radius: 14px;
      background: var(--ink);
      border: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: center;
      flex: none;
}

#blog-hubs .plugin-card .picon img {
      width: 38px;
      height: 38px;
}

#blog-hubs .plugin-card .pcat {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--a);
}

#blog-hubs .plugin-card h3 {
      font-size: 18px;
      font-weight: 700;
      margin: 2px 0 6px;
}

#blog-hubs .plugin-card p {
      font-size: 13.5px;
      color: var(--muted);
}

#blog-hubs .plugin-card .plinks {
      display: flex;
      align-items: center;
      gap: 18px;
      margin-top: 14px;
      font-size: 13.5px;
      font-weight: 700;
}

#blog-hubs .plugin-card .plinks .more {
      color: var(--a);
}

#blog-hubs .plugin-card .plinks .inpack {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-weight: 600;
}

/* ── other hubs ──────────────────────────────────────── */

#blog-hubs .other-hubs {
      padding: 60px 0 30px;
}

#blog-hubs .other-hubs h2 {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 18px;
}

#blog-hubs .oh-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
}

#blog-hubs .oh-pill {
      --oa: var(--blue);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 99px;
      padding: 10px 18px 10px 14px;
      font-size: 13.5px;
      font-weight: 600;
      transition: transform .15s ease, border-color .15s ease;
      color: #fff;
}

#blog-hubs .oh-pill:hover {
      transform: translateY(-2px);
      border-color: color-mix(in srgb, var(--oa) 55%, transparent);
}

#blog-hubs .oh-pill .cube-mark {
      width: 10px;
      height: 10px;
      background: linear-gradient(to top, color-mix(in srgb, var(--oa) 70%, transparent), var(--oa));
}

/* ── responsive ──────────────────────────────────────── */

@media (max-width: 1080px) {
      #blog-hubs .hub-grid {
            grid-template-columns: repeat(2, 1fr);
      }

      #blog-hubs .path-grid {
            grid-template-columns: repeat(2, 1fr);
      }

      #blog-hubs .article-grid {
            grid-template-columns: repeat(2, 1fr);
      }
}

@media (max-width: 991px) {
      #blog-hubs .hub-landing-hero .wrap,
      #blog-hubs .hub-hero .wrap {
            grid-template-columns: 1fr;
      }

      #blog-hubs .hub-landing-hero .hero-art {
            display: none;
      }

      #blog-hubs .feat-grid,
      #blog-hubs .plugin-cards {
            grid-template-columns: 1fr;
      }
}

@media (max-width: 620px) {
      #blog-hubs .hub-landing-hero {
            padding-top: 54px;
      }

      #blog-hubs .hero-stats,
      #blog-hubs .hub-hero-stats {
            gap: 14px;
      }

      #blog-hubs .hub-grid,
      #blog-hubs .path-grid,
      #blog-hubs .article-grid {
            grid-template-columns: 1fr;
      }

      #blog-hubs .article-row {
            grid-template-columns: 110px 1fr;
      }

      #blog-hubs .path-head {
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
      }

      #blog-hubs .plugin-card {
            flex-direction: column;
      }

      #blog-hubs .section-head {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
      }
}
