/* ─── Blog Hero ─────────────────────────────────────────── */
.blog-hero {
  padding: 84px 0 40px;
}

.blog-hero-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

.blog-eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.blog-page-title {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -1.2px;
}

.blog-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 860px;
}

/* ─── Blog Sections ──────────────────────────────────────── */
.blog-section {
  padding: 18px 0 60px;
}

.blog-section-head {
  margin-bottom: 24px;
}

.blog-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.blog-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* ─── Filters ────────────────────────────────────────────── */
.blog-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 14px;
  margin-bottom: 24px;
}

.blog-filters input[type="text"],
.blog-filters select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  outline: none;
}

.blog-filters input[type="text"]:focus,
.blog-filters select:focus {
  border-color: rgba(77,163,255,0.6);
  box-shadow: 0 0 0 3px rgba(77,163,255,0.12);
}

.blog-filters option {
  color: #fff;
  background: #10172b;
}

/* ─── Grids ──────────────────────────────────────────────── */
.featured-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ─── Post Card ──────────────────────────────────────────── */
.post-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.post-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  flex-shrink: 0;
}

.post-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: rgba(77,163,255,0.12);
  color: #b9cbff;
  border: 1px solid rgba(77,163,255,0.2);
  align-self: flex-start;
}

.post-title {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-excerpt {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
  flex: 1;
}

.post-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

/* ─── Empty State ────────────────────────────────────────── */
.blog-empty {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  color: var(--muted);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .blog-filters,
  .featured-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding: 56px 0 28px;
  }

  .blog-hero-box {
    padding: 24px;
    border-radius: 22px;
  }

  .blog-page-title {
    font-size: 2.2rem;
  }
}