/* ───────────────────────────────────────────────
   INSIGHTS PAGE STYLES
─────────────────────────────────────────────── */

/* Hero */
.insights-hero {
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(66, 238, 253, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(27, 117, 178, 0.08), transparent 70%),
    var(--bg);
  padding: clamp(60px, 9vw, 100px) 0 clamp(40px, 6vw, 60px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.insights-headline {
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 20px;
}
.insights-headline em {
  color: var(--brand-blue);
  font-style: normal;
}
.insights-sub {
  margin: 28px auto 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-muted);
}
.insights-stats {
  margin-top: 36px;
  display: inline-flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.insights-stats .stat-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.insights-stats .stat-num {
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 16px;
}

/* Filter chips */
.insights-filters {
  padding: 28px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 60px;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(247, 247, 247, 0.92);
}
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-chip {
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all .25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.filter-chip.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(27, 117, 178, 0.25);
}
.chip-count {
  font-size: 11px;
  background: rgba(0, 54, 99, 0.08);
  color: var(--brand-navy);
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 700;
  transition: all .25s var(--ease);
}
.filter-chip.active .chip-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Articles grid */
.insights-articles {
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 90px);
  background: #fff;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
@media (max-width: 600px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* Card */
.insight-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.insight-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.insight-card .insight-img {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.insight-card .insight-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.insight-card .insight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.insight-card:hover .insight-img img {
  transform: scale(1.05);
}

/* Letter mark for cards without images */
.insight-mark {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.insight-letter {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.insight-card .insight-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight-card .insight-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.insight-card .insight-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-navy);
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
  /* Limit to 4 lines */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card:hover .insight-title {
  color: var(--brand-blue);
}
.insight-card .insight-meta {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
}
.insight-card .read-link {
  color: var(--brand-blue);
  font-weight: 700;
  transition: gap .25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.insight-card:hover .read-link {
  gap: 8px;
}

/* Breadcrumb (reused from about page styling) */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.breadcrumb a { color: var(--brand-blue); transition: color .2s; }
.breadcrumb a:hover { color: var(--brand-navy); }
.breadcrumb .sep { color: var(--ink-faint); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-muted);
  font-size: 16px;
}
