/* ============================================================
   CreatorTax — Creator Hub LISTING styles
   Ported from _handoff_hub_pages/ui_kits/hub/hub.css (source of truth).
   Nav + footer are the site's existing ones (kept); this file styles the
   hub body only: hero, marquee, featured lead, filter pills, card grid.
   ============================================================ */
:root {
  --font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800;
  --fs-sm: 0.95rem; --fs-body-lg: 1.15rem;
  --ls-tight: -2px; --ls-heading: -0.6px; --ls-eyebrow: 1.8px; --ls-wide: 0.8px;
  --lh-body: 1.6;
  --container: 1140px; --container-wide: 1280px;
  --radius-md: 14px; --radius-lg: 18px; --radius-xl: 24px; --radius-pill: 100px;
  --shadow-card: 0 2px 6px rgba(27,20,16,0.05); --shadow-raised: 0 8px 24px rgba(27,20,16,0.08); --shadow-hover: 0 16px 40px rgba(27,20,16,0.12);
  --ease: cubic-bezier(0.4,0,0.2,1); --dur-fast: 0.18s; --dur: 0.25s; --dur-slow: 0.35s;
  --lift-sm: translateY(-2px); --lift-md: translateY(-4px);
}

body { background: var(--ct-off-white); color: var(--ct-black); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }

/* ---------- Hero ---------- */
.hub-hero { padding: 5rem 2rem 3rem; text-align: center; background: var(--ct-off-white); }
.hub-hero-inner { max-width: 820px; margin: 0 auto; }
.hub-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: var(--ct-orange-soft); color: var(--ct-orange-deep); font-size: 0.72rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); margin-bottom: 1.4rem; }
.hub-hero h1 { font-family: var(--font-display); font-size: 4rem; font-weight: var(--fw-extrabold); line-height: 1.02; letter-spacing: var(--ls-tight); color: var(--ct-black); margin-bottom: 1.2rem; }
.hub-hero h1 .hl { color: var(--ct-orange); }
.hub-hero p { font-size: var(--fs-body-lg); color: var(--ct-dark-gray); max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* ---------- Marquee signature ---------- */
.hub-marquee { background: var(--ct-black); overflow: hidden; padding: 0.9rem 0; margin-top: 3rem; }
.hub-marquee .marquee-track { display: inline-flex; white-space: nowrap; animation: hub-marquee 34s linear infinite; }
.hub-marquee .marquee-item { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.01em; color: #fff; display: inline-flex; align-items: center; gap: 1.4rem; padding-left: 1.4rem; }
.hub-marquee .marquee-item .sep { color: var(--ct-orange); font-size: 0.85rem; }
@keyframes hub-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hub-marquee .marquee-track { animation: none; } }

/* ---------- Articles ---------- */
.articles { padding: 4.5rem 2rem 6rem; background: var(--ct-off-white); }
.articles-inner { max-width: var(--container); margin: 0 auto; }

/* Featured lead */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--ct-line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); margin-bottom: 2.5rem; cursor: pointer; transition: box-shadow var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); text-align: left; font-family: inherit; padding: 0; text-decoration: none; }
.featured:hover { box-shadow: var(--shadow-hover); transform: var(--lift-sm); }
.featured-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.featured-body .flabel { font-size: 0.72rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); color: var(--ct-orange-deep); }
.featured-body h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: var(--fw-extrabold); line-height: 1.08; letter-spacing: var(--ls-heading); color: var(--ct-black); margin: 0.3rem 0; }
.featured-body p { color: var(--ct-dark-gray); font-size: 1.05rem; line-height: 1.6; }
.featured-media { position: relative; min-height: 340px; background: linear-gradient(135deg, #ECECF1, #F6F6F8); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.featured-read { color: var(--ct-orange-deep); font-weight: var(--fw-bold); font-size: 0.95rem; display: inline-flex; gap: 0.5rem; margin-top: 0.4rem; }

/* Filter + grid */
.filter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-pill { font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: 0.82rem; padding: 0.5rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--ct-line); background: #fff; color: var(--ct-dark-gray); cursor: pointer; transition: all var(--dur) var(--ease); }
.filter-pill:hover { border-color: var(--ct-black); color: var(--ct-black); }
.filter-pill.on { background: var(--ct-black); border-color: var(--ct-black); color: #fff; }
.tag-pill { display: inline-block; white-space: nowrap; padding: 0.32rem 0.8rem; border-radius: var(--radius-pill); font-size: 0.66rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); color: #fff; }
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.acard { background: #fff; border: 1px solid var(--ct-line); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); transition: transform var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); display: flex; flex-direction: column; cursor: pointer; text-align: left; font-family: inherit; padding: 2rem; text-decoration: none; }
.acard:hover { transform: var(--lift-md); border-color: var(--ct-orange); box-shadow: var(--shadow-raised); }
.acard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.acard-idx { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 1.05rem; color: var(--ct-line); }
.acard:hover .acard-idx { color: var(--ct-orange); }
.acard h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: var(--fw-bold); color: var(--ct-black); line-height: 1.18; letter-spacing: var(--ls-heading); margin: 0 0 0.7rem; }
.acard p { color: var(--ct-dark-gray); font-size: 0.98rem; line-height: 1.55; flex: 1; margin: 0 0 1.4rem; }
.acard-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1.1rem; border-top: 1px solid var(--ct-line); }
.acard-date { font-size: 0.8rem; color: var(--ct-muted); font-weight: var(--fw-medium); }
.read-more { color: var(--ct-orange-deep); font-weight: var(--fw-bold); font-size: 0.9rem; display: inline-flex; gap: .4rem; transition: gap var(--dur); }
.acard:hover .read-more { gap: .75rem; }
.acard.hide { display: none; }

@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 240px; }
  .agrid { grid-template-columns: 1fr; }
  .hub-hero h1 { font-size: 2.6rem; }
}
