/**
 * CODECURV INSIGHTS & EDITORIAL STYLES
 * Concept: The Kinetic Drafting Laboratory (Thought Leadership & Monographic Essays)
 */

/* ==========================================================================
   1. INSIGHTS DIRECTORY CATALOG (/insights)
   ========================================================================== */

.insights-catalog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.insight-card-featured {
  grid-column: span 12;
  background: var(--bg-sheet);
  border: 1px solid var(--rule-base);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  position: relative;
  transition: transform 140ms var(--ease-mechanical), border-color 140ms ease;
  box-sizing: border-box;
}

.insight-card-standard {
  grid-column: span 6;
  background: var(--bg-sheet);
  border: 1px solid var(--rule-base);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  position: relative;
  transition: transform 140ms var(--ease-mechanical), border-color 140ms ease;
  box-sizing: border-box;
}

.insight-card-featured:hover,
.insight-card-standard:hover {
  transform: translateY(-2px);
  border-color: var(--rule-strong);
}

.insight-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

/* ==========================================================================
   2. MONOGRAPHIC READING VIEW (/insights/[slug])
   ========================================================================== */

.article-hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--rule-base);
  position: relative;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw + 0.5rem, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: var(--space-4);
}

.article-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.5vw + 0.2rem, 1.35rem);
  line-height: 1.5;
  color: var(--ink-secondary);
  max-width: var(--container-reading);
}

.article-author-deck {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule-subtle);
  flex-wrap: wrap;
}

/* Monograph Body Column */
.article-reading-body {
  max-width: var(--container-reading);
  margin: var(--space-12) auto;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-secondary);
}

.article-reading-body p {
  margin-bottom: var(--space-6);
}

.article-reading-body h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-primary);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--rule-subtle);
}

.article-pull-quote-box {
  background: var(--bg-canvas-subtle);
  border: 1px solid var(--rule-base);
  border-left: 4px solid var(--vermilion);
  padding: var(--space-8);
  margin: var(--space-10) 0;
  box-sizing: border-box;
}

.article-pull-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw + 0.2rem, 1.65rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-primary);
}

/* ==========================================================================
   RESPONSIVE MATRIX
   ========================================================================== */

@media (max-width: 992px) {
  .insight-card-standard {
    grid-column: span 12;
  }
}

@media (max-width: 430px) {
  .insight-card-featured,
  .insight-card-standard {
    padding: var(--space-6) var(--space-4);
  }

  .article-pull-quote-box {
    padding: var(--space-6) var(--space-4);
  }

  .article-reading-body {
    font-size: 1rem;
    line-height: 1.7;
    margin: var(--space-8) auto;
  }
}