/* ============================================================
   Innovaite — Insights (blog) styles
   Index + article. Reuses tokens/nav/footer from styles.css.
   ============================================================ */

/* ---------------- index ---------------- */
.insights-hero {
  padding: 90px 64px 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.insights-h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 80px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 880px;
  text-wrap: balance;
}
.insights-h1 em { font-style: italic; }
.insights-lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

.post-grid {
  padding: 0 64px 110px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 40px;
}
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.post-card-thumb {
  height: 230px;
  background: #17100A;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 22px;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.post-card:hover .post-card-thumb img,
.post-card:focus-visible .post-card-thumb img { transform: scale(1.03); }
.post-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.post-meta .cat { color: var(--red); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.post-card-h {
  margin: 14px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.12;
  text-wrap: balance;
}
.post-card-excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.post-card-read {
  font-size: 14px;
  font-weight: 500;
  color: var(--red);
  margin-top: 16px;
}
.post-card:hover .post-card-read,
.post-card:focus-visible .post-card-read { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- article ---------------- */
.post-wrap {
  padding: 64px 64px 0 64px;
  display: flex;
  justify-content: center;
}
.post-inner { width: 760px; max-width: 100%; }

.post-back {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-decoration: none;
}
.post-back:hover, .post-back:focus-visible { color: var(--red); }

.post-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--red);
  margin: 28px 0 18px;
}
.post-h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.post-h1 em { font-style: italic; }
.post-byline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.post-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.post-byline strong { color: var(--ink); font-weight: 600; }

.post-hero {
  width: 760px;
  max-width: 100%;
  height: 340px;
  margin: 36px auto 8px auto;
  background: #17100A;
  border: 1px solid var(--line);
  overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-hero-cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-align: center;
  margin: 0 0 8px;
}

/* prose */
.post-body { padding-top: 28px; }
.post-standfirst {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 36px;
  text-wrap: pretty;
}
.post-body p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.78;
  color: #2B2620;
  text-wrap: pretty;
}
.post-body h2 {
  margin: 48px 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.post-body h3 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
  color: var(--ink);
}
.post-body ul, .post-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: #2B2620;
}
.post-body li { margin-bottom: 10px; }
.post-body li::marker { color: var(--red); }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body a:hover, .post-body a:focus-visible { text-decoration-thickness: 2px; }

.post-pullquote {
  margin: 40px 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-style: italic;
  font-size: 29px;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.post-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

/* end matter */
.post-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 8px; }
.post-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  border: 1px solid var(--line-2);
  padding: 5px 12px;
  border-radius: 100px;
}

/* dark CTA */
.post-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 84px 64px 0 64px;
  margin-top: 80px;
}
.post-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 76px;
}
.post-cta-text { display: flex; flex-direction: column; gap: 14px; }
.post-cta-eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--red-light); }
.post-cta-h {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  max-width: 620px;
  text-wrap: balance;
}
.post-cta-btn {
  font-size: 15px;
  font-weight: 500;
  color: var(--bg);
  background: var(--red);
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.post-cta-btn:hover, .post-cta-btn:focus-visible { background: var(--bg); color: var(--ink); }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .insights-h1 { font-size: 60px; }
}
@media (max-width: 860px) {
  .insights-hero, .post-grid, .post-wrap, .post-cta { padding-left: 24px; padding-right: 24px; }
  .insights-h1 { font-size: 46px; }
  .post-grid { grid-template-columns: 1fr; gap: 36px; }
  .post-h1 { font-size: 40px; }
  .post-standfirst { font-size: 22px; }
  .post-body p, .post-body ul, .post-body ol { font-size: 17px; }
  .post-pullquote { font-size: 24px; }
  .post-cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .post-cta-h { font-size: 32px; }
  .post-hero { height: 240px; }
}
@media (max-width: 520px) {
  .insights-h1 { font-size: 38px; }
  .post-h1 { font-size: 32px; }
}
