/* ═══════════════════════════════════════════════════════════
   SIGNAASAT - blog.css  (v6)
   Page-specific styles for the Insights listing.
   Built on site.css tokens. Reuses shared classes elsewhere.
   ═══════════════════════════════════════════════════════════ */

.blog-section { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.blog-section:first-of-type { border-top: none; }

/* shared category eyebrow */
.post-cat {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

/* shared meta row */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.post-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.7;
}
.post-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.post-read i, .post-read .lucide { width: 12px; height: 12px; }

/* ─────────────  FEATURED POST  ───────────── */
.post-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.post-feature-cover { display: block; overflow: hidden; min-height: 300px; }
.post-feature-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-feature-cover.is-ph { background: linear-gradient(135deg, var(--accent), var(--gold)); display: flex; align-items: flex-end; padding: 22px; }
.post-feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 3.5vw, 48px); justify-content: center; }
.post-feature-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.post-feature-title a { transition: color .18s var(--ease); }
.post-feature-title a:hover { color: var(--accent); }
.post-feature-excerpt {
  color: var(--ink-2);
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.65;
  max-width: 60ch;
}
.post-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.post-feature-link i, .post-feature-link .lucide { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.post-feature-link:hover i, .post-feature-link:hover .lucide { transform: translate(2px, -2px); }

/* ─────────────  ARTICLE GRID  ───────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  color: var(--ink);
  transition: border-color .22s var(--ease), transform .22s var(--ease), background .22s var(--ease);
}
.post-cover { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-cover.is-ph { display: flex; align-items: flex-end; padding: 14px; background: linear-gradient(135deg, var(--accent), var(--gold)); }
.post-cover-tag { color: #fff; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.post-card:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.post-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.022em;
  transition: color .18s var(--ease);
}
.post-card:hover .post-title { color: var(--accent); }

.post-excerpt {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.post-card .post-meta { margin-top: auto; padding-top: 6px; }

/* CTA card variant (sits in the grid) */
.post-card-cta { background: var(--bg-2); }
.post-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.post-cta-link i, .post-cta-link .lucide { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.post-card-cta:hover .post-cta-link i, .post-card-cta:hover .post-cta-link .lucide { transform: translate(2px, -2px); }
.post-card-cta:hover .post-title { color: var(--accent); }

/* ─────────────  RESPONSIVE  ───────────── */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature-cover { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card-body { padding: 20px; }
}
