/* Blog listing redesign — centered header, featured hero card and
   post cards, theme colors only. Loaded on the blog posts page only
   (see emc_blog_redesign_assets). Pagination styling stays the
   theme's (already modern). */

/* Blog header: centered, pill eyebrow, strong title. */
.ef-bloghead {
  text-align: center;
  margin-bottom: 2.5rem;
}
.ef-bloghead .ef-eyebrow {
  display: inline-block;
  background: #eef2ff;
  color: #6366f1;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ef-bloghead h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0.75rem 0 0.5rem;
}
.ef-bloghead p {
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Featured hero post: white card (layout stays the theme's). */
.ef-bloghero {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  margin-bottom: 2rem;
}
.ef-bloghero__title {
  font-weight: 800;
}
.ef-bloghero__title a:hover {
  color: #6366f1;
}

/* Post grid breathing room (columns stay the theme's). */
.ef-bloggrid {
  gap: 1.5rem;
}

/* Post cards: bordered white cards. */
.ef-postcard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.ef-postcard__body {
  padding: 1.5rem;
}
.ef-postcard__cat {
  color: #6366f1;
  font-weight: 600;
}
.ef-postcard__date {
  color: #64748b;
}
.ef-postcard__title {
  font-weight: 700;
}
.ef-postcard__title a:hover {
  color: #6366f1;
}
