/* ═══════════════════════════════════════════════════════════
   Blog Index — /blog content hub
   Uses the .seo-page shell; this file styles the listing cards.
   ═══════════════════════════════════════════════════════════ */

.blog-index .page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-index .page-hero p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
  max-width: 30ch;
  margin: 0 auto;
}

/* ── Featured / latest ─────────────────────────────────────── */
.blog-featured {
  display: block;
  position: relative;
  padding: 22px 20px;
  margin-bottom: 28px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.07));
  border: 1px solid rgba(99, 102, 241, 0.22);
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.blog-featured:active { transform: scale(0.99); }
.blog-featured-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.blog-featured-emoji { display: block; font-size: 40px; margin-bottom: 8px; }
.blog-featured h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}
.blog-featured p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  margin-bottom: 12px;
}
.blog-featured-meta { font-size: 12px; color: #a5b4fc; font-weight: 600; }

/* ── Category sections ─────────────────────────────────────── */
.blog-cat-section { margin-bottom: 28px; }
.blog-cat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FBBF24;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-card-list { display: flex; flex-direction: column; gap: 12px; }

/* One article = one full-width row. Horizontal layout at every breakpoint:
   emoji tile · content · chevron. Left accent bar reveals on interaction. */
.blog-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
/* Left accent bar — hidden until hover/active */
.blog-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.blog-card:active {
  transform: scale(0.985);
  background: rgba(99, 102, 241, 0.08);
}
@media (hover: hover) {
  .blog-card:hover {
    background: rgba(99, 102, 241, 0.07);
    border-color: rgba(99, 102, 241, 0.28);
  }
  .blog-card:hover::before { transform: scaleY(1); }
  .blog-card:hover .blog-card-emoji {
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.04);
  }
  .blog-card:hover .blog-card-chevron {
    color: #a5b4fc;
    transform: translateX(3px);
  }
}

.blog-card-emoji {
  font-size: 26px;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.blog-card-body { flex: 1; min-width: 0; }
.blog-card-cat {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 7px;
}
.blog-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.32;
  margin-bottom: 5px;
}
.blog-card-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
}
.blog-card-author { color: rgba(255, 255, 255, 0.5); font-weight: 600; }
.blog-card-dot { color: rgba(255, 255, 255, 0.25); }

.blog-card-chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.25);
  align-self: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

@media (min-width: 600px) {
  .blog-index .page-hero h1 { font-size: 32px; }
  .blog-index .page-hero p { max-width: 46ch; }
  .blog-card { padding: 18px 20px; }
  .blog-card-body h3 { font-size: 16px; }
}
