/* ── BLOG: builds on main.css tokens (--primary, --gradient, --radius, --shadow, etc.) ── */

/* Listing hero */
.blog-hero {
  padding: 170px 24px 64px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient);
  opacity: 0.10;
}
.blog-hero-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  position: relative;
}
.blog-hero .section-eyebrow { background: rgba(255,255,255,0.10); color: var(--secondary); }
.blog-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 50px); font-weight: 900;
  color: white; line-height: 1.2; margin-bottom: 14px;
}
.blog-hero-desc { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto; }

/* Listing grid */
.blog-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: var(--transition); border: 1px solid transparent;
}
.blog-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: rgba(26,86,219,0.12);
}
.blog-card-body { padding: 28px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--primary); background: rgba(26,86,219,0.08);
  padding: 4px 12px; border-radius: 50px; margin-bottom: 14px;
}
.blog-card h3 { font-size: 19px; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 10px; }
.blog-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.65; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(15,23,42,0.06);
  font-size: 13px; color: var(--text-light);
}
.blog-card-link { color: var(--primary); font-weight: 600; }
.blog-card-link:hover { color: var(--primary-dark); }

/* Individual post hero */
.post-hero {
  padding: 170px 24px 56px;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient);
  opacity: 0.10;
}
.post-hero-inner { max-width: 760px; margin: 0 auto; position: relative; }
.post-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.post-breadcrumb a { color: rgba(255,255,255,0.75); }
.post-breadcrumb a:hover { color: var(--secondary); }
.post-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.10); color: var(--secondary);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}
.post-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 46px); font-weight: 900;
  color: white; line-height: 1.25; margin-bottom: 18px;
}
.post-hero-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.60); }

/* Post body */
.post-wrap { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  color: var(--dark); margin: 44px 0 18px;
}
.post-content h2:first-child { margin-top: 0; }
.post-content p { font-size: 16.5px; color: var(--text); line-height: 1.8; margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 22px; }
.post-content li { font-size: 16.5px; color: var(--text); line-height: 1.8; margin-bottom: 8px; }
.post-content strong { color: var(--dark); font-weight: 600; }
.post-content a { color: var(--primary); font-weight: 500; border-bottom: 1px solid rgba(26,86,219,0.25); }
.post-content a:hover { border-color: var(--primary); }

/* In-article CTA */
.post-cta {
  margin-top: 48px; padding: 36px 32px;
  background: var(--bg); border: 1px solid rgba(15,23,42,0.06);
  border-radius: var(--radius);
  text-align: center;
}
.post-cta p { color: var(--text-light); margin-bottom: 20px; font-size: 15.5px; }
.post-cta-title { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }

@media (max-width: 768px) {
  .blog-hero, .post-hero { padding-top: 130px; }
}