
/* ================================================================
   ELIZA INFOTECH — PREMIUM BLOG ARCHIVE STYLES
   Light Design System — matches style-custom.css variables
   Inspired by: The Verge, TechCrunch, Smashing Magazine, CSS-Tricks
================================================================ */

/* ----------------------------------------------------------------
   HERO SECTION — Vibrant gradient, light-mode aware
---------------------------------------------------------------- */
.ei-blog-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #1d4ed8 100%);
  padding: 72px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Decorative mesh background */
.ei-blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(29,78,216,.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(0,229,255,.1) 0%, transparent 55%);
  pointer-events: none;
}

/* Dot-grid texture */
.ei-blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.ei-blog-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.ei-blog-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7dd3fc;
  background: rgba(125,211,252,.12);
  border: 1px solid rgba(125,211,252,.25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.ei-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56,189,248,0.6);
  animation: ei-pulse 1.8s infinite;
}

@keyframes ei-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(56,189,248,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}

.ei-blog-hero-title {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.ei-blog-hero-title span {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ei-blog-hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}

/* Search bar */
.ei-blog-search {
  width: 100%;
  max-width: 560px;
}

.ei-blog-search-inner {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 5px 5px 5px 18px;
  gap: 12px;
  transition: border-color .25s, box-shadow .25s;
  backdrop-filter: blur(8px);
}

.ei-blog-search-inner:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56,189,248,.2);
}

.ei-blog-search-inner .fa-search {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  flex-shrink: 0;
}

.ei-blog-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--ei-font-sans);
  font-size: 15px;
  min-width: 0;
}

.ei-blog-search-input::placeholder { color: rgba(255,255,255,.4); }

.ei-blog-search-btn {
  background: #1d4ed8;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--ei-font-sans);
  transition: background .2s, transform .15s;
  white-space: nowrap;
}

.ei-blog-search-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* Hero glow orbs */
.ei-blog-hero-glow {
  position: absolute;
  top: -80px;
  right: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------------------------------------
   FILTER TABS
---------------------------------------------------------------- */
.ei-blog-filters-wrap {
  background: #ffffff;
  border-bottom: 1px solid var(--ei-border);
  position: sticky;
  top: 68px;
  z-index: 90;
  box-shadow: 0 1px 12px rgba(15,23,42,.06);
}

.ei-blog-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ei-blog-filters::-webkit-scrollbar { display: none; }

.ei-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ei-text-secondary);
  background: #f8fafc;
  border: 1.5px solid var(--ei-border);
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.ei-filter-pill i {
  font-size: 12px;
  opacity: .7;
}

.ei-filter-pill:hover {
  border-color: var(--ei-primary);
  color: var(--ei-primary);
  background: #eff6ff;
}

.ei-filter-pill.active {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  box-shadow: 0 2px 8px rgba(29,78,216,.3);
}

.ei-filter-count {
  background: rgba(0,0,0,.08);
  color: inherit;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
}

.ei-filter-pill.active .ei-filter-count {
  background: rgba(255,255,255,.25);
}

/* ----------------------------------------------------------------
   BODY LAYOUT
---------------------------------------------------------------- */
.ei-blog-body {
  padding: 52px 0 80px;
  background: var(--ei-bg-page);
}

.ei-blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ----------------------------------------------------------------
   FEATURED POST — Magazine style hero card
---------------------------------------------------------------- */
.ei-post-featured {
  background: #ffffff;
  border: 1px solid var(--ei-border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow .3s ease, transform .3s ease;
  box-shadow: var(--ei-shadow-sm);
}

.ei-post-featured:hover {
  box-shadow: 0 20px 40px -8px rgba(29,78,216,.14), 0 8px 16px -4px rgba(15,23,42,.06);
  transform: translateY(-3px);
}

.ei-post-featured-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.ei-post-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.ei-post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}

.ei-post-featured:hover .ei-post-featured-img img {
  transform: scale(1.05);
}

/* Gradient overlay on image */
.ei-post-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.3) 0%, transparent 60%);
  pointer-events: none;
}

.ei-post-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(29,78,216,.4);
}

.ei-post-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.ei-post-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ei-post-cat-badge {
  background: #eff6ff;
  color: var(--ei-primary);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .07em;
  transition: all .2s;
}

.ei-post-cat-badge:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
}

.ei-post-meta-item {
  font-size: 12px;
  color: var(--ei-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ei-post-featured-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: #0f172a;
  margin: 0;
}

.ei-post-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.ei-post-featured-title a:hover { color: var(--ei-primary); }

.ei-post-featured-excerpt {
  color: var(--ei-text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.ei-post-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--ei-border);
}

.ei-btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ei-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}

.ei-btn-readmore:hover {
  background: var(--ei-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29,78,216,.3);
}

.ei-post-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ei-text-muted);
  font-weight: 500;
}

.ei-author-avatar {
  border-radius: 50%;
  width: 30px !important;
  height: 30px !important;
  border: 2px solid var(--ei-border);
}

/* ----------------------------------------------------------------
   POSTS GRID — 2-col tech card layout
---------------------------------------------------------------- */
.ei-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ----------------------------------------------------------------
   POST CARD — Premium card with hover lift
---------------------------------------------------------------- */
.ei-post-card {
  background: #ffffff;
  border: 1px solid var(--ei-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  box-shadow: var(--ei-shadow-xs);
}

.ei-post-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px -6px rgba(29,78,216,.12), 0 4px 8px -2px rgba(15,23,42,.05);
  transform: translateY(-5px);
}

.ei-post-card-img {
  position: relative;
  height: 196px;
  overflow: hidden;
}

.ei-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}

.ei-post-card:hover .ei-post-card-img img {
  transform: scale(1.07);
}

/* No-image placeholder — richer gradient */
.ei-post-card-no-img {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ede9fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ei-placeholder-icon {
  font-size: 40px;
  color: var(--ei-primary);
  opacity: .25;
}

/* Category overlay badge on image */
.ei-post-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  color: var(--ei-primary);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(29,78,216,.15);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: all .2s;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ei-post-card-cat:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
}

.ei-post-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ei-post-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ei-text-muted);
}

.ei-post-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ei-post-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: #0f172a;
  margin: 0;
}

.ei-post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.ei-post-card-title a:hover { color: var(--ei-primary); }

.ei-post-card-excerpt {
  color: var(--ei-text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
}

.ei-post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ei-primary);
  text-decoration: none;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--ei-border);
  transition: gap .2s, color .2s;
}

.ei-post-card-link:hover {
  gap: 10px;
  color: var(--ei-primary-hover);
}

/* ----------------------------------------------------------------
   PAGINATION — Pill style
---------------------------------------------------------------- */
.ei-blog-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 52px;
  flex-wrap: wrap;
}

.ei-page-link a,
.ei-page-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid var(--ei-border);
  color: var(--ei-text-secondary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
  font-family: var(--ei-font-sans);
}

.ei-page-link a:hover {
  border-color: var(--ei-primary);
  color: var(--ei-primary);
  background: #eff6ff;
}

.ei-page-link .current {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  box-shadow: 0 4px 12px rgba(29,78,216,.35);
}

/* ----------------------------------------------------------------
   NO POSTS
---------------------------------------------------------------- */
.ei-no-posts {
  text-align: center;
  padding: 80px 20px;
  color: var(--ei-text-muted);
}

.ei-no-posts .fa-search {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--ei-primary);
  opacity: .4;
}

.ei-no-posts h2 {
  font-size: 24px;
  color: var(--ei-text-primary);
  margin-bottom: 12px;
}

.ei-no-posts p { margin-bottom: 28px; font-size: 16px; }

/* ----------------------------------------------------------------
   SIDEBAR — Clean, light-mode
---------------------------------------------------------------- */
.ei-blog-sidebar {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar CTA Card — Featured promo (dark inverted card) */
.ei-sidebar-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1d4ed8 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ei-sidebar-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(56,189,248,.15) 0%, transparent 65%);
  pointer-events: none;
}

.ei-sidebar-cta-globe {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.ei-sidebar-cta h3 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.ei-sidebar-cta p {
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.ei-sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 9px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.ei-sidebar-cta-btn:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(56,189,248,.35);
}

.ei-sidebar-markets {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.ei-sidebar-markets span {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Sidebar Widget — Clean card */
.ei-sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--ei-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--ei-shadow-xs);
}

.ei-sidebar-widget-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ei-text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eff6ff;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -.01em;
}

.ei-sidebar-widget-title i {
  color: var(--ei-primary);
  width: 16px;
  text-align: center;
}

/* Category list */
.ei-sidebar-cats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ei-sidebar-cats li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s;
}

.ei-sidebar-cats li a:hover {
  background: #eff6ff;
}

.ei-cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--ei-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.ei-sidebar-cats li a:hover .ei-cat-icon {
  background: var(--ei-primary);
  color: #ffffff;
}

.ei-cat-label {
  flex: 1;
  font-size: 13.5px;
  color: var(--ei-text-secondary);
  font-weight: 500;
}

.ei-sidebar-cats li a:hover .ei-cat-label {
  color: var(--ei-primary);
  font-weight: 600;
}

.ei-cat-count {
  background: #f1f5f9;
  color: var(--ei-text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--ei-border);
}

/* Recent posts */
.ei-sidebar-recent {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ei-sidebar-recent li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: opacity .2s;
}

.ei-sidebar-recent li a:hover { opacity: .75; }

.ei-recent-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--ei-border);
}

.ei-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ei-recent-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ei-recent-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ei-text-primary);
  line-height: 1.4;
  transition: color .2s;
}

.ei-sidebar-recent li a:hover .ei-recent-title {
  color: var(--ei-primary);
}

.ei-recent-date {
  font-size: 11px;
  color: var(--ei-text-muted);
}

/* Tag cloud */
.ei-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ei-tag-pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1.5px solid var(--ei-border);
  color: var(--ei-text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s ease;
  cursor: default;
}

a.ei-tag-pill { cursor: pointer; }

a.ei-tag-pill:hover {
  border-color: var(--ei-primary);
  color: var(--ei-primary);
  background: #eff6ff;
}

/* ----------------------------------------------------------------
   STATS BAR — new component for blog landing feel
---------------------------------------------------------------- */
.ei-blog-stats-bar {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 16px 0 0;
  flex-wrap: wrap;
}

.ei-blog-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

.ei-blog-stat strong {
  color: #ffffff;
  font-weight: 700;
}

.ei-blog-stat i {
  color: #38bdf8;
  font-size: 14px;
}

/* ----------------------------------------------------------------
   SECTION HEADER for main posts area
---------------------------------------------------------------- */
.ei-posts-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ei-border);
}

.ei-posts-section-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ei-text-primary);
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ei-posts-section-header h2 i {
  color: var(--ei-primary);
  font-size: 16px;
}

.ei-posts-count-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--ei-text-muted);
  background: var(--ei-bg-alt);
  border: 1px solid var(--ei-border);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
================================================================ */
@media (max-width: 1100px) {
  .ei-blog-layout {
    grid-template-columns: 1fr 290px;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .ei-blog-layout {
    grid-template-columns: 1fr;
  }

  .ei-blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ei-sidebar-cta {
    grid-column: 1 / -1;
  }

  .ei-post-featured-inner {
    grid-template-columns: 1fr;
  }

  .ei-post-featured-img {
    min-height: 240px;
  }

  .ei-post-featured-body {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .ei-blog-hero { padding: 52px 0 40px; }

  .ei-blog-hero-title { font-size: 28px; }

  .ei-posts-grid { grid-template-columns: 1fr; }

  .ei-blog-filters-wrap { top: 58px; }

  .ei-blog-sidebar {
    grid-template-columns: 1fr;
  }

  .ei-blog-body { padding: 36px 0 60px; }

  .ei-post-card-img { height: 176px; }

  .ei-blog-stats-bar { gap: 16px; }
}
