/* Veerhan Insights (Blogs & Case Studies) CSS */

/* ── DARK HERO NAV OVERRIDE ──
   On blogs/case-studies the hero is dark (#0E0E0E).
   Until the user scrolls, the nav is transparent — make links white so they show.
*/
nav:not(.scrolled) .nav-links a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.85) !important;
}
nav:not(.scrolled) .nav-links a:not(.nav-cta)::after {
  background: white !important;
}
nav:not(.scrolled) .nav-cta {
  background: white !important;
  color: var(--black) !important;
}
nav:not(.scrolled) .nav-cta:hover {
  background: var(--orange) !important;
  color: white !important;
}
/* Dropdown stays readable on dark bg */
nav:not(.scrolled) .dropdown-menu {
  background: #1a1a1a !important;
  border-color: rgba(255,255,255,0.1) !important;
}
nav:not(.scrolled) .dropdown-menu li a {
  color: rgba(255,255,255,0.8) !important;
}
nav:not(.scrolled) .dropdown-menu li a:hover {
  background: rgba(244,107,27,0.15) !important;
  color: var(--orange) !important;
}
/* Chevron */
nav:not(.scrolled) .chevron {
  color: rgba(255,255,255,0.85);
}


/* ── HERO ── */
.insights-hero {
  background: var(--black);
  padding: 140px 64px 80px;
  position: relative;
  overflow: hidden;
}
.insights-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(244,107,27,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.insights-hero-inner {
  max-width: 900px;
  position: relative;
}
.insights-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.insights-breadcrumb a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.insights-breadcrumb a:hover { color: var(--orange); }
.insights-breadcrumb .current { color: rgba(255,255,255,0.6); }
.insights-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 16px;
  background: rgba(244,107,27,0.1);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(244,107,27,0.2);
}
.insights-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.insights-title .ol { color: var(--orange); }
.insights-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 620px;
}

/* ── GRID SECTION ── */
.insights-section {
  background: var(--white);
  padding: 80px 64px;
}
.insights-container {
  max-width: 1280px;
  margin: 0 auto;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* ── CARD ── */
.insight-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}
.insight-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.insight-card:hover .insight-card-image { transform: scale(1.03); }
.insight-card-image-wrap { overflow: hidden; }
.insight-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.insight-chip {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange-pale);
  color: var(--orange-deep);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.insight-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.insight-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.insight-card-title a:hover { color: var(--orange); }
.insight-card-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.insight-card-byline {
  font-size: 13px;
  color: var(--gray);
}
.insight-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}
.insight-link:hover { color: var(--orange-deep); }

/* ── ARTICLE ── */
.article-wrap {
  background: white;
  padding: 80px 64px;
}
.article-container {
  max-width: 800px;
  margin: 0 auto;
}
.article-featured {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 36px;
  display: block;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--dark);
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
  margin: 36px 0 16px;
  line-height: 1.2;
}
.article-content h2 { font-size: 28px; }
.article-content h3 { font-size: 22px; }
.article-content h4 { font-size: 18px; }
.article-content p { margin-bottom: 20px; }
.article-content a { color: var(--orange); text-decoration: underline; }
.article-content img { max-width: 100%; border-radius: 12px; margin: 20px 0; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--orange-pale);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--dark);
}
.article-content pre, .article-content code {
  font-family: monospace;
  background: var(--light-gray);
  border-radius: 8px;
  font-size: 14px;
}
.article-content pre { padding: 20px; overflow-x: auto; margin: 20px 0; }
.article-content code { padding: 2px 6px; }
.article-content strong { color: var(--black); font-weight: 700; }

/* ── RELATED ── */
.article-related {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.article-related h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

/* ── EMPTY STATE ── */
.insights-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}
.insights-empty p { font-size: 17px; margin-bottom: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .insights-hero { padding: 120px 24px 60px; }
  .insights-section { padding: 60px 24px; }
  .article-wrap { padding: 60px 24px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-title { letter-spacing: -1px; }
}
@media (max-width: 600px) {
  .insights-hero { padding: 100px 20px 48px; }
  .insights-section { padding: 48px 20px; }
  .article-wrap { padding: 48px 20px; }
  .insight-card-body { padding: 18px; }
  .article-content { font-size: 16px; }
}
