/* ─────────────────────────────────────────────────────────────
   GNLAB — Blog styles
   Load AFTER styles.css + theme-light.css on /blog and post pages.
   Light theme (white / petrol teal). Reuses the site colour vars.
───────────────────────────────────────────────────────────── */

.blog-hero {
  background: linear-gradient(180deg, #f0f4f3 0%, #ffffff 100%);
  padding: 80px 0 48px;
}
.blog-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.blog-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #6b9b91);
  margin: 0 0 14px;
}
.blog-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text, #1a2e2b);
  margin: 0 0 16px;
}
.blog-hero p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-body, #2d4845);
  margin: 0 auto;
  max-width: 620px;
}

/* ── Post grid (index) ───────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 56px auto 0;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card, #f7f9f8);
  border: 1px solid var(--border, #ccdeda);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.blog-card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #6b9b91);
  margin: 0 0 10px;
}
.blog-card h2 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text, #1a2e2b);
  margin: 0 0 10px;
}
.blog-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body, #2d4845);
  margin: 0 0 18px;
}
.blog-card-meta {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-muted, #557470);
  display: flex;
  gap: 12px;
  align-items: center;
}
.blog-card-more { color: var(--accent, #6b9b91); font-weight: 600; }

/* ── Article (single post) ──────────────────────── */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.article-head { padding: 72px 0 8px; }
.article-crumbs {
  font-size: 0.84rem;
  color: var(--text-muted, #557470);
  margin: 0 0 22px;
}
.article-crumbs a { color: var(--text-muted, #557470); text-decoration: none; }
.article-crumbs a:hover { color: var(--accent, #6b9b91); }
.article-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #6b9b91);
  margin: 0 0 12px;
}
.article-head h1 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--text, #1a2e2b);
  margin: 0 0 16px;
}
.article-meta {
  font-size: 0.86rem;
  color: var(--text-muted, #557470);
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 8px;
}
.article-body { padding: 24px 0 8px; }
.article-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-body, #2d4845);
  margin: 0 0 20px;
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text, #1a2e2b);
  line-height: 1.3;
  margin: 44px 0 16px;
}
.article-body h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--accent, #6b9b91);
  margin: 30px 0 12px;
}
.article-body ul { margin: 0 0 20px; padding-left: 22px; }
.article-body li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body, #2d4845);
  margin-bottom: 10px;
}
.article-body strong { color: var(--text, #1a2e2b); }
.article-body a { color: var(--accent, #6b9b91); font-weight: 600; }
.article-lead {
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
  color: var(--text, #1a2e2b) !important;
}
.article-divider {
  border: none;
  border-top: 1px solid var(--border, #ccdeda);
  margin: 40px 0;
}

/* ── Pull-note / callout ────────────────────────── */
.article-note {
  background: var(--bg-alt, #f0f4f3);
  border-left: 3px solid var(--accent, #6b9b91);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0 0 24px;
}
.article-note p { margin: 0; font-size: 0.96rem; }

/* ── End-of-post CTA ────────────────────────────── */
.article-cta {
  background: var(--bg-card, #f7f9f8);
  border: 1px solid var(--border, #ccdeda);
  border-radius: var(--radius, 12px);
  padding: 34px 30px;
  margin: 44px 0 12px;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text, #1a2e2b);
  margin: 0 0 10px;
}
.article-cta p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-body, #2d4845);
  margin: 0 auto 20px;
  max-width: 460px;
}

/* ── Medical / nutrition disclaimer ─────────────── */
.article-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted, #557470);
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0 20px;
}

/* ── Back-to-blog link ──────────────────────────── */
.article-back {
  display: inline-block;
  margin: 40px 0 0;
  color: var(--accent, #6b9b91);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .blog-hero h1 { font-size: 1.7rem; }
  .article-head h1 { font-size: 1.62rem; }
  .article-body p, .article-body li { font-size: 0.98rem; }
}
