/* Theme: Blog / Insights articles
   Applied to insights.html and all blog post pages.
   Goal: readable, magazine-style typography for long-form content. */

.blog-post {
  background: #fff;
  color: #1d2027;
}

/* Dark header strip — gives the absolute-positioned site header a background
   so the white nav text is visible, and provides clearance over the article. */
.blog-post .post-header {
  padding: 160px 0 60px;
  background: #0a0a0a;
  color: #fff;
}

.blog-post .back-to-insights {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s, transform 0.2s;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.blog-post .back-to-insights:hover {
  color: #fff;
  transform: translateX(-3px);
}

.blog-post .back-to-insights::before {
  content: "←";
  font-size: 16px;
  line-height: 1;
}

.blog-post .post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary, #10a500);
  margin-bottom: 16px;
  font-weight: 600;
}

.blog-post .post-meta .post-date {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.blog-post .post-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff;
  max-width: 820px;
}

.blog-post .post-lede {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
  margin: 0 0 24px;
}

.blog-post .post-byline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
  display: inline-block;
}

.blog-post .post-byline strong {
  color: #fff;
}

.blog-post .post-hero {
  margin: 0 0 48px;
}

.blog-post .post-hero img {
  width: 100%;
  height: clamp(280px, 50vw, 520px);
  object-fit: cover;
  display: block;
}

.blog-post .post-hero figcaption {
  font-size: 12px;
  color: #6c757d;
  padding: 8px 24px;
  text-align: right;
}

.blog-post .post-body {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.blog-post .post-body p,
.blog-post .post-body li {
  font-size: 18px;
  line-height: 1.75;
  color: #2c3138;
  margin-bottom: 22px;
}

.blog-post .post-body h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  margin: 56px 0 20px;
  line-height: 1.25;
  color: #0a0a0a;
}

.blog-post .post-body h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  margin: 36px 0 14px;
  color: #0a0a0a;
}

.blog-post .post-body a {
  color: var(--color-primary, #10a500);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-post .post-body a:hover {
  text-decoration-thickness: 2px;
}

.blog-post .post-body ul,
.blog-post .post-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.blog-post .post-body blockquote {
  border-left: 4px solid var(--color-primary, #10a500);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-style: italic;
  color: #4a5057;
  font-size: 20px;
}

.blog-post .post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
}

.blog-post .post-body th,
.blog-post .post-body td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.blog-post .post-body th {
  background: #f7f9fb;
  font-weight: 700;
}

.blog-post .post-cta {
  background: #0a0a0a;
  color: #fff;
  padding: 60px 0;
  margin-top: 40px;
}

.blog-post .post-cta .container {
  max-width: 820px;
  text-align: center;
}

.blog-post .post-cta h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.blog-post .post-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  font-size: 18px;
}

.blog-post .post-cta .btn-cta {
  display: inline-block;
  background: var(--color-primary, #10a500);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s;
}

.blog-post .post-cta .btn-cta:hover {
  transform: translateY(-2px);
}

/* Insights listing page */
.insights-page {
  background: #fafbfc;
  min-height: 100vh;
}

.insights-page .insights-header {
  padding: 160px 0 70px;
  text-align: center;
  background: #0a0a0a;
  color: #fff;
}

.insights-page .insights-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.insights-page .insights-header p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
}

.insights-page .insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 40px 0 100px;
}

.insights-page .insight-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.insights-page .insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.insights-page .insight-card a {
  text-decoration: none;
  color: inherit;
  display: contents;
}

.insights-page .insight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.insights-page .insight-card .card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.insights-page .insight-card .card-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary, #10a500);
  margin-bottom: 12px;
  font-weight: 600;
}

.insights-page .insight-card h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #0a0a0a;
}

.insights-page .insight-card p {
  font-size: 15px;
  color: #4a5057;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.insights-page .insight-card .card-byline {
  font-size: 13px;
  color: #6c757d;
}
