/* =============================================
   BLOG PAGES — Blog Index (page-blog.php)
   + Category/Tag Archive filter pills (archive.php)

   This file is ONLY enqueued on the blog index page
   and category/tag/date archives. It is NOT loaded
   on single posts (single.php has its own inline
   styles) or on any tool/service/homepage templates.
   ============================================= */

/* =============================================
   BLOG HOME PAGE (home.php)
   ============================================= */

/* ── READING PROGRESS BAR ── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── BLOG HERO ── */
.blog-hero {
  background: linear-gradient(160deg, #f0f5ff 0%, #fafbff 55%, #f0f9ff 100%);
  padding: 72px 5% 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(10,106,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: nowrap;
}

.blog-hero-text {
  max-width: 640px;
  margin-bottom: 36px;
  flex: 1 1 0;
  min-width: 0;
}

.blog-hero-text h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 16px 0 16px;
  color: var(--text-primary);
}

.blog-hero-text h1 span {
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.blog-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.blog-hero-stat {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.blog-hero-stat strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
}

.blog-hero-stat span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── HERO ANIMATION CARD ──
   "SEO funnel" / typing-character browser-window mockup shown
   next to the hero text. Moved here from an inline <style> block
   that previously lived in page-blog.php. ── */
.hero-anim-card {
  flex: 0 0 360px;
  width: 360px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.11);
  overflow: hidden;
  border: 1px solid #e8edf3;
}

/* Card title bar */
.hero-anim-titlebar {
  background: #1a56db;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-anim-titlebar-dots { display: flex; gap: 5px; }
.hero-anim-titlebar-dots span {
  width: 9px; height: 9px;
  border-radius: 50%; display: block;
}
.hero-anim-titlebar-dots span:nth-child(1) { background: #ff5f57; }
.hero-anim-titlebar-dots span:nth-child(2) { background: #febc2e; }
.hero-anim-titlebar-dots span:nth-child(3) { background: #28c840; }
.hero-anim-titlebar-title {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.92); letter-spacing: 0.02em;
}
.hero-anim-titlebar-live {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: #6ee7b7;
}
.hero-anim-titlebar-live::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: #6ee7b7;
  animation: livePulse 1.4s ease-in-out infinite; display: block;
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Card inner body */
.hero-anim-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }

/* ── Badge rows ── */
.anim-badges-row { display: flex; justify-content: space-between; gap: 8px; }
.anim-badge {
  background: #f0f6ff; border: 1px solid #dbeafe; border-radius: 50px;
  padding: 6px 12px; font-size: 11.5px; font-weight: 600; color: #1e40af;
  white-space: nowrap; flex: 1; text-align: center;
  opacity: 0; animation: badgeFadeIn 0.5s ease forwards, badgeFloat 3s ease-in-out infinite;
}
.anim-badge--1 { animation-delay: 0.4s, 0.4s; }
.anim-badge--2 { animation-delay: 0.75s, 0.75s; }
.anim-badge--3 { animation-delay: 1.8s, 1.8s; }
.anim-badge--4 { animation-delay: 2.1s, 2.1s; }
@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(5px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ── SEO Funnel ── */
.seo-funnel { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 0; }
.funnel-stage {
  display: flex; align-items: center; gap: 10px;
  border-radius: 9px; padding: 8px 14px; width: 100%;
  color: #fff; font-size: 12.5px; font-weight: 600;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative; overflow: hidden;
}
.funnel-stage.is-visible { opacity: 1; transform: translateY(0); }
.funnel-stage--1 { background: #2563eb; max-width: 100%; }
.funnel-stage--2 { background: #059669; max-width: 90%; }
.funnel-stage--3 { background: #7c3aed; max-width: 80%; }
.funnel-stage--4 { background: #d97706; max-width: 70%; }
.funnel-stage--5 { background: #dc2626; max-width: 60%; }
.funnel-stage-icon { font-size: 15px; flex-shrink: 0; }
.funnel-stage-text { display: flex; justify-content: space-between; align-items: center; flex: 1; gap: 6px; }
.funnel-stage-label { font-weight: 600; font-size: 11.5px; }
.funnel-stage-count { font-size: 11.5px; font-weight: 700; opacity: 0.93; }
.funnel-stage-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: rgba(255,255,255,0.13); transition: width 1.1s ease; border-radius: 9px;
}
.funnel-stage.is-visible .funnel-stage-bar { width: 100%; }
.funnel-connector {
  width: 2px; height: 0; background: #cbd5e1;
  margin: 0 auto; transition: height 0.3s ease; position: relative;
}
.funnel-connector.is-visible { height: 10px; }
.funnel-connector::after {
  content: ''; position: absolute; bottom: -5px; left: -4px;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid #cbd5e1;
}

/* ── Character scene ── */
.anim-character { display: flex; flex-direction: column; align-items: center; }
.char-scene { display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.char-desk { width: 190px; height: 8px; background: #c5a882; border-radius: 3px 3px 0 0; margin-top: -1px; }
.char-monitor { width: 78px; height: 56px; background: #2a2d3a; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.char-screen { width: 67px; height: 44px; background: #1a1d2e; border-radius: 3px; display: flex; align-items: flex-end; padding: 5px 4px; overflow: hidden; }
.char-screen-bars { display: flex; align-items: flex-end; gap: 3px; width: 100%; }
.char-screen-bars span { flex: 1; background: #3b82f6; border-radius: 1px 1px 0 0; transform: scaleY(0); transform-origin: bottom; animation: barGrow 0.5s ease forwards; }
.char-screen-bars span:nth-child(5), .char-screen-bars span:nth-child(6) { background: #10b981; }
.char-screen-bars span:nth-child(7) { background: #f59e0b; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.char-figure { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.char-hair { width: 19px; height: 8px; background: #5a3825; border-radius: 9px 9px 0 0; position: relative; top: 2px; left: 1px; }
.char-head { width: 20px; height: 20px; background: #f5c5a3; border-radius: 50%; }
.char-body { width: 22px; height: 26px; background: #3b82f6; border-radius: 4px 4px 0 0; position: relative; }
.char-arm { width: 15px; height: 6px; background: #3b82f6; border-radius: 3px; position: absolute; top: 7px; left: -10px; transform-origin: right center; animation: charTyping 0.27s ease-in-out infinite alternate; }
@keyframes charTyping { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }

/* ── BLOG SEARCH ── */
.blog-search-wrap { max-width: 580px; margin-top: 20px; }

.blog-search-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,30,60,0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-search-box:focus-within {
  border-color: var(--blue-primary);
  box-shadow: 0 4px 24px rgba(10,106,255,0.15);
}

.blog-search-icon {
  padding: 0 6px 0 20px;
  font-size: 16px;
  flex-shrink: 0;
}

.blog-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 12px;
  font-size: 14px;
  font-family: 'Instrument Sans', sans-serif;
  color: var(--text-primary);
  background: transparent;
}

.blog-search-box input::placeholder { color: var(--text-muted); }

.blog-search-box button {
  background: var(--blue-primary);
  color: white;
  border: none;
  padding: 0 28px;
  height: 52px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Instrument Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-search-box button:hover { background: var(--blue-dark); }

/* ── CATEGORY FILTER PILLS ── */
.blog-filters-wrap {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px; /* below the nav */
  z-index: 90;
  box-shadow: 0 2px 12px rgba(10,30,60,0.06);
}

.blog-filters-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 5%;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Instrument Sans', sans-serif;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-light);
}

.filter-pill.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: white;
  box-shadow: 0 3px 10px rgba(10,106,255,0.25);
}

.filter-count {
  background: rgba(255,255,255,0.25);
  padding: 1px 7px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

.filter-pill:not(.active) .filter-count {
  background: var(--light-gray);
  color: var(--text-muted);
}

/* ── BLOG LAYOUT (main + sidebar) ── */
.blog-layout {
  background: var(--off-white);
  padding: 48px 5%;
  min-height: 60vh;
}

.blog-layout-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ── FEATURED POST ── */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 36px;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}

.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,30,60,0.13);
  border-color: var(--blue-mid);
}

.featured-post-img {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.featured-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.featured-post:hover .featured-post-img img { transform: scale(1.04); }

.featured-post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  min-height: 340px;
}

.featured-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,30,60,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(10,30,60,0.75);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.featured-read-time {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(10,30,60,0.72);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
}

.featured-post-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.blog-cat-pill {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
}

.blog-cat-pill--sm { font-size: 10px; padding: 3px 10px; }

.featured-post-body h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.featured-post-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.author-avatar {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50% !important;
  object-fit: cover;
  /* FIX CLS: block prevents inline spacing shift */
  display: block;
  flex-shrink: 0;
}

.featured-date {
  font-size: 12px;
  color: var(--text-muted);
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-primary);
  transition: gap 0.2s;
  margin-top: 4px;
}

.featured-post:hover .featured-cta { gap: 10px; }

/* ── POSTS GRID ── */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.blog-post-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.22s;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.blog-post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 16px 16px 0 0;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(10,30,60,0.12);
  border-color: var(--blue-mid);
}

.blog-post-card:hover::before { transform: scaleX(1); }

.blog-post-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.blog-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-img img { transform: scale(1.05); }

.blog-post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.card-read-time {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(10,30,60,0.72);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.blog-post-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-post-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.blog-post-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.meta-avatar {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 50% !important;
  /* FIX CLS: block prevents inline spacing shift */
  display: block;
  flex-shrink: 0;
}

.meta-dot { color: var(--border); }

/* ── PAGINATION ── */
.blog-pagination {
  margin-top: 40px;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text-secondary);
  background: white;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--blue-primary);
  color: white;
  border-color: var(--blue-primary);
  box-shadow: 0 4px 12px rgba(10,106,255,0.3);
}

.blog-pagination .prev.page-numbers,
.blog-pagination .next.page-numbers {
  width: auto;
  padding: 0 18px;
}

/* ── EMPTY STATE ── */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.blog-empty-icon { font-size: 56px; margin-bottom: 16px; }
.blog-empty h3 { font-size: 20px; color: var(--text-primary); margin-bottom: 8px; }
.blog-empty p { font-size: 14px; }

/* ── SIDEBAR ── */
.blog-sidebar {
  position: sticky;
  top: 130px; /* nav + filters */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* Newsletter sidebar widget */
.sidebar-widget--newsletter {
  background: linear-gradient(135deg, #0a6aff 0%, #0052cc 100%);
  border-color: transparent;
  color: white;
  text-align: center;
}

.sidebar-widget-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.sidebar-widget--newsletter h4 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.sidebar-widget--newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.5;
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-newsletter-form input {
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-family: 'Instrument Sans', sans-serif;
  outline: none;
  width: 100%;
}

.sidebar-newsletter-form button {
  background: white;
  color: var(--blue-primary);
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  transition: all 0.2s;
}

.sidebar-newsletter-form button:hover {
  background: var(--blue-light);
}

.sidebar-newsletter-note {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  display: block;
}

/* Popular posts */
.sidebar-popular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.sidebar-popular-item:hover .popular-text span { color: var(--blue-primary); }

.popular-num {
  width: 26px;
  height: 26px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.popular-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.popular-text span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.2s;
}

.popular-text small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Categories sidebar */
.sidebar-cats-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.sidebar-cat-item:hover {
  background: var(--off-white);
  color: var(--blue-primary);
}

.sidebar-cat-count {
  font-size: 11px;
  background: var(--light-gray);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 600;
}

/* Tools CTA sidebar */
.sidebar-widget--tools-cta { text-align: center; }

.tools-cta-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.sidebar-widget--tools-cta h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.sidebar-widget--tools-cta p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── NO SEARCH RESULTS message ── */
.blog-no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .blog-layout-inner {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }
  .blog-posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .blog-hero-inner { flex-direction: column; }
  .hero-anim-card { display: none; }
}

@media (max-width: 860px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { min-height: 220px; }
  .featured-post-placeholder { min-height: 220px; }
  .blog-layout-inner { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .blog-hero { padding: 48px 5% 40px; }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .blog-filters-inner { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .blog-filters-inner::-webkit-scrollbar { display: none; }
  .filter-pill { flex-shrink: 0; }
  .featured-post-body { padding: 24px 20px; }
  .blog-hero-stats { gap: 14px; }
}