/* ============================================================================
   State of Insights: Insiders Edition — /learn/state-of-insights/ hub page.
   Editorial hub styling. Uses standard site chrome from base.njk.
   ============================================================================ */

.soi-hub {
  --hub-purple:   #341C4C;
  --hub-lilac:    #95569E;
  --hub-warm:     #FAFAFA;
  --hub-light:    #F3F4F6;
  --hub-cool:     #6B7280;
  --hub-charcoal: #1F2937;
  --hub-border:   #E5E7EB;
}

/* ── Buttons (scoped so we don't leak styles into other pages) ──────────── */
.soi-hub .hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hub-purple);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--hub-purple);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  line-height: 1;
  min-width: 0;
}
.soi-hub .hp-btn:hover {
  background: #4a2a66;
  border-color: #4a2a66;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(52, 28, 76, 0.2);
  text-decoration: none;
}
.soi-hub .hp-btn--outline {
  background: transparent;
  color: var(--hub-purple);
  border: 1px solid var(--hub-purple);
}
.soi-hub .hp-btn--outline:hover {
  background: var(--hub-purple);
  color: #ffffff;
}
.soi-hub .hp-btn--orange {
  background: #ff8c32;
  border-color: #ff8c32;
  color: #ffffff;
}
.soi-hub .hp-btn--orange:hover {
  background: #e77923;
  border-color: #e77923;
  box-shadow: 0 6px 18px rgba(255, 140, 50, 0.35);
}
.soi-hub .hp-btn--outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.55);
}
.soi-hub .hp-btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* ── Hero CTA pair (sits inside faqs-page__hero, which centers content) ── */
.soi-hub__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  align-items: center;
  justify-content: center;
}
.soi-hub__hero-meta {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--hub-cool);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: center;
}
.soi-hub__hero-meta span {
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.soi-hub__hero-meta strong { color: var(--hub-purple); font-weight: 600; }

/* On the intro hero, the secondary CTA needs the light-bg outline treatment
   since the hero itself is warm-white, not dark. Use plain --outline there
   instead of --outline-light. */
.soi-hub__hero-actions .hp-btn--outline-light {
  color: var(--hub-purple);
  border-color: var(--hub-purple);
  background: transparent;
}
.soi-hub__hero-actions .hp-btn--outline-light:hover {
  background: var(--hub-purple);
  color: #ffffff;
  border-color: var(--hub-purple);
}

/* ── "What's inside" — 5 topic teasers ──────────────────────────────────── */
.soi-hub__section {
  padding: 4rem 0;
}
.soi-hub__section--tint {
  background: var(--hub-warm);
}
.soi-hub__section-head {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.soi-hub__section .soi-hub__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hub-lilac);
  margin: 0 0 0.75rem;
}
.soi-hub__section .soi-hub__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--hub-purple);
}
.soi-hub__section .soi-hub__lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--hub-cool);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.soi-hub__topics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1160px;
  margin: 0 auto;
}
.soi-hub__topic {
  background: #ffffff;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.soi-hub__topic:hover {
  border-color: var(--hub-lilac);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52,28,76,0.08);
}
.soi-hub__topic .soi-hub__topic-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hub-lilac);
  margin: 0 0 0.65rem;
}
.soi-hub__topic .soi-hub__topic-title {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--hub-purple);
  line-height: 1.3;
}
.soi-hub__topic-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--hub-cool);
}

/* ── Live show band ─────────────────────────────────────────────────────── */
.soi-hub__liveband {
  background: linear-gradient(135deg, var(--hub-purple) 0%, #4a2a66 100%);
  padding: 4rem 0;
  color: #ffffff;
}
.soi-hub__liveband-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.soi-hub__liveband-body { min-width: 0; }
.soi-hub__liveband-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 1.25rem;
}
.soi-hub__liveband-eyebrow .soi-hub__live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 3px rgba(255,77,77,0.25);
}
.soi-hub__liveband .soi-hub__liveband-title {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 2.8vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}
.soi-hub__liveband-text {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 42rem;
}
.soi-hub__liveband-when {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.75rem;
}
.soi-hub__liveband-when svg { width: 18px; height: 18px; }

.soi-hub__speakers {
  display: flex; flex-direction: column; gap: 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.35rem;
}
.soi-hub__speakers .soi-hub__speakers-label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.soi-hub__speaker {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.soi-hub__speaker:last-of-type { border-bottom: none; padding-bottom: 0; }
.soi-hub__speaker-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}
.soi-hub__speaker-role {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
}

/* ── Sample credibility strip ───────────────────────────────────────────── */
.soi-hub__sample {
  padding: 3rem 0;
  background: #ffffff;
  border-top: 1px solid var(--hub-border);
  border-bottom: 1px solid var(--hub-border);
}
.soi-hub__sample-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.soi-hub__sample .soi-hub__sample-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hub-lilac);
  margin: 0 0 0.85rem;
}
.soi-hub__sample-text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--hub-charcoal);
  font-weight: 500;
}
.soi-hub__sample-text strong {
  color: var(--hub-purple);
  font-weight: 700;
}

/* ── Bottom CTA band ────────────────────────────────────────────────────── */
.soi-hub__cta {
  background: var(--hub-purple);
  padding: 4rem 0;
  text-align: center;
  color: #ffffff;
}
.soi-hub__cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.soi-hub__cta .soi-hub__cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}
.soi-hub__cta-text {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}
.soi-hub__cta-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.75rem;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .soi-hub__topics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .soi-hub__liveband-inner { grid-template-columns: 1fr; gap: 2rem; }
  .soi-hub__section { padding: 3rem 0; }
  .soi-hub__liveband { padding: 3rem 0; }
  .soi-hub__cta { padding: 3rem 0; }
  .soi-hub__sample { padding: 2.5rem 0; }
}
@media (max-width: 560px) {
  .soi-hub__topics { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .soi-hub__hero-actions,
  .soi-hub__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .soi-hub__hero-actions .hp-btn,
  .soi-hub__cta-actions .hp-btn {
    justify-content: center;
    text-align: center;
  }
}
