/* ==========================================
   Insights Page
   Uses global .grid/.grid-2 and .card styles from main.css
========================================== */

.insights-hero .hero-inner { max-width: 980px; }
.insights-hero .kicker { margin-bottom: 12px; }
.insights-hero p { max-width: 76ch; }
.insights-intro { padding-top: 24px; }

.insights-overview {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
  margin-bottom: 48px;
}

.insights-panel,
.insights-card,
.insights-category {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 28px;
}

.insights-panel h2,
.insights-card h2,
.insights-category h2,
.insights-article-card h3 { margin-top: 0; }

.insights-card ul,
.insights-panel ul,
.insights-category ul {
  margin: 0;
  padding-left: 1.2rem;
}

.insights-card li + li,
.insights-panel li + li,
.insights-category li + li { margin-top: 10px; }

.insights-card p:last-child,
.insights-panel p:last-child,
.insights-category p:last-child,
.insights-article-card p:last-child { margin-bottom: 0; }

.insights-grid { display: grid; gap: 24px; }
.insights-grid.insights-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.insights-articles { margin-top: 12px; }
.insights-articles-grid { margin-top: 18px; }

.insights-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insights-article-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.insights-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(59, 108, 255, 0.12);
  color: #2349c7;
}

.insights-link { font-weight: 700; text-decoration: none; }
.insights-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .insights-overview,
  .insights-grid.insights-grid-2 { grid-template-columns: 1fr; }
}

/* tighten spacing between intro and articles */
.insights-intro {
  padding-bottom: 12px; /* reduce from default */
}

.insights-articles {
  margin-top: 0;       /* remove extra push */
  padding-top: 12px;   /* smaller top spacing */
}

.insights-articles h2 {
  margin-top: 0;
}

.insights-intro {
  padding-top: 64px;
  padding-bottom: 12px;
}

.insights-articles {
  margin-top: 0;
  padding-top: 48px;
}

.insights-articles h2 {
  margin-top: 0;
}

.insights-overview .insights-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: 720px;
}

/* Soften right card */
.insights-card {
  background: #f8fafc;
}

/* 🔧 FIX: tighten intro spacing */
.insights-intro {
  padding-bottom: 16px; /* was too big */
}

/* 🔧 FIX: create intentional separation */
.insights-articles {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* tighten heading spacing */
.insights-articles h2 {
  margin-top: 0;
}
